:root {
    --bg-color: #0b0d11;
    --surface-color: #15181e;
    --surface-hover: #1e222b;
    --primary-color: #6366f1; /* Indigo */
    --primary-hover: #4f46e5;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #2d313a;
    
    /* UPDATED: Glow Variables for Premium Feel */
    --glow-primary: rgba(99, 102, 241, 0.4);
    --glow-text: rgba(255, 255, 255, 0.3);
    --glow-abhibots: rgba(0, 255, 128, 0.6); /* Soft green/teal */
    --glow-gen-a-1: #ff0055;
    --glow-gen-a-2: #00e5ff;
    
    --radius-md: 8px;
    --radius-lg: 12px;
    --container-width: 1100px;
    
    /* Performance: Define ease globally */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* * UTILITIES & LAYOUT */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

/* Buttons: Premium updates */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s var(--ease-smooth), background-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

/* UPDATED: Glow Effect Class for specific elements */
.glow-effect:hover {
    box-shadow: 0 0 20px var(--glow-primary);
    transform: translateY(-2px);
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--surface-hover);
    border-color: var(--text-muted);
}

/* * HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: rgba(11, 13, 17, 0.9);
    backdrop-filter: blur(10px); /* Slightly increased blur for premium feel */
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    transition: opacity 0.2s;
}

.logo:hover { opacity: 0.9; }

.logo-img {
    height: 40px; /* Reduced slightly for better proportion */
    width: 40px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.logo span { color: var(--primary-color); }

nav ul { display: flex; gap: 30px; }
nav a { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 500;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* UPDATED: Nav Hover Glow */
nav a:hover { 
    color: var(--text-main); 
    text-shadow: 0 0 8px var(--glow-text);
}

/* UPDATED: Mobile Menu Button styling */
.mobile-menu-btn { 
    display: none; 
    background: none; 
    border: none; 
    color: white; 
    cursor: pointer; 
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001; /* Above mobile nav */
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* * HERO SECTION */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Safety for animations */
}


.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

/* UPDATED: Text Glow for Headline */
.text-glow {
    color: white;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.hero h1 {
    background: linear-gradient(to bottom right, #fff 30%, #a5a6af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Standard property */
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Audio Visual */
.audio-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 60px;
    height: 60px;
    opacity: 0.7;
}

.bar {
    width: 6px;
    background-color: var(--primary-color);
    border-radius: 4px;
    animation: wave 1.2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-primary); /* UPDATED: Added glow to bars */
}

/* Staggered animation delays */
.bar:nth-child(1) { height: 20px; animation-delay: 0.0s; }
.bar:nth-child(2) { height: 40px; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 60px; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 50px; animation-delay: 0.4s; }
.bar:nth-child(6) { height: 25px; animation-delay: 0.5s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.5); opacity: 1; }
}

/* * FEATURES GRID */
.features {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    /* UPDATED: Very subtle card glow on hover, high performance */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); 
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* * HOW IT WORKS */
.steps-section {
    padding: 100px 0;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color); /* Added separator */
    border-bottom: 1px solid var(--border-color);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.step { position: relative; }

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--border-color); /* Subtle default */
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.3;
    font-variant-numeric: tabular-nums;
}

.step h3 { margin-bottom: 10px; font-size: 1.2rem; }

/* * BRANDING SECTION (GEN-A) - UPDATED */
.branding-section {
    padding: 60px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.branding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.branding-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.gen-a-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.watermark-icon {
    width: 30px;
    height: auto;
    opacity: 0.8;
    border: #0b0d11;
    border-radius: 24px;
}

.gen-a-text {
    /* "Brush/Artistic" feel using standard system fallback first */
    font-family: 'Brush Script MT', 'Comic Sans MS', cursive; 
    font-size: 2.5rem;
    line-height: 1;
    color: white;
    /* UNIQUE ANIMATED GLOW */
    animation: pulse-gen-a 4s infinite alternate;
}

@keyframes pulse-gen-a {
    0% { text-shadow: 0 0 5px var(--glow-gen-a-1), 2px 2px 0px rgba(0,0,0,0.5); transform: scale(1); }
    100% { text-shadow: 0 0 15px var(--glow-gen-a-2), 0 0 30px var(--glow-gen-a-1); transform: scale(1.02); }
}

/* * CTA SECTION */
.cta {
    padding: 80px 0 120px;
    text-align: center;
}

.cta-box {
    background: linear-gradient(180deg, var(--surface-color) 0%, var(--bg-color) 100%);
    border: 1px solid var(--border-color);
    padding: 60px 20px;
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
    position: relative; /* Context for children */
}

.cta h2 { margin-bottom: 20px; font-size: 2rem; }
.cta p { color: var(--text-muted); margin-bottom: 30px; }

/* Special Thanks Section */
.special-thanks {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    display: inline-block;
    padding-top: 20px;
}

.abhibots-glow {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 12px var(--glow-abhibots);
    transition: text-shadow 0.3s ease;
}

.abhibots-glow:hover {
    text-shadow: 0 0 20px var(--glow-abhibots), 0 0 40px var(--glow-abhibots);
}


.abhibots-glows {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 12px var(--glow-abhibots);
    transition: text-shadow 0.3s ease;
}

.abhibots-glows:hover {
    text-shadow: 0 0 20px var(--glow-abhibots), 0 0 40px var(--glow-abhibots);
}

/* * FOOTER */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    background-color: var(--surface-color); /* Slight contrast for footer */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a:hover { color: var(--primary-color); }

/* * SCROLL ANIMATIONS */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
    will-change: opacity, transform; /* Hint to browser for optimization */
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* * RESPONSIVE & MOBILE NAV - UPDATED */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .step-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 20px; }

    /* Mobile Nav Logic */
    .main-nav {
        position: fixed;
        top: 70px; /* Height of header */
        right: 0;
        bottom: 0;
        width: 75%;
        max-width: 300px;
        background-color: var(--surface-color);
        border-left: 1px solid var(--border-color);
        padding: 40px 30px;
        transform: translateX(100%); /* Hidden by default */
        transition: transform 0.3s var(--ease-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        display: block; /* Ensure it's not display:none overrides */
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 25px;
    }

    .main-nav a {
        font-size: 1.1rem;
        display: block;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 6, 6, 0.05);
        color:  rgb(0, 224, 253);
    }

    /* Hamburger Animation */
    .mobile-menu-btn.open .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.open .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}