@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,200;6..72,300;6..72,400&display=swap');

:root {
    --bg-color: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff;
}

/* Background Gradients */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 130, 20, 0.95) 0%, rgba(255, 140, 40, 0.6) 35%, rgba(255, 150, 60, 0.2) 60%, transparent 80%),
        radial-gradient(ellipse 100% 90% at 48% -10%, rgba(70, 120, 255, 0.92) 0%, rgba(90, 145, 255, 0.50) 40%, rgba(140, 185, 255, 0.15) 65%, transparent 80%),
        radial-gradient(ellipse 70% 30% at 50% 0%, rgba(255, 180, 100, 0.55) 0%, rgba(200, 210, 255, 0.15) 50%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 50% -5%, rgba(150, 200, 255, 0.60) 0%, rgba(180, 220, 255, 0.20) 50%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar-wrapper {
    display: flex;
    justify-content: center;
    padding: 1.25rem 2rem 0 2rem;
    position: relative;
    z-index: 10;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 253, 250, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0.6rem 0.6rem 2.8rem;
    border-radius: 9999px;
    box-shadow: 0 4px 30px -10px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 1250px;
    position: relative;
}

.logo strong {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #050505;
    font-family: 'Inter', sans-serif;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4.5rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-buttons {
    display: flex;
    gap: 0.6rem;
}

/* Floating Glass Navbar */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    z-index: 1000;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.floating-nav.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.floating-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(20, 20, 20, 0.72);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 5px 5px 5px 22px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.floating-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.floating-nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.floating-nav-links a:hover {
    color: #ffffff;
}

.floating-nav-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    padding: 7px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.floating-nav-download:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.22);
}

/* Base Buttons */
.btn {
    padding: 0.75rem 1.4rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Premium Dark Button */
.btn-dark {
    background-color: #2b2b2b;
    color: #fff;
    position: relative;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(33, 33, 33, 0.8), 0 8px 18px -4px rgba(33, 33, 33, 0.5);
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    z-index: 1;
}

.btn-dark::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    background: rgba(33, 33, 33, 1);
    z-index: -1;
    filter: blur(5px);
    opacity: 0.4;
}

.nav-btn-light {
    background-color: rgba(245, 245, 245, 0.85);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 13rem;
    padding-bottom: 5rem;
    z-index: 10;
}

.decorative-element {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge {
    background: #eef2ff;
    color: #4d66eb;
    padding: 0.55rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 1), 0 8px 20px rgba(180, 200, 255, 0.4);
    letter-spacing: 0.01em;
}

.title {
    position: relative;
    z-index: 10;
    font-family: 'Newsreader', serif;
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.1;
}

.subtitle {
    position: relative;
    z-index: 10;
    font-size: 1.35rem;
    color: #555c65;
    line-height: 1.5;
    margin: 0 auto 3.5rem auto;
    font-weight: 400;
    max-width: 650px;
}

.audio-section {
    position: relative;
    width: 100%; /* Replaced 100vw to fix horizontal scrollbar bug causing white side gaps */
    height: 120px;
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 100%; /* Replaced 100vw here too */
    height: 800px;
    /* Gives enough vertical room for the massive loop */
    z-index: 1;
    pointer-events: none;
    will-change: contents;
    text-rendering: optimizeSpeed;
    shape-rendering: geometricPrecision;
    contain: layout style paint;
}

.audio-pill {
    position: relative;
    z-index: 2;
    background-color: #fefcf8;
    /* Extremely subtle warm cream */
    border: 2.5px solid #111;
    /* Slightly thicker boundary to define bounds */
    border-radius: 9999px;
    padding: 0.5rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    /* Enhanced beautiful shadow */
}

.waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 24px;
}

.waveform .bar {
    width: 2px;
    background-color: #111;
    border-radius: 9999px;
    transition: all 0.2s ease;
    animation: frequencyPulse 1.2s ease-in-out infinite alternate;
}

/* Stagger animation to mimic real speaking frequencies */
.waveform .bar:nth-child(2n) {
    animation-delay: 0.1s;
    animation-duration: 0.9s;
}

.waveform .bar:nth-child(3n) {
    animation-delay: 0.3s;
    animation-duration: 1.4s;
}

.waveform .bar:nth-child(4n) {
    animation-delay: 0.5s;
    animation-duration: 1.1s;
}

.waveform .bar:nth-child(5n) {
    animation-delay: 0.2s;
    animation-duration: 1.3s;
}

.waveform .bar:nth-child(7n) {
    animation-delay: 0.4s;
    animation-duration: 1.0s;
}

@keyframes frequencyPulse {
    0% {
        transform: scaleY(0.75);
    }

    100% {
        transform: scaleY(1.35);
    }
}

