/* ========================================
   FocalBrief - Deep Interest Profile
   Mobile-first responsive design
   ======================================== */

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

:root {
    /* Colors */
    --color-bg: #010101;
    --color-bg-dark: #0c1214;
    --color-bg-gradient-start: #161c1e;
    --color-bg-gradient-end: #000000;
    
    --color-primary: #1B9FF7;
    --color-primary-light: rgba(27, 159, 247, 0.1);
    --color-accent: #28BE50;
    
    --color-white: #ffffff;
    --color-text-100: rgba(255, 255, 255, 1);
    --color-text-90: rgba(255, 255, 255, 0.9);
    --color-text-80: rgba(255, 255, 255, 0.8);
    --color-text-70: rgba(255, 255, 255, 0.7);
    --color-text-60: rgba(255, 255, 255, 0.6);
    --color-text-50: rgba(255, 255, 255, 0.5);
    --color-text-40: rgba(255, 255, 255, 0.4);
    --color-text-30: rgba(255, 255, 255, 0.3);
    
    --color-border: rgba(255, 255, 255, 0.5);
    --color-border-light: rgba(255, 255, 255, 0.2);
    --color-border-subtle: rgba(255, 255, 255, 0.1);
    
    --color-card: rgba(50, 52, 57, 0.8);
    --color-card-lighter: rgba(50, 52, 57, 0.7);
    --color-card-overlay: rgba(70, 72, 77, 0.7);
    
    /* Typography */
    --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;
    
    /* Mobile container padding */
    --container-padding: 20px;
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text-80);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container - Mobile First */
.container {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    line-height: 19px;
    letter-spacing: -0.13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    position: relative;
    height: 38px;
    padding: 0 16px;
    /* 3-layer fill from Figma: 
       - Linear gradient at 10% (top highlight)
       - White at 5% (subtle overlay)
       - Base blue #1B9FF7 at 100% */
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%),
        linear-gradient(180deg, #1B9FF7 0%, #1B9FF7 100%);
    border: none;
    color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    isolation: isolate;
}

/* Gradient border at 15% opacity - creates the sweet edge effect */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 0.5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(27, 159, 247, 0.3);
}

.btn-ghost {
    height: 28px;
    padding: 0 12px;
    background: transparent;
    border: 0.5px solid var(--color-border-light);
    color: var(--color-text-70);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.btn-sm {
    height: 28px;
    padding: 0 12px;
    border-radius: 6px; /* Exact Figma spec */
}

.btn-block {
    width: 100%;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px var(--container-padding);
    max-width: 375px;
    margin: 0 auto;
}

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

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

.logo-icon {
    width: 25px;
    height: 18px;
}

.logo-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: -0.42px;
    color: var(--color-white);
}

.logo-focal {
    color: rgba(255, 255, 255, 0.75);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-menu {
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.btn-menu span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--color-white);
    opacity: 0.7;
}

.header-divider {
    height: 0.5px;
    background: var(--color-border-subtle);
    width: 100%;
}

.header-divider-dark {
    height: 0.5px;
    background: var(--color-border-subtle);
}

/* Sticky header with blur on scroll */
.header.header-scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px var(--container-padding);
    max-width: 375px;
    margin: 0 auto;
}

.header-sub-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: -0.48px;
    color: var(--color-white);
}

/* ========================================
   SECTION BASE
   ======================================== */
.section {
    position: relative;
}

.section-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.84px;
    color: var(--color-text-80);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.section-title-center {
    text-align: center;
}

.section-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-text-50);
    max-width: 540px;
}

.text-muted {
    color: var(--color-text-40);
}

/* ========================================
   SECTION: HERO
   ======================================== */
.section-hero {
    padding-top: 154px; /* 40px more gap between header and content */
    min-height: 812px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 812px;
    background: linear-gradient(180deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
    z-index: -1;
}

.hero-content {
    margin-bottom: var(--space-2xl);
}

.hero-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -1.2px;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.hero-description {
    font-size: 15px;
    font-weight: 300;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-text-60);
    margin-bottom: var(--space-lg);
}

.hero-right {
    display: block;
}

.hero-cta-desktop {
    display: none;
}

