/* ==========================================================================
   Base & Variables
   ========================================================================== */

   :root {
    --bg-color: #F2F1ED;
    --text-primary: #1a1a1a;
    --text-headline: #0f0f0f;
    --text-secondary: #555555;
    --grid-line-color: rgba(0, 0, 0, 0.05); /* very faint */
    --struct-line-color: #e4e2da;
    --btn-primary-bg: #0f0f0f;
    --btn-primary-text: #ffffff;
    --btn-border: #d2d0c9;
    --accent-color: #1a1a1a;
    
    --font-serif: 'Instrument Serif', 'DM Serif Display', serif;
    --font-mono: 'IBM Plex Mono', 'Space Mono', monospace;
    
    --container-max-width: 1450px;
    --header-height: 74px;
    
    --anim-duration: 0.8s;
    --anim-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#home, #how-it-works, #outcomes, #pricing, #faq {
    scroll-margin-top: 100px;
}

/* ==========================================================================
   Background Texture & Grid Lines
   ========================================================================== */

.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
    /* Subtle fine-grid texture */
    background-image: 
        repeating-linear-gradient(var(--grid-line-color) 0 1px, transparent 1px 10px),
        repeating-linear-gradient(90deg, var(--grid-line-color) 0 1px, transparent 1px 10px);
    background-size: 10px 10px;
    opacity: 0.7;
}

/* Structural lines */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

.grid-line {
    position: absolute;
    background-color: var(--struct-line-color);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    height: 100%;
    width: 1px;
}

.top-line { top: 0; }
.nav-line { top: var(--header-height); }
.left-line { left: 4%; }
.right-line { right: 4%; }
.center-line { left: 50%; display: none; } /* Used for visual structure */

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 1s ease, transform 1s ease;
}

.site-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 20px;
    height: 20px;
    background-color: var(--text-headline);
    transform: rotate(45deg);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.logo-mark::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--bg-color);
    border-radius: 2px;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--text-headline);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    gap: 32px;
    margin-right: auto;
    margin-left: 64px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-transform: uppercase;
    transition: transform 0.2s ease, color 0.2s ease;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--text-headline);
    transform: translateY(-1px);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-headline);
}

.header-action {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-headline);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child { top: 4px; }
.mobile-menu-toggle span:last-child { bottom: 4px; }

.mobile-menu-toggle.is-open span:first-child {
    transform: translateY(5px) rotate(45deg);
}
.mobile-menu-toggle.is-open span:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 24px;
    font-family: var(--font-serif);
    transition: color 0.3s ease;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--text-headline);
}

.mobile-nav .cta-btn {
    font-family: var(--font-mono);
    font-size: 14px;
    margin-top: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.cta-btn {
    font-family: var(--font-mono);
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 2px;
    z-index: 1;
}

.cta-btn .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

/* Bracket styling */
.bracket {
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid #a0a0a0;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.cta-btn:hover .bracket {
    border-color: var(--text-headline);
}

.bracket.tl { top: -4px; left: -4px; border-right: none; border-bottom: none; }
.bracket.tr { top: -4px; right: -4px; border-left: none; border-bottom: none; }
.bracket.bl { bottom: -4px; left: -4px; border-right: none; border-top: none; }
.bracket.br { bottom: -4px; right: -4px; border-left: none; border-top: none; }

/* Small Header Button */
.cta-btn.small {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: 1px solid var(--btn-border);
    width: 130px;
    height: 44px;
    font-size: 12px;
}
.cta-btn.small:hover {
    background-color: #222;
}

/* Primary Button */
.cta-btn.primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: 1px solid var(--btn-border);
    width: 220px;
    height: 54px;
    font-size: 13px;
}
.cta-btn.primary:hover {
    background-color: #222;
}