.footer-note {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8a92a0;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

/* -------------------------------------
   DIGITAL CURATOR INTEGRATION SECTION 
   ------------------------------------- */

.digital-curator-integration {
    background-color: #000000;
    /* True deep pitch black for a matte finish */
    color: #e7e5e4;
    /* on-surface */
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
    /* Strongly lock to at least 1 viewport height */
    height: auto;
    padding: 10vh 0;
    /* Add padding to prevent any clipping on smaller screens */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center the subtitle and Laptop perfectly */
    gap: 4rem;
    /* Use gap to push elements apart without breaking center alignment */
    position: relative;
    overflow: hidden;
    /* Violently snap out any scrollbars */
    z-index: 0;
    border-radius: 50px;
    /* Smooth rounded corners all around */
}

/* Platform Chips */
.dc-platform-chips {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    z-index: 10;
}

.dc-chip {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 9999px;
    padding: 0.35rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a1a1aa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dc-chip:hover {
    color: #e7e5e4;
    background-color: rgba(37, 38, 38, 0.7);
}

.dc-chip-icon {
    font-size: 16px !important;
}

/* Hero Content */
.dc-hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 60rem;
    padding: 0 1rem;
}

.dc-title {
    font-family: 'Newsreader', serif;
    font-size: 3.5rem;
    /* Scaled up layout */
    font-weight: 300;
    /* Extremely thin elegant weight identical to first page */
    line-height: 1.1;
    letter-spacing: -0.04em;
    /* Tight editorial kerning */
    margin-bottom: 1rem;
    color: #f4f4f5;
    /* Premium soft titanium white */
}

.dc-subtitle {
    font-size: 1.125rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* Main CTA Button */
.dc-btn {
    background-color: #fbfaeb;
    /* Cream background matching image */
    color: #1a1a1a;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    /* Slightly rounded rect, not a full pill */
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(198, 198, 199, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(198, 198, 199, 0.3);
}

/* Curve and Icon Container */
.dc-curve-container {
    position: absolute;
    top: 240px;
    left: 0;
    width: 100%;
    height: 800px;
    pointer-events: none;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.dc-apps-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#dc-icon-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Floating Naked App Icons */
.dc-float-icon {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    pointer-events: auto;
}

.pulse-soft {
    animation: floatVertical 6s ease-in-out infinite alternate;
}

@keyframes floatVertical {
    0% {
        margin-top: 0px;
    }

    100% {
        margin-top: 15px;
    }
}

/* Authentic Laptop Pro Mockup */
.dc-laptop-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
    /* Shrunk down further for a more compact appearance */
    margin: 0;
    /* Clear margin so flexbox can align to absolute optical center */
    pointer-events: none;
    /* Removed hover scaling/moving entirely */
    filter: drop-shadow(0px 30px 60px rgba(0, 0, 0, 0.7));
    /* Realistic shadow */
}

/* The Lid (Aluminum back edge visible around the glass) */
.dc-laptop-lid {
    background: #b5b5b7;
    /* Silver border */
    padding: 2px 2px 0 2px;
    border-radius: 20px 20px 0 0;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* The Glass Front */
.dc-laptop-glass {
    background-color: #000000;
    padding: 10px 10px 18px 10px;
    /* Thicker bottom bezel (chin) */
    border-radius: 18px 18px 0 0;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
    /* Subtle light reflection */
}

/* The Glowing Screen Area */
.dc-laptop-screen {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* Laptop screens have rounded active pixels */
    aspect-ratio: 16 / 10;
    background-color: #111;
}

/* The Central Notch */
.dc-laptop-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 18%;
    /* Accurate Notch proportion */
    height: 4%;
    background-color: #000000;
    border-radius: 0 0 8px 8px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.05);
    /* very subtle edge lighting */
}

/* The Camera Lens */
.dc-laptop-camera {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle at 60% 40%, #202452 10%, #030409 70%, #000 100%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dc-laptop-wallpaper {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* Forces the entire screenshot into the frame so the menubar and dock aren't cropped */
}

/* The Bottom Base Architecture */
.dc-laptop-bottom {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The black hinge gap */
.dc-laptop-hinge {
    width: 98%;
    /* Slightly narrower than the screen lid */
    height: 3px;
    background: #000000;
}

/* The Main Aluminum Chassis Deck */
.dc-laptop-chassis {
    width: 106%;
    /* Base extends noticeably past the screen lid */
    height: 16px;
    /* Blocky M-series thickness */
    background: linear-gradient(to bottom, #f0f0f0 0%, #b5b5b7 5%, #909090 95%, #333333 100%);
    border-radius: 4px 4px 14px 14px;
    /* Sharp top edge, softer bottom corners */
    position: relative;
    display: flex;
    justify-content: center;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* The thumb groove to open the laptop */
.dc-laptop-groove {
    width: 14%;
    height: 5px;
    background: #666;
    border-radius: 0 0 5px 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8), inset 0 0 1px rgba(0, 0, 0, 0.9);
}

/* Svara Dictation Audio Pill */
.laptop-audio-pill {
    position: absolute;
    bottom: 12%;
    /* Just above the macOS dock */
    left: 50%;
    background-color: rgba(254, 252, 248, 0.95);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(17, 17, 17, 0.8);
    border-radius: 9999px;
    padding: 0.2rem 0.5rem;
    /* Noticeably smaller */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 50;

    /* Initially hidden */
    opacity: 0;
    transform: translate(-50%, 15px) scale(0);

    /* Motion Graphics Animation: Blistering fast loop */
    animation: laptopMotionPill 3.5s infinite;
}

/* Premium Motion Graphics Spring Animation */
@keyframes laptopMotionPill {
    0% {
        transform: translate(-50%, 15px) scale(0.3);
        opacity: 0;
        animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
        /* Aggressive overshoot */
    }

    12% {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
        animation-timing-function: linear;
    }

    82% {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
        animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
        /* Sharp pull back */
    }

    92%,
    100% {
        transform: translate(-50%, 10px) scale(0.3);
        opacity: 0;
    }
}

.mb-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 14px;
    /* Slightly taller for more aggressive bounds */
}

.mb-waveform .mb-bar {
    width: 2px;
    /* Solid integer to fix sub-pixel rendering bugs */
    background-color: #111;
    border-radius: 9999px;
    transition: all 0.2s ease;
    animation: mbFrequencyPulse 0.5s ease-in-out infinite alternate;
}

/* Hyper-fast flutter staggered dictation waveform frequencies */
.mb-waveform .mb-bar:nth-child(1) {
    animation-delay: 0.0s;
    animation-duration: 0.45s;
}

.mb-waveform .mb-bar:nth-child(2) {
    animation-delay: 0.1s;
    animation-duration: 0.35s;
}

.mb-waveform .mb-bar:nth-child(3) {
    animation-delay: 0.2s;
    animation-duration: 0.55s;
}

.mb-waveform .mb-bar:nth-child(4) {
    animation-delay: 0.3s;
    animation-duration: 0.40s;
}

.mb-waveform .mb-bar:nth-child(5) {
    animation-delay: 0.05s;
    animation-duration: 0.60s;
}

.mb-waveform .mb-bar:nth-child(6) {
    animation-delay: 0.15s;
    animation-duration: 0.35s;
}

.mb-waveform .mb-bar:nth-child(7) {
    animation-delay: 0.25s;
    animation-duration: 0.50s;
}

@keyframes mbFrequencyPulse {
    0% {
        height: 2px;
    }

    50% {
        height: 8px;
    }

    100% {
        height: 14px;
    }
}

/* Infinite Background App Marquee */
.app-marquee-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    /* Centered vertically strictly behind the Laptop */
    overflow: hidden;
    z-index: 5;
    /* Precisely mathematically behind the z-index:10 Laptop */
    pointer-events: none;
    /* Premium optical fade to black on the left and right edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.app-marquee-track {
    display: flex;
    width: max-content;
    /* Adjusted from 30s to 42s to preserve perfect tracking speed over vastly expanded track dimensions */
    animation: marqueeScrollLeftToRight 42s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    padding-right: 4.5rem;
    /* Matches gap to ensure a mathematically perfect loop gap */
    flex-shrink: 0;
}

.app-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.08));
    opacity: 0.88;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.18);
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.2));
}

/* Moving left -> right means starting at -50% and sliding to 0% */
@keyframes marqueeScrollLeftToRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* ===== Feature Cards ===== */
.dc-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    padding: 0 2rem;
    position: absolute;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
}

.dc-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.dc-feature-icon {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.dc-feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f0f0f0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dc-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0a0a0a;
    background: #4ade80;
    padding: 2px 8px;
    border-radius: 9999px;
}

.dc-feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.45;
    margin: 0;
    max-width: 200px;
}

.dc-kbd {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 3px 8px;
    letter-spacing: 0.03em;
}

