﻿
/* ========== Landing Page Styles ========== */

/* Override app-main padding for landing */
.landing-page .app-main {
    padding: 0;
}

.landing-page .app-main > .container {
    max-width: 100%;
    padding: 0;
}

/* Performance: Replace heavy backdrop-filter with solid background on landing */
.landing-page .app-header {
    background: rgba(248, 244, 232, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-theme='dark'] .landing-page .app-header {
    background: rgba(51, 59, 68, 0.65);
}

/* Scroll progress indicator - Muted */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #64748b;
    z-index: calc(var(--z-header) + 1);
    transform-origin: left;
    transform: scaleX(0);
}

/* ===== Cursor Glow Effect - Muted ===== */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 116, 139, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform;
    contain: layout style paint;
}

html[data-theme='dark'] .cursor-glow {
    background: radial-gradient(circle, rgba(100, 116, 139, 0.06) 0%, transparent 60%);
}

/* Particle effect container */
.particles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-success);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

/* Floating geometric shapes (optimized) */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    contain: layout style paint;
}

.floating-shape {
    position: absolute;
    opacity: 0.08;
    will-change: transform;
    contain: layout style paint;
    /* Animation paused by default, enabled via JS only when in viewport */
}

.floating-shape--1 {
    width: 300px;
    height: 300px;
    border: 2px solid var(--color-success);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.floating-shape--2 {
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-cta);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: 20%;
    left: 3%;
    animation-delay: -7s;
}

.floating-shape--3 {
    width: 150px;
    height: 150px;
    background: rgba(71, 85, 105, 0.05);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 10px) rotate(270deg); }
}

/* ===== Hero Section ===== */
.landing-hero {
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 2rem 3rem 5rem;
    position: relative;
    overflow: hidden;
}

.landing-hero__content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
}

/* Hero copy вЂ” centered */
.landing-hero__copy {
    max-width: 800px;
}

.landing-hero__copy--centered {
    text-align: center;
    margin: 0 auto;
}

/* ===== Hero Background Video (right side) ===== */
.hero-bg-video {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 25%;
    height: auto;
    object-fit: contain;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    border-radius: 12px;
}

.hero-bg-video.is-playing {
    opacity: 1;
}

/* Theme-based hero videos */
.hero-bg-video--dark {
    display: none;
}

html[data-theme='dark'] .hero-bg-video--light {
    display: none;
}

html[data-theme='dark'] .hero-bg-video--dark {
    display: block;
}

/* Pills (as in the reference image) */
.landing-hero__pills {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.landing-hero__pill {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f8fafc;
    background: #334155;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.landing-hero__pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


/* Hero Mascot Styles - Enhanced */
.hero-mascot {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    animation: mascotEntry 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-mascot__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.2));
    animation: mascotFloat 5s ease-in-out infinite;
    animation-play-state: paused;
}

/* Enable animation only when hero is in view */
.landing-hero:not(.out-of-view) .hero-mascot__img {
    animation-play-state: running;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

.hero-mascot__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
    animation-play-state: paused;
    contain: layout style paint;
}

.landing-hero:not(.out-of-view) .hero-mascot__glow {
    animation-play-state: running;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.landing-hero__title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    opacity: 0;
    transform: translateY(60px);
    animation: fadeUp 1.2s ease 0.3s forwards;
    letter-spacing: -0.03em;
}

.landing-hero__brand {
    display: block;
    font-size: 1.15em;
    color: #1e293b;
}

.landing-hero__subtitle-text {
    font-size: 0.55em;
    font-weight: 600;
}

.landing-hero__subtitle-text--big {
    display: block;
    font-size: 1.05em;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Hero brand title with typewriter effect */
.hero-pixel-title {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: pixelTitleFadeIn 0.5s ease forwards;
}

@keyframes pixelTitleFadeIn {
    to { opacity: 1; }
}

.hero-pixel-title__text {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-pixel-title__cursor {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: #475569;
    animation: pixelCursorBlink 0.7s step-end infinite;
    margin-left: 2px;
}

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

/* Playful hero title style */
.landing-hero__title--playful {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    color: var(--color-text-primary);
}

/* Dance trigger easter egg */
.hero-dance-trigger {
    position: relative;
    cursor: pointer;
    color: #1e3a5f;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-dance-trigger:hover {
    color: #0f2942;
}

.hero-dance-trigger.is-dancing {
    animation: danceTextPulse 0.5s ease-in-out infinite alternate;
}

@keyframes danceTextPulse {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.05) rotate(2deg); }
}

/* Dark theme: improve readability for hero text */
html[data-theme='dark'] .hero-pixel-title__text {
    color: #e2e8f0;
}

html[data-theme='dark'] .hero-pixel-title__cursor {
    color: #94a3b8;
}

html[data-theme='dark'] .landing-hero__title--playful {
    color: #e2e8f0;
}

html[data-theme='dark'] .hero-dance-trigger {
    color: #cbd5e1;
}

html[data-theme='dark'] .hero-dance-trigger:hover {
    color: #e2e8f0;
}

.landing-hero__copy .landing-hero__description {
    margin-left: 0;
    margin-right: 0;
}

.landing-hero__highlight {
    position: relative;
    display: inline-block;
    color: var(--color-accent);
}

.landing-hero__highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #64748b;
    border-radius: 1px;
}

.landing-hero__description {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1.2s ease 0.5s forwards;
}

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

.landing-hero__buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1.2s ease 0.7s forwards;
}

.landing-hero__buttons--centered {
    margin-top: 2.5rem;
    justify-content: center;
    width: 100%;
}

.landing-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.landing-btn--primary {
    background: #1e293b;
    color: #f8fafc;
}

.landing-btn--primary:hover {
    background: #334155;
}

.landing-btn--secondary {
    background: transparent;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.landing-btn--secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Button inline icons */
.btn-icon {
    width: 1.5em;
    height: 1.5em;
    flex-shrink: 0;
}

.btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Demo button - Professional muted style */
.landing-btn--demo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    border: none;
    background: #1e293b;
    color: #f8fafc;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.landing-btn--demo:hover {
    background: #334155;
}


/* Scroll indicator / Learn More CTA */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    color: var(--color-cta);
    transform: translateY(3px);
}

.scroll-indicator__text {
    letter-spacing: 0.03em;
}

.scroll-indicator__icon {
    width: 24px;
    height: 36px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
    transition: border-color 0.3s ease;
}

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

@keyframes scrollDot {
    0%, 100% { top: 5px; opacity: 1; }
    50% { top: 16px; opacity: 0.3; }
}

/* ===== Section Styles ===== */
.landing-section {
    padding: 4rem 0;
    position: relative;
    width: 100%;
    contain: layout style;
}

.landing-section--alt {
    background: var(--color-surface-muted);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* ===== Value Section ===== */
.value-section {
    padding: 4rem 0;
    background: var(--color-surface-muted);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.value-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--color-surface);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #475569;
}