.hero-cta-mobile {
    display: inline-flex;
}

/* Hero Features - 2x2 grid on mobile, 1 row on desktop */
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-md);
    margin-top: var(--space-xl);
}

.hero-features-col {
    display: contents; /* Allow grid to control layout */
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0.6;
    font-size: 13px;
}

.feature-check span {
    white-space: normal; /* Allow wrapping on mobile */
}

.feature-check-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.feature-check span {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: -0.13px;
    color: var(--color-text-90);
}

/* Hero Images */
.hero-images {
    position: relative;
    margin-top: var(--space-2xl);
    height: 335px;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 -6px 11px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hero-img-main {
    width: 100%;
    top: 0;
}

.hero-images-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(1, 1, 1, 0) 0%, var(--color-bg) 100%);
}

/* ========================================
   SECTION: HOW IT WORKS
   ======================================== */
.section-how-it-works {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.section-how-it-works .section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* Mobile Step Indicators */
.steps-indicator-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3xl);
    margin-bottom: var(--space-lg);
    position: relative;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    transition: opacity 0.2s ease;
}

.step-marker:hover .step-number {
    opacity: 0.6;
}

.step-marker-active:hover .step-number {
    opacity: 1;
}

.step-number {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.2px;
    color: var(--color-white);
    opacity: 0.3;
}

.step-marker-active .step-number {
    opacity: 1;
}

.steps-progress-bar {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.steps-progress-fill {
    width: 33%;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    box-shadow: 0 0 6px 2px rgba(27, 159, 247, 0.25);
}

/* Desktop step number (hidden on mobile) */
.step-number-desktop {
    display: none;
}

/* How Card Container */
.how-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden; /* Clip mockup image by container */
}

.how-card-bg {
    position: absolute;
    inset: 0;
    background: rgba(236, 254, 255, 0.07);
    border-radius: var(--radius-xl);
}

/* Vertical Progress Line Container */
.steps-progress-vertical {
    display: none; /* Hidden on mobile */
}

.how-steps-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.how-card-left {
    position: relative;
    z-index: 1;
}

/* Mobile: Show all step content stacked */
/* Mobile: Only show active step card */
.how-step-row {
    display: none;
}

.how-step-row.how-step-row-active {
    display: block;
}

.how-step-text-card {
    position: relative;
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    margin: 0;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Active card - Figma: #000000 5%, #323439 80%, Stroke Linear 15%, Drop shadow */
.how-step-text-card.active-card {
    position: relative;
    padding: var(--space-md) var(--space-lg); /* Restore padding for active card */
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(180deg, rgba(50, 52, 57, 0.8) 0%, rgba(50, 52, 57, 0.8) 100%);
    border: none;
    box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    isolation: isolate;
}

/* Active card border gradient */
.how-step-text-card.active-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 0.5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}


.how-card-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.15px;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.how-card-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: -0.13px;
    color: var(--color-text-50);
}

/* Device Mockup - Mobile */
.how-card-mockup {
    position: relative;
    margin-top: var(--space-lg);
    padding: 0 20px;
}