/* ===================================
   SECTION 3: REFINE
   =================================== */
.refine-section {
    padding: 6rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #ffffff;
}

.refine-container {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 7rem;
    max-width: 1250px;
    width: 100%;
    align-items: flex-start;
}

/* Left Column: Visual Mockup */
.refine-left {
    position: relative;
}

.refine-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
    padding: 2rem 0;
}

/* Dictation Lines */
.refine-dictation-lines {
    position: relative;
    margin: 0 12% 2rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    /* Fixed height prevents card from shifting down during typing */
    height: 200px;
    overflow: visible;
}

.dictation-line-wrapper {
    position: relative;
    padding: 4px 0;
    /* Each line gets a fixed height slot */
    min-height: 60px;
}

.dictation-line {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #3a3a3a;
    line-height: 1.8;
    margin: 0;
}

/* ── Typed word spans ── */
.typed-word {
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.typed-word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Orange annotation pill badges (float above annotated text) ── */
.annotation-badge {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    /* Premium white, orange, and blue mix gradient */
    background: linear-gradient(135deg, #ffffff 0%, #ffa751 50%, #7dbbff 100%);
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1.5px solid #1a1a1a;
    /* Clean solid border */
    border-radius: 9999px;
    white-space: nowrap;
    /* Removed inset shadow so border sits perfectly flush with the gradient */
    box-shadow: 0 3px 12px rgba(255, 167, 81, 0.35);
    pointer-events: none;
    z-index: 30;
    /* Smooth spring pop-in */
    animation: badgePopIn 0.6s cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
}

@keyframes badgePopIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.3) translateY(10px);
    }

    40% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08) translateY(-3px);
    }

    70% {
        transform: translateX(-50%) scale(0.97) translateY(1px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
    }
}

/* ── Animated circle annotation ── */
.circle-anim {
    position: relative;
    border: 2px solid transparent;
    border-radius: 72% 38% 58% 48% / 48% 62% 42% 58%;
    padding: 1px 5px;
    transition: border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.circle-anim.active {
    /* Replaced yellow with soft orange */
    border-color: #ffa751;
}

/* Wide circle for multi-word phrases */
.circle-anim.circle-wide {
    border-radius: 55% 48% 52% 45% / 60% 46% 58% 50%;
    padding: 1px 7px;
}

/* Small circle for single char (period, ?) */
.circle-anim.circle-small {
    border-radius: 50%;
    padding: 0 4px;
}

/* ── Animated strikethrough ── */
.strike-anim {
    position: relative;
    display: inline;
}

.strike-anim::after {
    content: '';
    position: absolute;
    left: 0;
    top: 52%;
    height: 2.5px;
    /* Replaced yellow with soft orange */
    background: #ffa751;
    border-radius: 2px;
    transform: rotate(-0.5deg);
    z-index: 10;
    width: 0;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.strike-anim.active::after {
    width: calc(100% + 4px);
    left: -2px;
}

/* AI Response Card */
.refine-chatgpt-card {
    position: relative;
    z-index: 4;
    background: #ffffff;
    border-radius: 18px;
    border: 1.5px solid #1a1a1a;
    /* Distinct black boundary */
    margin: 0 12% 8%;
    /* Smaller side footprint */
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
    /* Extremely premium floating shadow */
    overflow: visible;
    /* Prevent audio pill cut-off */
}

.chatgpt-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.4rem 0.5rem;
    background: #f4f4f5;
    /* Light gray premium header */
    border-bottom: 1px solid #eaeaea;
    /* Subtle divider */
    border-radius: 16.5px 16.5px 0 0;
    /* Preserves rounding with overflow visible on parent */
}

.chatgpt-icon {
    font-size: 1rem;
    opacity: 0.6;
}

.chatgpt-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a1a;
}

.chatgpt-body {
    padding: 1rem 1.4rem;
    min-height: 195px;
    /* Prevents box from resizing while typing */
    display: flex;
    flex-direction: column;
}

.chatgpt-question {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    /* Smaller proportional text */
    color: #222;
    margin: 0 0 0.8rem 0;
    line-height: 1.6;
}

.chatgpt-list {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    /* Smaller proportional text */
    color: #222;
    margin: 0 0 0.8rem 1.2rem;
    padding: 0;
    line-height: 1.7;
    list-style-type: disc;
}

.chatgpt-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    /* Smaller proportional text */
    color: #222;
    margin: 0;
    line-height: 1.6;
}

.chatgpt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.4rem;
}

.chatgpt-actions,
.chatgpt-mic-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chatgpt-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    opacity: 0.85;
}

.chatgpt-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #111111;
    color: #ffffff;
    border-radius: 50%;
}

.chatgpt-pill {
    width: 60px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 9999px;
}

/* Right Column: Text Content */
.refine-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 2.2rem;
    /* Geometrically aligns baseline with the left dictation text */
}

.refine-pill {
    display: inline-flex;
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
    border-radius: 9999px;
    padding: 4px 16px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.refine-heading {
    font-family: 'Newsreader', serif;
    font-size: 3.5rem;
    /* Larger, premium editorial size */
    font-weight: 400;
    /* Fuller weight to not look spindly */
    letter-spacing: -0.04em;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0 0 1.2rem 0;
}

.refine-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    /* Slightly larger base size */
    font-weight: 400;
    color: #555c65;
    line-height: 1.6;
    margin: 0 0 3.5rem 0;
    /* More breathing room before accordion */
    max-width: 460px;
}

/* Accordion */
.refine-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.refine-accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.refine-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    /* A little bigger */
    font-weight: 400;
    /* 400 has better contrast for buttons than 300 */
    letter-spacing: -0.02em;
    color: #1a1a1a;
    text-align: left;
    transition: color 0.2s ease;
}

.refine-accordion-btn:hover {
    color: #666;
}

.refine-chevron {
    font-size: 1.4rem;
    color: #999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(90deg);
}

.refine-accordion-btn.active .refine-chevron {
    transform: rotate(-90deg);
    /* Points up when expanded */
}

.refine-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.refine-accordion-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: #444;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 1.5rem;
    padding-right: 1rem;
}

.refine-accordion-content.active {
    max-height: 180px;
    /* Enough space for the text */
    opacity: 1;
}

/* AI Logo */
.claude-logo-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
}

/* Animated Audio Pill in AI Card */
.refine-audio-pill {
    background: #151515;
    /* Dark pill */
    border: 2px solid #e7e5dc;
    /* Light rim */
    border-radius: 9999px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -18px;
    /* Protrudes outside the card */
    left: 50%;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    z-index: 10;
}

.refine-audio-pill.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.refine-waveform {
    display: flex;
    align-items: center;
    gap: 2.5px;
    height: 18px;
}

.rw-bar {
    width: 2.5px;
    background-color: #ffffff;
    border-radius: 9999px;
    animation: rwPulse 0.5s ease-in-out infinite alternate;
}