/* Secondary Button */
.cta-btn.secondary {
    background-color: transparent;
    color: var(--text-headline);
    border: 1px solid var(--btn-border);
    width: 190px;
    height: 54px;
    font-size: 13px;
}
.cta-btn.secondary:hover {
    background-color: rgba(0,0,0,0.03);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 880px;
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hero-content {
    width: 58%;
    padding-left: 175px; /* Content block starts approx 175px from left edge */
    position: relative;
    z-index: 10;
    margin-top: -80px; /* Adjust vertical centering visually */
}

/* Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    background-color: #e6e5e0;
    padding: 6px 16px;
    border-radius: 2px;
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(15px);
}

.eyebrow .bullet {
    color: var(--text-headline);
    font-size: 10px;
    margin-right: 8px;
}

/* Headline */
.headline {
    font-family: var(--font-serif);
    font-size: 72px;
    line-height: 1.1;
    color: var(--text-headline);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 36px;
}

.line-wrap {
    display: block;
    overflow: hidden;
    padding-bottom: 4px; /* Prevent descender cutoff */
}

.line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
}

/* Supporting Copy */
.supporting-copy {
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(15px);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 24px;
    opacity: 0;
    transform: translateY(15px);
}

/* ==========================================================================
   Decorative Artwork
   ========================================================================== */

.hero-artwork {
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.artwork-container {
    position: absolute;
    right: 0;
    opacity: 0; /* Animated in via JS */
}

.top-artwork {
    top: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
}

.bottom-artwork {
    bottom: -100px;
    right: -100px;
    width: 700px;
    height: 600px;
}

/* SVG Line Styling */
.u-line {
    stroke: #d2d0c9;
    stroke-width: 1px;
    fill: none;
    vector-effect: non-scaling-stroke;
}

/* ==========================================================================
   Animations
   ========================================================================== */

/* Triggered by .loaded class on body */
body.loaded .eyebrow {
    animation: fadeUp var(--anim-duration) var(--anim-ease) 0.1s forwards;
}

body.loaded .headline .line:nth-child(1) {
    animation: slideUp var(--anim-duration) var(--anim-ease) 0.2s forwards;
}
body.loaded .headline .line:nth-child(2) {
    animation: slideUp var(--anim-duration) var(--anim-ease) 0.3s forwards;
}
body.loaded .headline .line:nth-child(3) {
    animation: slideUp var(--anim-duration) var(--anim-ease) 0.4s forwards;
}

body.loaded .supporting-copy {
    animation: fadeUp var(--anim-duration) var(--anim-ease) 0.5s forwards;
}

body.loaded .hero-actions {
    animation: fadeUp var(--anim-duration) var(--anim-ease) 0.6s forwards;
}

body.loaded .artwork-container {
    animation: fadeIn var(--anim-duration) ease 0.8s forwards;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================================================
   Problems Section
   ========================================================================== */

.problems-section {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--grid-line-color);
    background-color: #F5F3EE;
}

.section-header {
    margin-bottom: 64px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 48px;
    color: var(--text-headline);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-supporting {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--grid-line-color);
    border-right: none;
    border-bottom: none;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 64px 32px;
    border-right: 1px solid var(--grid-line-color);
    border-bottom: 1px solid var(--grid-line-color);
}

.card-light {
    background-color: transparent;
}

.card-dark {
    background-color: rgba(0, 0, 0, 0.02);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: #a09d94;
    margin-bottom: 32px;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--text-headline);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.1;
}

