/* ===================================================
   filRouge Teleprompter — Landing
   Stile: filrouge-agenzia.it — pulito, professionale, bordi arrotondati
   Font: Neulis Sans (Typekit)
   =================================================== */

:root {
    --red: #E31E2D;
    --red-bright: #D91C2A;
    --red-light: rgba(227, 30, 45, 0.08);
    --red-border: rgba(227, 30, 45, 0.25);
    --bg: #fafafa;
    --bg-2: #f5f5f5;
    --bg-card: #ffffff;
    --surface: #fff;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.12);
    --text: #1a1a1a;
    --text-muted: #666;
    --text-dim: #555;
    --font-display: 'neulis-sans', sans-serif;
    --font-body: 'neulis-sans', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bordi arrotondati */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

::selection {
    background: rgba(227, 30, 45, 0.2);
    color: var(--text);
}

/* ===================== CONTAINER ===================== */
.container {
    width: 100%;
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ===================== NAV ===================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    width: 100%;
    max-width: 1430px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    transition: opacity 0.25s;
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
    height: 26px;
    width: auto;
    display: block;
}

.nav-logo-divider {
    width: 1px;
    height: 14px;
    background: var(--border);
    border-radius: var(--radius-full);
}

.nav-logo-text {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    transition: color 0.25s;
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--red);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s;
}

.nav-cta:hover {
    background: var(--red-bright);
    box-shadow: 0 4px 20px rgba(227, 30, 45, 0.35);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0 5rem;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 580px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: fadeSlideUp 0.6s var(--ease) 0.15s forwards;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.hero-eyebrow-text {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-eyebrow-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-light);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    
}

.hero-title-line-1 {
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-dim);
}

.hero-title-line-2 { margin-top: 0.05em; }

.hero-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: heroWordIn 0.9s var(--ease) forwards;
}

.hero-title-line-1 .hero-title-word { animation-delay: 0.3s; }
.hero-title-ghost {
    color: var(--text-muted);
    animation-delay: 0.5s;
    margin-right: 0.15em;
}
.hero-title-accent {
    color: var(--red);
    font-weight: 800;
    animation-delay: 0.65s;
}

@keyframes heroWordIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeSlideUp 0.6s var(--ease) 0.85s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 0.6s var(--ease) 1s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-full);
    transition: all 0.25s var(--ease);
    cursor: pointer;
    border: none;
}

.btn-arrow {
    flex-shrink: 0;
    transition: transform 0.25s var(--ease);
}

.btn-primary {
    color: #fff;
    background: var(--red);
    box-shadow: 0 2px 12px rgba(227, 30, 45, 0.25);
}

.btn-primary:hover {
    background: var(--red-bright);
    box-shadow: 0 6px 24px rgba(227, 30, 45, 0.35);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    color: var(--text-dim);
    background: transparent;
}

.btn-ghost:hover { color: var(--red); }

.btn-small { padding: 0.65rem 1.25rem; font-size: 0.82rem; }
.btn-large { padding: 1.1rem 2rem; font-size: 1rem; }

/* Hero Prompter */
.hero-prompter {
    opacity: 0;
    animation: prompterIn 1s var(--ease) 0.4s forwards;
}

@keyframes prompterIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.prompter-card {
    position: relative;
    background: var(--text);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.06);
}

.prompter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.prompter-dots {
    display: flex;
    gap: 5px;
}

.prompter-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.prompter-dots span:first-child {
    background: var(--red);
}

.prompter-label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.prompter-live {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
}

.prompter-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.prompter-reading-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(227,30,45,0.4), transparent);
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.prompter-scroll {
    position: relative;
    height: clamp(320px, 45vh, 440px);
    overflow: hidden;
    padding: 2rem 1.5rem 2rem 2rem;
}

.prompter-text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 30% 0;
    animation: scrollText 20s linear infinite;
}

.prompter-text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
}

.prompter-text strong {
    color: #ffd54f;
    font-weight: 600;
}