.rw-bar:nth-child(1) {
    animation-delay: 0.00s;
    animation-duration: 0.45s;
}

.rw-bar:nth-child(2) {
    animation-delay: 0.08s;
    animation-duration: 0.35s;
}

.rw-bar:nth-child(3) {
    animation-delay: 0.16s;
    animation-duration: 0.55s;
}

.rw-bar:nth-child(4) {
    animation-delay: 0.04s;
    animation-duration: 0.40s;
}

.rw-bar:nth-child(5) {
    animation-delay: 0.20s;
    animation-duration: 0.60s;
}

.rw-bar:nth-child(6) {
    animation-delay: 0.12s;
    animation-duration: 0.38s;
}

.rw-bar:nth-child(7) {
    animation-delay: 0.06s;
    animation-duration: 0.52s;
}

.rw-bar:nth-child(8) {
    animation-delay: 0.18s;
    animation-duration: 0.42s;
}

.rw-bar:nth-child(9) {
    animation-delay: 0.02s;
    animation-duration: 0.48s;
}

.rw-bar:nth-child(10) {
    animation-delay: 0.14s;
    animation-duration: 0.36s;
}

.rw-bar:nth-child(11) {
    animation-delay: 0.10s;
    animation-duration: 0.50s;
}

@keyframes rwPulse {
    0% {
        height: 3px;
    }

    50% {
        height: 12px;
    }

    100% {
        height: 18px;
    }
}

/* Pulsing active mic icon */
.pulse-icon {
    animation: micPulse 1.5s ease-in-out infinite;
}

@keyframes micPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Typewriter */
.typewriter-container {
    min-height: 120px;
}

.typewriter-text {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.typewriter-list li {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chatgpt-pill {
    display: none;
    /* replaced by refine-audio-pill */
}

/* ==========================================================================
   Section 4: Features Tabs 
   ========================================================================== */
.features-tabs-section {
    padding: 5rem 0; /* Reduced from 8rem to stop feeling extremely elongated */
    background: #000000;
    border-radius: 50px;
    overflow: hidden;
    /* Removed width overrides to let the native block correctly hit zero-margin borders */
}

.ft-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem; /* Safe padding for inner content */
}

/* Nav */
.ft-nav {
    display: flex;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2.5rem; /* Reduced from 4rem to tighten the vertical space */
}

.ft-tab {
    background: none;
    border: none;
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    color: #f4f4f5; /* Inverted to white */
    padding: 1rem 2rem; /* Made padding symmetrical to truly center the text */
    cursor: pointer;
    font-weight: 400;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.ft-tab.active {
    opacity: 1;
}

.ft-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 60px;
    /* Will be updated via JS */
    background-color: #f4f4f5; /* Inverted to white */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Panes container */
.ft-panes {
    position: relative;
    /* Removed min-height to ensure bottom padding shrink-wraps symmetrically against the top */
}

.ft-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* Tighter gap between text and laptop to reduce dead vertical space */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ft-pane.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.ft-left {
    flex: 0 0 auto; /* Stop taking 35% fixed width */
    max-width: 800px;
    text-align: center; /* Center the typography perfectly */
}

.ft-title {
    font-family: 'Newsreader', serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -0.04em; /* Match 1st section heading tracking */
    line-height: 1.1; /* Match 1st section heading height */
    color: #f4f4f5; /* Soft titanium white */
    margin-bottom: 1.5rem;
}

.ft-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem; /* Match 1st section subheading size */
    line-height: 1.5;
    color: #a1a1aa; /* Ash grey matching dc-subtitle */
    font-weight: 400; /* Match 1st section subheading weight */
}

.ft-right {
    flex: 1;
    width: 100%; /* Stretch completely to center the inner laptop evenly */
    position: relative;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    /* fallback */
}

/* Laptop variant — no dark bg, no rounded corners, transparent */
.ft-right-laptop {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    height: auto;
}

.ft-laptop-wrapper {
    width: 100%;
    max-width: 820px;
    margin: 0 auto; /* Force perfect geometric alignment inside the flex container */
    position: relative;
    z-index: 2;
}

/* WhatsApp overlay positioned perfectly inside the Laptop screen */
.ft-wa-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 92%;
    height: 86%;
    /* Mathematically calculated aspect ratio framing */
}

/* Audio pill at bottom of Laptop screen — identical to Section 2 pill */
.ft-laptop-pill {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
}

