/* ============================================
   SPLITFAST DESIGN SYSTEM
   ============================================ */
:root {
    /* Colors */
    --sf-black: #0a0a0a;
    --sf-dark: #1a1a2e;
    --sf-navy: #16213e;
    --sf-blue: #0f3460;
    --sf-accent: #e94560;
    --sf-accent-hover: #d63851;
    --sf-teal: #00b4d8;
    --sf-teal-light: #90e0ef;
    --sf-white: #ffffff;
    --sf-off-white: #f8f9fa;
    --sf-light-gray: #e9ecef;
    --sf-mid-gray: #6c757d;
    --sf-text: #2b2d42;
    --sf-text-light: #555b6e;
    --sf-green: #06d6a0;

    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    /* Spacing */
    --section-pad: clamp(4rem, 8vw, 7rem);
    --container-width: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--sf-text);
    background: var(--sf-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sf-accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--sf-dark);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--sf-text-light);
    max-width: 600px;
    line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--sf-accent);
    color: var(--sf-white);
}

.btn-primary:hover {
    background: var(--sf-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background: var(--sf-white);
    color: var(--sf-dark);
    border: 2px solid var(--sf-light-gray);
}

.btn-secondary:hover {
    border-color: var(--sf-dark);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--sf-white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--sf-white);
}

.btn-arrow::after {
    content: '→';
    transition: transform 0.3s var(--ease-out);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 0.6rem 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--sf-white);
    transition: color 0.4s;
}

.nav.scrolled .nav-logo {
    color: var(--sf-dark);
}

.nav-logo-img {
    height: 40px;
    width: auto;
    transition: height 0.4s var(--ease-out);
}

.nav-logo-dark {
    display: none;
}

.nav.scrolled .nav-logo-light {
    display: none;
}

.nav.scrolled .nav-logo-dark {
    display: block;
}

.nav.scrolled .nav-logo-img {
    height: 34px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}

.nav.scrolled .nav-links a {
    color: var(--sf-text-light);
}

.nav-links a:hover {
    color: var(--sf-white);
}

.nav.scrolled .nav-links a:hover {
    color: var(--sf-dark);
}

.nav-cta {
    padding: 0.6rem 1.25rem !important;
    background: var(--sf-accent) !important;
    color: var(--sf-white) !important;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

.nav-cta:hover {
    background: var(--sf-accent-hover) !important;
    color: var(--sf-white) !important;
}

/* Active navigation state */
.nav-links a.active:not(.nav-cta) {
    font-weight: 600;
    position: relative;
}

.nav-links a.active:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sf-accent);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--sf-white);
    transition: all 0.3s;
}

.nav.scrolled .nav-toggle span {
    background: var(--sf-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--sf-dark) 0%, var(--sf-navy) 40%, var(--sf-blue) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.4), transparent);
    pointer-events: none;
}

/* Subtle grid pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 8rem 1.5rem 6rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 69, 96, 0.15);
    border: 1px solid rgba(233, 69, 96, 0.25);
    color: var(--sf-accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    background: var(--sf-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.08;
    color: var(--sf-white);
    max-width: 720px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s 0.1s var(--ease-out) both;
}

.hero h1 em {
    font-style: italic;
    color: var(--sf-teal-light);
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s 0.2s var(--ease-out) both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s 0.3s var(--ease-out) both;
}

/* Hero stats strip */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.8s 0.4s var(--ease-out) both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--sf-white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.35rem;
    letter-spacing: 0.02em;
}

/* ============================================
   AUDIENCE SPLIT SECTION
   ============================================ */
.audience-split {
    padding: var(--section-pad) 0;
    background: var(--sf-off-white);
}

.audience-split .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.audience-split .section-subtitle {
    margin: 0 auto;
}

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

.split-card {
    background: var(--sf-white);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    border: 1px solid var(--sf-light-gray);
}

