/* =========================================
   PACT LANDING - Dark Indigo Theme
   ========================================= */

:root {
    /* Backgrounds */
    --pact-bg-primary: #0f0d1a;
    --pact-bg-secondary: #1e1a4d;
    --pact-bg-card: #17142d;
    --pact-bg-elevated: #201c3d;
    
    /* Primary accent */
    --pact-accent: #4f39f6;
    --pact-accent-hover: #6366f1;
    --pact-accent-muted: #615fff;
    --pact-accent-glow: rgba(79, 57, 246, 0.4);
    
    /* Text */
    --pact-text-primary: #ffffff;
    --pact-text-secondary: #a3b3ff;
    --pact-text-muted: #6b7280;
    
    /* Semantic */
    --pact-success: #10b981;
    --pact-danger: #ef4444;
    --pact-warning: #f59e0b;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
}

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

html {
    scroll-behavior: smooth;
}

/* Пропорциональное масштабирование для мобилок (320px = базовый) */
@media (max-width: 768px) {
    html {
        font-size: 4.1vw; /* 16px на 320px, масштабируется пропорционально */
    }
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--pact-bg-primary);
    color: var(--pact-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   SHIELD PATTERN BACKGROUND
   ========================================= */

.shield-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    display: none;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='140' viewBox='0 0 120 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 10L20 28V65C20 95 37 121 60 130C83 121 100 95 100 65V28L60 10Z' fill='%235b5fc7' stroke='%237c7fff' stroke-width='1'/%3E%3Cpath d='M60 25L35 37V65C35 85 47 103 60 110C73 103 85 85 85 65V37L60 25Z' fill='%234f46e5' fill-opacity='0.5'/%3E%3C/svg%3E");
    background-size: 130px 155px;
    background-position: center;
    animation: patternFloat 90s linear infinite;
}

.shield-pattern::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse 100% 100% at 80% 20%, rgba(99, 102, 241, 0.2) 0%, rgba(79, 57, 246, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.shield-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 70% 50% at 75% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 25% 75%, rgba(79, 57, 246, 0.1) 0%, transparent 50%);
}

@keyframes patternFloat {
    0% { background-position: 0 0; }
    100% { background-position: 180px 210px; }
}

/* Glow orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.glow-orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(79, 57, 246, 0.1) 40%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: float1 25s ease-in-out infinite;
}

.glow-orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
    bottom: 10%;
    left: -250px;
    animation: float2 30s ease-in-out infinite;
}

.glow-orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 57, 246, 0.18) 0%, transparent 60%);
    top: 40%;
    right: 5%;
    animation: float3 35s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -30px) scale(1.05); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
}

/* =========================================
   CONTAINER & UTILITIES
   ========================================= */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.highlight {
    color: var(--pact-accent-hover);
}

.highlight-indigo {
    color: var(--pact-accent-hover);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    font-family: 'Caveat', cursive;
    font-style: italic;
    font-size: 1.4em;
}

.highlight-orange {
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
}

.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.final-cta .section-title {
    margin-bottom: 32px;
}

.section-description {
    text-align: center;
    color: var(--pact-text-secondary);
    font-size: 1.125rem;
    max-width: 750px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* =========================================
   NAVIGATION
   ========================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--pact-bg-primary), transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--pact-text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--pact-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--pact-text-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--pact-accent);
    color: var(--pact-text-primary) !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 20px var(--pact-accent-glow);
}

.nav-cta:hover {
    background: var(--pact-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--pact-accent-glow);
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero-line {
    display: block;
    white-space: nowrap;
    margin-bottom: 0.1em;
}
.hero-line:nth-child(2) {
    margin-bottom: 0.2em;
}

.hero-title .br-desktop {
    display: none;
}

@media (min-width: 1025px) {
    .hero-title .br-desktop {
        display: block;
    }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.25rem);
    color: var(--pact-text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-description {
    color: var(--pact-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pact-accent);
    color: var(--pact-text-primary);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 40px var(--pact-accent-glow);
}

.cta-button:hover {
    background: var(--pact-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 50px var(--pact-accent-glow);
}

.hero-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--pact-text-muted);
}

/* Phone Mockup */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup-img {
    width: 300px;
    height: auto;
    position: relative;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    filter: drop-shadow(0 60px 120px rgba(0,0,0,0.6)) drop-shadow(0 30px 60px rgba(79, 57, 246, 0.15));
}

.phone-mockup-img:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Shield decoration behind mockup */
.mockup-shield-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 420px;
    height: 520px;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(99, 102, 241, 0.55) 0%, rgba(79, 57, 246, 0.35) 25%, rgba(67, 56, 202, 0.15) 50%, transparent 75%);
    filter: blur(35px);
    border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%;
}