.value-card__icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
}

.value-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.value-card__text {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.value-card__text strong {
    color: var(--color-success);
    font-weight: 700;
}

.value-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.value-stat {
    text-align: center;
}

.value-stat__number {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.value-stat__label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .value-card {
        padding: 2rem;
    }
    
    .value-card__stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-stat__number {
        font-size: 2rem;
    }
}

/* ===== Features Section ===== */
.features-section {
    padding: 4rem 0;
}

.features-section .landing-container {
    background: var(--color-surface);
    border-radius: 2rem;
    padding: 3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .features-section .landing-container {
        padding: 1.5rem;
        border-radius: 1rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border-strong);
}

.feature-card--primary {
    background: var(--color-surface);
    border-color: rgba(71, 85, 105, 0.25);
}

.feature-card--primary:hover {
    border-color: rgba(71, 85, 105, 0.45);
}

.feature-card--accent {
    background: var(--color-surface);
    border-color: rgba(71, 85, 105, 0.25);
}

.feature-card--accent:hover {
    border-color: rgba(71, 85, 105, 0.45);
}

/* Wide feature card spanning 2 columns */
.feature-card--wide {
    grid-column: span 2;
}

/* Large feature card for highlighted features */
.feature-card--large {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-card--large:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.feature-card--large .feature-card__icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
}

.feature-card--large .feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card--large .feature-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Available now badge */
.feature-card__badge--available {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.1));
    border-color: rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

/* Highlight grid */
.features-grid--highlight {
    margin-bottom: 3rem;
}

/* Implementation main card */
.impl-main-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.2s ease;
}

.impl-main-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: var(--color-border-strong);
}

.impl-main-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.impl-main-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.impl-main-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.impl-main-card__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.impl-main-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.25rem;
}

.impl-main-card__desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .feature-card--wide {
        grid-column: span 1;
    }
    
    .feature-card--large {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-card--large .feature-card__icon {
        margin: 0 auto;
    }
    
    .impl-main-card {
        flex-direction: column;
        text-align: center;
    }
    
    .impl-main-card__icon {
        margin: 0 auto;
    }
    
    .impl-main-card__badge {
        margin: 0 auto;
    }
}

.feature-card__icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.5rem;
}

.feature-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== Feature Rows - Alternating Layout ===== */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin: 4rem 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-row:nth-child(even) {
    direction: rtl;
}

.feature-row:nth-child(even) > * {
    direction: ltr;
}

.feature-row__content {
    padding: 1rem 0;
}

.feature-row__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1.25rem;
}

.feature-row__badge--accent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(168, 85, 247, 0.08));
    border-color: rgba(124, 58, 237, 0.15);
    color: #7c3aed;
}

.feature-row__badge--success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(74, 222, 128, 0.08));
    border-color: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.feature-row__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    line-height: 1.25;
}