@keyframes scrollText {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease 1.6s forwards;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--border-hover);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--red);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================== STATS ===================== */
.stats {
    padding: 4rem 0;
    background: var(--bg-2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card.reveal-delay-1 { transition-delay: 0.08s; }
.stat-card.reveal-delay-2 { transition-delay: 0.16s; }

.stat-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number span { color: var(--red); font-weight: 500; }

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    line-height: 1.4;
}

/* ===================== SECTIONS ===================== */
.section {
    padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.title-dim { color: var(--text-muted); }

/* ===================== COME FUNZIONA ===================== */
.how { background: var(--bg-card); }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:nth-child(2) { transition-delay: 0.1s; }
.step-card:nth-child(3) { transition-delay: 0.2s; }

.step-card:hover {
    border-color: var(--red-border);
    box-shadow: 0 8px 24px rgba(227, 30, 45, 0.08);
}

.step-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ===================== USE CASES (Per chi è) ===================== */
.use-cases {
    background: var(--bg-card);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.use-case-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 1px solid var(--border);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.use-case-card:hover {
    border-color: var(--red-border);
    box-shadow: 0 8px 28px rgba(227, 30, 45, 0.06);
}

.use-case-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--red-light);
    color: var(--red);
    margin-bottom: 1.25rem;
    transition: background 0.25s, color 0.25s;
}

.use-case-card:hover .use-case-icon {
    background: rgba(227, 30, 45, 0.15);
    color: var(--red-bright);
}

.use-case-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.use-case-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===================== WORKFLOW (Flusso utilizzo) ===================== */
.workflow {
    background: var(--bg-2);
}

.workflow-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.workflow-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.75rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.workflow-item:first-child {
    padding-top: 0;
}

.workflow-item:last-child {
    border-bottom: none;
}

.workflow-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.workflow-item.reveal-delay-1 { transition-delay: 0.1s; }
.workflow-item.reveal-delay-2 { transition-delay: 0.2s; }

.workflow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.workflow-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.workflow-content p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ===================== FEATURES ===================== */
.features { background: var(--bg-2); }

.section-header--features {
    margin-bottom: 3.5rem;
}

.section-header--features .section-tag::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--red);
    opacity: 0.5;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem 1.85rem;
    border: 1px solid var(--border);
    transition: border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    border-radius: 3px 0 0 3px;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease);
}

.feature-card:hover {
    border-color: var(--red-border);
    box-shadow: 0 12px 32px rgba(227, 30, 45, 0.08);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card--lead {
    grid-column: span 2;
}

.feature-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--red-light);
    color: var(--red);
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s;
}

.feature-card:hover .feature-icon {
    background: rgba(227, 30, 45, 0.15);
    color: var(--red-bright);
}

.feature-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--red);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.65;
}

