/* =============================================
   CevApp "Boundless" — Premium SaaS Design System
   Concept: Fluid, Immersive, Kinetic, Professional
   Fonts: Space Grotesk (headings) + Inter (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* =============================================
   Design Tokens
   ============================================= */
:root {
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #000000;
    --bg-dark-soft: #0a0a0a;

    --accent: #4f46e5;
    --accent-light: #6366f1;
    --accent-lighter: #818cf8;
    --accent-glow: rgba(79, 70, 229, 0.15);

    --text: #000000;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-faint: #94a3b8;
    --text-invert: #ffffff;

    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-hover: #cbd5e1;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html {
    width: 100%;
    background: var(--bg);
}

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

::selection { background: rgba(79, 70, 229, 0.15); }

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* =============================================
   Layout
   ============================================= */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

/* =============================================
   Navigation (Floating Mix-Blend)
   ============================================= */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: #fff;
    transition: opacity 0.3s;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.dot { color: var(--accent-lighter); }

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

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    position: relative;
    color: inherit;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.btn-nav {
    border: 1px solid currentColor;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease);
    font-size: 0.82rem;
}
.btn-nav:hover { background: #fff; color: #000; }

/* Mobile nav */
.mobile-menu-btn {
    display: none;
    width: 28px;
    height: 28px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: inherit;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: 0.3s;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }

.mobile-overlay nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
.mobile-overlay a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    text-transform: lowercase;
}
.mobile-overlay a:hover { color: var(--accent); }

.mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* =============================================
   Hero Section — Full Viewport
   ============================================= */
.section-hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4vw;
    position: relative;
    overflow: hidden;
}

/* Rotating gradient orb */
.hero-bg-anim {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 45%);
    animation: rotateBg 25s linear infinite;
    z-index: -1;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Dot grid */
.section-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.mega-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 11vw, 9rem);
    line-height: 0.92;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.04em;
}

.line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    animation: slideUp 1s var(--ease) forwards;
}
.line-1 { animation-delay: 0.1s; }
.line-2 { animation-delay: 0.2s; }
.line-3 { animation-delay: 0.35s; }

.highlight {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent-lighter));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.05em;
    display: inline-block;
}

.hero-sub {
    max-width: 420px;
    margin-left: auto;
    opacity: 0;
    animation: fadeIn 1s var(--ease) 0.7s forwards;
    position: relative;
    z-index: 1;
}

.hero-sub p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-dark);
    color: var(--text-invert);
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.btn-hero:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-hero svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}
.btn-hero:hover svg { transform: translateX(4px); }

/* Floating UI elements */
.float-ui {
    position: absolute;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    z-index: 2;
    transition: transform 0.1s linear;
}

.ui-chat { top: 18%; right: 8%; width: 260px; transform: rotate(-4deg); }
.ui-stat { bottom: 14%; left: 8%; }

.chat-bubble, .chat-reply {
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.chat-bubble { background: #f1f5f9; }
.chat-reply { background: var(--accent); color: #fff; }

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* =============================================
   Social Proof Strip
   ============================================= */
.section-logos {
    padding: 4rem 4vw;
    border-bottom: 1px solid var(--border-light);
}

.logos-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logos-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    font-weight: 600;
    white-space: nowrap;
}

.logo-text-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d1d5db;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}
.logo-text-item:hover { color: var(--text-muted); }

/* =============================================
   Metrics / Stats Bar
   ============================================= */
.section-metrics {
    padding: 5rem 4vw;
    background: var(--bg-dark);
    color: var(--text-invert);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.metric-card {}

.metric-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.metric-number .accent-text {
    color: var(--accent-lighter);
}

.metric-desc {
    font-size: 0.82rem;
    color: var(--text-faint);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* =============================================
   Horizontal Scroll Features
   ============================================= */
.section-horizontal {
    /* Height is set dynamically by JS based on container width */
    height: 300vh; /* Fallback if JS hasn't loaded */
    position: relative;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--bg-alt);
}

.horizontal-container {
    display: flex;
    gap: 3vw;
    padding-left: 4vw;
    padding-right: 4vw;
    will-change: transform;
}

.h-card {
    min-width: 38vw;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.title-card h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.scroll-hint {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.feature-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.card-visual {
    height: 60%;
    position: relative;
    overflow: hidden;
}

.visual-analyze {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 40%, #a5b4fc 100%);
}
.visual-integration {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
}
.visual-automation {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
}
.visual-templates {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #f9a8d4 100%);
}
.visual-stock {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 50%, #fca5a5 100%);
}

/* Animated shapes inside card visuals */
.card-visual::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseShape 4s ease-in-out infinite;
}

@keyframes pulseShape {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.15; }
}

.step-idx {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    opacity: 0.06;
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
}

.card-text {
    padding: 2.5rem;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-text h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.card-text p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* =============================================
   Impact / Quote Section
   ============================================= */
.section-impact {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4vw;
    background: var(--bg-dark);
    color: var(--text-invert);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient orbs */
.section-impact::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2), transparent 60%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}
.section-impact::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 60%);
    bottom: -120px;
    left: -80px;
    pointer-events: none;
}

.impact-text-wrapper {
    position: relative;
    z-index: 1;
}

.impact-text {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    text-align: center;
    line-height: 1.3;
    max-width: 1100px;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.text-reveal {
    color: var(--accent-lighter);
    font-weight: 600;
    font-style: italic;
}

/* =============================================
   Integrations Section
   ============================================= */
.section-integrations {
    padding: 8rem 4vw;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-heading p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}
.integration-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}

