

/* =====================================================
   CRYPTOFIS — Landing Page Stylesheet
   Color Palette: Navy + Cyan + Neon Accents
   Style: Glassmorphism, gradients, premium fintech
   ===================================================== */

/* ===================== CSS VARIABLES ===================== */
:root {
    /* Background colors */
    --bg-primary: #f0f4f8;
    --bg-secondary: #ffffff;
    --bg-dark: #0a1628;

    /* Text colors */
    --text-primary: #0d1b2e;
    --text-secondary: #3a4f6a;
    --text-muted: #7b8fa6;

    /* Accent colors — Navy / Cyan / Neon */
    --accent-1: #00d4ff;
    --accent-2: #0057ff;
    --accent-3: #00ffa3;

    /* Gradient */
    --gradient-neon: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));

    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 212, 255, 0.18);

    /* Radius */
    --radius-md: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;
    --radius-full: 100px;

    /* Typography */
    --font-display: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Layout */
    --max-w: 1200px;
    --header-h: 72px;
    --warning-h: 48px;

    /* Transition */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-card: 0 4px 32px rgba(0, 87, 255, 0.06);
    --shadow-elevated: 0 12px 48px rgba(0, 87, 255, 0.1);
    --shadow-neon: 0 0 30px rgba(0, 212, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--warning-h) + 16px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

/* When warning is dismissed, reduce scroll offset */
body.warning-dismissed {
    --warning-h: 0px;
}

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-1);
}

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

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

.hidden {
    display: none !important;
}

/* ===================== GLASS CARD UTILITY ===================== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card);
}

/* ===================== GRADIENT TEXT ===================== */
.gradient-text {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-neon);
    color: #ffffff;
    padding: 14px 36px;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
    color: #ffffff;
}

.btn-primary-sm {
    background: var(--gradient-neon);
    color: #ffffff;
    padding: 9px 22px;
    font-size: 0.875rem;
    box-shadow: 0 2px 12px rgba(0, 212, 255, 0.2);
}

.btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    color: #ffffff;
}

.btn-outline-sm {
    background: transparent;
    color: var(--accent-2);
    padding: 8px 22px;
    font-size: 0.875rem;
    border: 1.5px solid var(--accent-2);
}

.btn-outline-sm:hover {
    background: var(--accent-2);
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* ===================== RISK WARNING BAR ===================== */
.risk-warning-bar {
    position: sticky;
    top: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: var(--warning-h);
    padding: 8px 24px;
    background: linear-gradient(90deg, #0a1628 0%, #0d2240 100%);
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
    transition: transform var(--transition), opacity var(--transition);
}

.risk-warning-bar.dismissed {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.risk-warning-bar p {
    flex: 1;
    max-width: 900px;
}

.risk-warning-bar strong {
    color: #f59e0b;
}

.risk-dismiss {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.risk-dismiss:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ===================== HEADER ===================== */
.site-header {
    position: sticky;
    top: var(--warning-h);
    z-index: 1000;
    height: var(--header-h);
    background: rgba(240, 244, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
    transition: top var(--transition), box-shadow var(--transition);
}

body.warning-dismissed .site-header {
    top: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: width var(--transition);
    border-radius: 2px;
}

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

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

.nav-ctas {
    display: flex;
    gap: 10px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(175deg, #e8f0fe 0%, var(--bg-primary) 40%, #eaf6fa 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Background decorative shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    top: -100px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    bottom: -100px;
    left: -60px;
    animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.08); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero content */
.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-2);
    background: rgba(0, 87, 255, 0.08);
    border: 1px solid rgba(0, 87, 255, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 36px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Hero form */
.hero-form-wrapper {
    animation: fadeInUp 0.6s ease-out 0.25s both;
}

.form-card {
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-elevated), var(--shadow-neon);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Form fields */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(0, 87, 255, 0.12);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input.input-error,
.form-group select.input-error {
    border-color: #ef4444;
}

.field-error {
    font-size: 0.78rem;
    color: #ef4444;
    min-height: 0;
    transition: all var(--transition);
}

.field-error.visible {
    min-height: 16px;
}

/* Checkbox */
.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-2);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted);
}

.form-checkbox label a {
    color: var(--accent-2);
    text-decoration: underline;
}

/* Submit button inside form */
.signup-form .btn-primary {
    margin-top: 8px;
    position: relative;
}

.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-loader {
    display: block;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form success */
.form-success {
    text-align: center;
    padding: 32px 16px;
}

.form-success svg {
    margin: 0 auto 16px;
    animation: scaleIn 0.4s ease-out;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.form-success #successEmail {
    font-weight: 600;
    color: var(--accent-2);
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ===================== SECTION SHARED STYLES ===================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-2);
    background: rgba(0, 87, 255, 0.06);
    border: 1px solid rgba(0, 87, 255, 0.12);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================== FEATURES ===================== */
.features-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    padding: 36px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
    background: rgba(255, 255, 255, 0.55);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 87, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===================== HOW IT WORKS ===================== */
.how-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #e8f4fa 100%);
}

.steps-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.step-card {
    position: relative;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step-connector {
    position: absolute;
    top: 44px;
    right: -18px;
    width: 32px;
    height: 2px;
    background: var(--gradient-neon);
    z-index: 1;
}

.step-card:last-child .step-connector {
    display: none;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.55);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Carousel controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--glass-border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-btn:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    box-shadow: var(--shadow-neon);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 87, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-dot.active {
    background: var(--accent-1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    transform: scale(1.2);
}

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

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

.faq-item {
    border: 1px solid rgba(0, 87, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
}

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

.faq-question:hover {
    color: var(--accent-2);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

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

/* ===================== DISCLOSURE ===================== */
.disclosure-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.disclosure-card {
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.6);
}

.disclosure-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.12);
}

.disclosure-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo-text {
    color: #e2e8f0;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e2e8f0;
    margin-bottom: 18px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-links span {
    font-size: 0.88rem;
    color: #64748b;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    padding: 24px 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #475569;
}

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

/* Scroll reveal utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===================== RESPONSIVE — TABLET ===================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-form-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

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

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

    .step-connector {
        display: none !important;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }

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

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

/* ===================== RESPONSIVE — MOBILE ===================== */
@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 100px 32px 40px;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
        transition: right var(--transition-slow);
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.05rem;
    }

    .nav-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .nav-ctas .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .hero-section {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

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

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

    .steps-track {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    .features-section,
    .how-section,
    .testimonials-section,
    .faq-section,
    .disclosure-section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 28px 20px;
    }

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

    .risk-warning-bar {
        font-size: 0.72rem;
        padding: 6px 16px;
    }
}
/* Language selector */
       .lang-select { display: flex; align-items: center; gap: .5rem; }
.lang-select select {
    background: #0a1628;
    color: var(--bg-primary);
    border: 1px solid rgba(0, 212, 255, 0.18);
    padding: .55rem .75rem;
    border-radius: 12px;
    outline: none;
    font-size: 0.95rem;
}
.lang-select option { color: var(--bg-primary); }
@media (max-width: 768px){
    .lang-select { width: 100%; }
    .lang-select select { width: 100%; }
}
