/* ==========================================================================
   ZetaCap Front-End UI Design System
   Synthesized from ui-skills.com: anti-slop craft, typography hierarchy,
   multi-layer elevation, spring physics, nested radii, and WCAG 2.2.
   ========================================================================== */

:root {
    /* Canvas & Base Tokens */
    --bg-canvas: #100e0b;
    --bg-surface: rgba(255, 255, 255, 0.035);
    --bg-surface-elevated: rgba(255, 255, 255, 0.06);
    --bg-subtle: rgba(255, 255, 255, 0.09);

    /* Text & Typographic Hierarchy */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dim: #52525b;

    /* Brand & High-Intent Accents */
    --accent-cyan: #38bdf8;
    --accent-indigo: #818cf8;
    --accent-coral: #e05a47;
    --accent-amber: #f59e0b;

    /* Hairline Borders with Alpha */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.11);
    --border-active: rgba(56, 189, 248, 0.35);

    /* Concentric Radius Scale (R_inner = max(0, R_outer - Padding)) */
    --radius-section: 28px;
    --radius-card: 20px;
    --radius-inner: 10px;
    --radius-badge: 9999px;

    /* Multi-Layer Tinted Elevation (No Muddy Shadows) */
    --shadow-contact-dark: 0 1px 2px 0 hsl(220 40% 4% / 0.3);
    --shadow-card-dark: 
        0 2px 4px 0 hsl(220 40% 4% / 0.25),
        0 12px 24px -4px hsl(220 40% 4% / 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08);

    --shadow-floating-dark: 
        0 4px 8px 0 hsl(220 40% 4% / 0.3),
        0 20px 48px -8px hsl(220 40% 4% / 0.5),
        0 0 35px -10px rgba(56, 189, 248, 0.18),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.12);

    --shadow-pricing-section:
        0 4px 12px 0 hsl(30 20% 6% / 0.15),
        0 20px 50px -10px hsl(30 20% 6% / 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.15);

    --shadow-pricing-card:
        0 2px 4px 0 hsl(30 15% 30% / 0.04),
        0 12px 28px -6px hsl(30 15% 30% / 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.95);

    /* Spring Physics Easing */
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
    --duration-snappy: 140ms;
    --duration-smooth: 260ms;
}

/* Base Reset & Accessibility */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Accessibility: Skip Navigation Link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 1.5rem;
    background: var(--accent-cyan);
    color: #090807;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 8px 20px hsl(220 40% 4% / 0.28);
    transition: top 0.2s var(--ease-spring);
}

.skip-link:focus {
    top: 1.5rem;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Universal Accessible Focus Ring */
:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Body & Dynamic Viewport Height */
body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100dvh;
    overflow-x: hidden;
}

/* Nightfall Aura Background Architecture
   Critical: Layers use blend modes over #100e0b backdrop */
.aura-bg {
    position: relative;
    overflow: hidden;
    min-height: 100dvh;
}

/* Layer 1 - screen */
.aura-layer-1 {
    position: absolute;
    inset: 0;
    background: radial-gradient(85% 55% at 52% 0%, rgba(35, 70, 105, 0.34) 0%, rgba(24, 49, 74, 0.18) 38%, transparent 76%);
    mix-blend-mode: screen;
    filter: blur(36px);
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

/* Layer 2 - soft-light */
.aura-layer-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(54, 88, 120, 0.16) 0%, transparent 45%, rgba(0, 0, 0, 0.18) 100%);
    mix-blend-mode: soft-light;
    filter: blur(36px);
    opacity: 0.9;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

/* Layer 3 - screen */
.aura-layer-3 {
    position: absolute;
    inset: 0;
    background: radial-gradient(42% 35% at 78% 16%, rgba(96, 130, 155, 0.16) 0%, transparent 78%);
    mix-blend-mode: screen;
    filter: blur(36px);
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

/* Film-grain overlay - SVG feTurbulence noise, overlay blend */
.aura-grain {
    position: absolute;
    inset: 0;
    mix-blend-mode: overlay;
    opacity: 0.85;
    pointer-events: none;
}

.aura-grain svg {
    display: block;
    width: 100%;
    height: 100%;
}

.aura-content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .aura-layer-1,
    .aura-layer-2,
    .aura-layer-3 {
        filter: blur(25px);
    }
}