.ft-laptop-pill .refine-audio-pill {
    position: relative;
    bottom: auto;
    left: auto;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.ft-laptop-pill .refine-audio-pill.active {
    transform: scale(1);
    opacity: 1;
}

/* Lower position for Snippets pane (Gmail card is taller) */
.ft-laptop-pill-low {
    bottom: 3%;
}

/* ── PREMIUM SLACK COMPOSER OVERLAY ── */
.ft-slack-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slack-composer-premium {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(29, 28, 29, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: visible;
}

.sc-target {
    padding: 12px 16px 8px;
}
.sc-target-text {
    font-size: 14px;
    color: #1d1c1d;
    opacity: 0.6;
}
.sc-bold { font-weight: 700; opacity: 1; color: #1d1c1d;}

.sc-input-area {
    padding: 10px 16px 20px;
    min-height: 80px;
    position: relative;
    display: flex;
    align-items: flex-start;
}
.sc-text {
    font-size: 15px;
    color: #1d1c1d;
    margin: 0;
    line-height: 1.5;
    outline: none;
}

.sc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: #f8f8f8;
    border-top: 1px solid rgba(29, 28, 29, 0.1);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.sc-footer-left, .sc-footer-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sc-action {
    width: 30px; height: 30px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 4px;
    color: #616061;
}
.sc-action .material-symbols-outlined {
    font-size: 18px;
}
.sc-btn-plus {
    background: rgba(29, 28, 29, 0.05);
    border-radius: 50%;
    width: 26px; height: 26px;
    margin-right: 8px;
    margin-left: 4px;
}
.sc-btn-plus .material-symbols-outlined { font-size: 18px; }

.sc-send-btn {
    width: 32px; height: 32px;
    border-radius: 4px;
    background: #007a5a;
    display: flex; justify-content: center; align-items: center;
    color: #fff;
    margin-left: 8px;
}
.sc-send-btn .material-symbols-outlined { font-size: 15px; margin-left: 2px;}

    .sc-send-btn .material-symbols-outlined {
        font-size: 15px;
        margin-left: 2px;
    }


    /* Dictionary Streamed Word Styles */
    .dict-word {
        display: inline;
        opacity: 0;
        transition: opacity 0.15s ease;
    }

    .dict-word.visible {
        opacity: 1;
    }

    /* Blurred background for Snippets/Styles panes */
    .ft-mockup-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #182835 0%, #30171a 50%, #58311a 100%);
        filter: blur(15px);
        transform: scale(1.1);
        z-index: 1;
        opacity: 0.9;
    }

    /* Base Card Style (Snippets/Styles) */
    .mockup-card {
        position: relative;
        z-index: 2;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        width: 80%;
        max-width: 550px;
        font-family: 'Inter', sans-serif;
    }

    .dict-word-wrong {
        display: inline;
        position: relative;
        color: #1d1c1d;
    }

    .dict-word-wrong .dict-strike-line {
        position: absolute;
        top: 50%;
        left: -2px;
        width: 0;
        height: 2px;
        background: #ffa751; /* Match Section 3 strike-color */
        transition: width 0.3s ease;
    }

    .dict-word-wrong.struck .dict-strike-line {
        width: calc(100% + 4px);
    }

    .dict-word-wrong.struck {
        opacity: 0.5;
    }

    .dict-word-correct {
        display: inline;
        position: relative;
        font-weight: 500;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .dict-word-correct.visible {
        opacity: 1;
    }

    /* Circle around corrected name */
    .dict-circle-wrap {
        position: relative;
        display: inline-block;
    }

    .dict-circle-wrap .dict-circle {
        position: absolute;
        top: -5px;
        left: -10px;
        right: -10px;
        bottom: -5px;
        border: 2px solid #ffa751; /* Match Section 3 circle-color */
        border-radius: 60% 40% 50% 50%;
        opacity: 0;
        transform: scale(1.15) rotate(2deg);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .dict-circle-wrap .dict-circle.active {
        opacity: 1;
        transform: scale(1) rotate(-1deg);
    }

    /* Badge for 'Added name' */
    .dict-circle-wrap .dict-badge {
        position: absolute;
        top: calc(100% + 6px); /* Sit closely under the annotated word */
        left: 50%;
        transform: translate(-50%, -10px) scale(0.9);
        background: linear-gradient(135deg, #ffffff 0%, #ffa751 50%, #7dbbff 100%);
        color: #1a1a1a;
        font-family: 'Inter', sans-serif;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 4px 12px;
        box-sizing: border-box;
        border: 1.5px solid #1a1a1a;
        border-radius: 9999px;
        white-space: nowrap;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.22, 1.2, 0.36, 1);
        box-shadow: 0 3px 12px rgba(255, 167, 81, 0.35);
        z-index: 100;
    }

    .dict-circle-wrap .dict-badge.active {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    /* ── GMAIL CARD ── */
    .gmail-card {
        width: 100%;
        font-size: 0.95rem;
        border-radius: 12px;
        overflow: visible;
        box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.08);
    }

    .gmail-header {
        background: #f6f6f6;
        padding: 14px 18px;
        border-radius: 12px 12px 0 0;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid #eee;
    }

    .gmail-logo-img {
        width: 16px;
    }

    .gmail-title {
        font-weight: 500;
        color: #202124;
    }

    .gmail-to-row,
    .gmail-subject-row {
        padding: 12px 16px;
        border-bottom: 1px solid #f1f3f4;
        display: flex;
        align-items: center;
    }

    .gmail-label {
        color: #5f6368;
        margin-right: 12px;
    }

    .gmail-avatar {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 8px;
    }

    .gmail-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gmail-recipient {
        font-weight: 500;
        color: #202124;
    }

    .gmail-subject-text {
        font-weight: 500;
        color: #202124;
    }

    .gmail-body {
        padding: 16px 16px 24px;
        color: #202124;
        min-height: 100px;
        text-align: left;
    }

    .snippet-target-p {
        margin-top: 10px;
    }

    .snippet-link {
        color: #1a73e8;
        position: relative;
        display: inline-block;
    }

    .snippet-underline {
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0%;
        height: 2px;
        border-bottom: 2px dashed #ffa751; /* Unified orange color */
        transition: width 0.4s ease;
    }

    .snippet-underline.active {
        width: 100%;
    }

    .snippet-badge {
        position: absolute;
        top: 110%;
        right: -30px;
        background: linear-gradient(135deg, #ffffff 0%, #ffa751 50%, #7dbbff 100%);
        color: #1a1a1a;
        font-family: 'Inter', sans-serif;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 4px 12px;
        box-sizing: border-box;
        border: 1.5px solid #1a1a1a;
        border-radius: 9999px;
        white-space: nowrap;
        transform: rotate(-3deg) translateY(-10px) scale(0.9);
        box-shadow: 0 3px 12px rgba(255, 167, 81, 0.35);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.22, 1.2, 0.36, 1);
        z-index: 100;
    }

    .snippet-badge.active {
        opacity: 1;
        transform: rotate(-3deg) translateY(0) scale(1);
    }

    .gmail-footer {
        padding: 12px 18px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-top: 1px solid #f1f3f4;
        background: #fafafa;
        border-radius: 0 0 12px 12px;
    }

    .gmail-send-btn {
        background: #e8e8e8;
        color: #202124;
        padding: 6px 12px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        font-weight: 500;
        gap: 2px;
    }

    .g-icon-s {
        font-size: 1.2rem;
    }

    .gmail-icon {
        color: #5f6368;
        font-size: 1.1rem;
    }

    /* Pill Absolute Position Overlays */
    .floating-pill-wrapper {
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .snippet-pill {
        bottom: -20px;
    }

    .styles-pill {
        bottom: 20px;
    }

    /* Styles has a different container */

    /* Tone pane overlay to center elements */
    .tone-stack-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 20;
    }

    /* ── TONE 3D STACK ── */
    .styles-stack {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Add organic floating to the entire stack */
        animation: organicFloat 6s ease-in-out infinite;
    }

    @keyframes organicFloat {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-6px); }
        100% { transform: translateY(0px); }
    }

    .style-card {
        position: absolute;
        width: 310px; 
        height: 240px; /* Increased height so text is no longer cut off */
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px; 
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06), 0 20px 40px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        /* Replaced bouncy transition with an ultra-smooth cinematic spring */
        transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                    box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                    z-index 0s step-end;
        font-family: 'Inter', sans-serif;
    }

    /* Add moving reflection to the front card */
    .style-card::after {
        content: '';
        position: absolute;
        top: 0; left: -150%;
        width: 50%; height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-25deg);
        transition: none;
        z-index: 100;
        pointer-events: none;
        opacity: 0;
    }

    .style-card.pos-1::after {
        animation: premiumShine 2.5s ease-in-out infinite;
    }

    @keyframes premiumShine {
        0% { left: -150%; opacity: 0; }
        20% { opacity: 1; }
        80% { left: 200%; opacity: 0; }
        100% { left: 200%; opacity: 0; }
    }

    .style-card-header {
        padding: 16px;
        text-align: center;
        color: white;
        font-weight: 600;
        font-size: 1.15rem; 
        letter-spacing: -0.01em;
        flex-shrink: 0; /* Guarantee header is never squished */
    }

    .bg-executive {
        background: #1E293B; /* Crisp Slate Dark */
    }

    /* Friendly */
    .bg-friendly {
        background: #D1FAE5; /* Fresh Mint Green */
        color: #111;
    }

    /* Enthusiastic */
    .bg-enthusiastic {
        background: #F43F5E; /* Vibrant Rose/Coral */
        color: white;
    }

    /* Excited */

    .style-card-body {
        padding: 16px 20px; /* Tightened padding to give text maximum room */
        color: #111;
        font-size: 0.90rem; 
        line-height: 1.45;
        flex: 1;
        text-align: left;
        overflow: hidden; /* Prevents text from pushing the footer bounds out */
    }

    .highlight-blue {
        color: #0066FF;
        font-weight: 600;
        font-size: 1.1em;
    }

    .style-card-footer {
        padding: 12px 20px;
        display: flex;
        justify-content: flex-end;
        align-items: center; /* keep logo perfectly vertically aligned */
        background: #f1f2f4; 
        border-top: none;
        flex-shrink: 0; /* Guarantee footer is NEVER squished or clipped */
    }

    .style-card-footer.casual-footer {
        background: #f1f2f4;
        border: none;
    }

    .app-icon {
        width: 24px;
        height: 24px;
        object-fit: contain;
        display: block;
    }

    .wa-icon-box {
        background: #25D366;
        border-radius: 6px;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wa-icon {
        width: 15px;
        height: 15px;
        filter: brightness(0) invert(1);
        display: block;
    }

    /* Positional classes for JS rotation */
    /* pos-1 is Front Center */
    .pos-1 {
        transform: scale(1) translateY(-10px);
        z-index: 30;
        opacity: 1;
        /* Very distinct border on the top card to match image */
        border: 1.5px solid #1a1a1a; 
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    }

    /* pos-2 is Left background */
    .pos-2 {
        transform: scale(0.9) translateX(-45%) translateY(-15px) rotate(-3deg);
        z-index: 10;
        opacity: 0.95;
    }

    /* pos-3 is Right background */
    .pos-3 {
        transform: scale(0.9) translateX(45%) translateY(10px) rotate(3deg);
        z-index: 10;
        opacity: 0.95;
    }

/* Context Awareness Glass Layer */
.context-glass-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Internal laptop radius */
    overflow: hidden;
    z-index: 15; /* Crucial: MUST be higher than wallpaper */
    backdrop-filter: blur(2px); /* Much lower blur for crystal clarity */
    -webkit-backdrop-filter: blur(2px); /* Safari support */
    background: rgba(255, 255, 255, 0.02); /* Extremely subtle frosted tint */
    pointer-events: none;
}