.feature-row__description {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.feature-row__highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-row__highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.feature-row__highlight-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-row__highlight-icon svg {
    width: 11px;
    height: 11px;
    stroke: white;
}

.feature-row__visual {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-row__visual:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.feature-row__visual--accent:hover {
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.1);
}

.feature-row__visual--success:hover {
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.1);
}

    .feature-row__visual img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

    /* Mock UI Animations */
    .mock-ui {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(226, 232, 240, 0.8);
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 320px;
        display: flex;
        flex-direction: column;
        font-family: 'Manrope', sans-serif;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .mock-ui:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    html[data-theme='dark'] .mock-ui {
        background: #1e293b;
        border-color: rgba(148, 163, 184, 0.1);
    }

    /* Chat Animation */
    .mock-ui--chat {
        background: linear-gradient(to bottom, #f8fafc, #ffffff);
    }
    html[data-theme='dark'] .mock-ui--chat {
        background: linear-gradient(to bottom, #0f172a, #1e293b);
    }

    .mock-ui__header {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(8px);
    }
    html[data-theme='dark'] .mock-ui__header {
        border-color: rgba(148, 163, 184, 0.1);
        background: rgba(30, 41, 59, 0.8);
    }

    .mock-ui__avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
    .mock-ui__avatar svg {
        width: 20px;
        height: 20px;
    }
    .mock-ui__avatar::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 10px;
        height: 10px;
        background: #22c55e;
        border: 2px solid #ffffff;
        border-radius: 50%;
    }
    html[data-theme='dark'] .mock-ui__avatar::after {
        border-color: #1e293b;
    }

    .mock-ui__title {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--color-text-primary);
    }
    
    .mock-ui__status {
        font-size: 0.75rem;
        color: var(--color-text-muted);
    }

    .mock-ui__body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        flex: 1;
        overflow: hidden;
    }

    .mock-message {
        max-width: 85%;
        padding: 1rem;
        border-radius: 16px;
        font-size: 0.9rem;
        line-height: 1.5;
        opacity: 0;
        transform: translateY(20px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .mock-message--user {
        align-self: flex-end;
        background: #3b82f6;
        color: white;
        border-bottom-right-radius: 4px;
        animation: messagePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
    }

    .mock-message--ai {
        align-self: flex-start;
        background: #f1f5f9;
        color: #334155;
        border-bottom-left-radius: 4px;
        animation: messagePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards;
        position: relative;
    }
    html[data-theme='dark'] .mock-message--ai {
        background: #334155;
        color: #f1f5f9;
    }

    .mock-typing {
        display: inline-flex;
        gap: 4px;
        padding: 4px 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: hideTyping 0.1s linear 3.5s forwards;
    }
    .mock-typing span {
        width: 6px;
        height: 6px;
        background: currentColor;
        border-radius: 50%;
        opacity: 0.6;
        animation: typing 1.4s infinite ease-in-out both;
    }
    .mock-typing span:nth-child(1) { animation-delay: -0.32s; }
    .mock-typing span:nth-child(2) { animation-delay: -0.16s; }

    .mock-message__content {
        opacity: 0;
        animation: fadeIn 0.5s ease 3.5s forwards;
    }
    
    .mock-input-area {
        padding: 1rem;
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        background: rgba(255,255,255,0.5);
    }
    html[data-theme='dark'] .mock-input-area {
        border-color: rgba(148, 163, 184, 0.1);
        background: rgba(30, 41, 59, 0.5);
    }
    .mock-input-fake {
        height: 40px;
        border-radius: 20px;
        background: rgba(255,255,255,0.8);
        border: 1px solid rgba(226, 232, 240, 0.8);
        width: 100%;
    }
    html[data-theme='dark'] .mock-input-fake {
        background: rgba(15, 23, 42, 0.3);
        border-color: rgba(148, 163, 184, 0.2);
    }


    /* Document Animation */
    .mock-ui--doc {
        display: flex;
        flex-direction: row;
        background: #f1f5f9;
        overflow: hidden;
    }
    html[data-theme='dark'] .mock-ui--doc {
        background: #0f172a;
    }

    .mock-doc__content {
        flex: 1;
        padding: 2rem;
        background: white;
        margin: 1.5rem;
        margin-right: 0;
        border-radius: 8px 0 0 8px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }
    html[data-theme='dark'] .mock-doc__content {
        background: #1e293b;
    }
    
    .mock-doc__header {
        height: 20px;
        width: 40%;
        background: #cbd5e1;
        border-radius: 4px;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .mock-line {
        height: 10px;
        background: #e2e8f0;
        border-radius: 4px;
        width: 100%;
        opacity: 0.6;
    }
    html[data-theme='dark'] .mock-line {
        background: #334155;
    }
    .mock-line:nth-child(1) { width: 95%; }
    .mock-line:nth-child(2) { width: 98%; }
    .mock-line:nth-child(4) { width: 90%; }
    .mock-line:nth-child(5) { width: 85%; }
    .mock-line:nth-child(6) { width: 92%; }

    .mock-line--highlight {
        background: rgba(239, 68, 68, 0.15);
        position: relative;
        width: 70%;
        animation: highlightPulse 2s infinite;
        border-bottom: 2px solid #ef4444;
    }

    .mock-doc__sidebar {
        width: 200px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        z-index: 2;
    }

    .mock-remark-card {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-left: 4px solid #ef4444;
        animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
        opacity: 0;
        transform: translateX(30px);
    }
    html[data-theme='dark'] .mock-remark-card {
        background: #1e293b;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }

    .mock-remark-card__tag {
        font-size: 0.7rem;
        font-weight: 800;
        color: #ef4444;
        text-transform: uppercase;
        margin-bottom: 0.5rem;
        letter-spacing: 0.05em;
    }
    .mock-remark-card__text {
        font-size: 0.75rem;
        line-height: 1.4;
        color: var(--color-text-secondary);
        font-weight: 500;
        word-break: break-word;
        hyphens: auto;
    }
    
    .mock-connection-line {
        position: absolute;
        right: 0;
        top: 130px;
        width: 20px;
        height: 2px;
        background: #ef4444;
        opacity: 0;
        animation: fadeIn 0.3s ease 1.5s forwards;
    }


    /* Checklist Animation */
    .mock-ui--checklist {
        padding: 2rem;
        background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    }
    html[data-theme='dark'] .mock-ui--checklist {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }

    .mock-checklist__header {
        font-weight: 800;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        color: var(--color-text-primary);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .mock-checklist__header svg {
        color: #3b82f6;
    }

    .mock-checklist__items {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mock-check-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    html[data-theme='dark'] .mock-check-item {
        background: #334155;
    }

    .mock-check-item__checkbox {
        width: 22px;
        height: 22px;
        border: 2px solid #cbd5e1;
        border-radius: 6px;
        position: relative;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    .mock-check-item__checkbox.checked {
        background: #22c55e;
        border-color: #22c55e;
    }

    /* Warning Remark Card */
    .mock-remark-card--warning {
        border-left-color: #f59e0b;
    }
    .mock-remark-card--warning .mock-remark-card__tag {
        color: #f59e0b;
    }

    /* Mock Rule Generator */
    .mock-rule-generator {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .mock-rule-textarea {
        width: 100%;
        height: 100px;
        padding: 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        background: white;
        font-size: 0.9rem;
        color: var(--color-text-secondary);
        resize: none;
        font-family: inherit;
        transition: border-color 0.3s ease;
    }
    html[data-theme='dark'] .mock-rule-textarea {
        background: #334155;
        border-color: #475569;
        color: #e2e8f0;
    }
    .mock-rule-btn {
        align-self: flex-start;
        padding: 0.75rem 1.5rem;
        background: #3b82f6;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .mock-rule-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    .mock-check-item__checkbox.checked::after {
        content: '';
        position: absolute;
        left: 6px;
        top: 2px;
        width: 6px;
        height: 11px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .mock-check-item__text {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--color-text-primary);
    }

    .mock-check-item--animate {
        opacity: 0;
        transform: translateY(20px);
        animation: slideUpFade 0.5s ease 1s forwards;
        background: rgba(255, 255, 255, 0.8);
        border: 1px dashed #94a3b8;
    }
    .mock-check-item--animate .mock-check-item__checkbox {
        animation: checkMark 0.4s ease 2s forwards;
    }
    
    .mock-add-btn {
        margin-top: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #3b82f6;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 0.5rem;
        border-radius: 6px;
        background: rgba(59, 130, 246, 0.1);
        width: fit-content;
        opacity: 0;
        animation: fadeIn 0.5s ease 0.5s forwards;
    }


    /* Keyframes */
    @keyframes messagePop {
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes typing {
        0%, 80%, 100% { transform: scale(0); }
        40% { transform: scale(1); }
    }
    @keyframes hideTyping {
        to { opacity: 0; visibility: hidden; }
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    @keyframes highlightPulse {
        0%, 100% { background: rgba(239, 68, 68, 0.1); }
        50% { background: rgba(239, 68, 68, 0.25); }
    }
    @keyframes slideInRight {
        to { opacity: 1; transform: translateX(0); }
    }
    @keyframes slideUpFade {
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes checkMark {
        to { background: #22c55e; border-color: #22c55e; }
    }

    @media (max-width: 900px) {
    .feature-rows {
        gap: 3rem;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-row:nth-child(even) {
        direction: ltr;
    }
    
    .feature-row__content {
        order: 1;
    }
    
    .feature-row__visual {
        order: 0;
    }
    
    .feature-row__title {
        font-size: 1.4rem;
    }
}

.feature-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.75rem;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.feature-card__badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(251, 191, 36, 0.1);
    color: var(--color-warning);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ===== Check System Section ===== */
.check-system-section {
    margin: 3rem 0;
}

.check-system-header {
    text-align: center;
    margin-bottom: 3rem;
}

.check-system-title {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 1rem;
}

.check-system-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0 0 2rem;
}

.check-system-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.check-system-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.check-system-stat__number {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-cta);
    margin: 0 0 0.5rem;
}

.check-system-stat__label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.check-system-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.check-system-category {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.check-system-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border-strong);
}

.check-system-category__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.check-system-category__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.check-system-category__count {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    background: var(--color-surface-muted);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.check-system-category__description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.roadmap-section-label {
    display: block;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-warning);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }

    .check-system-stats {
        grid-template-columns: 1fr;
    }

    .check-system-categories {
        grid-template-columns: 1fr;
    }

    .check-system-title {
        font-size: 1.5rem;
    }
}

/* ===== Solution Section - Hero Accent Style ===== */
.solution-section-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 6rem 0;
    background: #0f172a;
    overflow: hidden;
}

@keyframes solutionBgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}


.solution-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Solution label badge */
.solution-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #60a5fa;
    margin-bottom: 2rem;
    padding: 0.75rem 2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Typewriter title container */
.solution-hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    min-height: 1.2em;
    position: relative;
}

.solution-hero-title .typewriter-text {
    display: inline;
    color: #e2e8f0;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #64748b;
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
    border-radius: 2px;
}

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

/* Highlighted slogan */
.solution-hero-slogan {
    position: relative;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 450;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem 3rem;
    color: rgba(226, 232, 240, 0.9);
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(71, 85, 105, 0.3);
    animation: sloganReveal 1s ease-out 2s both;
}

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


.slogan-highlight {
    position: relative;
    display: inline;
    color: #cbd5e1;
    font-weight: 600;
}

.slogan-highlight--accent {
    color: #94a3b8;
}

/* Floating particles for solution section */
.solution-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.solution-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(100, 116, 139, 0.5);
    border-radius: 50%;
    animation: floatParticle 20s linear infinite;
    opacity: 0.4;
}

.solution-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.solution-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.solution-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.solution-particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 16s; }
.solution-particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 13s; }
.solution-particle:nth-child(6) { left: 80%; animation-delay: 5s; animation-duration: 17s; }
.solution-particle:nth-child(7) { left: 90%; animation-delay: 2.5s; animation-duration: 15s; }

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* Solution section responsive */
@media (max-width: 768px) {
    .solution-section-hero {
        padding: 5rem 0;
    }
    
    .solution-hero-slogan {
        padding: 1.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .solution-hero-label {
        font-size: 0.75rem;
        padding: 0.5rem 1.25rem;
    }
}

/* Light theme adjustments for solution hero */
html:not([data-theme='dark']) .solution-section-hero {
    background: #1e3a5f;
}

html:not([data-theme='dark']) .solution-hero-title .typewriter-text {
    color: #e2e8f0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-section--gradient {
    background: var(--color-surface-muted);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.landing-section--full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--color-surface);
}

.landing-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.landing-container--wide {
    max-width: 1800px;
    padding: 0 3rem;
}

.landing-container--full {
    max-width: 100%;
    padding: 0 4rem;
}

.landing-section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.landing-section__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #000000;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-pill);
}

.landing-section__title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.landing-section__subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== Problem Section - Premium Muted Design for Lawyers ===== */
.problem-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: auto;
    background: #0c0f14;
    padding: 7rem 0 !important;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.3);
    pointer-events: none;
}