.feature-card--cta {
    grid-column: span 3;
    background: linear-gradient(145deg, rgba(227, 30, 45, 0.06) 0%, rgba(227, 30, 45, 0.12) 100%);
    border: 2px solid var(--red-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card--cta::before {
    display: none;
}

.feature-card--cta:hover {
    background: linear-gradient(145deg, rgba(227, 30, 45, 0.1) 0%, rgba(227, 30, 45, 0.16) 100%);
    border-color: var(--red);
    box-shadow: 0 12px 36px rgba(227, 30, 45, 0.12);
}

.feature-cta-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.85rem;
    width: fit-content;
    padding: 0.2rem 0.6rem;
    background: rgba(227, 30, 45, 0.15);
    border-radius: var(--radius-full);
}

.feature-card--cta h3 {
    margin-bottom: 0.5rem;
}

.feature-card--cta p {
    flex: 1;
    margin-bottom: 1.5rem;
}

.feature-cta-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-cta-btn .btn-arrow {
    transition: transform 0.25s var(--ease);
}

.feature-cta-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===================== FAQ ===================== */
.faq-section {
    background: var(--bg-card);
}

.faq-section .section-header {
    text-align: center;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
    border-color: var(--red-border);
}

.faq-item[open] {
    border-color: var(--red-border);
    box-shadow: 0 4px 20px rgba(227, 30, 45, 0.06);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E31E2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.3s var(--ease);
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin: 0;
}

/* ===================== QUOTE ===================== */
.quote-section { background: var(--bg-card); }

.quote-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    background: var(--bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.quote-card p {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
}

.quote-card footer {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quote-line {
    width: 32px;
    height: 2px;
    background: var(--red);
    border-radius: var(--radius-full);
}

.quote-source {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ===================== CTA ===================== */
.cta-section { background: var(--bg-2); }

.cta-card {
    text-align: center;
    padding: 4rem 2.5rem;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 48px rgba(227, 30, 45, 0.25);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card .btn-primary {
    background: #fff;
    color: var(--red);
}

.cta-card .btn-primary:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* ===================== FOOTER ===================== */
.footer {
    padding: 2.5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 2rem 3rem;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s, opacity 0.2s;
}

.footer-brand:hover {
    color: var(--red);
    opacity: 0.9;
}

.footer-logo {
    height: 22px;
    width: auto;
    display: block;
}

.footer-site-link {
    font-size: 0.8rem;
    color: var(--red);
    font-weight: 500;
    transition: color 0.2s, text-decoration-color 0.2s;
    text-underline-offset: 3px;
}

.footer-site-link:hover {
    color: var(--red-bright);
    text-decoration: underline;
}

.footer-refs {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-company {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.footer-address,
.footer-tel {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-tel a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-tel a:hover {
    color: var(--red);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-align: right;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-brand-block { align-items: center; }
    .footer-refs { align-items: center; }
    .footer-copy { text-align: center; }
}

/* ===================== REVEAL ===================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-prompter { display: none; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-tagline { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .steps { grid-template-columns: 1fr; }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card--lead { grid-column: span 2; }
    .feature-card--cta { grid-column: span 2; }
}

@media (max-width: 768px) {
    .hero { padding-top: 5.5rem; padding-bottom: 3.5rem; }
    .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .stats-grid { grid-template-columns: 1fr; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .workflow-item {
        grid-template-columns: 44px 1fr;
        gap: 1.25rem;
        padding: 1.5rem 0;
    }
    .workflow-num {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card--lead { grid-column: span 1; }
    .feature-card--cta { grid-column: span 1; }
    .nav-links { display: none; }
    .hero-scroll { display: none; }
    .quote-card { padding: 2rem 1.5rem; }
    .faq-question { padding: 1rem 1.25rem; font-size: 0.95rem; }
    .faq-answer { padding: 0 1.25rem 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .cta-title { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* ===================== AUTH MODAL ===================== */
#auth-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    pointer-events: none;
    visibility: hidden;
}

#auth-modal.open {
    pointer-events: auto;
    visibility: visible;
}

#auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#auth-modal.open #auth-modal-overlay {
    opacity: 1;
}

.auth-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--border);
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s ease;
    overflow: hidden;
}

#auth-modal.open .auth-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-2);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    font-family: var(--font-body);
}

.auth-modal-close:hover {
    color: var(--text);
    background: var(--border);
}

.auth-modal-logo {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-modal-logo .auth-logo-img {
    width: 52px;
    height: auto;
    display: block;
    margin: 0 auto 0.6rem;
}

.auth-modal-logo p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

#auth-modal .auth-card { padding: 0; background: transparent; border: none; }

#auth-modal .auth-step h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    text-align: center;
}

#auth-modal .auth-subtitle {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 1.5rem;
}

#auth-modal .auth-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 16px;
    font-family: var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#auth-modal .auth-input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(227, 30, 45, 0.12);
}

#auth-modal .auth-input::placeholder {
    color: var(--text-muted);
}

#auth-modal .auth-input.token-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    font-family: monospace;
    text-transform: uppercase;
}

#auth-modal .auth-btn-primary {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-full);
    border: none;
    background: var(--red);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    font-family: var(--font-body);
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#auth-modal .auth-btn-primary:hover:not(:disabled) {
    background: var(--red-bright);
}

#auth-modal .auth-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#auth-modal .auth-input-group { margin-bottom: 1.25rem; }

#auth-modal .auth-footer-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

#auth-modal .auth-link-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
    font-family: var(--font-body);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#auth-modal .auth-link-btn:hover { color: var(--red); }

#auth-modal .auth-error {
    background: rgba(227, 30, 45, 0.08);
    border: 1px solid rgba(227, 30, 45, 0.25);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--red-bright);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

#auth-modal .auth-error.hidden { display: none !important; }

#auth-modal .auth-email-badge {
    display: inline-block;
    background: var(--red-light);
    border: 1px solid var(--red-border);
    color: var(--red);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

#auth-modal .auth-success-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--red);
}

#auth-modal .auth-step.hidden { display: none !important; }

@media (max-width: 480px) {
    .auth-modal-panel {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }
    #auth-modal { align-items: flex-end; padding: 0; }
    #auth-modal .auth-modal-panel {
        transform: translateY(100%);
    }
    #auth-modal.open .auth-modal-panel {
        transform: translateY(0);
    }
}
