/* ==========================================
   REZY EXPERIMENTAL - IMMERSIVE DESIGN
   Lusion-inspired scroll experience
   ========================================== */

/* ==========================================
   HERO - FULL SCREEN SCROLL LOCK
   ========================================== */

.hero {
    height: 300vh; /* Triple height for scroll locking effect */
    position: relative;
    background: var(--color-bg);
    overflow: hidden;
}

/* Ambient Background Elements */
.hero-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.ambient-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 106, 79, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(45, 106, 79, 0.05) 0%, transparent 40%);
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.3), transparent 70%);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.2), transparent 70%);
    bottom: 20%;
    left: 5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(107, 91, 79, 0.15), transparent 70%);
    top: 40%;
    right: 5%;
    animation-delay: -14s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.hero-cta-group {
    pointer-events: auto;
}

/* App Store Badge */
.app-store-badge {
    margin-top: var(--space-8, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    pointer-events: auto;
    position: relative;
    z-index: 100;
}

.app-store-badge a {
    display: block;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-store-badge a:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.app-store-text {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(45, 106, 79, 0.1);
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: 100px;
    margin-bottom: var(--space-6);
    pointer-events: auto;
    animation: fadeIn 1s ease 0.1s forwards;
    opacity: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-badge span:last-child {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
    pointer-events: auto;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    background: var(--color-accent);
    color: white;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.3);
}

.hero-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.4);
}

.hero-primary-cta svg {
    transition: transform 0.3s ease;
}

.hero-primary-cta:hover svg {
    transform: translateX(4px);
}

.hero-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-secondary-cta:hover {
    border-color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: revealLine 1s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }

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

.hero-title em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-sub {
    font-family: var(--font-sans);
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

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

/* Scroll Lock Prompt */
.hero-scroll-lock {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
    z-index: 15;
    pointer-events: none;
    will-change: opacity;
    backface-visibility: hidden;
}

.scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.scroll-text {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

.scroll-hint {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* Progress Ring */
.scroll-progress-ring {
    width: 64px;
    height: 64px;
    position: relative;
}

.scroll-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: var(--color-border);
    stroke-width: 2;
}

.ring-fill {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.1s ease;
}

.scroll-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
}

/* Transition Wipe */
.hero-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.transition-wipe {
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: translateY(100%);
    /* JS controls the transform directly for smooth scrolling */
}

/* Hero content and scroll lock - JS controls opacity directly */
.hero-content,
.hero-scroll-lock {
    transition: none; /* No CSS transition - JS handles it smoothly */
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {
    position: relative;
    background: var(--color-bg);
}

/* ==========================================
   TRUST BAR - Integration Logos
   ========================================== */

.trust-bar {
    padding: var(--space-16) var(--space-8);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.trust-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.trust-label {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.trust-logo-text {
    font-family: var(--font-sans);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-muted);
    opacity: 0.5;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.trust-logo-text:hover {
    opacity: 0.8;
    color: var(--color-text);
}

/* ==========================================
   INTRO STATEMENT
   ========================================== */

.intro-statement {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-8);
    background: var(--color-bg);
}

.statement-container {
    max-width: 1000px;
}

.statement-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.4;
    color: var(--color-text);
    text-align: center;
}

.statement-text .word {
    display: inline-block;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}

.statement-text .word.active {
    opacity: 1;
}

.statement-text em {
    font-style: italic;
    color: var(--color-accent);
}

/* ==========================================
   IMMERSIVE FEATURES
   ========================================== */

.feature-immersive {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-8);
    position: relative;
    overflow: hidden;
}

.feature-immersive > .feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.feature-immersive .bg-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 142, 123, 0.05) 0%, transparent 50%);
}

.feature-immersive.feature-dark {
    background: var(--color-primary);
    color: var(--color-bg);
}

.feature-immersive.feature-dark .feature-label,
.feature-immersive.feature-dark .feature-headline,
.feature-immersive.feature-dark .feature-description {
    color: var(--color-bg);
}

.feature-immersive.feature-dark .feature-label {
    opacity: 0.6;
}

