/* =========================================================================
   Premium Design System
   Emphasis on extreme contrast, perfect typography, and flawless hover states.
   ========================================================================= */

:root {
    /* Colors */
    --bg-base: #0B0E14; /* Dark Obsidian Space-Grey */
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF; /* Crisp Cool Gray */
    --text-tertiary: #6B7280;
    
    /* Accents */
    --accent-gold: #34E4B5; /* Electrified Mint */
    --accent-white: #FFFFFF;
    --border-light: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.3);
    
    /* Typography */
    --font-heading: 'Instrument Serif', serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Animation */
    --transition-snappy: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-ui);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Environmental Textures & Lighting (Eliminates the "AI-generated" blob look)
   -------------------------------------------------------------------------- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Subtle SVG noise string overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 10;
    pointer-events: none;
}

.ambient-mesh {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
}
.ambient-mesh.primary {
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.ambient-mesh.secondary {
    bottom: -30vh;
    left: 20%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(52, 228, 181, 0.04) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   Layout Container (Asymmetrical Split Hero)
   -------------------------------------------------------------------------- */
.hero-section {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 32px 60px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 20;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}
.mockup-container {
    position: relative;
    width: 110%; /* Slight bleed */
    transform: rotateY(-10deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mockup-container:hover {
    transform: rotateY(0deg) rotateX(0deg);
}
/* Notion-Style Document Mockup */
.css-mockup-doc {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(52, 228, 181, 0.15);
    color: #111827;
    font-family: var(--font-ui); /* Strict Sans-Serif like Notion */
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.doc-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.doc-icon {
    width: 64px;
    height: 64px;
    background: #D97757;
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    line-height: 1;
}

.doc-header h2 {
    font-family: var(--font-ui);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
    line-height: 1.1;
}

.doc-banner {
    background: #FDF1E7;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}
.banner-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
}

.doc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1F2937;
}

.list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #D97757;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.list-text {
    border-bottom: 1px solid #D1D5DB;
    padding-bottom: 4px;
    flex: 1;
}

.doc-fade {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100px;
    background: linear-gradient(to top, #FFFFFF 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.mockup-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(52, 228, 181, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Typography & Copy Design
   -------------------------------------------------------------------------- */
.eyebrow-badge {
    display: inline-flex;
    position: relative;
    padding: 1px;
    border-radius: 100px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    cursor: default;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 100%);
    box-shadow: 0 0 16px rgba(52, 228, 181, 0.1);
    animation: gentle-pulse 4s ease-in-out infinite;
}

.eyebrow-content {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-base); /* Obscure the inner gradient */
    padding: 6px 16px 6px 6px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    transition: var(--transition-snappy);
}
.eyebrow-badge:hover .eyebrow-content {
    background: #11151A; /* slight lighten on hover over obsidian */
}
.avatars {
    display: flex;
}
.avatars img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bg-base);
    margin-left: -8px;
}
.avatars img:first-child { margin-left: 0; }

.main-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.9rem); /* Scaled precisely to restore heading dominance */
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}
.highlight-italic {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-gold);
}

.hero-bullets {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}
.hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: left;
}
.bullet-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-gold); /* Resolves to #34E4B5 Mint */
    color: var(--bg-base); /* Dark obsidian checkmark for max contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(52, 228, 181, 0.3);
    margin-top: 2px;
}
.bullet-icon svg {
    width: 14px;
    height: 14px;
}
.bullet-text {
    flex: 1;
}
.bullet-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   High-Conversion Form (The focal point of the lead magnet)
   -------------------------------------------------------------------------- */
.lead-form {
    margin-top: 0;
    width: 100%;
    max-width: 600px;
    align-self: flex-start;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Deep inset style */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px; /* Brutalist shape */
    padding: 6px 6px 6px 20px;
    transition: var(--transition-snappy);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(52, 228, 181, 0.05); /* Inner shadow for depth */
}
.input-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.35);
}
.input-wrapper:focus-within {
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(52, 228, 181, 0.15);
}

.input-icon {
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-ui);
    outline: none;
}
.input-wrapper input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.submit-btn {
    background: var(--text-primary);
    color: var(--bg-base);
    border: none;
    border-radius: 4px; /* Matches brutalist style */
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-snappy);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
    background: #F3F4F6;
}
.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}
.btn-arrow {
    transition: transform 0.3s ease;
}
.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   Ultra Minimal Inline Testimonial
   -------------------------------------------------------------------------- */