.context-glass-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid rgba(0, 150, 255, 0.4); /* Crisp thin edge */
    /* Crisper, thinner bluish glow tightly hugging the boundary */
    box-shadow: inset 0 0 25px rgba(0, 150, 255, 0.5), inset 0 0 8px rgba(0, 200, 255, 0.8);
    pointer-events: none;
    animation: contextGatheringPulse 4s infinite alternate ease-in-out;
}

@keyframes contextGatheringPulse {
    0% {
        box-shadow: inset 0 0 10px rgba(0, 150, 255, 0.2), inset 0 0 2px rgba(0, 200, 255, 0.3);
        border-color: rgba(0, 150, 255, 0.1);
    }
    100% {
        box-shadow: inset 0 0 30px rgba(0, 150, 255, 0.6), inset 0 0 10px rgba(0, 200, 255, 0.9);
        border-color: rgba(0, 150, 255, 0.5);
    }
}

.context-glass-liquid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Super soft, subtle liquid gradients so wallpaper remains extremely clear */
    background: radial-gradient(circle at 40% 50%, rgba(0, 150, 255, 0.12) 0%, transparent 35%),
                radial-gradient(circle at 60% 30%, rgba(0, 220, 255, 0.1) 0%, transparent 35%);
    animation: liquidFlow 12s infinite linear;
    filter: blur(20px);
}

@keyframes liquidFlow {
    0% {
        transform: rotate(0deg) scale(1) translate(-2%, -2%);
    }
    50% {
        transform: rotate(180deg) scale(1.15) translate(4%, 4%);
    }
    100% {
        transform: rotate(360deg) scale(1) translate(-2%, -2%);
    }
}

/* ── REALISTIC VS CODE EDITOR UI ── */
.vscode-editor {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    font-family: 'Segoe UI', 'SF Pro Text', -apple-system, sans-serif;
    font-size: 9px;
    color: #cccccc;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    z-index: 10;
    /* Clear the Laptop notch */
    padding-top: 22px;
    box-sizing: border-box;
}

/* Activity Bar — far left icon strip */
.vsc-activity-bar {
    width: 32px;
    min-width: 32px;
    background: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
    gap: 10px;
    border-right: 1px solid #252526;
}

.vsc-activity-icon {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    color: #858585;
    border-radius: 4px;
    cursor: default;
    transition: color 0.2s;
}
.vsc-activity-icon.vsc-active {
    color: #ffffff;
    position: relative;
}
.vsc-activity-icon.vsc-active::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 3px; bottom: 3px;
    width: 2px;
    background: #ffffff;
    border-radius: 1px;
}

/* Sidebar — File Explorer */
.vsc-sidebar {
    width: 120px;
    min-width: 100px;
    background: #252526;
    border-right: 1px solid #1e1e1e;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.vsc-sidebar-header {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #bbbbbb;
    padding: 8px 10px 6px;
    text-transform: uppercase;
}
.vsc-tree {
    padding: 0 4px;
}
.vsc-tree-item {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 8.5px;
    color: #cccccc;
    white-space: nowrap;
    cursor: default;
}
.vsc-tree-item.vsc-selected {
    background: rgba(255, 255, 255, 0.08);
}
.vsc-indent {
    padding-left: 18px;
}
.vsc-chevron {
    font-size: 7px;
    color: #858585;
    width: 8px;
}
.vsc-folder-icon {
    font-size: 9px;
}
.vsc-file-icon {
    font-size: 6px;
    font-weight: 700;
    padding: 1px 2px;
    border-radius: 2px;
    min-width: 14px;
    text-align: center;
    line-height: 1;
}
.vsc-file-icon.vsc-js {
    background: #f7df1e;
    color: #1e1e1e;
}
.vsc-file-icon.vsc-css {
    background: #56b6c2;
    color: #1e1e1e;
}
.vsc-file-icon.vsc-json {
    background: #e06c75;
    color: #1e1e1e;
}
.vsc-file-icon.vsc-md {
    background: #61afef;
    color: #1e1e1e;
}
.vsc-file-icon.vsc-git {
    background: #e06c75;
    color: #1e1e1e;
}

