/* CSS Variables & Reset */
:root {
    /* Brand Gradient Colors */
    --brand-cyan: #3DC2FF;
    --brand-purple: #A855F7;
    --brand-pink: #FF3D71;
    --brand-gradient: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-purple) 50%, var(--brand-pink) 100%);

    /* Functional */
    --primary: #A855F7;
    /* Fallback solid color */
    --text-main: #111827;
    /* Darker, crisper */
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    --accent-success: #10B981;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
}

.container {
    max-width: 1080px;
    /* Tighter container for reading */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1.25rem 0;
    border-bottom: 1px solid #F3F4F6;
    /* Softer border */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    margin-left: 2.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--brand-purple);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    /* Pill shape for modern feel */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--white) !important;
    box-shadow: 0 4px 14px 0 rgba(168, 85, 247, 0.39);
    /* Colored shadow */
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(168, 85, 247, 0.45);
}

/* Hero */
.hero {
    padding: 8rem 0;
    /* background: var(--white); */
    background: transparent;
    position: relative;
    overflow: hidden;
}

#gradient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind text */
}

/* Subtle Gradient Background Blob - Removed in favor of interactive gradient
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(61, 194, 255, 0.1) 0%, rgba(168, 85, 247, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}
*/

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Text takes more space */
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.highlight {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.micro-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Mockup */
.phone-mockup {
    background: #F3F4F6;
    border-radius: 40px;
    padding: 20px;
    border: 8px solid #E5E7EB;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.message-bubble {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Typography Utilities */
h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Problem Section */
.problem-section {
    padding: 8rem 0;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid #F3F4F6;
}

.problem-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.5rem;
    /* Larger "Statement" text */
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-main);
}

/* Science/Solution Section */
.science-section {
    padding: 8rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid #F3F4F6;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

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

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
}

/* Chart Container */
.chart-container {
    background: var(--white);
    padding: 20px 0 0 0;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    margin-bottom: 3rem;
    text-align: center;
}

.chart-svg {
    width: 100%;
    height: auto;
    max-height: 500px;
}

/* Big Stat Block */
.big-stat-block {
    text-align: center;
    margin-top: 0;
    width: 100% !important;
    max-width: 100% !important;
}

h3.big-stat-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 31.2px !important;
    line-height: 43.68px !important;
    color: rgb(139, 92, 246) !important;
    display: block;
    width: 100% !important;
    text-align: center;
    margin: 0 auto !important;
    padding: 0;
}

.big-stat-sub {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Accent top border for card */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--brand-gradient);
}

.stat-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.source {
    display: block;
    margin-top: 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #3DC2FF;
    font-weight: 600;
    text-align: center;
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    align-items: center;
    /* Align cards */
}

.pricing-card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-purple);
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin: 1rem 0;
}

.price .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trial-text {
    color: var(--accent-success);
    font-weight: 600;
    font-size: 0.95rem;
    background: #ECFDF5;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.rationale {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--brand-cyan);
    padding-left: 1rem;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    color: var(--text-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-purple);
    font-weight: bold;
}

.btn-secondary {
    background: var(--text-main);
    color: var(--white);
    width: 100%;
    text-align: center;
}

.btn-secondary:hover {
    background: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid #E5E7EB;
    color: var(--text-main);
    width: 100%;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--text-main);
}

/* Footer CTA */
.footer-cta {
    padding: 6rem 0;
    background: var(--bg-light);
    text-align: center;
    border-top: 1px solid #E5E7EB;
}

.contact-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0.5rem;
}

.contact-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #D1D5DB;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}

.contact-form input:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid #E5E7EB;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

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

    .hero-grid {
        gap: 3rem;
    }

    .grid-2 {
        gap: 2rem;
    }

    .nav-links a {
        margin-left: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        align-items: flex-start;
    }

    .navbar .nav-links.mobile-open {
        right: 0;
    }

    .nav-links a {
        margin: 0.75rem 0;
        margin-left: 0 !important;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .nav-links a.btn {
        margin-top: 1.5rem;
        text-align: center;
    }

    /* Hero Section */
    .hero {
        padding: 4rem 0;
    }

    .hero-grid,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .hero-sub {
        font-size: 1.1rem;
    }

    /* Forms & Buttons */
    .contact-form {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Pricing cards: stack vertically on mobile */
    .pricing-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .pricing-card {
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }

    /* Container adjustments */
    .container {
        padding: 0 1.25rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .navbar .logo img {
        height: 44px !important;
    }

    .nav-links {
        width: 100% !important;
    }
}