.feature-immersive.feature-dark .feature-description {
    opacity: 0.8;
}

.feature-immersive.feature-dark .bg-pattern {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Inner container for content + visual */
.feature-immersive {
    display: flex;
    gap: var(--space-12);
}

.feature-immersive > *:not(.feature-bg) {
    position: relative;
    z-index: 2;
}

.feature-content {
    flex: 1;
    max-width: 500px;
    padding-right: var(--space-8);
}

.feature-label {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.feature-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-6);
}

.feature-description {
    font-family: var(--font-sans);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 500px;
}

.feature-visual-full {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-phone {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Dynamic Island */
.visual-phone::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
}

/* Screen container */
.visual-phone::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #000;
    border-radius: 40px;
    z-index: 1;
}

.visual-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
    position: relative;
    z-index: 10;
}

/* Side buttons */
.visual-phone .phone-button-left {
    position: absolute;
    left: -3px;
    top: 120px;
    width: 3px;
    height: 30px;
    background: #2a2a2a;
    border-radius: 2px 0 0 2px;
}

.visual-phone .phone-button-right-1 {
    position: absolute;
    right: -3px;
    top: 100px;
    width: 3px;
    height: 60px;
    background: #2a2a2a;
    border-radius: 0 2px 2px 0;
}

.visual-phone .phone-button-right-2 {
    position: absolute;
    right: -3px;
    top: 180px;
    width: 3px;
    height: 60px;
    background: #2a2a2a;
    border-radius: 0 2px 2px 0;
}

/* Phone frame is always black */
.feature-dark .visual-phone {
    background: #1a1a1a;
}

/* Alternate layout for even features */
.feature-immersive:nth-child(odd) {
    flex-direction: row;
}

.feature-immersive:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-immersive:nth-child(even) .feature-content {
    padding-right: 0;
    padding-left: var(--space-8);
}

/* ==========================================
   HOW IT WORKS
   ========================================== */

/* ==========================================
   THE JOURNEY - CALM SCROLL-LOCKED SECTION
   ========================================== */

.journey-section {
    position: relative;
    background: var(--color-primary);
    min-height: 400vh;
}

.journey-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    padding: var(--space-16) var(--space-12);
    align-items: center;
}

.journey-spacer {
    height: 300vh;
}

/* Left: Text */
.journey-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
}

.journey-step-indicator {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--space-6);
    letter-spacing: 0.05em;
}

.step-current {
    color: var(--color-accent);
    font-weight: 600;
}

.step-divider {
    margin: 0 var(--space-2);
    opacity: 0.5;
}

.journey-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-bg);
    margin-bottom: var(--space-5);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.journey-body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Right: Visual */
.journey-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 360px;
}

/* Slides */
.journey-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.journey-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Slide Cards */
.slide-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: var(--space-8);
    width: 100%;
}

.slide-caption {
    margin-top: var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* Slide 1: Connection */
.connection-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-6) 0;
}

.connection-source,
.connection-dest {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.source-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.source-label,
.dest-label {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.5);
}

.dest-logo {
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: white;
}