/* Subtle grid pattern overlay */
.problem-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    opacity: 0.4;
}

.problem-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Questions Container */
.problem-questions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.problem-questions-header {
    text-align: center;
    margin-bottom: 3rem;
}

.problem-questions-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(51, 65, 85, 0.4);
    border: 1px solid rgba(100, 116, 139, 0.25);
    border-radius: 4px;
}

/* Questions Chat Area */
.problem-questions-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
    position: relative;
}

.problem-questions-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 850px;
}

/* Question Card - Premium Muted Style */
.problem-question-message {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.07s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.problem-question-message.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-question-bubble {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 8px;
    padding: 1.25rem 1.75rem;
    position: relative;
    transition: all 0.05s ease;
}

.problem-question-bubble::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #64748b;
    border-radius: 3px 0 0 3px;
}

.problem-question-message:hover .problem-question-bubble {
    border-color: rgba(100, 116, 139, 0.5);
    background: rgba(30, 41, 59, 0.7);
}

.problem-question-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-left: 0.75rem;
}

.problem-question-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(71, 85, 105, 0.3);
    border: 1px solid rgba(100, 116, 139, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.problem-question-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.problem-question-text {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    font-weight: 450;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.55;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Hide old avatar */
.problem-question-avatar {
    display: none;
}

/* Familiar Question - Premium Centered */
.problem-familiar-question {
    text-align: center;
    padding: 3rem 2rem;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.08s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-familiar-question.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-familiar-question h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin: 0;
}

.problem-familiar-question h2 span {
    color: #cbd5e1;
    border-bottom: 2px solid #64748b;
    padding-bottom: 2px;
}

/* Solution Section */
.problem-solution-wrapper {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.08s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 3.5rem;
}

.problem-solution-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-solution-text {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: rgba(203, 213, 225, 0.85);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.problem-solution-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 2rem;
    letter-spacing: -0.02em;
    text-align: center;
}

/* Highlight text style - muted */
.highlight-text {
    color: #e2e8f0;
    font-weight: 600;
    position: relative;
    display: inline;
    border-bottom: 1px solid #64748b;
}

/* Infographic Card - Premium Muted */
.problem-infographic-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.08s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-infographic-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.time-savings-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.time-savings-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.time-savings-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: -0.02em;
    position: relative;
}

.time-savings-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: #64748b;
    border-radius: 1px;
}

.time-savings-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.time-stat {
    text-align: center;
}

.time-stat__number {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
}

.time-stat__label {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    color: #94a3b8;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.time-stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(100, 116, 139, 0.3);
}

.time-savings-footer {
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    color: #64748b;
    font-weight: 400;
    padding-top: 1rem;
    border-top: 1px solid rgba(71, 85, 105, 0.25);
}

/* Ambient particles - Muted Premium */
.problem-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.problem-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(100, 116, 139, 0.4);
    border-radius: 50%;
    animation: problemParticleFloat 30s infinite ease-in-out;
}

.problem-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 35s; }
.problem-particle:nth-child(2) { left: 20%; top: 60%; animation-delay: -5s; animation-duration: 38s; }
.problem-particle:nth-child(3) { left: 35%; top: 30%; animation-delay: -10s; animation-duration: 32s; }
.problem-particle:nth-child(4) { left: 50%; top: 70%; animation-delay: -15s; animation-duration: 36s; }
.problem-particle:nth-child(5) { left: 65%; top: 25%; animation-delay: -20s; animation-duration: 40s; }
.problem-particle:nth-child(6) { left: 80%; top: 55%; animation-delay: -7s; animation-duration: 34s; }
.problem-particle:nth-child(7) { left: 90%; top: 40%; animation-delay: -12s; animation-duration: 37s; }
.problem-particle:nth-child(8) { left: 15%; top: 80%; animation-delay: -3s; animation-duration: 33s; }

@keyframes problemParticleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.15;
    }
    50% {
        transform: translate(15px, -30px);
        opacity: 0.25;
    }
}

/* Progress dots - Muted Premium */
.problem-progress {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.problem-progress__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.3);
    transition: all 0.25s ease;
    cursor: pointer;
}

.problem-progress__dot.is-active {
    background: #94a3b8;
    transform: scale(1.4);
}

.problem-progress__dot:hover:not(.is-active) {
    background: rgba(100, 116, 139, 0.5);
    transform: scale(1.2);
}

/* Time Savings Infographic */
.problem-stats--infographic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.time-savings-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