.mockup-glow {
    position: absolute;
    width: 500px;
    height: 600px;
    background: radial-gradient(ellipse 100% 80% at center, rgba(99, 102, 241, 0.35) 0%, rgba(79, 57, 246, 0.2) 30%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* =========================================
   AGITATE SECTION
   ========================================= */

.agitate {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 60px auto;
}

.pain-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: var(--pact-bg-card);
    border-radius: 20px;
    border: 1px solid rgba(99,102,241,0.1);
    transition: all 0.3s;
}

.pain-item:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}

.pain-icon {
    width: 56px;
    height: 56px;
    background: var(--pact-bg-elevated);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pain-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pact-accent-hover);
}

.pain-item p {
    font-size: 1.0625rem;
    color: var(--pact-text-secondary);
    line-height: 1.6;
}

.agitate-conclusion {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pact-text-secondary);
}

/* =========================================
   SOLUTION SECTION
   ========================================= */

.solution {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.science-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.science-card {
    background: var(--pact-bg-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(99,102,241,0.1);
    transition: all 0.3s ease;
}

.science-card:hover {
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.1);
}

.science-icon {
    width: 56px;
    height: 56px;
    background: var(--pact-bg-elevated);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.science-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pact-accent-hover);
}

.science-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.science-card p {
    color: var(--pact-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   HOW IT WORKS
   ========================================= */

.how-it-works {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 60px auto 0;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 220px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--pact-accent), var(--pact-accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px var(--pact-accent-glow);
}

.step-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--pact-text-muted);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--pact-accent), transparent);
    margin-top: 32px;
    flex-shrink: 0;
}

/* =========================================
   HOW IT WORKS - INTERACTIVE
   ========================================= */

.how-it-works-interactive {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

/* Verification Block */
.verification-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 48px 40px;
}

.verification-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pact-text-secondary);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Verification Tabs */
.verification-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.verification-tab {
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: var(--pact-bg-card);
    color: var(--pact-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.verification-tab:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--pact-text-primary);
}

.verification-tab.active {
    background: transparent;
    border: 2px solid var(--pact-accent);
    color: #d0d8ff;
}

/* Verification Content */
.verification-content {
    margin-top: 48px;
    background: var(--pact-bg-card);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    overflow: hidden;
}

/* Tab Panels */
.tab-panel {
    display: none;
    padding: 48px;
}

.tab-panel.active {
    display: block;
}

/* Panel Layout */
.panel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Panel Steps */
.panel-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-step {
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--pact-bg-elevated);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.panel-step:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

.panel-step.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Step Number Badge */
.step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--pact-bg-card);
    border: 2px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--pact-text-muted);
    transition: all 0.3s;
    flex-shrink: 0;
    line-height: 1;
}

.panel-step.active .step-num {
    background: var(--pact-accent);
    border-color: var(--pact-accent);
    color: var(--pact-text-primary);
    box-shadow: 0 0 20px var(--pact-accent-glow);
    margin-top: 5px;
}

.step-text {
    flex: 1;
}

.panel-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pact-text-primary);
    margin: 0;
    transition: color 0.3s;
}

.panel-step-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s, opacity 0.3s;
    opacity: 0;
}

.panel-step.active .panel-step-description {
    max-height: 200px;
    margin-top: 12px;
    opacity: 1;
}