.connection-line {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.line-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.line-dot:nth-child(2) {
    background: rgba(255,255,255,0.35);
}

.line-dot:nth-child(3) {
    background: var(--color-accent);
}

/* Slide 2: Processing */
.processing-visual {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.data-row:last-of-type {
    border-bottom: none;
}

.data-type {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.5);
}

.data-count {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    color: var(--color-bg);
}

.processing-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: var(--space-4);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 78%;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Slide 3: Insight */
.insight-card {
    background: rgba(255,255,255,0.06);
}

.insight-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.insight-header {
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    color: var(--color-bg);
    margin-bottom: var(--space-2);
}

.insight-line {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    padding-left: var(--space-4);
    border-left: 2px solid rgba(255,255,255,0.15);
}

.insight-line strong {
    color: var(--color-accent);
    font-weight: 600;
}

.insight-line.subtle {
    color: rgba(255,255,255,0.4);
    border-left-color: rgba(255, 180, 100, 0.4);
}

/* Slide 4: Note Preview */
.note-preview-card {
    background: var(--color-bg);
    border-color: transparent;
}

.note-preview {
    color: var(--color-text);
}

.note-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.note-preview-badge {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.note-preview-time {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.note-preview-body {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    color: var(--color-text);
}

.note-preview-body p {
    margin-bottom: var(--space-3);
}

.note-preview-body p:last-child {
    margin-bottom: 0;
}

.note-preview-footer {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.note-read-indicator {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    color: var(--color-accent);
    font-weight: 500;
}

.note-preview-card .slide-caption {
    color: var(--color-text-muted);
}

/* Progress dots - minimal */
.journey-progress {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
}

.progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-section {
    padding: var(--space-20) var(--space-8);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-align: center;
    max-width: 150px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
}

/* ==========================================
   TESTIMONIAL
   ========================================== */

.testimonial-section {
    padding: var(--space-32) var(--space-8);
    background: var(--color-primary);
    position: relative;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-bg);
    margin-bottom: var(--space-10);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.author-name {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-bg);
}

.author-role {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-10);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.testimonial-dot.active {
    background: var(--color-bg);
    transform: scale(1.2);
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-32) var(--space-8);
    background: var(--color-bg);
}

.cta-container {
    max-width: 700px;
    text-align: center;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.cta-headline em {
    font-style: italic;
    color: var(--color-accent);
}

.cta-subtext {
    font-family: var(--font-sans);
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-10);
}

.cta-form-minimal {
    display: flex;
    gap: var(--space-3);
    max-width: 480px;
    margin: 0 auto;
}

.cta-form-minimal input {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-form-minimal input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.cta-form-minimal input::placeholder {
    color: var(--color-text-muted);
}

.cta-form-minimal button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 500;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-form-minimal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(45, 106, 79, 0.4);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    padding: var(--space-20) var(--space-8) var(--space-10);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 100;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: var(--font-size-2xl);
    font-weight: 400;
    color: var(--color-text);
    display: block;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--space-16);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.footer-col a {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom span {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* ==========================================
   NAVIGATION
   ========================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-5) var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav.hidden {
    transform: translateY(-100%);
}

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-bg);
    background: var(--color-primary);
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.2);
}

/* ==========================================
   SCROLL PROGRESS
   ========================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-accent);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s ease;
}

/* ==========================================
   CURSOR (Desktop only)
   ========================================== */

.cursor {
    display: none;
}

@media (hover: hover) {
    .cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9999;
    }
    
    .cursor-dot {
        width: 8px;
        height: 8px;
        background: var(--color-primary);
        border-radius: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
    }
    
    .cursor-ring {
        width: 32px;
        height: 32px;
        border: 1px solid var(--color-primary);
        border-radius: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        opacity: 0.3;
        transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    }
}

/* ==========================================
   RESPONSIVE - TABLET (1024px)
   ========================================== */