.time-savings-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.time-savings-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.time-savings-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.time-stat {
    text-align: center;
}

.time-stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
}

.time-stat__label {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.35;
    margin-top: 0.75rem;
}

.time-stat-divider {
    width: 2px;
    height: 140px;
    background: rgba(96, 165, 250, 0.3);
}

.time-savings-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 400;
    padding-top: 1rem;
    border-top: 1px solid rgba(96, 165, 250, 0.25);
}

/* Responsive - Problem Section */
@media (max-width: 768px) {
    .problem-section {
        padding: 4rem 0 !important;
    }
    
    .problem-section::after {
        background-size: 50px 50px;
    }
    
    .problem-container {
        padding: 0 1rem;
    }
    
    .problem-questions-header {
        margin-bottom: 2rem;
    }
    
    .problem-questions-label {
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
    }
    
    .problem-questions-chat {
        min-height: 260px;
    }
    
    .problem-questions-list {
        gap: 0.625rem;
    }
    
    .problem-question-bubble {
        padding: 1rem 1.25rem;
        border-radius: 6px;
    }
    
    .problem-question-content {
        gap: 1rem;
        padding-left: 0.5rem;
    }
    
    .problem-question-icon {
        width: 30px;
        height: 30px;
        border-radius: 4px;
    }
    
    .problem-question-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .problem-question-text {
        font-size: 0.9rem;
    }
    
    .problem-familiar-question {
        padding: 2rem 1rem;
    }
    
    .problem-familiar-question h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .problem-solution-text {
        font-size: 0.95rem;
    }
    
    .problem-solution-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .time-savings-card {
        padding: 1.75rem 1.25rem;
        border-radius: 8px;
    }
    
    .time-savings-title {
        font-size: 1.1rem;
    }
    
    .time-savings-stats {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .time-stat__number {
        font-size: 2.5rem;
    }
    
    .time-stat__label {
        font-size: 0.85rem;
    }
    
    .time-stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .time-savings-footer {
        font-size: 0.8rem;
        padding-top: 1.25rem;
    }
    
    .problem-progress {
        margin-top: 2rem;
    }
}

/* Stats Cards - Enhanced */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-danger), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card--danger {
    border-top: 4px solid var(--color-danger);
}

.stat-card--warning {
    border-top: 4px solid var(--color-warning);
}

.stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #1e293b;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.stat-card--danger .stat-number {
    color: #64748b;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card--warning .stat-number {
    color: #475569;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* Animated counter effect */
.stat-number[data-value] {
    animation: countUp 2s ease-out forwards;
}

/* ===== Solution Section ===== */
.solution-section {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--color-surface-muted);
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.05), transparent 70%);
    pointer-events: none;
}

.solution-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.solution-intro__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(51, 65, 85, 0.15);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-success);
    margin-bottom: 1.5rem;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
    50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.3); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}


.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-success);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-icon--1 { background: rgba(59, 130, 246, 0.1); }
.feature-icon--2 { background: rgba(59, 130, 246, 0.1); }
.feature-icon--3 { background: rgba(59, 130, 246, 0.1); }
.feature-icon--4 { background: rgba(217, 83, 79, 0.1); }
.feature-icon--5 { background: rgba(59, 130, 246, 0.1); }

.feature-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.feature-description {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== How it Works ===== */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-content {
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #334155;
    color: #f8fafc;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.step-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.step-description {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.step-visual {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Document animation */
.doc-animation {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.doc-icon {
    width: 80px;
    height: 100px;
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    position: relative;
    box-shadow: var(--shadow-soft);
    animation: docFloat 3s ease-in-out infinite;
}

.doc-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-surface-hover) 50%, var(--color-border) 50%);
}

.doc-lines {
    position: absolute;
    top: 32px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-line {
    height: 6px;
    background: var(--color-border-strong);
    border-radius: 3px;
}

.doc-line:nth-child(1) { width: 100%; }
.doc-line:nth-child(2) { width: 80%; }
.doc-line:nth-child(3) { width: 60%; }
.doc-line:nth-child(4) { width: 90%; }

@keyframes docFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.scan-line {
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--color-success);
    border-radius: 2px;
    animation: scanDoc 2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.3);
}

@keyframes scanDoc {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100px; opacity: 0; }
}

/* Checklist animation */
.checklist-animation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-surface-muted);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    opacity: 0;
    transform: translateX(-15px);
    animation: checklistIn 0.5s ease forwards;
}

.checklist-item:nth-child(1) { animation-delay: 0s; }
.checklist-item:nth-child(2) { animation-delay: 0.15s; }
.checklist-item:nth-child(3) { animation-delay: 0.3s; }
.checklist-item:nth-child(4) { animation-delay: 0.45s; }

@keyframes checklistIn {
    to { opacity: 1; transform: translateX(0); }
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 0.65rem;
}

.checklist-text {
    color: var(--color-text-primary);
    font-size: 0.85rem;
}

/* Report animation */
.report-animation {
    position: relative;
    z-index: 1;
}

.report-card {
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.report-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.report-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-risk { background: var(--color-danger); }
.status-warning { background: var(--color-warning); }
.status-ok { background: var(--color-success); }

.report-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-primary);
}

.report-bar {
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.report-bar-fill {
    height: 100%;
    border-radius: 3px;
    animation: barFill 2s ease forwards;
}

@keyframes barFill {
    from { width: 0; }
}

.fill-risk { background: var(--color-danger); width: 75%; }
.fill-warning { background: var(--color-warning); width: 45%; }
.fill-ok { background: var(--color-success); width: 90%; }

/* Report Preview Table */
.report-preview {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.report-preview__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--color-surface-muted) 0%, var(--color-surface) 100%);
    border-bottom: 1px solid var(--color-border);
}

.report-preview__icon {
    width: 1.5rem;
    height: 1.5rem;
}

.report-preview__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.report-preview__title {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    flex: 1;
}

.report-preview__badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-danger);
}

.report-preview__table {
    padding: 0.5rem;
}