.inline-testimonial {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* LEFT ALIGNED */
    gap: 12px;
    padding: 12px 0;
    width: 100%;
}
.inline-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    flex-shrink: 0;
}
.inline-quote {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: left;
}
.inline-stars {
    color: var(--accent-gold);
    letter-spacing: 1px;
    margin-right: 4px;
}
.inline-quote strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Timeline Section (Future Pacing)
   -------------------------------------------------------------------------- */
.timeline-section {
    width: 100%;
    padding: 24px 24px 80px; /* Radically reduced top margin to completely fix massive gap */
    background: rgba(255, 255, 255, 0.015); /* Layered depth */
    backdrop-filter: blur(20px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.timeline-container {
    max-width: 600px;
    margin: 0 auto;
}
.timeline-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 24px; /* Dramatically shrunk distance to the timeline nodes */
    text-align: center;
    letter-spacing: -0.02em;
}
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 11px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold) 0%, rgba(52, 228, 181, 0.05) 100%);
}
.timeline-item {
    position: relative;
    margin-bottom: 56px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-node {
    position: absolute;
    top: 4px; left: -40px;
    width: 24px; height: 24px;
    background: var(--bg-base);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(52, 228, 181, 0.4);
    z-index: 2;
    transition: var(--transition-snappy);
}
.timeline-item:hover .timeline-node {
    box-shadow: 0 0 24px rgba(52, 228, 181, 0.8);
    background: rgba(52, 228, 181, 0.15);
    transform: scale(1.25);
}
.timeline-node::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}
.time-marker {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    text-transform: uppercase;
    transition: var(--transition-snappy);
}
.timeline-item:hover .time-marker {
    text-shadow: 0 0 12px rgba(52, 228, 181, 0.6);
}
.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: var(--transition-snappy);
}
.timeline-item:hover .timeline-content h3 {
    color: var(--accent-gold);
}
.timeline-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.timeline-css-snippet {
    width: 100%;
    margin-top: 24px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    color: #111827;
    font-family: var(--font-ui);
    text-align: left;
    position: relative;
    overflow: hidden;
    opacity: 0.8;
    transform: translateY(10px) scale(0.98);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}
.timeline-item:hover .timeline-css-snippet {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(52, 228, 181, 0.2);
}

/* Snippet Header */
.snippet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}
.snippet-icon {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.snippet-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Snippet Content */
.snippet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #374151;
}
.snippet-row.strike {
    text-decoration: line-through;
    color: #9CA3AF;
}
.snippet-tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
}
.tag-red { background: #FEE2E2; color: #DC2626; }
.tag-green { background: #DCFCE7; color: #16A34A; }
.tag-gray { background: #F3F4F6; color: #4B5563; }

/* --------------------------------------------------------------------------
   Marquee Logos Row
   -------------------------------------------------------------------------- */
.logo-marquee {
    width: 100%;
    overflow: hidden;
    padding: 24px 0;
    background: transparent;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 10;
}
.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base) 0%, transparent 100%);
}
.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base) 0%, transparent 100%);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}
.marquee-track .logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.25;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0 40px;
    display: flex;
    align-items: center;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentle-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(52, 228, 181, 0.05); }
    50% { box-shadow: 0 0 24px rgba(52, 228, 181, 0.2); }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
   Bottom CTA Section
   -------------------------------------------------------------------------- */
.bottom-cta-section {
    width: 100%;
    padding: 80px 24px;
    background: var(--bg-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}
.bottom-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.bottom-cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}
.bottom-form {
    margin-top: 0;
    align-self: center;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 40px;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-bullets {
        margin: 0 auto 2rem auto;
    }
    .hero-bullets li {
        text-align: left;
    }
    .main-headline {
        text-align: center;
    }
    .inline-testimonial {
        justify-content: center;
    }
    .mockup-container {
        width: 100%;
        transform: none; /* remove 3D tilt on mobile */
    }
}

@media (max-width: 768px) {
    .lead-form {
        margin-top: 2.5rem;
    }
    .input-wrapper {
        flex-direction: column;
        padding: 6px;
        border-radius: 6px;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 12px;
    }
    .input-wrapper:hover, .input-wrapper:focus-within {
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .input-icon { display: none; }
    .input-wrapper input {
        width: 100%;
        padding: 16px 20px;
        background: rgba(0, 0, 0, 0.5); /* Brutalist mobile inset */
        border: 1px solid var(--border-light);
        border-radius: 6px; /* Brutalist shape */
        text-align: center;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
    }
    .input-wrapper input:focus {
        border-color: var(--accent-gold);
    }
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 18px;
    }
}