@media (max-width: 1024px) {
    .feature-immersive {
        flex-direction: column !important;
        gap: var(--space-10);
        text-align: center;
    }
    
    .feature-content {
        padding-right: 0 !important;
        padding-left: 0 !important;
        max-width: 600px;
    }
    
    .feature-description {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (768px)
   ========================================== */

@media (max-width: 768px) {
    /* Kill heavy animations only - allow opacity transitions */
    *, *::before, *::after {
        animation: none !important;
    }
    
    /* Force hero content visible (normally fades in via animation) */
    .hero-badge,
    .hero-cta-group,
    .hero-sub,
    .title-line {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Kill backdrop blur - major perf killer */
    .nav {
        background: rgba(255, 255, 255, 0.95) !important;
        border-bottom: 1px solid var(--color-border) !important;
        padding: var(--space-3) var(--space-4) !important;
    }
    
    .nav.scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Nav text should be dark on light bg */
    .nav .nav-logo,
    .nav .logo-text {
        color: var(--color-text) !important;
    }
    
    .nav .nav-cta {
        background: var(--color-accent) !important;
        color: white !important;
    }
    
    /* Hide orbs - they're GPU heavy with blur */
    .hero-ambient {
        display: none !important;
    }
    
    /* Keep hero-content fixed for scroll lock effect, but simplify */
    .hero-content {
        position: fixed !important;
        will-change: opacity !important;
        transition: opacity 0.05s linear !important;
    }
    
    /* Hide scroll prompt on mobile */
    .hero-scroll-lock {
        display: none !important;
    }
    
    /* Hero */
    .hero {
        height: 250vh;
    }
    
    .hero-content {
        padding: 0 var(--space-4);
        width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }
    
    .hero-sub {
        font-size: var(--font-size-base);
        padding: 0 var(--space-2);
    }
    
    .hero-scroll-lock {
        bottom: 40px;
    }
    
    .scroll-progress-ring {
        width: 60px;
        height: 60px;
    }
    
    /* Hero CTAs */
    .hero-badge {
        padding: var(--space-2) var(--space-3);
        font-size: var(--font-size-xs);
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .hero-primary-cta,
    .hero-secondary-cta {
        padding: var(--space-3) var(--space-5);
        font-size: var(--font-size-sm);
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    /* Ambient orbs - smaller on mobile */
    .ambient-orb {
        filter: blur(60px);
        opacity: 0.3;
    }
    
    .orb-1 { width: 200px; height: 200px; }
    .orb-2 { width: 150px; height: 150px; }
    .orb-3 { width: 100px; height: 100px; }
    
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    /* Trust Bar */
    .trust-bar {
        padding: var(--space-10) var(--space-4);
    }
    
    .trust-logos {
        gap: var(--space-6);
    }
    
    .trust-logo-text {
        font-size: var(--font-size-base);
    }
    
    /* Stats */
    .stats-section {
        padding: var(--space-12) var(--space-4);
    }
    
    .stats-container {
        flex-direction: column;
        gap: var(--space-8);
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .stat-number {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    /* Intro Statement */
    .intro-statement {
        min-height: auto;
        padding: var(--space-16) var(--space-4);
    }
    
    .statement-text {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    /* Features */
    .feature-immersive {
        padding: var(--space-12) var(--space-4);
        min-height: auto;
    }
    
    .feature-label {
        font-size: var(--font-size-xs);
        margin-bottom: var(--space-4);
    }
    
    .feature-headline {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: var(--space-4);
    }
    
    .feature-description {
        font-size: var(--font-size-base);
    }
    
    .visual-phone {
        width: 200px;
        height: 420px;
        border-radius: 36px;
        padding: 8px;
    }
    
    .visual-phone::before {
        top: 14px;
        width: 60px;
        height: 20px;
        border-radius: 12px;
    }
    
    .visual-phone::after {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 28px;
    }
    
    .visual-phone img {
        border-radius: 26px;
    }
    
    /* Journey Section */
    .journey-section {
        min-height: 350vh;
    }
    
    .journey-sticky {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        padding: var(--space-16) var(--space-4) var(--space-8);
        text-align: center;
        gap: var(--space-6);
        justify-items: center;
    }
    
    .journey-text {
        padding-right: 0;
        align-items: center;
        width: 100%;
    }
    
    .journey-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .journey-label {
        font-size: 10px;
    }
    
    .journey-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .journey-desc {
        font-size: var(--font-size-sm);
        max-width: 100%;
    }
    
    .visual-wrapper {
        max-height: none;
        height: auto;
        min-height: 420px;
    }
    
    /* Journey Slides (new calm design) */
    .journey-slide {
        padding: var(--space-4);
    }
    
    .slide-card {
        padding: var(--space-5);
        border-radius: 16px;
    }
    
    .slide-card h4 {
        font-size: var(--font-size-base);
    }
    
    .connection-visual,
    .processing-visual,
    .insight-preview,
    .note-preview-card {
        width: 100%;
        max-width: 100%;
    }
    
    .processing-visual {
        gap: var(--space-2);
    }
    
    .data-row {
        padding: var(--space-2) 0;
    }
    
    .data-count {
        font-size: var(--font-size-lg);
    }
    
    .slide-caption {
        margin-top: var(--space-4);
        font-size: var(--font-size-xs);
    }
    
    .api-logo {
        width: 36px;
        height: 36px;
    }
    
    .connection-line {
        width: 40px;
    }
    
    .insight-line {
        font-size: var(--font-size-xs);
    }
    
    /* Journey Progress */
    .journey-progress {
        bottom: var(--space-6);
    }
    
    .progress-dot {
        width: 5px;
        height: 5px;
    }
    
    /* Testimonial */
    .testimonial-section {
        padding: var(--space-16) var(--space-4);
    }
    
    .testimonial-quote {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
    
    .testimonial-nav {
        margin-top: var(--space-8);
    }
    
    /* CTA */
    .cta-section {
        min-height: auto;
        padding: var(--space-16) var(--space-4);
    }
    
    .cta-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .cta-subtext {
        font-size: var(--font-size-base);
    }
    
    .cta-form-minimal {
        flex-direction: column;
        max-width: 100%;
    }
    
    .cta-form-minimal input {
        padding: var(--space-4);
    }
    
    .cta-form-minimal button {
        padding: var(--space-4);
    }
    
    /* Footer */
    .footer {
        padding: var(--space-12) var(--space-4);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-6);
    }
    
    .footer-link-group {
        min-width: 120px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (480px)
   ========================================== */

@media (max-width: 480px) {
    /* Hero */
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    
    .hero-sub {
        font-size: var(--font-size-sm);
    }
    
    .hero-badge {
        padding: var(--space-1) var(--space-3);
        margin-bottom: var(--space-4);
    }
    
    .hero-badge span:last-child {
        font-size: var(--font-size-xs);
    }
    
    .hero-cta-group {
        margin-top: var(--space-6);
    }
    
    .hero-primary-cta,
    .hero-secondary-cta {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-sm);
        max-width: 220px;
    }
    
    /* Ambient orbs - even smaller */
    .orb-1 { width: 150px; height: 150px; }
    .orb-2 { width: 100px; height: 100px; }
    .orb-3 { display: none; }
    
    /* Trust Bar */
    .trust-bar {
        padding: var(--space-8) var(--space-4);
    }
    
    .trust-label {
        font-size: var(--font-size-xs);
        margin-bottom: var(--space-6);
    }
    
    .trust-logos {
        gap: var(--space-4);
    }
    
    .trust-logo-text {
        font-size: var(--font-size-sm);
    }
    
    /* Stats */
    .stats-section {
        padding: var(--space-10) var(--space-4);
    }
    
    .stats-container {
        gap: var(--space-6);
    }
    
    .stat-number {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
        max-width: 120px;
    }
    
    .stat-divider {
        width: 40px;
    }
    
    /* Statement */
    .statement-text {
        font-size: clamp(1.25rem, 5.5vw, 2rem);
    }
    
    .feature-headline {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .visual-phone {
        width: 180px;
        height: 380px;
        border-radius: 32px;
        padding: 6px;
    }
    
    .visual-phone::before {
        top: 12px;
        width: 50px;
        height: 18px;
        border-radius: 10px;
    }
    
    .visual-phone::after {
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
        border-radius: 26px;
    }
    
    .visual-phone img {
        border-radius: 24px;
    }
    
    .journey-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    
    .slide-card {
        padding: var(--space-4);
    }
    
    .slide-card h4 {
        font-size: var(--font-size-sm);
    }
    
    .api-logo {
        width: 28px;
        height: 28px;
    }
    
    .connection-line {
        width: 30px;
    }
    
    .insight-line {
        font-size: 11px;
    }
    
    .note-preview-header span:first-child {
        font-size: var(--font-size-sm);
    }
    
    .note-preview-content p {
        font-size: 11px;
    }
    
    /* Testimonial */
    .testimonial-section {
        padding: var(--space-12) var(--space-4);
    }
    
    .testimonial-quote {
        font-size: clamp(1rem, 4.5vw, 1.5rem);
        margin-bottom: var(--space-6);
    }
    
    .testimonial-nav {
        margin-top: var(--space-6);
    }
    
    .testimonial-dot {
        width: 8px;
        height: 8px;
    }
    
    /* CTA */
    .cta-headline {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }
}