.how-card-mockup-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.how-card-mockup-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.mockup-device {
    width: 480px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.mockup-screen {
    background: var(--color-bg-dark);
    border: 5px solid #292a2e;
    border-radius: 11px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.mockup-bg-glow {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    opacity: 0.7;
    pointer-events: none;
}

.mockup-header {
    margin-bottom: 15px;
}

.mockup-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mockup-logo span {
    font-size: 9px;
    font-weight: 700;
    color: var(--color-white);
}

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

.mockup-greeting {
    font-size: 10px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2px;
}

.mockup-title {
    font-size: 13px;
    font-weight: 200;
    color: var(--color-white);
    margin-bottom: 6px;
}

.mockup-desc {
    font-size: 6px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 10px;
}

.mockup-divider {
    height: 0.5px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.mockup-section-title {
    font-size: 8px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 3px;
}

.mockup-section-desc {
    font-size: 5px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 8px;
}

.mockup-upload-cards {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mockup-upload-card {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 6px;
    background: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(90deg, rgba(50, 52, 57, 0.8) 0%, rgba(50, 52, 57, 0.8) 100%);
    border: 0.2px solid rgba(255, 255, 255, 1);
    border-radius: 4px;
}

.mockup-upload-icon {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}

.browser-icon {
    background: linear-gradient(180deg, #3b80e7 0%, #0026ff 100%);
}

.gmail-icon {
    background: linear-gradient(180deg, #0fc0fa 0%, #0070ff 100%);
}

.mockup-upload-info {
    flex: 1;
    min-width: 0;
}

.mockup-upload-title {
    display: block;
    font-size: 6px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 2px;
}

.mockup-upload-desc {
    display: block;
    font-size: 5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

.mockup-upload-btn {
    padding: 3px 7px;
    background: 
        linear-gradient(180deg, rgba(23, 7, 82, 0.1) 1.32%, rgba(90, 255, 250, 0.1) 98.68%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%),
        var(--color-primary);
    border: 0.2px solid rgba(255, 255, 255, 1);
    border-radius: 2px;
    font-size: 5px;
    font-weight: 700;
    color: var(--color-white);
    white-space: nowrap;
}

/* ========================================
   SECTION: PRIVACY
   ======================================== */
.section-privacy {
    padding: var(--space-3xl) 0;
}

.privacy-content {
    margin-bottom: var(--space-lg);
}

.privacy-content .section-title {
    margin-bottom: var(--space-md);
}

.compliance-section {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.compliance-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.compliance-text {
    font-size: 15px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-text-50);
    margin-bottom: var(--space-lg);
    max-width: 540px;
}

.compliance-badges {
    display: flex;
    gap: 13px;
}

.compliance-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-badge img {
    height: 60px;
    width: auto;
    opacity: 0.8;
}

.compliance-badge span {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-70);
    text-align: center;
}

/* ========================================
   SECTION: CTA
   ======================================== */
.section-cta {
    position: relative;
    padding: 80px 0 var(--space-3xl);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.cta-bg-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, var(--color-bg) 0%, transparent 100%);
}

.cta-bg-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 237px;
    background: linear-gradient(180deg, transparent 0%, var(--color-bg) 73%);
}

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

.cta-subtitle {
    font-size: 28px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.84px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.84px;
    color: var(--color-text-80);
    text-shadow: 0 0 36px rgba(0, 0, 0, 0.75);
    margin-bottom: var(--space-md);
}

.cta-description {
    font-size: 15px;
    font-weight: 300;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-text-60);
    text-shadow: 0 0 36px rgba(0, 0, 0, 0.75);
    margin-bottom: var(--space-lg);
}

/* Pricing Card - Exact Figma styles */
/* Pricing Card - Figma: Linear 60%, Linear 70%, Stroke Linear 35% 0.5px */
.pricing-card {
    position: relative;
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: none;
    /* Fill: Linear 60% (top) + Linear 70% (base) */
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(180deg, rgba(70, 72, 77, 0.7) 0%, rgba(50, 52, 57, 0.7) 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Stroke: Linear gradient 35% opacity, 0.5px inside */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 0.5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.pricing-features .feature-check {
    opacity: 1;
}

.pricing-price {
    padding: var(--space-sm) 0;
    margin-bottom: var(--space-md);
}

.price-amount {
    font-size: 52px;
    font-weight: 100;
    line-height: 52px;
    letter-spacing: -0.52px;
    color: var(--color-white);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.pricing-note {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: -0.13px;
    color: var(--color-white);
    opacity: 0.6;
}

/* ========================================
   SECTION: STATS
   ======================================== */
.section-stats {
    padding: var(--space-3xl) 0;
}

.stats-intro {
    margin-bottom: var(--space-lg);
}

.stats-intro .section-title {
    margin-bottom: var(--space-md);
}

/* Stats Grid - Same style as FAQ open: #000 5%, #323439 80%, Linear stroke 15% */
.stats-grid {
    position: relative;
    border-radius: var(--radius-xl);
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(180deg, rgba(50, 52, 57, 0.8) 0%, rgba(50, 52, 57, 0.8) 100%);
    overflow: hidden;
    isolation: isolate;
}

.stats-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 0.5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.stat-card {
    padding: 12px var(--space-lg);
    transition: background 0.2s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.5px;
    color: var(--color-white);
    opacity: 0.5;
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--space-lg);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.stat-value {
    font-size: 48px;
    font-weight: 100;
    line-height: 48px;
    letter-spacing: -0.48px;
    color: var(--color-white);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.stat-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-text-60);
    text-shadow: 0 0 36px rgba(0, 0, 0, 0.75);
}

.stat-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 0.5px solid var(--color-border-subtle);
}

/* ========================================
   SECTION: FAQ
   ======================================== */
.section-faq {
    padding: var(--space-3xl) 0;
}

.section-faq .section-title {
    margin-bottom: var(--space-2xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 17px;
    font-weight: 400;
    line-height: 25px;
    color: var(--color-white);
    flex: 1;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-70);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.25s ease;
}

.faq-answer p {
    font-size: 15px;
    font-weight: 300;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-white);
    opacity: 0.8;
}

/* FAQ Open - Figma: #000000 5%, #323439 80%, Stroke Linear 15%, Drop shadow */
.faq-item-open {
    position: relative;
    /* Fill: #000000 5% + #323439 80% */
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(180deg, rgba(50, 52, 57, 0.8) 0%, rgba(50, 52, 57, 0.8) 100%);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    isolation: isolate;
}

/* Stroke: Linear gradient 15% opacity */
.faq-item-open::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 0.5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.faq-item-open .faq-question {
    padding-top: 12px;
}

.faq-item-open .faq-answer {
    max-height: 200px;
    padding-bottom: 12px;
    opacity: 1;
}

/* Use border-bottom for dividers - not on last item */
.faq-item:not(:last-child) {
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    position: relative;
}

/* Dot grid pattern - 2px dots, 4px spacing */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 6px 6px;
    z-index: 0;
}

/* Gradient overlay on top of dots */
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-bg) 35.6%, #151719 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.footer-actions {
    display: flex;
    gap: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links-title {
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0.13px;
    color: var(--color-text-30);
    margin-bottom: 0;
}

.footer-links-group a {
    font-size: 13px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: -0.13px;
    color: var(--color-text-70);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: var(--color-white);
}

.footer-link-special {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-link-special svg {
    width: 16px;
    height: 16px;
}

.footer-newsletter {
    margin-bottom: var(--space-lg);
    margin-top: var(--space-2xl);
}

.footer-divider-line {
    display: none; /* Hidden - remove divider above subscribe */
}

.footer-newsletter-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: -0.15px;
    color: var(--color-white);
    margin-bottom: 12px;
}

/* Newsletter form - Same style as FAQ open: #000 5%, #323439 80%, Linear stroke 15% */
.newsletter-form {
    position: relative;
    display: flex;
    height: 32px;
    gap: var(--space-sm);
}

.newsletter-input-wrapper {
    flex: 1;
    position: relative;
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(180deg, rgba(50, 52, 57, 0.8) 0%, rgba(50, 52, 57, 0.8) 100%);
    border-radius: var(--radius-sm);
}

.newsletter-input {
    width: 100%;
    height: 100%;
    padding: 0 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: -0.13px;
    color: var(--color-white);
    outline: none;
}

.newsletter-input-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    padding: 0.5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.newsletter-input::placeholder {
    color: var(--color-white);
    opacity: 0.2;
}

/* Subscribe button - Same border style as Start Test (gradient 15% opacity) */
.newsletter-form .btn {
    position: relative;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-70);
    overflow: hidden;
    isolation: isolate;
}

