/* ============================================
   H0PE.AI - STYLES
   Scientifically-Grounded Human Flourishing
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-cyan: #00d4ff;
    --accent-gold: #ffd700;
    --accent-purple: #7b2ff7;
    --accent-pink: #ff2d92;

    --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, #ff8c00 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(0, 212, 255, 0.3);

    /* Typography */
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-h { color: var(--text-primary); }
.logo-zero { 
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-weight: 500;
}
.logo-pe { color: var(--text-primary); }
.logo-dot { 
    color: var(--accent-gold);
    font-weight: 500;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px !important;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--bg-primary) !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 10px 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-overlay {
    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;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: 0;
    right: -100px;
    opacity: 0.1;
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .line-1 {
    display: block;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.5em;
    margin-bottom: 8px;
}

.hero-title .line-2 {
    display: block;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

/* Hero Form */
.hero-form {
    margin-bottom: 48px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
    padding: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.input-wrapper:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.input-wrapper input {
    flex: 1;
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
}

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

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    margin-bottom: 60px;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-title .accent {
    color: var(--accent-cyan);
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   WHAT IS H0PE SECTION
   ============================================ */
.what-section {
    background: var(--bg-secondary);
}

.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.what-card {
    padding: 48px;
    border-radius: var(--radius-xl);
}

.what-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

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

.what-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.what-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.what-highlight {
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.what-highlight .code {
    display: inline-block;
    padding: 2px 10px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-weight: 600;
    margin-right: 4px;
}

.what-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    padding: 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.feature-icon.cyan {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
}

.feature-icon.gold {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
}

.feature-icon.purple {
    background: rgba(123, 47, 247, 0.1);
    color: var(--accent-purple);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
    background: var(--bg-primary);
    overflow: hidden;
}

.steps-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-line {
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), var(--accent-gold));
    transform: translateX(-50%);
    opacity: 0.3;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
}

.step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

.step:nth-child(odd) .step-content {
    grid-column: 1;
}

.step:nth-child(odd) .step-number {
    grid-column: 2;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.step-content {
    padding: 32px;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.step-content:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.step-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

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

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

.step-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

/* ============================================
   SCIENCE SECTION
   ============================================ */
.science-section {
    background: var(--bg-secondary);
}

.science-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.science-main {
    padding: 48px;
    border-radius: var(--radius-xl);
}

.science-main blockquote {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.science-main blockquote strong {
    color: var(--accent-gold);
    font-style: normal;
}

.science-main cite {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: normal;
    margin-bottom: 32px;
}

.science-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.data-bar {
    position: relative;
}

.bar-fill {
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: var(--width);
    transition: width 1s ease;
}

.bar-label {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.science-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.research-card {
    padding: 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.research-card:hover {
    border-color: var(--border-glow);
}

.research-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

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

.research-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.research-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.research-link {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.trust-badges {
    text-align: center;
}

.trust-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.badges-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    padding: 12px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.cta-card {
    position: relative;
    padding: 80px;
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-form {
    margin-bottom: 32px;
}

.input-group {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    padding: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.input-group:focus-within {
    border-color: var(--accent-cyan);
}

.input-group input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1rem;
    color: var(--text-primary);
}

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

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cta-feature svg {
    width: 18px;
    height: 18px;
    color: #22c55e;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 400px;
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #22c55e;
}

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

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

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

    .step {
        grid-template-columns: auto 1fr;
        gap: 24px;
    }

    .step:nth-child(odd) .step-content,
    .step:nth-child(even) .step-content {
        grid-column: 2;
    }

    .step:nth-child(odd) .step-number,
    .step:nth-child(even) .step-number {
        grid-column: 1;
    }

    .step:nth-child(even) {
        direction: ltr;
    }

    .step-line {
        left: 30px;
    }
}

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .input-wrapper .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .what-card {
        padding: 32px;
    }

    .step-line {
        display: none;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .science-main {
        padding: 24px;
    }

    .science-main blockquote {
        font-size: 1.1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-features {
        flex-direction: column;
        gap: 16px;
    }

    .badges-row {
        flex-direction: column;
        align-items: center;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth reveal on scroll - will be triggered by JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   EMAIL SIGNUP SECTION
   ============================================ */
.email-signup-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.email-signup-card {
    padding: 48px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 47, 247, 0.05) 100%);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.email-signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.email-signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.email-signup-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.email-signup-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.email-signup-title .accent {
    color: var(--accent-cyan);
}

.email-signup-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.email-signup-input-group {
    display: flex;
    gap: 12px;
    padding: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.email-signup-input-group:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.email-signup-input-group input {
    flex: 1;
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
}

.email-signup-input-group input::placeholder {
    color: var(--text-muted);
}

.email-signup-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   FOOTER NEWSLETTER
   ============================================ */
.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 47, 247, 0.03) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.footer-newsletter-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-newsletter-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-newsletter-form {
    display: flex;
    justify-content: flex-end;
}

.footer-newsletter-input {
    display: flex;
    gap: 10px;
    padding: 6px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    width: 100%;
    max-width: 400px;
}

.footer-newsletter-input:focus-within {
    border-color: var(--accent-cyan);
}

.footer-newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    min-width: 0;
}

.footer-newsletter-input input::placeholder {
    color: var(--text-muted);
}

.footer-newsletter-input .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .email-signup-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .email-signup-card {
        padding: 32px 24px;
    }

    .email-signup-input-group {
        flex-direction: column;
    }

    .email-signup-input-group .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        padding: 32px 24px;
    }

    .footer-newsletter-form {
        justify-content: center;
    }

    .footer-newsletter-input {
        flex-direction: column;
        max-width: 100%;
    }

    .footer-newsletter-input .btn {
        width: 100%;
        justify-content: center;
    }
}