/* Main Editor Panel */
.vsc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #1e1e1e;
}

/* Tab Bar */
.vsc-tabs {
    display: flex;
    background: #252526;
    height: 24px;
    min-height: 24px;
    border-bottom: 1px solid #1e1e1e;
    overflow: hidden;
}
.vsc-tab {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    font-size: 8px;
    color: #969696;
    background: #2d2d2d;
    border-right: 1px solid #252526;
    white-space: nowrap;
    cursor: default;
}
.vsc-tab-active {
    background: #1e1e1e;
    color: #ffffff;
    border-top: 1px solid #007acc;
}
.vsc-tab-icon {
    font-size: 5.5px;
    font-weight: 700;
    padding: 1px 2px;
    border-radius: 2px;
    min-width: 12px;
    text-align: center;
}
.vsc-tab-close {
    font-size: 11px;
    color: #858585;
    margin-left: 4px;
    line-height: 1;
}

/* Editor Area (Code Lines) */
.vsc-editor-area {
    flex: 1;
    padding: 6px 0;
    font-family: 'Consolas', 'SF Mono', 'Fira Code', 'Menlo', monospace;
    font-size: 8.5px;
    line-height: 1.65;
    overflow: hidden;
}
.vsc-line {
    display: flex;
    align-items: center;
    padding: 0 8px;
    min-height: 14px;
    white-space: nowrap;
    word-spacing: 3px;
    letter-spacing: 0.3px;
}
.vsc-cursor-line {
    background: rgba(255, 255, 255, 0.04);
    border-left: 2px solid #007acc;
}

/* Line Numbers */
.vsc-ln {
    width: 22px;
    min-width: 22px;
    text-align: right;
    padding-right: 10px;
    color: #858585;
    user-select: none;
    font-size: 8px;
}

