/* Variables */
:root {
    --bg-color: #0d0a15;
    --text-primary: #ededed;
    --text-secondary: #a3a3a3;
    
    --neon-blue: #2a5dff;
    --neon-purple: #b538ff;
    --neon-pink: #8a2be2;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
}

/* Background Gradients */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.6;
    animation: drift 20s infinite alternate;
}

.blob-purple {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 60%);
}

.blob-blue {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--neon-blue) 0%, transparent 60%);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 50px) scale(1.1); }
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.font-gradient {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@keyframes title-glow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--neon-purple)); }
    50% { filter: drop-shadow(0 0 15px var(--neon-blue)) drop-shadow(0 0 5px var(--neon-purple)); }
}
.pulse-title {
    animation: title-glow 3s infinite ease-in-out;
}

/* Glassmorphism Classes */
.glass-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 10, 21, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-ai { color: var(--neon-blue); }
.logo-z { color: var(--neon-purple); font-size: 1.8rem; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-only {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(181, 56, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 56, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-neon {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.1), 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-neon:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.3), 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-header {
    padding-top: 10rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    align-self: flex-start;
    padding: 0.4rem 1rem;
    background: rgba(181, 56, 255, 0.1);
    border: 1px solid var(--neon-purple);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--neon-purple);
    font-weight: 600;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.main-banner {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-banner:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
}

/* Product Section */
.featured-product {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.chrome-badge {
    display: inline-block;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-top: 0.4rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, background 0.3s;
}

.feature-list li:hover {
    transform: translateX(10px);
    background: rgba(181, 56, 255, 0.05);
    border-color: rgba(181, 56, 255, 0.2);
}

.icon-box {
    font-size: 1.5rem;
    background: var(--glass-bg);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-list h4 {
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.feature-list p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.dashboard-preview {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.5s ease;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.dashboard-preview:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(181, 56, 255, 0.3);
}

.showcase-cta {
    text-align: center;
    margin-top: 5rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(181, 56, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(181, 56, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(181, 56, 255, 0);
    }
}

/* About Section */
.about-section {
    max-width: 1200px;
    margin: 6rem auto 2rem;
    padding: 0 2rem;
}

.about-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Coming Soon Section */
.coming-soon-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    text-align: center;
    padding: 3rem 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(42, 93, 255, 0.5);
    box-shadow: 0 10px 30px rgba(42, 93, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}


/* Newsletter / Join Section */
.newsletter-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.ghl-form-container {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    border: 1px dashed var(--neon-blue);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ Accordion */
.faq-section {
    max-width: 900px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--neon-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--neon-purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
    color: var(--text-secondary);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* arbitrary large value */
    padding: 0 2rem 1.5rem 2rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,1);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--neon-blue);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

footer .logo {
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon-blue);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
.mobile-only {
    display: none;
}

@media (max-width: 968px) {
    #desktop-cta {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(13, 10, 21, 0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        padding-top: 4rem;
        z-index: 1000;
        gap: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hide-on-mobile {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
        margin-top: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .btn {
        width: 90%;
        max-width: 350px;
        text-align: center;
        white-space: normal;
        padding: 1rem 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hero, .product-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 6rem;
    }

    .hero-content {
        align-items: center;
    }
    
    .hero-header {
        padding-top: 4rem;
    }
    
    .nav-container {
        padding: 1rem;
    }

    .newsletter-section {
        padding: 0 1.5rem;
    }
    
    .newsletter-section .glass-panel {
        padding: 1.5rem 0;
        border-radius: 0;
        border-right: none;
        border-left: none;
    }

    .ghl-form-container {
        padding: 0;
        border: none;
    }

    .newsletter-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .product-title-group {
        justify-content: center;
    }
    
    .feature-list li {
        text-align: left;
    }
    
    .grid-cards {
        grid-template-columns: 1fr;
    }

    /* Prevent grids from bleeding on mobile */
    .glass-panel[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        padding: 2rem !important;
    }
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}