.card-desc {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Section & Card Entrance Animations
   ========================================================================== */

.problems-section .section-heading,
.problems-section .section-supporting {
    opacity: 0;
    transform: translateY(15px);
}

.problems-section.is-visible .section-heading {
    animation: fadeUp var(--anim-duration) var(--anim-ease) 0.1s forwards;
}

.problems-section.is-visible .section-supporting {
    animation: fadeUp var(--anim-duration) var(--anim-ease) 0.3s forwards;
}

.card {
    opacity: 0;
    transform: translateY(14px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.problems-section.is-visible .card {
    animation: fadeUp 0.6s var(--anim-ease) forwards;
}
.problems-section.is-visible .card:nth-child(1) { animation-delay: 0.2s; }
.problems-section.is-visible .card:nth-child(2) { animation-delay: 0.3s; }
.problems-section.is-visible .card:nth-child(3) { animation-delay: 0.4s; }
.problems-section.is-visible .card:nth-child(4) { animation-delay: 0.5s; }

.card:hover, .card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.15); /* Subtle contrast increase */
}

.card-icon {
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.85;
}

.card:hover .card-icon, .card:focus-within .card-icon {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ==========================================================================
   Continuous Icon Animations
   ========================================================================== */

/* Icon 1: Reviews Are Never Requested (Loop: 3.2s, Delay: 0s) */
@keyframes loopIcon1 {
    0%, 100% { transform: translateX(0); opacity: 1; }
    15% { transform: translateX(4px); opacity: 0.6; }
    30% { transform: translateX(4px); opacity: 0.6; }
    45% { transform: translateX(0); opacity: 1; }
}
.i1-circle { 
    animation: loopIcon1 3.2s ease-in-out infinite; 
}
.card:hover .i1-circle, .card:focus-within .i1-circle {
    animation-duration: 1.6s;
}

/* Icon 2: Follow-Ups Depend on Staff (Loop: 3.8s, Delay: 0.6s) */
@keyframes loopIcon2Box {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(var(--mx), var(--my)); }
    20% { transform: translate(0, 0); }
}
@keyframes loopIcon2Center {
    0%, 60%, 100% { transform: scale(1); }
    70% { transform: scale(1.25); }
}
.i2-center { transform-origin: center; animation: loopIcon2Center 3.8s ease-in-out 0.6s infinite; }
.i2-box-1, .i2-line:nth-child(5) { --mx: -3px; --my: -3px; animation: loopIcon2Box 3.8s ease-in-out 0.6s infinite; }
.i2-box-2, .i2-line:nth-child(6) { --mx: 3px; --my: -3px; animation: loopIcon2Box 3.8s ease-in-out 1.0s infinite; }
.i2-box-3, .i2-line:nth-child(7) { --mx: 3px; --my: 3px; animation: loopIcon2Box 3.8s ease-in-out 1.4s infinite; }
.i2-box-4, .i2-line:nth-child(8) { --mx: -3px; --my: 3px; animation: loopIcon2Box 3.8s ease-in-out 1.8s infinite; }

.card:hover .i2-center, .card:focus-within .i2-center,
.card:hover .i2-box, .card:focus-within .i2-box,
.card:hover .i2-line, .card:focus-within .i2-line {
    animation-duration: 2s;
}

/* Icon 3: Past Customers Stay Untapped (Loop: 4.0s, Delay: 1.2s) */
@keyframes loopIcon3Node {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    15% { transform: translate(var(--mx), var(--my)); opacity: 0.5; }
    30% { transform: translate(0, 0); opacity: 1; }
}

.i3-node-1, .i3-line-1 { --mx: 3px; --my: 3px; animation: loopIcon3Node 4.0s ease-in-out 1.2s infinite; }
.i3-node-2, .i3-line-2 { --mx: -3px; --my: 3px; animation: loopIcon3Node 4.0s ease-in-out 1.8s infinite; }
.i3-node-3, .i3-line-3 { --mx: 3px; --my: -3px; animation: loopIcon3Node 4.0s ease-in-out 2.4s infinite; }
.i3-node-4, .i3-line-4 { --mx: -3px; --my: -3px; animation: loopIcon3Node 4.0s ease-in-out 3.0s infinite; }

.card:hover .i3-node, .card:focus-within .i3-node,
.card:hover .i3-line, .card:focus-within .i3-line {
    animation-duration: 2s;
}

/* Icon 4: Negative Feedback Arrives Too Late (Loop: 3.0s, Delay: 1.8s) */
@keyframes loopIcon4Alert {
    0%, 100% { transform: translateY(0); opacity: 1; }
    20% { transform: translateY(5px); }
    40% { transform: translateY(5px); opacity: 0.4; }
    60% { transform: translateY(5px); opacity: 1; }
    80% { transform: translateY(0); opacity: 1; }
}

.i4-alert { transform-origin: center 8px; animation: loopIcon4Alert 3.0s ease-in-out 1.8s infinite; }

.card:hover .i4-alert, .card:focus-within .i4-alert {
    animation-duration: 1.5s;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .card, .card-icon, .problems-section .section-heading, .problems-section .section-supporting,
    .i1-box, .i1-circle, .i1-line, 
    .i2-center, .i2-box, .i2-line, 
    .i3-star, .i3-node, .i3-line, 
    .i4-box, .i4-box-line, .i4-alert {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   How SolviAI Works Section
   ========================================================================== */

.workflow-section {
    background-color: #111111;
    color: #F2F1ED;
    padding: 160px 0;
    position: relative;
    border-top: 1px solid #222222;
}

.workflow-container {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.workflow-left {
    width: 40%;
    position: sticky;
    top: 120px;
    padding-right: 60px;
}

.workflow-heading {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #F2F1ED;
}

.workflow-supporting {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1.6;
    color: #a09d94;
    max-width: 400px;
}

.workflow-right {
    width: 60%;
    position: relative;
    padding-left: 100px; 
}

.workflow-path-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
}

.workflow-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#workflow-path-bg-path {
    stroke: #333333;
    stroke-width: 2px;
    fill: none;
}

#workflow-path-active-path {
    stroke: #F2F1ED;
    stroke-width: 2px;
    fill: none;
}

.workflow-steps {
    position: relative;
    z-index: 2;
}

.workflow-step {
    padding-bottom: 240px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.workflow-step:last-child {
    padding-bottom: 0;
}

.step-marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1a1a1a;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 16px;
    color: #888;
    position: absolute;
    left: -74px; /* Centers marker at 50px offset within 100px padding */
    top: 0;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    z-index: 3;
}

.workflow-step.step-active .step-marker {
    background-color: #F2F1ED;
    color: #111111;
    border-color: #F2F1ED;
}

.step-content {
    padding-top: 6px;
    opacity: 0.4;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.workflow-step.step-active .step-content {
    opacity: 1;
    transform: translateY(0);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #F2F1ED;
}

.step-desc {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1.6;
    color: #a09d94;
    max-width: 480px;
}



/* ==========================================================================
   Reactivation Section Specific Animations
   ========================================================================== */

/* Override section entry delays for reactivation section specifically */
.reactivation-section .section-heading,
.reactivation-section .section-supporting,
.reactivation-section .card {
    opacity: 0;
    transform: translateY(14px); /* Slightly refined lift distance */
}

.reactivation-section.is-visible .section-heading {
    animation: fadeUp 1s var(--anim-ease) 0.1s forwards;
}

.reactivation-section.is-visible .section-supporting {
    animation: fadeUp 1s var(--anim-ease) 0.2s forwards;
}

.reactivation-section.is-visible .card-anim-1 { animation: fadeUp 1s var(--anim-ease) 0.2s forwards; }
.reactivation-section.is-visible .card-anim-2 { animation: fadeUp 1s var(--anim-ease) 0.32s forwards; }
.reactivation-section.is-visible .card-anim-3 { animation: fadeUp 1s var(--anim-ease) 0.44s forwards; }
.reactivation-section.is-visible .card-anim-4 { animation: fadeUp 1s var(--anim-ease) 0.56s forwards; }

/* Continuous Icon Animations */
.reactivation-section.is-visible .anim-icon-list .list-row-1 { animation: listFade 2.8s ease 0s infinite; opacity: 0.3; }
.reactivation-section.is-visible .anim-icon-list .list-row-2 { animation: listFade 2.8s ease 0.2s infinite; opacity: 0.3; }
.reactivation-section.is-visible .anim-icon-list .list-row-3 { animation: listFade 2.8s ease 0.4s infinite; opacity: 0.3; }

@keyframes listFade {
    0%, 60%, 100% { opacity: 0.3; transform: translateX(0); }
    10%, 40% { opacity: 1; transform: translateX(2px); }
}

.reactivation-section.is-visible .anim-icon-plane svg {
    animation: planeFly 3.1s ease 0.4s infinite;
}

@keyframes planeFly {
    0%, 70%, 100% { transform: translate(0, 0); opacity: 1; }
    15%, 35% { transform: translate(4px, -4px); opacity: 0.8; }
}

.reactivation-section.is-visible .anim-icon-arrow svg {
    animation: arrowRotate 3.4s ease 0.8s infinite;
}

@keyframes arrowRotate {
    0%, 80%, 100% { transform: rotate(0deg); }
    30%, 50% { transform: rotate(15deg); }
}

.reactivation-section.is-visible .anim-icon-star svg {
    animation: starPulse 2.9s ease 1.2s infinite;
}

@keyframes starPulse {
    0%, 70%, 100% { opacity: 0.8; transform: scale(1); }
    20%, 40% { opacity: 1; transform: scale(1.04); }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    .reactivation-section .section-heading,
    .reactivation-section .section-supporting,
    .reactivation-section .card,
    .reactivation-section .anim-icon-list .list-row-1,
    .reactivation-section .anim-icon-list .list-row-2,
    .reactivation-section .anim-icon-list .list-row-3,
    .reactivation-section .anim-icon-plane svg,
    .reactivation-section .anim-icon-arrow svg,
    .reactivation-section .anim-icon-star svg {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--grid-line-color);
    background-color: var(--bg-color);
}

.pricing-grid {
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.pricing-card {
    border: 1px solid var(--grid-line-color);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
    opacity: 0;
    transform: translateY(14px);
}

.pricing-section.is-visible .main-plan { animation: fadeUp 1.2s var(--anim-ease) 0.2s forwards; }
.pricing-section.is-visible .addon-plan { animation: fadeUp 1.2s var(--anim-ease) 0.35s forwards; }

.pricing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.15);
}

.main-plan {
    width: 65%;
    background-color: #EAE8E2;
}

.addon-plan {
    width: 35%;
    background-color: #FAFAFA;
}

.panel-bracket {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(0,0,0,0.3);
}
.panel-bracket.top-left { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.panel-bracket.top-right { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.panel-bracket.bottom-left { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.panel-bracket.bottom-right { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.plan-label {
    display: inline-block;
    background-color: #111;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 24px;
}

.addon-plan .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.pricing-card .plan-name {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-headline);
    margin-bottom: 16px;
    line-height: 1.2;
}

.pricing-card .plan-price {
    font-family: var(--font-mono);
    font-size: 56px;
    font-weight: 500;
    color: var(--text-headline);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pricing-card .billing-label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.pricing-card .plan-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.plan-features {
    list-style: none;
    margin-bottom: 48px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.plan-features .check {
    color: #111;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 16px 32px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid var(--btn-primary-bg);
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.cta-button.full-width {
    width: 100%;
    margin-bottom: 24px;
}

.cta-button.addon-btn {
    width: 100%;
    margin-bottom: 16px;
    background-color: transparent;
    color: #111;
    border: 1px solid #111;
}
.cta-button.addon-btn:hover {
    background-color: #111;
    color: #fff;
}

.addon-clarification {
    font-size: 12px;
    color: var(--text-headline);
    text-align: center;
    margin-bottom: 24px;
}

.pricing-note {
    font-size: 11px;
    color: #888;
    line-height: 1.5;
    text-align: center;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    padding: 120px 0;
    background-color: #FAFAFA;
    border-top: 1px solid var(--grid-line-color);
}

.faq-accordion {
    width: 100%;
    margin-top: 60px;
}

.faq-item {
    border-bottom: 1px solid var(--grid-line-color);
    opacity: 0;
    transform: translateY(14px);
}

.faq-section.is-visible .faq-item {
    animation: fadeUp 1s var(--anim-ease) forwards;
}

.faq-section.is-visible .faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-section.is-visible .faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-section.is-visible .faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-section.is-visible .faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-section.is-visible .faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-section.is-visible .faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-section.is-visible .faq-item:nth-child(n+7) { animation-delay: 0.4s; }

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 32px 0;
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-headline);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #555;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 24px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #111;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item.is-open .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-item.is-open .faq-icon::before {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding-bottom: 32px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-item.is-open .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion Override (Extend to Pricing/FAQ) */
@media (prefers-reduced-motion: reduce) {
    .pricing-card, .faq-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer-section {
    background-color: #111111;
    color: #F2F0EA;
    padding: 100px 0 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    max-width: 800px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.3s ease, transform 1.3s ease;
}

.footer-section.is-visible .footer-top {
    opacity: 1;
    transform: translateY(0);
}

.footer-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 48px;
    line-height: 1.1;
    font-weight: 400;
    color: #F2F0EA;
    margin-bottom: 24px;
}

.footer-supporting {
    font-family: var(--font-mono);
    font-size: 16px;
    color: #A3A3A3;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-actions .cta-btn.primary {
    background-color: #F2F0EA;
    color: #111111;
    border: 1px solid #F2F0EA;
}

.footer-actions .cta-btn.primary:hover {
    background-color: transparent;
    color: #F2F0EA;
}

.footer-link-btn {
    text-decoration: none;
    color: #F2F0EA;
    font-size: 14px;
    border: none;
    padding: 16px 0;
    background: transparent;
}

.footer-link-btn:hover {
    color: #fff;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
    margin: 40px 0;
}

.footer-links-area {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.3s ease 0.2s, transform 1.3s ease 0.2s;
}

.footer-section.is-visible .footer-links-area {
    opacity: 1;
    transform: translateY(0);
}

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

.brand-col {
    max-width: 300px;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 28px;
    color: #F2F0EA;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: #A3A3A3;
    line-height: 1.5;
}

.col-heading {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav a, .footer-contact-link {
    text-decoration: none;
    color: #F2F0EA;
    font-family: var(--font-mono);
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover, .footer-contact-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-contact-link {
    margin-bottom: 16px;
    display: inline-block;
}

.footer-address {
    color: #F2F0EA;
    font-family: var(--font-mono);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.8;
}

.footer-cta-link {
    text-decoration: none;
    color: #F2F0EA;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.footer-cta-link .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.footer-cta-link:hover {
    opacity: 0.8;
}

.footer-cta-link:hover .arrow {
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 1.3s ease 0.4s;
}

.footer-section.is-visible .footer-bottom {
    opacity: 1;
}

.copyright {
    font-size: 12px;
    color: #999;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #F2F0EA;
}

@media (prefers-reduced-motion: reduce) {
    .footer-top, .footer-links-area, .footer-bottom {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-page {
    background-color: var(--bg-color);
}

.legal-header {
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--grid-line-color);
    margin-bottom: 60px;
}

.legal-eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 400;
    color: var(--text-headline);
    margin-bottom: 16px;
    line-height: 1.1;
}

.legal-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.legal-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 800px;
}

.legal-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 0 120px;
}

.legal-content section {
    margin-bottom: 64px;
    scroll-margin-top: 120px;
}

.legal-content h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-headline);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--grid-line-color);
}

.legal-content h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-headline);
    margin-bottom: 16px;
    margin-top: 40px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.placeholder-text {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    font-size: 14px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */



@media (max-width: 900px) {
    .hero-content {
        padding-left: 80px;
        width: 65%;
    }
    .headline {
        font-size: 64px;
    }
}

@media (max-width: 1100px) {
    .hero-content {
        padding-left: 40px;
        width: 60%;
    }
    .headline {
        font-size: 58px;
    }
    .hero-artwork {
        width: 40%;
        opacity: 0.5;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none; /* Mobile menu implementation */
    }
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        margin-right: 24px;
    }
    .header-action {
        display: none; /* Hide CTA in header on tablet/mobile */
    }
    
    .workflow-right {
        width: 100%;
        padding-left: 80px;
    }
    .workflow-path-wrapper {
        width: 80px;
    }
    .step-marker {
        left: -64px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        width: 100%;
        padding-left: 0;
        margin-top: 0;
        z-index: 10;
    }
    
    .hero-artwork {
        right: -10%;
        opacity: 0.25;
    }
    
    .headline {
        font-size: 54px;
    }
    .pricing-card {
        padding: 40px 32px;
    }
    .pricing-card .plan-price {
        font-size: 48px;
    }
    .faq-section {
        padding: 80px 0;
    }
    .faq-question {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
    }
    .main-plan, .addon-plan {
        width: 100%;
    }
    .pricing-card {
        padding: 40px 24px;
    }
    .pricing-card .plan-price {
        font-size: 40px;
    }
    .faq-section {
        padding: 60px 0;
    }
    .faq-question {
        font-size: 18px;
        padding: 24px 0;
    }
    .faq-answer-inner {
        font-size: 14px;
    }
    .hero-container {
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .headline {
        font-size: 44px;
    }
    
    .supporting-copy {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .cta-btn.primary,
    .cta-btn.secondary {
        width: 100%;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading {
        font-size: 36px;
    }
    
    .footer-heading {
        font-size: 36px;
    }
    .footer-links-area {
        flex-direction: column;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-actions .cta-btn, .footer-actions .footer-link-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 24px;
    }
    
    .headline {
        font-size: 42px;
    }
    
    .hero-section {
        min-height: auto;
        padding-bottom: 80px;
    }
}

@media (max-width: 900px) {
    .legal-title {
        font-size: 42px;
    }
}