/* ==========================================================================
   Typography Scale & Optical Cadence (Pillar 1)
   ========================================================================== */

h1, h2, h3, .card-title, .pricing-header h2 {
    text-wrap: balance;
    letter-spacing: -0.025em;
}

p {
    text-wrap: pretty;
    max-width: 65ch;
}

/* Inverted Line-Height Rule */
h1 {
    line-height: 1.08;
}

h2 {
    line-height: 1.15;
}

h3 {
    line-height: 1.25;
}

/* Tabular Figures for Numbers & Pricing */
.tabular-nums,
.price-val,
.pill-savings,
.popular-badge,
.step-num,
.pill-item-active,
.pill-item-compare,
.trust-desc {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Editorial Gradient Text */
.highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.highlight-red {
    background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: opacity var(--duration-snappy) var(--ease-spring);
}

.nav-brand:hover {
    opacity: 0.9;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--duration-snappy) var(--ease-spring);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
    border-radius: 9999px;
}

/* Nav CTA - Concentric & Tactile */
.nav-cta {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-badge);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border-card);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
    transition: transform var(--duration-snappy) var(--ease-spring),
                background-color var(--duration-smooth) ease,
                border-color var(--duration-smooth) ease,
                color var(--duration-smooth) ease;
}

.nav-cta:hover {
    background-color: #ffffff;
    color: #100e0b;
    border-color: #ffffff;
    transform: translateY(-1px);
}

.nav-cta:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3.5rem 5% 6.5rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 75vh;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    padding-right: 2rem;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 1.8rem + 3.2vw, 4.25rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

/* Button Micro-Interactions (Pillar 4) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #100e0b;
    padding: 0.75rem 1.65rem;
    border-radius: var(--radius-badge);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.15), inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    transition: transform var(--duration-snappy) var(--ease-spring),
                background-color var(--duration-smooth) ease,
                box-shadow var(--duration-smooth) ease;
}

.btn-primary:hover {
    background-color: #f4f4f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary .arrow {
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform var(--duration-snappy) var(--ease-spring);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    padding: 0.75rem 1.65rem;
    border-radius: var(--radius-badge);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid var(--border-card);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
    transition: transform var(--duration-snappy) var(--ease-spring),
                background-color var(--duration-smooth) ease,
                border-color var(--duration-smooth) ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.features-buttons {
    display: flex;
    gap: 1.15rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    max-width: 60%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s var(--ease-spring);
}

.hero-image:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Features Section & 3D Tilt Cards
   ========================================================================== */
.new-features {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6.5rem 5% 7.5rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: transparent;
    color: var(--text-primary);
    gap: 4rem;
}

.features-text {
    flex: 1;
    max-width: 520px;
}

.features-text .subtitle,
.section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.85rem;
}

.features-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem);
    font-weight: 500;
    margin-bottom: 1.35rem;
}

.features-text p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 2.25rem;
    line-height: 1.65;
}

.features-visuals {
    flex: 1.5;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px;
}

.card-image {
    position: absolute;
    transition: transform 0.4s var(--ease-spring), filter 0.4s var(--ease-spring);
    will-change: transform;
}

