:root {
    /* "Paper & Ink" Palette */
    --bg-color: #FFFFFF;
    --bg-secondary: #F7F7F7;
    --text-primary: #121212;
    --text-secondary: #555555;

    --accent-primary: #000000;
    --accent-secondary: #333333;

    --border-color: #E5E5E5;
    --border-hover: #C0C0C0;

    /* Variables for layout */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

    --nav-height: 80px;
    --padding-section: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 500;
    /* Editorial weight */
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* UTILITIES */
.highlight {
    color: var(--accent-primary);
    font-style: italic;
    position: relative;
    /* Optional: minimalist underline highlight */
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 88%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    /* More squared for editorial feel */
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-pill {
    border-radius: 50px;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    border: 1px solid var(--accent-primary);
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-secondary);
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.nav-center {
    display: flex;
    gap: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* Nav Dropdown (Editorial Style) */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--text-primary);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 10px;
    /* Bridge */
    flex-direction: column;
    width: 160px;
}

.lang-menu::before {
    /* Bridge */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
}

.lang-dropdown:hover .lang-menu {
    display: flex;
}

.lang-menu a {
    background: white;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-bottom: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.lang-menu a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.lang-menu a:last-child {
    border-bottom: 1px solid var(--border-color);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.lang-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* MAIN CONTAINERS */
section {
    padding: var(--padding-section) 5%;
    max-width: 1100px;
    margin: 0 auto;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding-top: 160px;
    padding-bottom: 120px;
    max-width: 900px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.hero .subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hero-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 50px;
    flex-wrap: wrap;
    color: var(--text-primary);
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.micro-copy {
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 20px;
}

/* DEMO SECTION */
.demo-section {
    text-align: center;
    padding-bottom: 40px;
}

.video-placeholder {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #F2F2F2;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.play-button {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.video-placeholder:hover .play-button {
    transform: scale(1.05);
}

.caption h3 {
    margin-bottom: 8px;
}

/* PROBLEM SECTION */
.problem-section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: left;
}

/* GRIDS */
.problem-section {
    padding: 20px 5% 100px;
    position: relative;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.text-block p {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.highlight-block {
    background: var(--bg-secondary);
    padding: 40px;
    border-left: 4px solid var(--accent-primary);
    /* Simple geometric editorial accent */
}

.big-stat {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    line-height: 1.4;
    font-style: italic;
    margin: 0;
}

/* SOLUTION & CARDS */
.glass-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #D0D0D0;
}

.solution-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    border: none;
    box-shadow: none;
    background: transparent;
}

.solution-card h2 {
    font-size: 3rem;
}

.vs-badge {
    margin-top: 40px;
    display: inline-flex;
    gap: 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.vs-badge .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* HOW IT WORKS */
.steps-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.steps-grid::-webkit-scrollbar {
    display: none;
}

.step-card {
    min-width: 320px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
    scroll-snap-align: start;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #E0E0E0;
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.step-card h3 {
    margin-top: 40px;
    /* Space for number */
    font-size: 1.3rem;
}

/* USE CASES / DIFF */
.use-case-item {
    padding: 30px 20px;
    border-top: 2px solid var(--text-primary);
}

.use-case-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.diff-card ul {
    list-style: none;
    padding-left: 0;
}

.diff-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.diff-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* TRUST */
.trust-banner {
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-lg);
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    font-weight: 500;
}

/* PRICING */
/* PRICING NEW */
.pricing-card {
    text-align: left;
    border: 1px solid #E5E5E5;
    padding: 30px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 8px;
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    /* Slightly smaller */
    margin-bottom: 4px;
    /* Reduced margin */
    margin-top: 0;
}

.pricing-card .plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    min-height: auto;
    /* Allow auto height to save space */
}

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card .price small {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 400;
}

/* LISTS */
.pricing-check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pricing-check-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.pricing-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-size: 0.8rem;
    top: 2px;
}

.pricing-card .plan-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 16px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* DARK CARD (Professional) */
.pricing-card.dark {
    background: #1A1A1A;
    color: white;
    border-color: #1A1A1A;
}

.pricing-card.dark h3,
.pricing-card.dark .price,
.pricing-card.dark .pricing-check-list li {
    color: white;
}

.pricing-card.dark .plan-desc,
.pricing-card.dark .plan-note {
    color: #AAA;
}

.pricing-card.dark .price {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.dark .pricing-check-list li::before {
    color: white;
}

/* BADGE */
.badge-rec {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #EFECE6;
    color: #555;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #CCC;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* BTN BEIGE */
.btn-beige {
    background: #EFECE6;
    color: #222;
    border: 1px solid #DDD;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-beige:hover {
    background: #e5e0d8;
    border-color: #ccc;
}

/* FREE TRIAL PILL */
.free-trial-pill {
    background: #F0FDF4;
    /* Light green mint */
    color: #166534;
    /* Dark green text */
    border: 1px solid #BBF7D0;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    margin: 0 auto 40px;
    font-size: 0.95rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 5% 40px;
    margin-top: 60px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.footer-cols {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.col h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .grid-2-cols,
    .grid-3-cols {
        grid-template-columns: 1fr;
    }

    .nav-center {
        display: none;
        /* Mobile menu needed logic, but strictly hiding for now */
    }

    section {
        padding: 60px 5%;
    }

    .hero {
        padding-top: 120px;
    }
}

/* SOCIAL PROOF SECTIONS */

/* 1. Hero User Cluster */
.user-cluster {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    justify-content: center;
}

.user-cluster .avatars {
    display: flex;
    margin-left: 10px;
    /* Offset for first negative margin if needed */
}

.user-cluster .avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    margin-left: -15px;
    /* Stack effect */
}

.user-cluster .avatars img:first-child {
    margin-left: 0;
}

.user-cluster p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* 2. Media Authority Strip */
.media-authority {
    background: transparent;
    padding: 10px 0 30px;
    border: none;
    width: 100%;
    text-align: center;
    /* Center everything */
}

.media-intro {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: visible;
}

.media-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    /* Prevent squishing */
}

.media-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* 3. Testimonials */
.testimonials-section {
    padding: var(--padding-section) 5%;
}

.testimonial-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-card .author {
    display: flex;
    flex-direction: column;
}

.testimonial-card .author .name {
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-card .author .role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 4. Powered By */
.powered-by {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.powered-by p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logos img {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    /* Default dim */
    filter: grayscale(100%);
    transition: opacity 0.3s ease;
}

.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .media-logos {
        gap: 30px;
    }

    .media-logos img {
        height: 25px;
    }

    .user-cluster {
        flex-direction: column;
        gap: 10px;
    }
}

/* Premium Tech Gradient Animation */
.gradient-text-anim {
    background: linear-gradient(90deg, #4ade80, #3b82f6, #8b5cf6, #4ade80);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-flow 8s linear infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    :root {
        --padding-section: 60px;
        /* Reduced padding */
        --nav-height: 70px;
    }

    /* TYPOGRAPHY */
    h1 {
        font-size: 3rem !important;
        /* Force smaller size */
    }

    h2 {
        font-size: 2rem !important;
    }

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

    .hero .subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    /* LAYOUT */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    /* Stack Grids */
    .grid-2-cols,
    .grid-3-cols {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    /* Stack Flex Containers */
    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        /* Full width buttons on mobile */
        justify-content: center;
    }

    /* Navigation */
    nav {
        padding: 0 20px;
    }

    .nav-center {
        display: none;
    }

    /* User Cluster */
    .user-cluster {
        flex-direction: column;
        gap: 15px;
    }

    /* Partner Logos */
    .partner-logos {
        gap: 20px;
    }

    .partner-logos img {
        height: 50px;
    }

    /* Steps */
    .steps-grid {
        padding-bottom: 20px;
        /* Adjust scroll padding */
    }

    .step-card {
        min-width: 280px;
        /* Slightly narrower cards */
    }

    /* Footer */
    .footer-cols {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .pricing-card {
        margin-bottom: 20px;
    }
}
/* Tooltip Styles for Transcript */
.transcript-word {
    position: relative;
    cursor: pointer;
    padding: 2px 0;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.transcript-word:hover {
    background-color: #fef08a; /* yellow-200 */
}

/* Tooltip */
.transcript-word::after {
    content: attr(data-timestamp);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
    padding: 4px 8px;
    background-color: #000;
    color: #fff;
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Arrow */
.transcript-word::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 10;
}

.transcript-word:hover::after,
.transcript-word:hover::before {
    opacity: 1;
    visibility: visible;
}


/* Smart Paragraphs Layout */
.transcript-row {
    display: flex;
    margin-bottom: 25px;
    line-height: 1.6;
}

.transcript-time {
    flex: 0 0 60px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px; /* Align with first line of text */
    user-select: none;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.transcript-content {
    flex: 1;
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    color: #222;
}

/* Ensure tooltips work consistently */
.transcript-word {
    position: relative;
    cursor: text;
    border-radius: 3px;
    padding: 2px 0;
    transition: background 0.1s ease;
}

/* Only underline/highlight on hover */
.transcript-word:hover {
    background-color: #fef08a; /* Soft yellow highlight */
    color: #000;
}

/* Re-assert tooltip styles to be safely above paragraph layout */
.transcript-word:hover::after {
    z-index: 1000;
}