.int-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.int-info { display: flex; flex-direction: column; }
.int-name { font-weight: 600; font-size: 0.92rem; }
.int-status { font-size: 0.72rem; color: var(--text-faint); margin-top: 1px; }
.int-status.active { color: #10b981; }
.int-status.soon { color: #f59e0b; }

@media (max-width: 768px) {
    .integrations-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Testimonials
   ============================================= */
.section-testimonials {
    padding: 8rem 4vw;
    background: var(--bg-alt);
}

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

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.tc-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}
.tc-stars svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
}

.tc-text {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    color: #fff;
}

.tc-info { display: flex; flex-direction: column; }
.tc-name { font-weight: 600; font-size: 0.88rem; }
.tc-role { font-size: 0.72rem; color: var(--text-faint); }

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Pricing
   ============================================= */
.section-pricing {
    padding: 8rem 4vw;
}

.section-pricing .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.03em;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 4rem;
}

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

.pricing-col {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    transition: all 0.35s var(--ease);
    position: relative;
}
.pricing-col:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.pricing-col.featured {
    background: var(--bg-dark);
    color: var(--text-invert);
    border-color: transparent;
    transform: scale(1.04);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.pricing-col.featured:hover {
    transform: scale(1.06) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.plan-period {
    font-size: 0.82rem;
    color: var(--text-faint);
    margin-bottom: 2rem;
}
.pricing-col.featured .plan-period { color: #94a3b8; }

.plan-features {
    margin-bottom: 2rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    color: var(--text-body);
}
.pricing-col.featured .plan-features li { color: #cbd5e1; }

.plan-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.plan-features li .check { color: var(--accent-lighter); }
.plan-features li .x { color: #cbd5e1; }
.pricing-col.featured .plan-features li .x { color: #475569; }

.btn-price {
    display: block;
    text-align: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    border: 1px solid currentColor;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s var(--ease);
    color: inherit;
}
.btn-price:hover { opacity: 0.8; transform: translateY(-1px); }

.btn-price.primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.btn-price.primary:hover { box-shadow: 0 4px 16px rgba(255,255,255,0.2); }

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-col.featured { transform: none; }
    .pricing-col.featured:hover { transform: translateY(-4px); }
}

/* =============================================
   FAQ
   ============================================= */
.section-faq {
    padding: 8rem 4vw;
    background: var(--bg-alt);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--border-hover); }

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-faint);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* =============================================
   CTA Section
   ============================================= */
.section-cta {
    padding: 8rem 4vw 10rem;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    color: var(--text-invert);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3), transparent 60%);
    top: -180px;
    right: -80px;
    pointer-events: none;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: var(--text-faint);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #e2e8f0;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.15);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}
.btn-cta-ghost:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

@media (max-width: 480px) {
    .cta-box { padding: 3.5rem 1.5rem; }
    .cta-actions { flex-direction: column; align-items: center; }
}

/* =============================================
   Footer
   ============================================= */
.footer-minimal {
    padding: 3rem 4vw;
    border-top: 1px solid var(--border);
}

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

.logo-footer {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-faint);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.socials {
    display: flex;
    gap: 1.5rem;
}
.socials a {
    color: var(--text-faint);
    transition: color 0.2s;
    font-size: 0.85rem;
}
.socials a:hover { color: var(--text); }

.copyright {
    font-size: 0.78rem;
    color: var(--text-faint);
}

@media (max-width: 768px) {
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* =============================================
   Animations
   ============================================= */
@keyframes slideUp {
    to { transform: translateY(0); opacity: 1; }
}

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

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger */
.stagger > [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.stagger > [data-reveal]:nth-child(2) { transition-delay: 60ms; }
.stagger > [data-reveal]:nth-child(3) { transition-delay: 120ms; }
.stagger > [data-reveal]:nth-child(4) { transition-delay: 180ms; }
.stagger > [data-reveal]:nth-child(5) { transition-delay: 240ms; }
.stagger > [data-reveal]:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none !important; transition: none !important; }
    .line { transform: none; opacity: 1; animation: none; }
    .hero-sub { opacity: 1; animation: none; }
    .hero-bg-anim { animation: none; }
}

/* Magnetic button */
.magnetic-btn {
    will-change: transform;
    transition: transform 0.3s var(--ease-spring);
}

/* =============================================
   Legal Content (Privacy & Terms pages)
   ============================================= */
.legal-hero {
    padding: 8rem 4vw 3rem;
}
.legal-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 4vw 6rem;
}
.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content li {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}
.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}
.legal-content a { color: var(--accent); font-weight: 500; }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text); font-weight: 600; }

/* =============================================
   Mobile Horizontal Fallback
   ============================================= */
@media (max-width: 768px) {
    .section-hero { padding: 0 6vw; }
    .mega-title { font-size: clamp(2.5rem, 14vw, 5rem); }
    .float-ui { display: none; }
    .section-hero::after { display: none; }

    .section-horizontal { height: auto; }
    .sticky-wrapper { position: relative; height: auto; display: block; background: var(--bg-alt); padding: 4rem 0; }
    .horizontal-container { flex-direction: column; padding: 0 6vw; gap: 2rem; }
    .h-card { width: 100%; min-width: 0; height: auto; }
    .title-card h2 { font-size: 2rem; }
    .feature-card { min-height: 400px; }
    .scroll-hint { display: none; }

    .cta-box { border-radius: var(--radius-lg); }
}