.card-image img {
    max-width: 320px;
    height: auto;
    display: block;
    border: none;
    background: transparent;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

.card-1 {
    transform: translateX(-205px) translateY(10px) rotate(-2deg);
    z-index: 1;
}

.card-2 {
    transform: translateX(0) translateY(-20px) rotate(0deg);
    z-index: 5;
}

.card-3 {
    transform: translateX(205px) translateY(25px) rotate(2deg);
    z-index: 2;
}

.card-image:hover {
    z-index: 10;
    transform: scale(1.06) translateY(-8px) rotate(0deg);
}

/* Floating Badges - Concentric & Tinted */
.badge {
    position: absolute;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-badge);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 14px 0 hsl(220 40% 4% / 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    z-index: 6;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    display: block;
    width: 0;
    height: 0;
}

.badge-1 {
    top: -15px;
    left: 20px;
    background: #851329;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.badge-1::after { border-color: #851329 transparent transparent transparent; }

.badge-2 {
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #18181b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.badge-2::after { border-color: #18181b transparent transparent transparent; }

.badge-3 {
    top: -12px;
    right: 20px;
    background: #1e3a8a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.badge-3::after { border-color: #1e3a8a transparent transparent transparent; }

/* ==========================================================================
   Pricing Section (Compact Single-Scroll View, $5 Lifetime Plan)
   ========================================================================== */
.pricing-section {
    background-color: #faf8f5;
    color: #18181b;
    border-radius: var(--radius-section);
    max-width: 1040px;
    margin: 1.5rem auto 2.5rem;
    padding: 1.85rem 2.25rem 1.65rem;
    position: relative;
    box-shadow: var(--shadow-pricing-section);
}

.pricing-container {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
}

.pricing-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 0.95rem;
}

.pricing-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-coral);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.pricing-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.65rem, 1.4rem + 1vw, 2.15rem);
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.pricing-header p {
    color: #52525b;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 auto;
}

/* Competitor Comparison Pill */
.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2.25rem;
}

.pricing-comparison-pill {
    display: inline-flex;
    align-items: center;
    background: #f1ede6;
    border-radius: var(--radius-badge);
    padding: 3px 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    gap: 0.4rem;
    font-size: 0.8rem;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pill-item-active {
    background: #18181b;
    color: #ffffff;
    padding: 0.32rem 0.85rem;
    border-radius: var(--radius-badge);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.pill-item-compare {
    color: #52525b;
    padding: 0.2rem 0.5rem;
    font-weight: 500;
    font-size: 0.775rem;
}

.pill-savings {
    background: #ffedea;
    color: var(--accent-coral);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.12rem 0.5rem;
    border-radius: var(--radius-badge);
    letter-spacing: 0.02em;
}

/* Handwritten Notes */
.note-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
    color: #78716c;
    position: absolute;
    pointer-events: none;
    line-height: 1.2;
}

.note-top-right {
    top: 5px;
    right: 25px;
    transform: rotate(3deg);
    text-align: left;
}

.note-bottom-left {
    bottom: 10px;
    left: 10px;
    transform: rotate(-4deg);
    text-align: left;
}

/* Single Main Card (Centered) */
.pricing-card-wrapper {
    position: relative;
    max-width: 360px;
    margin: 0 auto;
}

/* Character Peeking Over the Card - Hands resting over top ledge */
.pricing-character-peek {
    position: absolute;
    top: -58px;
    right: -10px;
    width: 78px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

/* Nested Radii: Card R=20px, Padding=22px -> Inner Button R=10px */
.pricing-card {
    background: #ffffff;
    border: 1px solid #eae5dc;
    border-radius: var(--radius-card);
    padding: 1.35rem 1.65rem 1.25rem;
    box-shadow: var(--shadow-pricing-card);
    position: relative;
    transition: transform var(--duration-smooth) var(--ease-spring),
                box-shadow var(--duration-smooth) var(--ease-spring);
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px 0 hsl(30 15% 30% / 0.05),
        0 16px 36px -6px hsl(30 15% 30% / 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.95);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 0.78rem;
    color: #71717a;
    font-weight: 400;
}

.popular-badge {
    background: #ffedea;
    color: var(--accent-coral);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-badge);
    text-transform: uppercase;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.price-val {
    font-size: 2.65rem;
    font-weight: 800;
    color: #18181b;
    line-height: 1;
    letter-spacing: -0.035em;
}

.price-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.price-period {
    font-size: 0.88rem;
    font-weight: 700;
    color: #18181b;
    line-height: 1.2;
}

.price-compare-sub {
    font-size: 0.72rem;
    color: var(--accent-coral);
    font-weight: 600;
    line-height: 1.2;
}

.pricing-features-list {
    list-style: none;
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.825rem;
    color: #27272a;
    font-weight: 500;
    line-height: 1.35;
}

.feature-check {
    color: #18181b;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

/* Concentric Button Radius = 10px (Satisfies R_inner = max(0, 20px - 22px)) */
.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #18181b;
    color: #ffffff;
    padding: 0.72rem 1.25rem;
    border-radius: var(--radius-inner);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid #18181b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: transform var(--duration-snappy) var(--ease-spring),
                background-color var(--duration-smooth) ease,
                box-shadow var(--duration-smooth) ease;
}

.btn-pricing:hover {
    background-color: #27272a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-pricing:active {
    transform: scale(0.98);
}

/* Trust Bar Below Card */
.pricing-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    margin-top: 1.45rem;
    flex-wrap: wrap;
    padding-top: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.trust-icon {
    font-size: 1.05rem;
    color: #18181b;
}

.trust-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #18181b;
    line-height: 1.2;
}

.trust-desc {
    font-size: 0.7rem;
    color: #71717a;
    line-height: 1.2;
}

/* ==========================================================================
   How It Works Page Styles
   ========================================================================== */
.how-hero {
    text-align: center;
    padding: 4rem 5% 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.how-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 1.8rem + 2.5vw, 3.85rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.how-hero p {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

/* Video Showcase Section */
.video-showcase-section {
    padding: 1rem 5% 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Outer radius 24px, inner video 23px with 1px hairline border */
.video-frame-container {
    position: relative;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.45), rgba(129, 140, 248, 0.15), rgba(255, 255, 255, 0.06));
    box-shadow: var(--shadow-floating-dark);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #090807;
    border-radius: 23px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-meta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 0.5rem;
}

.video-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-badge);
    font-size: 0.875rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.video-meta-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Workflow Steps / Method of Working Pipeline */
.workflow-section {
    padding: 5.5rem 5% 7rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.6rem + 1.8vw, 3.15rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.65;
}

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

.workflow-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-card);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card-dark);
    transition: transform var(--duration-smooth) var(--ease-spring),
                border-color var(--duration-smooth) ease,
                box-shadow var(--duration-smooth) ease;
}