.panel-step-description p {
    color: var(--pact-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Panel Navigation */
.panel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: var(--pact-bg-elevated);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.nav-arrow:hover {
    border-color: var(--pact-accent);
    background: rgba(99, 102, 241, 0.1);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    border-color: rgba(99, 102, 241, 0.2);
    background: var(--pact-bg-elevated);
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--pact-text-secondary);
}

/* Phone Mockup Placeholder */
.panel-mockup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Step Dots Indicator */
.step-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-dot:hover {
    background: rgba(99, 102, 241, 0.5);
}

.step-dot.active {
    width: 24px;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
}

.panel-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

.panel-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 400px;
    background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(99, 102, 241, 0.45) 0%, rgba(79, 57, 246, 0.25) 30%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

.panel-mockup-img {
    width: 270px;
    height: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    position: relative;
    z-index: 1;
}

.panel-mockup-img.active {
    display: block;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5)) drop-shadow(0 20px 40px rgba(79, 57, 246, 0.2));
}

.mockup-placeholder {
    width: 220px;
    height: 440px;
    background: var(--pact-bg-elevated);
    border-radius: 32px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mockup-placeholder::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
}

.mockup-placeholder span {
    color: var(--pact-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .panel-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .panel-navigation {
        order: -1;
    }
    
    .tab-panel {
        padding: 2rem 1.5rem;
    }
    
    .panel-step:not(.active) {
        display: none;
    }
}

@media (max-width: 600px) {
    .verification-tabs {
        gap: 0.5rem;
    }
    
    .verification-tab {
        padding: 0.625rem 1.125rem;
        font-size: 0.9rem;
    }
    
    .mockup-placeholder {
        width: 11.25rem;
        height: 22.5rem;
    }
    
    .panel-mockup-img {
        width: 13.75rem;
    }
    
    .panel-navigation {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    
    .panel-mockup-wrapper {
        position: relative;
    }
    
    .nav-arrow {
        position: absolute;
        transform: translateY(-50%);
        width: 3rem;
        height: 3rem;
        z-index: 10;
        background: rgba(15, 13, 26, 0.8);
        backdrop-filter: blur(8px);
    }
    
    .nav-arrow.nav-prev {
        left: calc((100% - 13.75rem) / 4 - 1.25rem);
    }
    
    .nav-arrow.nav-next {
        right: calc((100% - 13.75rem) / 4 - 1.25rem);
    }
    
    .nav-arrow svg {
        width: 1.125rem;
        height: 1.125rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem;
    }
    
    html, body {
        overflow-x: hidden;
    }
    
    .glow-orb {
        opacity: 0.5;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a:not(.nav-cta) {
        display: block;
        font-size: 0.9rem;
    }
    
    .nav-cta {
        display: none;
    }
    
    .panel-mockup-img {
        width: 12.5rem;
    }
    
    
    .panel-step {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .step-num {
        width: 1.5rem;
        height: 1.5rem;
        min-width: 1.5rem;
        min-height: 1.5rem;
        font-size: 0.9rem;
    }
    
    .step-dot {
        height: 0.375rem;
    }
    
    .panel-step-title {
        font-size: 1.3rem;
    }
    
    .panel-step-description p {
        font-size: 1rem;
    }
    
    .tab-panel {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 3.24rem;
    }
    
    .hero-container {
        text-align: left;
    }
    
    .hero-note {
        text-align: center;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .pain-item {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .pain-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .pain-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .science-card {
        padding: 1.5rem;
    }
    
    .science-card p {
        font-size: 1rem;
    }
    
    .pain-item p {
        font-size: 1.1rem;
    }
    
    .pain-points {
        gap: 0.625rem;
    }
    
    .science-cards {
        gap: 0.625rem;
    }
    
    .section-description {
        font-size: 1.15rem;
        text-align: left;
        padding-left: 0.5rem;
        margin: 1rem 0 2rem 0;
    }
    
    .founder-card {
        padding: 1.5rem;
    }
    
    .founder-quote {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

/* =========================================
   STATS SECTION
   ========================================= */

.stats {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--pact-accent-hover), var(--pact-text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9375rem;
    color: var(--pact-text-muted);
}

/* =========================================
   FOUNDER SECTION
   ========================================= */

.founder {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.founder-content {
    max-width: 700px;
    margin: 60px auto 0;
    text-align: center;
}

.founder-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(99,102,241,0.3);
}

.founder-card {
    background: var(--pact-bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(99,102,241,0.1);
    text-align: left;
}
.founder-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--pact-text-secondary);
    font-style: italic;
    border: none;
    padding: 0;
    padding-left: 20px;
    margin: 0;
    position: relative;
}
.founder-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--pact-success), transparent);
}
.founder-quote p {
    margin: 0 0 0.8em;
    text-indent: 1.5em;
}
.founder-quote p:last-child {
    margin-bottom: 0;
}

.founder-quote strong {
    color: var(--pact-text-primary);
    font-style: normal;
}

.founder-info {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.founder-name {
    font-weight: 600;
    color: var(--pact-text-primary);
}

.founder-link {
    color: var(--pact-accent-hover);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.founder-link:hover {
    color: var(--pact-text-primary);
    text-decoration: underline;
}

/* =========================================
   FAQ SECTION
   ========================================= */

.faq {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 700px;
    margin: 16px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(99,102,241,0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--pact-text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-question:hover {
    color: rgb(255 255 255);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--pact-text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--pact-text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* =========================================
   FINAL CTA
   ========================================= */

.final-cta {
    padding: var(--section-padding) 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.3;
}

.cta-button-large {
    font-size: 1.125rem;
    padding: 20px 40px;
}

.cta-note {
    margin: 20px 0 60px;
    font-size: 0.9375rem;
    color: var(--pact-text-muted);
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(99,102,241,0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
}

.footer-text {
    color: var(--pact-text-muted);
    font-size: 0.9375rem;
}

.footer-text a {
    color: var(--pact-accent-hover);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .science-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--pact-accent), transparent);
        margin: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 2.5rem;
    }
    
    .hero-container {
        text-align: left;
    }
    
    .nav-links a:not(.nav-cta) {
        display: none;
    }
    
    .nav-cta {
        padding: 0.5rem 0.875rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .pain-points {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .founder-card {
        padding: 1.875rem 1.25rem;
    }
    
    .founder-quote {
        font-size: 1.1rem;
    }
    
    .founder-quote p {
        text-indent: 0;
    }
    
    .founder-name {
        font-size: 0.9rem;
    }
    
    .section-title {
        line-height: 1.3;
    }
    
    .verification-content {
        margin-top: 2rem;
    }
    
    .pain-points {
        margin: 2rem auto 0;
    }
    
    .section-description {
        margin: 1.5rem auto 2rem;
    }
    
    .founder-content {
        margin: 2rem auto 0;
    }
}

/* Additional 480px overrides */
@media (max-width: 480px) {
    .phone-mockup-img {
        width: 15rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links a:not(.nav-cta) {
        display: block !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .mockup-shield-bg,
    .mockup-glow {
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-mockup {
        max-width: 100%;
    }
}

/* =========================================
   MODAL / POPUP
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 13, 26, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--pact-bg-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 48px;
    max-width: 440px;
    width: 100%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(99, 102, 241, 0.15);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--pact-bg-elevated);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(99, 102, 241, 0.2);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--pact-text-muted);
}

.modal-content {
    text-align: center;
}

.modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--pact-text-primary);
}

.modal-text {
    color: var(--pact-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: var(--pact-bg-elevated);
    color: var(--pact-text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.modal-input::placeholder {
    color: var(--pact-text-muted);
}

.modal-input:focus {
    border-color: var(--pact-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.modal-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 12px;
    border: none;
    background: var(--pact-accent);
    color: var(--pact-text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 30px var(--pact-accent-glow);
}

.modal-submit:hover {
    background: var(--pact-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--pact-accent-glow);
}

.modal-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--pact-text-muted);
}

.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success.active {
    display: block;
}

.modal-content.hidden {
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 480px) {
    .modal {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-text {
        font-size: 0.9rem;
    }

    .modal-icon {
        width: 3.75rem;
        height: 3.75rem;
    }
}

/* =========================================
   FOOTER LEGAL LINKS
   ========================================= */

.footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-legal a {
    color: var(--pact-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--pact-accent-hover);
}

.footer-divider {
    color: var(--pact-text-muted);
    opacity: 0.5;
    font-size: 0.75rem;
}

.footer-company {
    color: var(--pact-text-muted);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    opacity: 0.7;
}