/* Syntax Highlighting */
.vsc-kw { color: #c586c0; }        /* keywords: import, const, from, => */
.vsc-var { color: #9cdcfe; }        /* variables */
.vsc-fn { color: #dcdcaa; }         /* function names */
.vsc-str { color: #ce9178; }        /* strings */
.vsc-num { color: #b5cea8; }        /* numbers */
.vsc-punc { color: #d4d4d4; }       /* punctuation */
.vsc-cmt { color: #6a9955; font-style: italic; }  /* comments */
.vsc-param { color: #9cdcfe; }      /* parameters */

/* Blinking Cursor */
.vsc-cursor {
    color: #aeafad;
    animation: vscodeBlink 1s step-start infinite;
    font-weight: 100;
}
@keyframes vscodeBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Status Bar */
.vsc-statusbar {
    height: 18px;
    min-height: 18px;
    background: #007acc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 7px;
    color: #ffffff;
    font-family: 'Segoe UI', -apple-system, sans-serif;
}
.vsc-sb-left, .vsc-sb-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vsc-sb-branch {
    font-weight: 600;
}

/* ── Code Mode Dictation Animation ── */
.codemode-dictation-text {
    color: #d4d4d4;
    font-family: 'Consolas', 'SF Mono', 'Fira Code', 'Menlo', monospace;
    font-size: 8.5px;
    position: relative;
    transition: opacity 0.4s ease;
}

/* Scratch / strikethrough sweep */
.codemode-dictation-text.codemode-scratch {
    position: relative;
}
.codemode-dictation-text.codemode-scratch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 1.5px;
    background: #e06c75;
    animation: cmScratchSweep 0.6s ease-out forwards;
}
@keyframes cmScratchSweep {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Fade out after scratch */
.codemode-dictation-text.codemode-fadeout {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ===================================
   SECTION 5: LANGUAGES
   =================================== */
.languages-section {
    padding: 8rem 2rem;
    position: relative;
    background: transparent;
    display: flex;
    justify-content: center;
}

.lang-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

.lang-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.lang-heading {
    font-size: 3rem;
    font-weight: 500;
    color: #111827;
    font-family: 'Newsreader', serif;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}

.lang-subheading {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.6;
}

.lang-box-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lang-box {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 500 / 520;
    height: auto;
    background: #000000; /* Matches Section 4 deep black */
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Soft vignette inner glow for depth */
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.7), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.lang-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    z-index: 10;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.lang-svg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.lang-svg-flag {
    filter: saturate(1.35) contrast(1.15);
}

/* ==========================================================================
   Section 6: Pricing
   ========================================================================== */
.pricing-section {
    border-radius: 48px;
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000;
}

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

.pricing-heading {
    font-family: 'Newsreader', serif;
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    color: #f4f4f5;
    margin: 0 0 1rem 0;
}

.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.pricing-toggle {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    padding: 6px;
    display: flex;
    align-items: center;
    position: relative; /* needed for absolute child */
}

.toggle-slider {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    /* Gliding physics animation */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.toggle-btn {
    background: transparent !important; /* Button background acts as invisible hit-box */
    box-shadow: none !important;
    border: none;
    color: #8c8c8c;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2; /* Content floats safely above the gliding slider */
}

.toggle-btn.active {
    /* No bg/box-shadow here anymore, slider handles visuals */
    color: #fff;
}

.discount-badge {
    color: #8c8c8c;
    font-size: 0.85rem;
    font-weight: 400;
}

.toggle-btn.active .discount-badge {
    color: #a855f7; /* Lit up when active */
}

.pricing-container {
    display: flex;
    align-items: stretch; /* Geometrically middle-align the cards / equal height */
    gap: 20px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.pricing-card {
    flex: 1;
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.plan-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.plan-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.plan-price {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.free-plan .plan-price {
    margin-bottom: 18px;
}

.currency {
    font-size: 1.4rem;
    margin-top: 10px;
    margin-right: 4px;
    font-weight: 600;
}

.cents {
    font-size: 1.8rem;
    margin-top: 6px;
    margin-left: 2px;
}

.plan-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.pro-badge {
    background: linear-gradient(90deg, #9333ea, #c026d3);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.pro-period {
    color: #8a91a6;
    font-size: 0.85rem;
    margin-left: 2px;
}

.plan-desc {
    color: #8c8c8c;
    font-size: 0.95rem;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

.plan-divider {
    border: none;
    border-top: 1px solid #222;
    margin-bottom: 24px;
}

.pro-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-feature-heading {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px; /* Tighter gap for better vertical rhythm */
    color: #8c8c8c;
    font-size: 0.88rem; /* Perfectly tuned premium font size */
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-features li::before {
    content: '✓';
    font-family: system-ui, -apple-system, sans-serif; /* Crisp native rendering */
    font-size: 0.88rem;
    font-weight: 800;
    color: #555; /* Subtle checkmark for free plan */
    margin-top: 1px;
    flex-shrink: 0;
}

.pro-features {
    color: #eeeeee;
    font-weight: 500;
}

.pro-features li::before {
    color: #a855f7; /* Vibrant purple/blue premium accent */
}

/* FREE CARD */
.free-plan {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
}

.plan-btn-wrapper {
    margin-top: auto;
    margin-bottom: 24px;
}

.plan-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.free-btn {
    background: #222;
    color: #ccc;
    border: 1px solid #333;
}

.free-btn:hover {
    background: #2a2a2a;
    color: #fff;
}

/* PRO CARD */
.pro-plan {
    background: #0f172a; /* Deep fallback */
    border: 1px solid rgba(0,0,0,0);
}

/* Beautiful animated premium gradient background */
.pro-gradient-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Static deep night base */
    background: radial-gradient(circle at 50% 110%, #172554 0%, #080812 60%);
    z-index: 1;
    overflow: hidden;
}

/* "Sunrise" translation layer */
.pro-gradient-bg::before {
    content: '';
    position: absolute;
    /* Extend height far below the card to simulate horizon */
    top: 0; left: -20%; right: -20%; height: 200%;
    /* Bright dynamic horizon glow at the vertical center of this 200% box */
    background: radial-gradient(circle at 50% 60%, #3b82f6 0%, #2563eb 20%, #1e3a8a 45%, transparent 70%);
    opacity: 0;
    z-index: 1;
    transform: translateY(20%); /* starts deep below */
    /* Extended "Sunset" fade down when cursor leaves */
    transition: transform 2.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 2.5s ease-out;
}

.pro-gradient-bg::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%; width: 100%; height: 100%;
    transform: translate(-50%, -20%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, transparent 60%);
    filter: blur(40px);
    opacity: 0;
    z-index: 2;
    /* Extended "Sunset" fade down when cursor leaves */
    transition: transform 2.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 2.5s ease-out;
    mix-blend-mode: screen;
}

.pro-plan:hover .pro-gradient-bg::before {
    opacity: 1;
    /* the sun physically rises up into the card */
    transform: translateY(-25%);
    /* Gentle "Sunrise" fade up when cursor enters */
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s ease-in-out;
}

.pro-plan:hover .pro-gradient-bg::after {
    opacity: 1;
    /* follows the sun up to the center */
    transform: translate(-50%, -50%);
    /* Gentle "Sunrise" fade up when cursor enters */
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s ease-in-out;
    animation: driftHighlight 6s infinite alternate ease-in-out 1.5s; /* delay till sunrise completes */
}

@keyframes driftHighlight {
    0% { transform: translate(-55%, -45%) scale(1); }
    100% { transform: translate(-45%, -55%) scale(1.1); }
}

.pro-card-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pro-btn {
    background: #000;
    color: #fff;
    border: 1px solid rgba(0,0,0,1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pro-plan:hover .pro-btn {
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    background: #0a0a0a;
}

.plan-footer {
    text-align: center;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
}
.plan-footer a {
    color: #666;
    text-decoration: underline;
}

.plan-footer-pro {
    text-align: center;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    color: #5d678b;
}

/* ============================================================
   COMMANDS PANE – Notepad Animation
   ============================================================ */

/* Notepad Window */
.cmd-notepad-window {
    position: absolute;
    top: 8%;
    left: 5%;
    right: 5%;
    bottom: 18%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
    z-index: 15;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmd-notepad-window.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.cmd-notepad-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.cmd-notepad-dots {
    display: flex;
    gap: 6px;
}

.cmd-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
}

.cmd-dot-red { background: #ff5f57; }
.cmd-dot-yellow { background: #febc2e; }
.cmd-dot-green { background: #28c840; }

.cmd-notepad-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.01em;
}

.cmd-notepad-body {
    flex: 1;
    padding: 12px 14px;
    background: #ffffff;
    position: relative;
}

.cmd-notepad-cursor {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.75rem;
    color: #333;
    animation: cmdCursorBlink 1s step-end infinite;
}

@keyframes cmdCursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Floating dictation text above pill */
.cmd-dictation-float {
    position: absolute;
    bottom: 16%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 18px;
    border-radius: 9999px;
    white-space: nowrap;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmd-dictation-float.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

.cmd-dictation-float.fadeout {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ============================================================
   SECTION 7: FOOTER – Wispr Flow-Inspired
   ============================================================ */

.site-footer {
    background: #ffffff;
    padding: 80px 64px 48px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -15%;
    right: -15%;
    height: 0%;
    background:
        radial-gradient(ellipse 90% 40% at 50% 100%, rgba(255, 130, 20, 0.95) 0%, rgba(255, 140, 40, 0.6) 35%, rgba(255, 150, 60, 0.2) 60%, transparent 80%),
        radial-gradient(ellipse 100% 90% at 48% 110%, rgba(70, 120, 255, 0.92) 0%, rgba(90, 145, 255, 0.50) 40%, rgba(140, 185, 255, 0.15) 65%, transparent 80%),
        radial-gradient(ellipse 70% 30% at 50% 100%, rgba(255, 180, 100, 0.55) 0%, rgba(200, 210, 255, 0.15) 50%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 50% 105%, rgba(150, 200, 255, 0.60) 0%, rgba(180, 220, 255, 0.20) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: height 2.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer.gradient-visible::after {
    height: 70%;
}

/* ---- Top: Three-column navigation ---- */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    justify-items: center;
    position: relative;
    z-index: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col-heading {
    font-family: 'Newsreader', serif;
    font-weight: 300;
    font-size: 1.45rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
    color: #6b5b3e;
    opacity: 0.8;
}

/* Newsletter Styles */
.footer-newsletter-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 250px;
    font-family: 'Inter', sans-serif;
}

.newsletter-form {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.newsletter-input {
    width: 100%;
    background-color: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 14px 48px 14px 20px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #111827;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.newsletter-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #d1d5db;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 0 0 3px rgba(17, 24, 39, 0.05);
}

.newsletter-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-submit:hover {
    color: #111827;
    background-color: #e5e7eb;
}

.newsletter-submit .material-symbols-outlined {
    font-size: 20px;
}

/* ---- Middle: Giant brand wordmark ---- */
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0 32px;
}

.footer-brand-image {
    width: auto;
    max-width: 640px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* ---- Bottom bar: Legal + social icons ---- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #555;
}

.footer-legal span {
    color: #555;
}

.footer-legal a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 0, 0, 0.2);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-legal a:hover {
    color: #111;
    text-decoration-color: rgba(0, 0, 0, 0.6);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #111;
    background: rgba(0, 0, 0, 0.04);
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .site-footer {
        padding: 60px 32px 36px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 48px 0 40px;
    }

    .footer-brand-icon {
        width: 140px;
    }

    .footer-brand-text {
        font-size: 80px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-top: 28px;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 16px;
    }
}