.workflow-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-floating-dark);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.22);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-badge);
}

.card-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.workflow-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.workflow-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-subtle);
}

/* Architecture Breakdown / Tech Deep-Dive */
.tech-breakdown-section {
    padding: 5rem 5% 7rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    box-shadow: var(--shadow-card-dark);
}

.tech-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.5rem + 1.8vw, 2.85rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.tech-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tech-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tech-list-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.tech-list-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.tech-list-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* CTA Banner Section */
.cta-banner-section {
    padding: 4rem 5% 8rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.cta-box {
    background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.16) 0%, rgba(16, 14, 11, 0.7) 70%);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: var(--radius-section);
    padding: 4.5rem 3rem;
    box-shadow: var(--shadow-floating-dark);
}

.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: rgba(16, 14, 11, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 5%;
    color: var(--text-muted);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color var(--duration-snappy) ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Legal / Policy Pages
   ========================================================================== */
.legal-page {
    max-width: 68ch;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    color: #d4d4d8;
    line-height: 1.7;
}

.legal-page h1 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.legal-page h2 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.legal-page p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.legal-page a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--duration-snappy) ease;
}

.legal-page a:hover {
    text-decoration: underline;
    color: var(--accent-indigo);
}

.legal-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-box {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2.5rem;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 4rem;
        max-width: 100%;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 0.75rem;
    }
    
    .new-features {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }
    
    .features-text {
        margin-bottom: 4rem;
        max-width: 100%;
    }

    .features-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-buttons {
        justify-content: center;
    }
    
    .card-1 {
        transform: translateX(-60px) translateY(20px) rotate(-4deg);
    }
    
    .card-3 {
        transform: translateX(60px) translateY(40px) rotate(4deg);
    }

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

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .nav-menu {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 1.75rem 1.25rem 1.5rem;
        margin: 1rem auto 2rem;
        border-radius: 20px;
    }
    
    .pricing-card {
        padding: 1.25rem 1.15rem;
        border-radius: 16px;
    }

    .pricing-character-peek {
        top: -38px;
        right: -5px;
        width: 65px;
    }

    .note-handwritten {
        display: none;
    }

    .pricing-trust-row {
        flex-direction: column;
        gap: 0.85rem;
        align-items: flex-start;
        max-width: 230px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        gap: 1.25rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .features-buttons {
        flex-direction: column;
        width: 100%;
    }

    .features-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Reduced Motion Accessibility (Pillar 4)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