.report-preview__row {
    display: grid;
    grid-template-columns: 48px 1fr 60px;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.report-preview__row--header {
    background: transparent;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0.25rem;
}

.report-preview__row--header .report-preview__cell {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.report-preview__row--critical {
    background: rgba(239, 68, 68, 0.08);
    animation: rowFadeIn 0.6s ease forwards 0.3s;
    opacity: 0;
}

.report-preview__row--warning {
    background: rgba(245, 158, 11, 0.08);
    animation: rowFadeIn 0.6s ease forwards;
    opacity: 0;
}

.report-preview__row--warning:nth-child(3) {
    animation-delay: 0.5s;
}

.report-preview__row--warning:nth-child(4) {
    animation-delay: 0.7s;
}

@keyframes rowFadeIn {
    from { 
        opacity: 0; 
        transform: translateX(-10px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.report-preview__cell {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
}

.report-preview__cell--risk {
    justify-content: center;
}

.report-preview__cell--desc {
    font-weight: 500;
    color: var(--color-text-primary);
}

.report-preview__cell--clause {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    justify-content: flex-end;
}

.risk-badge {
    font-size: 0.9rem;
}

.report-preview__footer {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-surface-muted);
    border-top: 1px solid var(--color-border);
}

.report-preview__stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.risk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.risk-dot--critical {
    background: var(--color-danger);
}

.risk-dot--warning {
    background: var(--color-warning);
}

/* ===== Checklists Section ===== */
.checklists-section {
    background: var(--color-surface);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.checklists-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.checklist-category {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.checklist-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--color-success);
}

.checklist-category__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.checklist-category__icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.checklist-category:hover .checklist-category__icon {
    transform: scale(1.1) rotate(5deg);
}

.checklist-category__icon--tech { background: rgba(71, 85, 105, 0.15); }
.checklist-category__icon--legal { background: rgba(71, 85, 105, 0.15); }
.checklist-category__icon--registry { background: rgba(71, 85, 105, 0.15); }
.checklist-category__icon--signatory { background: rgba(71, 85, 105, 0.15); }

.checklist-category__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.3rem;
}

.checklist-category__count {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-success);
}

.checklist-category__description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Stats highlight - Enhanced */
.checklists-stats {
    display: flex;
    justify-content: center;
    gap: 6rem;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--color-surface), var(--color-surface-muted));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.checklists-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08), transparent 50%);
    pointer-events: none;
}

.checklists-stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.checklists-stat__number {
    font-family: 'Manrope', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.checklists-stat__label {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Plans box - Enhanced */
.plans-box {
    background: var(--color-surface-muted);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plans-box::before {
    content: 'СЂСџвЂњв‚¬';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 4rem;
    opacity: 0.15;
}

.plans-box h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.plans-box p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.plans-box strong {
    color: var(--color-success);
    font-weight: 700;
}

/* ===== Customization Section ===== */
.custom-section {
    background: var(--color-surface-muted);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

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

.custom-content h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.custom-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.custom-features {
    list-style: none;
    padding: 0;
}

.custom-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.custom-features li::before {
    content: 'РІСљвЂњ';
    color: var(--color-success);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.custom-visual {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
}

.custom-visual__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.custom-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.custom-logo__text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.custom-checks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--color-surface-muted);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.custom-check__icon {
    width: 18px;
    height: 18px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* ===== Roadmap Section ===== */
.roadmap-section {
    background: var(--color-surface);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.roadmap-timeline {
    position: relative;
    padding-left: 2rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #475569;
    border-radius: 1px;
}

.roadmap-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.roadmap-item:last-child {
    padding-bottom: 0;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--color-surface);
    border: 3px solid var(--color-success);
    border-radius: 50%;
    z-index: 1;
}

.roadmap-item--future::before {
    border-color: var(--color-cta);
}

.roadmap-item--vision::before {
    border-color: var(--color-warning);
}

.roadmap-item__period {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-warning);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.roadmap-item--future .roadmap-item__period {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-cta);
}

.roadmap-item--vision .roadmap-item__period {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-warning);
}

.roadmap-item__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.roadmap-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.roadmap-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.roadmap-feature__icon {
    font-size: 0.9rem;
}

/* ===== Demo Request Modal ===== */
.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.demo-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.demo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.demo-modal__content {
    position: relative;
    background: var(--color-surface);
    border-radius: 8px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.2s ease;
}

.demo-modal.is-open .demo-modal__content {
    transform: translateY(0) scale(1);
}

.demo-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-modal__close:hover {
    background: var(--color-surface-muted);
    color: var(--color-text-primary);
    border-color: var(--color-border-strong);
}

.demo-modal__header {
    text-align: center;
    margin-bottom: 2rem;
}

.demo-modal__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
}

.demo-modal__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.demo-modal__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem;
}

.demo-modal__subtitle {
    color: var(--color-text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.demo-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.demo-modal__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-modal__field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.demo-modal__field input,
.demo-modal__field textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-muted);
    color: var(--color-text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.demo-modal__field input:focus,
.demo-modal__field textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.demo-modal__field input::placeholder,
.demo-modal__field textarea::placeholder {
    color: var(--color-text-muted);
}

.demo-modal__field textarea {
    resize: vertical;
    min-height: 80px;
}

.demo-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    margin-top: 0.5rem;
    background: #1e293b;
    color: #f8fafc;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-modal__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.demo-modal__submit:active {
    transform: translateY(0);
}

.demo-modal__footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.demo-modal__footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.demo-modal__footer a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
}

.demo-modal__footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .demo-modal__content {
        padding: 1.5rem;
    }
    
    .demo-modal__title {
        font-size: 1.5rem;
    }
}

/* ===== SberCRM Form Modal ===== */
.sbercrm-modal__content {
    width: 90%;
    max-width: 650px;
    min-height: 500px;
    padding: 1rem;
    padding-top: 2.5rem;
    overflow: hidden;
}

.sbercrm-form-container {
    width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sbercrm-form-container.loaded {
    justify-content: flex-start;
}

.sbercrm-form-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.sbercrm-form-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--color-text-secondary);
}

.sbercrm-form-loading p {
    margin: 0;
    font-size: 0.95rem;
}

.sbercrm-form-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-secondary);
    border-radius: 50%;
    animation: sbercrmSpin 0.8s linear infinite;
}

@keyframes sbercrmSpin {
    to { transform: rotate(360deg); }
}

.sbercrm-form-container.loaded .sbercrm-form-loading {
    display: none;
}

@media (max-width: 640px) {
    .sbercrm-modal__content {
        width: 95%;
        max-height: 90vh;
    }
    
    .sbercrm-form-container iframe {
        min-height: 450px;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--color-surface-muted);
}

.cta-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-mascot {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.cta-mascot__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.2));
    transition: transform 0.2s ease;
}

.cta-card:hover .cta-mascot__img {
    transform: scale(1.05);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
}

