:root {
    /* Dark Theme (Default) */
    --background: #0a0a0b;
    --foreground: #ffffff;
    --primary: #f59e0b;
    --primary-foreground: #000000;
    --muted: #141417;
    --muted-foreground: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --glow-orange: rgba(245, 158, 11, 0.15);
    --glow-blue: rgba(59, 130, 246, 0.08);
    --nav-bg: rgba(10, 10, 11, 0.95);
    --success: #22c55e;
}

[data-theme="light"] {
    /* Light Theme */
    --background: #f8fafc;
    --foreground: #0f172a;
    --primary: #f59e0b;
    --primary-foreground: #ffffff;
    --muted: #0f172a;
    --muted-foreground: #64748b;
    --border: rgba(15, 23, 42, 0.1);
    --glass: rgba(255, 255, 255, 0.7);
    --glow-orange: rgba(245, 158, 11, 0.05);
    --glow-blue: rgba(59, 130, 246, 0.03);
    --nav-bg: rgba(248, 250, 252, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Background Glows --- */
.blob {
    position: fixed;
    width: 40vw;
    height: 40vw;
    max-width: 400px;
    max-height: 400px;
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .blob {
        width: 60vw;
        height: 60vw;
        opacity: 0.2;
        filter: blur(80px);
    }
}

@media (max-width: 480px) {
    .blob {
        width: 80vw;
        height: 80vw;
        opacity: 0.15;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--foreground) 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Optimized Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: black;
    font-size: 16px;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--muted-foreground);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--foreground);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--primary);
}

/* --- Optimized Buttons --- */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #fbbf24 100%);
    color: #000;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-glass {
    background: var(--muted);
    border: 1px solid var(--border);
    color: #d8dee8;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--foreground);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-right .btn-primary {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-link {
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--glass);
    color: var(--foreground);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 14px;
}

.mobile-menu-link:hover {
    background: rgba(245, 158, 11, 0.1);
}

.mobile-menu-cta {
    margin-top: 8px;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #fbbf24 100%);
    color: #000;
    font-weight: 600;
}

/* --- Optimized Hero Section --- */
.hero {
    padding: 120px 0 60px;
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
        text-align: left;
    }
}

.zap-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-align: center;
}




@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }
}

/* --- FIXED: Fully Responsive Paragraph --- */
.hero p {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    color: var(--muted-foreground);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 15px;
}

@media (max-width: 480px) {
    .hero p {
        font-size: clamp(0.9rem, 3.2vw, 1rem);
        line-height: 1.6;
        margin-bottom: 28px;
    }
}

@media (max-width: 360px) {
    .hero p {
        font-size: 0.9rem;
        line-height: 1.55;
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
    }
}

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
}

/* --- Optimized Stats Row --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.stat-item {
    text-align: center;
    padding: 8px;
}

.stat-item h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item p {
    color: var(--muted-foreground);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .stat-item h2 {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    }

    .stat-item p {
        font-size: 12px;
    }
}

/* --- Optimized Features Section --- */
.features {
    padding: 70px 0;
    background: var(--background);
}

@media (max-width: 768px) {
    .features {
        padding: 50px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--muted-foreground);
    font-size: clamp(0.95rem, 3vw, 1rem);
    max-width: 550px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title p {
        max-width: 100%;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.feature-card {
    background: var(--muted);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 18px;
}

.feature-card h3 {
    color: #d8dee8;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: #d8dee8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Optimized CTA Section --- */
.cta-section {
    padding: 70px 0;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }
}

.cta-card {
    background: linear-gradient(to bottom, var(--muted), transparent);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 640px) {
    .cta-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .cta-card {
        padding: 25px 16px;
    }
}

.cta-card h2 {
    color: #d8dee8;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 16px;
    font-weight: 800;
}

.cta-card p {
    color: #d8dee8;
    margin-bottom: 30px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.95rem, 3vw, 1rem);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cta-card p {
        max-width: 100%;
    }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

@media (max-width: 640px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

.check-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    color: var(--muted-foreground);
    font-size: 13px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .check-list {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

.check-list span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-list i {
    color: var(--success);
}

/* --- Optimized Footer --- */
footer {
    background: var(--muted);
    border-top: 1px solid var(--border);
    padding: 50px 0 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 35px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #d8dee8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-top: 4px;
}

.footer-desc {
    color: var(--muted-foreground);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgb(255 255 255 / 3%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 6px;
    color: #d8dee8;
    text-decoration: none;
    transition: all 0.2s;
}

.social-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    color: var(--muted-foreground);
    font-size: 12px;
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        text-align: left;
    }
}

/* --- Loading Animation --- */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    opacity: 0.7;
    display: none;
}

@media (min-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* --- Responsive Utility --- */
.desktop-only {
    display: inline-flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex;
    }
}