.newsletter-form .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 0.5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 13px;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: -0.13px;
    color: var(--color-text-80);
    text-decoration: none;
    text-shadow: 0 0 36px rgba(0, 0, 0, 0.75), 0 0 60px rgba(0, 0, 0, 0.75);
}

.footer-legal-divider {
    display: none;
}

.footer-lang {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 13px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: -0.13px;
    color: var(--color-text-70);
}

.footer-lang svg {
    width: 16px;
    height: 16px;
}

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

.footer-company {
    font-size: 13px;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: -0.13px;
    color: var(--color-text-80);
    text-shadow: 0 0 36px rgba(0, 0, 0, 0.75), 0 0 60px rgba(0, 0, 0, 0.75);
}

.footer-copyright {
    font-size: 13px;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: -0.13px;
    color: var(--color-text-30);
    text-shadow: 0 0 36px rgba(0, 0, 0, 0.75), 0 0 60px rgba(0, 0, 0, 0.75);
}

.footer-version {
    font-size: 12px;
    color: var(--color-text-30);
    opacity: 0;
    transition: opacity 0.2s;
}

.footer:hover .footer-version {
    opacity: 1;
}

/* ========================================
   DESKTOP STYLES (1440px+)
   ======================================== */
@media (min-width: 1024px) {
    :root {
        --container-padding: 240px;
    }
    
    .container {
        max-width: 1440px;
    }
    
    /* Header Desktop */
    .header-main {
        max-width: 1440px;
        padding: 12px var(--container-padding);
    }
    
    .btn-menu {
        display: none;
    }
    
    .header-divider {
        width: 100%;
        max-width: none;
    }
    
    .header-sub {
        max-width: 1440px;
        padding: 12px var(--container-padding);
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-icon {
        width: 29px;
        height: 20px;
    }
    
    .logo-text {
        font-size: 16px;
        line-height: 16px;
        letter-spacing: -0.48px;
    }
    
    .btn-ghost {
        height: 32px;
    }
    
    /* Hero Desktop */
    .section-hero {
        padding-top: 97px;
        min-height: 967px;
    }
    
    .section-hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        display: flex;
        gap: var(--space-md);
        margin-bottom: var(--space-2xl);
        padding: 64px 0 0; /* Added padding top */
    }
    
    .hero-title {
        font-size: 52px;
        line-height: 58px;
        letter-spacing: -2.08px;
        flex: 1;
    }
    
    .hero-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    
    .hero-description {
        font-size: 17px;
        line-height: 25px;
        letter-spacing: -0.17px;
        margin-bottom: 0;
    }
    
    .hero-cta-desktop {
        display: flex;
        margin-top: var(--space-md);
    }
    
    .hero-cta-mobile {
        display: none;
    }
    
    .hero-features {
        display: flex;
        flex-direction: row;
        gap: var(--space-lg);
        margin-top: var(--space-md);
    }
    
    .hero-features-col {
        display: contents;
    }
    
    .feature-check {
        white-space: nowrap;
    }
    
    .hero-images {
        height: 550px;
        margin-top: var(--space-xl);
    }
    
    .hero-img-main {
        width: 130%; /* Extends beyond container */
    }
    
    /* Section Titles Desktop */
    .section-title {
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -1.2px;
    }
    
    /* How It Works Desktop */
    .section-how-it-works {
        padding: calc(var(--space-3xl) * 2) 0 0; /* Double top padding */
        overflow: visible; /* Allow mockup to extend */
        margin-bottom: 80px; /* Add margin instead */
    }
    
    .section-how-it-works .section-title {
        text-align: left;
        margin-bottom: var(--space-xl);
    }
    
    /* Hide mobile step indicators on desktop */
    .steps-indicator-mobile {
        display: none;
    }
    
    .how-card {
        display: flex;
        min-height: auto; /* No min-height - let content determine */
        border-radius: 16px;
        position: relative;
        padding: var(--space-xl);
        padding-bottom: var(--space-xl); /* Add bottom padding for cards */
        overflow: hidden; /* Clip mockup by container */
    }
    
    .how-card-left {
        display: flex;
        flex-direction: row;
        width: 460px;
        flex-shrink: 0;
        position: relative;
    }
    
    /* Vertical Progress Line - spans full height of steps */
    .steps-progress-vertical {
        display: block;
        position: relative;
        width: 2px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        flex-shrink: 0;
        margin-right: var(--space-lg);
    }
    
    .steps-progress-active-segment {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto; /* Dynamic height based on card */
        background: var(--color-primary);
        border-radius: 2px;
        box-shadow: 0 0 12px 3px rgba(27, 159, 247, 0.5);
        transition: transform 0.3s ease, height 0.3s ease;
    }
    
    .how-steps-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        flex: 1;
    }
    
    /* Desktop: Show all step rows */
    .how-step-row {
        display: flex;
        align-items: flex-start;
        gap: 0;
        padding: 0;
    }
    
    .how-step-row.how-step-row-active {
        display: flex;
    }
    
    .step-number-desktop {
        display: none; /* Hidden - removed step numbers */
    }
    
    .how-step-text-card {
        flex: 1;
        margin: 0;
    }
    
    .how-card-mockup {
        position: absolute;
        top: 0;
        bottom: -60px;
        right: -40px;
        left: 400px;
        padding: 0;
        margin: 0;
        overflow: visible;
    }
    
    .how-card-mockup-img {
        width: 480px;
        height: auto;
        position: absolute;
        bottom: -40px;
        left: 110px;
        display: block;
        border-radius: 24px;
    }
    
    /* Privacy Desktop */
    .section-privacy {
        padding: 60px 0;
    }
    
    .privacy-content {
        max-width: 900px; /* Same as CTA section */
    }
    
    .compliance-section {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
        max-width: 900px; /* Same as CTA section */
    }
    
    .compliance-content {
        flex: 1;
    }
    
    .compliance-text {
        margin-bottom: 0;
    }
    
    /* CTA Desktop */
    .section-cta {
        padding: 120px 0;
    }
    
    .cta-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2xl);
        max-width: 900px; /* Wider to fit 3 lines */
    }
    
    .cta-text {
        flex: 1;
        max-width: 520px; /* Wider to fit 3 lines */
    }
    
    .cta-subtitle,
    .cta-title {
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -1.2px;
    }
    
    .pricing-card {
        width: 305px;
        flex-shrink: 0;
    }
    
    /* Stats Desktop */
    .section-stats {
        padding: 60px 0;
    }
    
    .stats-intro {
        max-width: 470px;
    }
    
    .stats-grid {
        display: flex;
    }
    
    .stat-card {
        flex: 1;
        padding: var(--space-lg);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 323px;
    }
    
    .stat-content {
        padding-top: 120px; /* Align values at same distance from top */
    }
    
    .stat-divider {
        width: 1px;
        height: auto;
    }
    
    .stat-value {
        font-size: 72px;
        line-height: 72px;
        letter-spacing: -0.72px;
    }
    
    /* FAQ Desktop */
    .section-faq {
        padding: 60px 0;
    }
    
    .section-faq .container {
        display: flex;
        justify-content: space-between;
        gap: var(--space-xl);
    }
    
    .section-faq .section-title {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .faq-list {
        width: 591px;
    }
    
    .faq-question {
        padding: 12px 20px;
    }
    
    .faq-question span {
        font-size: 20px;
        line-height: 28px;
    }
    
    .faq-item-open .faq-question {
        padding-top: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item-open .faq-answer {
        padding-bottom: 16px;
    }
    
    /* Footer Desktop */
    .footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }
    
    .footer .container {
        display: grid;
        grid-template-columns: 228px 1fr;
        gap: var(--space-lg);
    }
    
    .footer-top {
        grid-column: 1;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        height: 100%;
        margin-bottom: 0;
    }
    
    .footer-actions {
        display: none;
    }
    
    .footer-links {
        grid-column: 2;
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--space-lg);
        margin-bottom: 0;
    }
    
    .footer-links-group {
        min-width: 143px;
    }
    
    .footer-newsletter {
        grid-column: 2;
        max-width: 470px;
    }
    
    .footer-bottom {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-legal {
        gap: var(--space-lg);
    }
    
    .footer-legal-divider {
        display: block;
        width: 1px;
        height: 12px;
        background: var(--color-text-40);
    }
    
    .footer-info {
        flex-direction: row;
        gap: var(--space-sm);
    }
    
    .footer-lang {
        order: -1;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --container-padding: 40px;
    }
    
    .container {
        max-width: 768px;
    }
    
    .header-main,
    .header-sub {
        max-width: 768px;
    }
    
    .hero-title {
        font-size: 46px;
        line-height: 52px;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-divider:nth-child(2) {
        display: none;
    }
    
    .stat-card:last-child {
        grid-column: 1 / -1;
    }
}