.cta-card h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.cta-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 1400px) {
    .checklists-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .problem-grid,
    .step,
    .custom-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .checklists-overview {
        grid-template-columns: 1fr;
    }

    .step:nth-child(even) {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .checklists-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 2rem;
    }

    .checklists-stat__number {
        font-size: 4rem;
    }

    .landing-section {
        padding: 5rem 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 4rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-bg-video {
        width: 50%;
        top: 5%;
        right: 2%;
    }

    .landing-hero__copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .landing-hero__pills {
        grid-template-columns: 1fr;
    }

    .landing-section {
        padding: 4rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .landing-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .landing-btn--demo {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 2rem;
        font-size: 1.2rem;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        font-size: 0.85rem;
    }

    .roadmap-timeline {
        padding-left: 1.5rem;
    }

    .roadmap-item::before {
        left: -1.5rem;
        width: 12px;
        height: 12px;
    }

    .hero-mascot {
        width: 140px;
        height: 140px;
    }

    .landing-hero__description {
        font-size: 1.1rem;
    }

    .floating-shapes {
        display: none;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .checklist-category {
        padding: 1.5rem;
    }

    .checklist-category__icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .landing-hero {
        padding: 2rem 1rem 4rem;
    }


    .landing-btn--demo {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        gap: 0.65rem;
    }

    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.8rem;
    }

    .scroll-indicator__icon {
        width: 20px;
        height: 30px;
    }

    .landing-section {
        padding: 3rem 1rem;
    }

    .landing-section__title {
        font-size: 1.75rem;
    }

    .checklists-stats {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .checklists-stat__number {
        font-size: 3rem;
    }

    .plans-box {
        padding: 1.5rem 1rem;
    }
}

/* ===== Checklist Table Section ===== */
.checklist-table-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.checklist-table-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--color-surface-muted);
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.3s ease;
}

.checklist-table-header:hover {
    background: rgba(71, 85, 105, 0.1);
}

.checklist-table-header__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #334155;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.checklist-table-header__content {
    flex: 1;
}

.checklist-table-header__content h4 {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.checklist-table-header__content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.checklist-table-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-cta);
    border: none;
    border-radius: var(--radius-pill);
    color: var(--color-cta-text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checklist-table-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.checklist-table-toggle i {
    transition: transform 0.3s ease;
}
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    box-sizing: border-box;

.checklist-table-toggle.is-expanded i {
    transform: rotate(180deg);
}

.checklist-table-body {
    display: none;
    padding: 2rem;
    background: var(--color-surface-muted);
    animation: slideDown 0.4s ease-out;
}

.checklist-table-body.is-visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Table Block */
.table-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.table-block:last-of-type {
    margin-bottom: 0;
}

.table-block__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.table-block__header--tech {
    background: rgba(51, 65, 85, 0.3);
    border-bottom: 2px solid #64748b;
}

.table-block__header--legal {
    background: rgba(51, 65, 85, 0.25);
    border-bottom: 2px solid #64748b;
}

.table-block__header--registry {
    background: rgba(51, 65, 85, 0.2);
    border-bottom: 2px solid #64748b;
}

.table-block__header--signatory {
    background: rgba(51, 65, 85, 0.3);
    border-bottom: 2px solid #64748b;
}

.table-block__icon {
    font-size: 1.5rem;
}

.table-block__title {
    flex: 1;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.table-block__badge {
    padding: 0.35rem 0.85rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-warning);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
}

/* Landing Checklist Table */
.landing-checklist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.landing-checklist-table thead {
    background: var(--color-surface-muted);
}

.landing-checklist-table th {
    padding: 0.9rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}

.landing-checklist-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
    vertical-align: top;
    line-height: 1.5;
}

.landing-checklist-table tbody tr {
    transition: background 0.2s ease;
}

.landing-checklist-table tbody tr:hover {
    background: var(--color-surface-hover);
}

.landing-checklist-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Column Widths */
.th-id { width: 55px; }
.th-name { width: 220px; }
.th-desc { min-width: 350px; }

.landing-checklist-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.landing-checklist-table td:nth-child(2) {
    font-weight: 600;
}

.landing-checklist-table td:nth-child(3) {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

/* Responsive Checklist Table */
@media (max-width: 1024px) {
    .checklist-table-header {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .checklist-table-toggle {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .checklist-table-header {
        padding: 1.25rem;
    }
    
    .checklist-table-header__icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .checklist-table-body {
        padding: 1rem;
    }
    
    .table-block__header {
        padding: 0.85rem 1rem;
    }
    
    .landing-checklist-table th,
    .landing-checklist-table td {
        padding: 0.7rem 0.75rem;
    }
    
    .th-desc { min-width: 200px; }
}

/* Reduced motion support - disable all heavy animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-orb,
    .landing-hero__badge,
    .landing-hero__title,
    .landing-hero__description,
    .landing-hero__buttons,
    .scroll-indicator,
    .landing-btn--demo,
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .checklist-item,
    .doc-icon,
    .scan-line,
    .floating-shape,
    .cursor-glow,
    .hero-mascot,
    .hero-mascot__glow,
    .hero-mascot__img,
    .landing-hero__brand,
    .scroll-progress {
        animation: none !important;
        opacity: 1;
        transform: none;
    }


    .feature-card:hover,
    .checklist-category:hover,
    .stat-card:hover,
    .landing-btn:hover {
        transform: none;
    }
    
    .cursor-glow,
    .particles-container,
    .floating-shapes {
        display: none !important;
    }
}

/* ===== Implementation Section ===== */
.implementation-section {
    background: var(--color-surface-muted);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Implementation Hero Card - new style */
.impl-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    margin: 2rem auto 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.impl-hero-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
}

.impl-hero-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.impl-hero-card__content {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.impl-hero-card__number {
    font-family: 'Manrope', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.impl-hero-card__label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.impl-hero-card__note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    cursor: help;
}

.impl-hero-card__note::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(30, 41, 59, 0.95);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.impl-hero-card__note::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(30, 41, 59, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.impl-hero-card__note:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.impl-hero-card__note:hover::before {
    opacity: 1;
}

/* Implementation Timeline */
.impl-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.impl-timeline-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.impl-timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: var(--color-border-strong);
}

.impl-timeline-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.impl-timeline-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.impl-timeline-card__content {
    flex: 1;
}

.impl-timeline-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.25rem;
}

.impl-timeline-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.impl-timeline-card__time {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-success);
}

@media (max-width: 600px) {
    .impl-timeline {
        grid-template-columns: 1fr;
    }
    
    .impl-hero-card__number {
        font-size: 3rem;
    }
    
    .impl-hero-card__label {
        font-size: 1rem;
    }
}

/* Implementation Stepper */
.impl-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 3rem auto;
    max-width: 1400px;
    flex-wrap: wrap;
}

.impl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 180px;
    position: relative;
    padding: 0 0.5rem;
}

.impl-step__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #334155;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #f8fafc;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.impl-step:hover .impl-step__icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.impl-step__number {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(32px) translateY(-4px);
    width: 24px;
    height: 24px;
    background: var(--color-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-cta-text);
    z-index: 3;
    border: 2px solid var(--color-surface);
}

.impl-step__title {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.impl-step__desc {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.impl-step__connector {
    width: 40px;
    height: 2px;
    background: #64748b;
    margin-top: 36px;
    border-radius: 1px;
    flex-shrink: 0;
    position: relative;
}

.impl-step__connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #8b5cf6;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Implementation Badges */
.impl-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2.5rem auto;
}

.impl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.impl-badge--success {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
}

.impl-badge--success:hover {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.12);
    transform: translateY(-2px);
}