.split-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.split-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.split-card:nth-child(1) .split-card-icon {
    background: linear-gradient(135deg, #e94560, #ff6b81);
}

.split-card:nth-child(2) .split-card-icon {
    background: linear-gradient(135deg, #0f3460, #00b4d8);
}

.split-card-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.split-card h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: var(--sf-dark);
    margin-bottom: 0.75rem;
}

.split-card p {
    color: var(--sf-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.split-card-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.split-card-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--sf-text);
    border-bottom: 1px solid var(--sf-off-white);
}

.split-card-benefits li:last-child {
    border-bottom: none;
}

.split-card-benefits .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.split-card-benefits .check svg {
    width: 12px;
    height: 12px;
    color: white;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--sf-white);
}

.how-it-works .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.how-it-works .section-subtitle {
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--sf-light-gray), var(--sf-teal), var(--sf-light-gray));
    z-index: 0;
}

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

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sf-white);
    border: 2px solid var(--sf-teal);
    color: var(--sf-teal);
    font-family: var(--font-display);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.step h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sf-dark);
    margin-bottom: 0.4rem;
}

.step p {
    font-size: 0.82rem;
    color: var(--sf-text-light);
    line-height: 1.5;
}

/* ============================================
   SYSTEM OVERVIEW
   ============================================ */
.system-overview {
    padding: var(--section-pad) 0;
    background: var(--sf-off-white);
}

.system-overview .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.system-overview .section-subtitle {
    margin: 0 auto;
}

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

.system-card {
    background: var(--sf-white);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--sf-light-gray);
    transition: all 0.3s var(--ease-out);
}

.system-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.system-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sf-dark), var(--sf-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.system-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--sf-teal-light);
}

.system-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sf-dark);
    margin-bottom: 0.5rem;
}

.system-card p {
    font-size: 0.85rem;
    color: var(--sf-text-light);
    line-height: 1.6;
}

/* ============================================
   KITS / CHOOSE YOUR SETUP
   ============================================ */
.kits {
    padding: var(--section-pad) 0;
    background: var(--sf-white);
}

.kits .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.kits .section-subtitle {
    margin: 0 auto;
}

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

.kit-card {
    border: 2px solid var(--sf-light-gray);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.kit-card:hover {
    border-color: var(--sf-teal);
    box-shadow: 0 12px 40px rgba(0, 180, 216, 0.1);
}

.kit-card.featured {
    border-color: var(--sf-accent);
    background: linear-gradient(to bottom, rgba(233, 69, 96, 0.02), var(--sf-white));
}

.kit-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sf-accent);
    color: var(--sf-white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
}

.kit-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--sf-dark);
    margin-bottom: 0.35rem;
}

.kit-for {
    font-size: 0.82rem;
    color: var(--sf-mid-gray);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.kit-price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--sf-dark);
    margin-bottom: 0.25rem;
}

.kit-price-note {
    font-size: 0.78rem;
    color: var(--sf-mid-gray);
    margin-bottom: 1.5rem;
}

.kit-divider {
    height: 1px;
    background: var(--sf-light-gray);
    margin-bottom: 1.5rem;
}

.kit-includes {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.kit-includes li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--sf-text);
}

.kit-includes li svg {
    width: 16px;
    height: 16px;
    color: var(--sf-green);
    flex-shrink: 0;
}

.kit-card .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   TRUST / PROOF SECTION
   ============================================ */
.trust {
    padding: var(--section-pad) 0;
    background: linear-gradient(135deg, var(--sf-dark), var(--sf-navy));
    color: var(--sf-white);
}

.trust .section-label {
    color: var(--sf-teal-light);
}

.trust .section-title {
    color: var(--sf-white);
}

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

.trust-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.trust-point {
    display: flex;
    gap: 1.25rem;
}

.trust-point-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-point-icon svg {
    width: 22px;
    height: 22px;
    color: var(--sf-teal-light);
}

.trust-point h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.trust-point p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.trust-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.trust-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--sf-teal-light);
    line-height: 1;
}

.trust-stat-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-pad) 0;
    background: var(--sf-off-white);
    text-align: center;
}

.cta-section .section-title {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .section-subtitle {
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--sf-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    height: 36px;
    width: auto;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h5 {
    color: var(--sf-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--sf-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Scroll-triggered fade in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .system-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .trust-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .split-cards {
        grid-template-columns: 1fr;
    }

    .kits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
        gap: 2rem;
    }

    .system-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

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