.impl-badge__icon {
    font-size: 1.1rem;
}

/* Implementation CTA */
.impl-cta {
    text-align: center;
    margin-top: 2rem;
}

.landing-btn--large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== Custom Checks Section ===== */
.custom-checks-section {
    background: var(--color-surface-muted);
}

.custom-checks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.custom-check-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-check-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border-strong);
}

.custom-check-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #475569;
}

.custom-check-card__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.custom-check-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.custom-check-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.custom-check-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Timeline Badge */
.timeline-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(51, 65, 85, 0.08);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    max-width: 600px;
    margin: 2rem auto;
}

.timeline-badge__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.timeline-badge__content {
    flex: 1;
}

.timeline-badge__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.timeline-badge__range {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.timeline-badge__separator {
    color: var(--color-text-muted);
}

.timeline-badge__from {
    color: #22c55e;
}

.timeline-badge__to {
    color: #475569;
}

.timeline-badge__note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.custom-checks-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* ===== Connection Section ===== */
.connection-section {
    padding: 4rem 0;
}

.connection-section .landing-container {
    background: var(--color-surface);
    border-radius: 2rem;
    padding: 3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .connection-section .landing-container {
        padding: 1.5rem;
        border-radius: 1rem;
    }
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 3rem auto;
}

.connection-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.connection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.connection-card--api {
    border-color: rgba(99, 102, 241, 0.3);
}

.connection-card--api:hover {
    border-color: rgba(99, 102, 241, 0.6);
}

.connection-card--api::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #475569;
}

.connection-card--web {
    border-color: rgba(249, 115, 22, 0.3);
}

.connection-card--web:hover {
    border-color: rgba(249, 115, 22, 0.6);
}

.connection-card--web::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #475569;
}

.connection-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.connection-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-card__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    font-size: 1.75rem;
    border-radius: var(--radius-md);
}

.connection-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.connection-card__badge {
    display: none;
}

.connection-card__desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem;
    flex: 1;
}

.connection-card__for {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    padding: 0.75rem 1rem;
    background: var(--color-surface-muted);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.connection-card__label {
    font-weight: 600;
    color: var(--color-text-primary);
}

.connection-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.connection-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
}

.connection-card__features li:last-child {
    border-bottom: none;
}

.connection-card__check {
    font-size: 1rem;
    flex-shrink: 0;
}

.connection-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.connection-card__btn--api {
    background: #334155;
    color: #f8fafc;
}

.connection-card__btn--api:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.connection-card__btn--web {
    background: #334155;
    color: #f8fafc;
}

.connection-card__btn--web:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

/* ===== Contacts Section ===== */
.contacts-section {
    padding: 4rem 0;
}

.contacts-section .landing-container {
    background: var(--color-surface);
    border-radius: 2rem;
    padding: 3rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    text-align: center;
}

@media (max-width: 768px) {
    .contacts-section .landing-container {
        padding: 1.5rem;
        border-radius: 1rem;
    }
}

.contacts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-link {
    font-size: 1.25rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--color-primary-light);
}

/* ===== Responsive for New Sections ===== */
@media (max-width: 1200px) {
    .impl-stepper {
        gap: 1rem;
    }
    
    .impl-step {
        max-width: 150px;
    }
    
    .impl-step__connector {
        width: 30px;
    }
}

@media (max-width: 1024px) {
    .impl-stepper {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .impl-step {
        max-width: 300px;
        flex-direction: row;
        text-align: left;
        gap: 1.25rem;
        padding: 1rem 0;
    }
    
    .impl-step__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .impl-step__number {
        right: auto;
        left: 0;
        transform: translateX(-8px) translateY(-4px);
    }
    
    .impl-step__connector {
        width: 3px;
        height: 30px;
        margin: 0;
        margin-left: 28px;
    }
    
    .impl-step__connector::after {
        display: none;
    }
    
    .custom-checks-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .connection-grid {
        grid-template-columns: 1fr;
    }
    
    .connection-card {
        padding: 2rem;
    }
    
    .timeline-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .timeline-badge__range {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .impl-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .impl-badge {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .impl-step {
        padding: 0.75rem 0;
    }
    
    .impl-step__icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .impl-step__title {
        font-size: 0.9rem;
    }
    
    .impl-step__desc {
        font-size: 0.75rem;
    }
    
    .custom-check-card {
        padding: 1.5rem;
    }
    
    .custom-check-card__icon {
        font-size: 2rem;
    }
    
    .custom-check-card__title {
        font-size: 1rem;
    }
    
    .connection-card {
        padding: 1.5rem;
    }
    
    .connection-card__title {
        font-size: 1.2rem;
    }
}

/* ===== Section Navigator ===== */
.section-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 8px;
    background: rgba(248, 244, 232, 0.88);
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme='dark'] .section-nav {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-nav.is-visible {
    opacity: 1;
    visibility: visible;
}

.section-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
}

.section-nav__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

html[data-theme='dark'] .section-nav__dot {
    background: rgba(255, 255, 255, 0.25);
}

.section-nav__item:hover .section-nav__dot {
    background: var(--color-cta);
    transform: scale(1.3);
}

.section-nav__item.is-active .section-nav__dot {
    width: 10px;
    height: 10px;
    background: #475569;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.2);
}

html[data-theme='dark'] .section-nav__item.is-active .section-nav__dot {
    background: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.section-nav__label {
    position: absolute;
    right: calc(100% + 12px);
    white-space: nowrap;
    padding: 8px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-primary);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

html[data-theme='dark'] .section-nav__label {
    background: var(--color-surface-muted);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-nav__label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--color-surface);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

html[data-theme='dark'] .section-nav__label::after {
    border-left-color: var(--color-surface-muted);
}

.section-nav__item:hover .section-nav__label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Section Navigator - Mobile responsive */
@media (max-width: 1024px) {
    .section-nav {
        right: 12px;
        padding: 12px 6px;
        gap: 10px;
    }
    
    .section-nav__dot {
        width: 8px;
        height: 8px;
    }
    
    .section-nav__item.is-active .section-nav__dot {
        width: 10px;
        height: 10px;
    }
    
    .section-nav__label {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-nav {
        display: none;
    }
}

/* ========== Popup Modal with iframe form ========== */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    position: relative;
    width: 70vw;
    max-width: 70vw;
    height: 70vh;
    max-height: 70vh;
    background: var(--color-surface, #fff);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.3s ease;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    box-sizing: border-box;
}

.popup-overlay.is-open .popup-modal {
    transform: translateY(0) scale(1);
}

.popup-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.popup-modal__close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.popup-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    display: block;
}

@media (max-width: 576px) {
    .popup-modal {
        width: 96vw;
        max-width: none;
        height: 90vh;
        max-height: none;
        border-radius: 12px;
        padding: 2rem 1rem 1rem 1rem;
    }
}