/* =====================================================
   VPN Pro Frontend Website — Stylesheet
   Matches Flutter app: sky blue primary + emerald accent
   ===================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Dark theme (default) ── */
:root,
[data-theme="dark"] {
    --bg-primary: #0B1020;
    --bg-secondary: #111827;
    --bg-card: #172033;
    --bg-card-hover: #1E293B;
    --bg-input: #172033;
    --border-color: rgba(148,163,184,0.12);
    --border-hover: rgba(56,189,248,0.35);
    --text-primary: #F8FAFC;
    --text-secondary: #B6C2D9;
    --text-muted: #7B879B;
    --teal: #38BDF8;
    --teal-dark: #2563EB;
    --teal-glow: rgba(37,99,235,0.18);
    --teal-glow-strong: rgba(56,189,248,0.28);
    --purple: #6366F1;
    --blue: #3B82F6;
    --green: #34D399;
    --amber: #F59E0B;
    --red: #F43F5E;
    --primary: #3B82F6;
    --gradient-teal: linear-gradient(135deg, #2563EB, #38BDF8);
    --gradient-hero: linear-gradient(160deg, #0B1020 0%, #0F1B33 45%, #0B2038 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
    --shadow-teal: 0 4px 24px rgba(37,99,235,0.25);
    --transition: all 0.3s ease;
    --nav-height: 72px;
    --nav-bg: rgba(11,16,32,0.92);
    --nav-bg-scrolled: rgba(11,16,32,0.96);
    --toast-success-bg: #065F46;
    --toast-success-text: #A7F3D0;
    --toast-error-bg: #7F1D1D;
    --toast-error-text: #FCA5A5;
    --toast-info-bg: #1E3A5F;
    --toast-info-text: #93C5FD;
    --toast-warning-bg: #78350F;
    --toast-warning-text: #FDE68A;
}

/* ── Light theme ── */
[data-theme="light"] {
    --bg-primary: #F0F7FF;
    --bg-secondary: #E8F1FC;
    --bg-card: #ffffff;
    --bg-card-hover: #F8FBFF;
    --bg-input: #F8FBFF;
    --border-color: rgba(37,99,235,0.1);
    --border-hover: rgba(37,99,235,0.35);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --teal: #2563EB;
    --teal-dark: #1D4ED8;
    --teal-glow: rgba(37,99,235,0.1);
    --teal-glow-strong: rgba(56,189,248,0.18);
    --purple: #4F46E5;
    --blue: #2563EB;
    --green: #10B981;
    --amber: #D97706;
    --red: #F43F5E;
    --primary: #2563EB;
    --gradient-teal: linear-gradient(135deg, #2563EB, #10B981);
    --gradient-hero: linear-gradient(160deg, #F0F7FF 0%, #DBEAFE 45%, #E0F2FE 100%);
    --shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
    --shadow-md: 0 4px 24px rgba(37,99,235,0.08);
    --shadow-lg: 0 8px 48px rgba(15,23,42,0.1);
    --shadow-teal: 0 4px 24px rgba(37,99,235,0.18);
    --nav-bg: rgba(240,247,255,0.92);
    --nav-bg-scrolled: rgba(255,255,255,0.96);
    --toast-success-bg: #ECFDF5;
    --toast-success-text: #065F46;
    --toast-error-bg: #FFF1F2;
    --toast-error-text: #9F1239;
    --toast-info-bg: #EFF6FF;
    --toast-info-text: #1E40AF;
    --toast-warning-bg: #FFFBEB;
    --toast-warning-text: #92400E;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue); opacity: 0.9; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
input, button, textarea, select { font-family: inherit; }
::selection { background: var(--teal); color: #fff; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 560px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ── IP Status Strip ── */
.ip-strip {
    display: none;
}
/* Push nav down by strip height */
body { padding-top: 0; }

@media (max-width: 600px) {
    body { padding-top: 0; }
    .site-nav { top: 0; }
}

/* ── Navigation ── */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-height);
    background: var(--bg-primary);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.site-nav.scrolled { background: var(--bg-primary); box-shadow: var(--shadow-sm); border-bottom-color: var(--border-color); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--text-primary); flex-shrink: 0; position: relative; z-index: 2; }
.nav-brand img { height: 36px; width: 36px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nav-links a { color: var(--text-secondary); font-size: 0.84rem; font-weight: 500; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
#navLoggedOut { display: flex; align-items: center; gap: 16px; }
.nav-user { display: flex; align-items: center; gap: 10px; color: var(--text-primary); font-weight: 500; font-size: 0.9rem; cursor: pointer; }
.nav-user-avatar {
    width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-teal);
    display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; color: #000;
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: var(--transition); overflow: hidden;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    color: var(--text-secondary); font-size: 0.88rem; border-bottom: 1px solid var(--border-color);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--teal-glow); color: var(--text-primary); }
.nav-dropdown-menu a i { width: 18px; text-align: center; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 8px; z-index: 1010; -webkit-tap-highlight-color: transparent; }
.mobile-theme-toggle { display: none; }
.mobile-auth-links { display: none; }
body.mobile-menu-open { overflow: hidden; }

@media (max-width: 768px) {
    .site-nav { overflow: visible; }
    .nav-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; flex-shrink: 0;
        border-radius: var(--radius-sm);
    }
    .nav-toggle:active { background: var(--teal-glow); }
    .nav-actions { flex-shrink: 0; gap: 8px; }
    .desktop-theme-toggle { display: none !important; }
    #navLoggedOut { display: none !important; }
    .mobile-theme-toggle {
        display: flex; align-items: center; gap: 6px; cursor: pointer;
        padding: 14px 24px; width: 100%; border-top: 1px solid var(--border-color);
        margin-top: 8px;
    }
    .mobile-auth-links {
        display: flex; flex-direction: column; gap: 0;
        border-top: 1px solid var(--border-color); margin-top: 8px; padding-top: 8px;
    }
    .mobile-auth-links a {
        padding: 14px 24px; width: 100%; font-size: 1rem;
        color: var(--text-secondary); font-weight: 500;
    }
    .mobile-auth-links a:hover { color: var(--text-primary); }
    .mobile-auth-links .btn-primary-mobile {
        color: var(--teal); font-weight: 600;
    }
    .nav-links {
        position: absolute; top: var(--nav-height); left: 0; right: 0;
        height: calc(100vh - var(--nav-height)); height: calc(100dvh - var(--nav-height));
        background: var(--bg-primary); flex-direction: column; gap: 0;
        padding: 16px 0; transform: translateX(100%); transition: transform 0.3s ease;
        z-index: 1005; overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { padding: 14px 24px; width: 100%; font-size: 1rem; display: block; }
    #navLoggedIn .nav-user span,
    #navLoggedIn .nav-user .fa-chevron-down { display: none; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 600;
    border: none; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--gradient-teal); color: #fff; }
.btn-primary:hover { box-shadow: var(--shadow-teal); transform: translateY(-1px); color: #fff; }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); padding: 12px 16px; }
.btn-ghost:hover { background: var(--teal-glow); }
.btn-danger { background: rgba(239,68,68,0.1); color: var(--red); border: 1px solid rgba(239,68,68,0.2); }
.btn-danger:hover { background: rgba(239,68,68,0.2); }
.btn-sm { padding: 8px 18px; font-size: 0.84rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(0,0,0,0.2); border-top-color: #000; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Section Utilities ── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--teal); margin-bottom: 16px;
}
.section-label i { font-size: 0.65rem; }
.section-title { font-size: 2.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    background: url('/assets/uploads/ngngfcn.png') center/cover no-repeat;
    overflow: hidden; padding-top: var(--nav-height);
}
.hero .hero-content { position: relative; z-index: 2; }
.hero .btn-secondary { border-color: var(--teal); color: var(--teal); }
.hero .btn-secondary:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.35); z-index: 1; pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(58,190,183,0.08) 0%, transparent 70%);
    pointer-events: none; animation: heroFloat2 10s ease-in-out infinite; z-index: 1;
}
@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -25px); }
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: var(--teal-glow); border: 1px solid rgba(58,190,183,0.2); border-radius: 50px;
    font-size: 0.8rem; font-weight: 500; color: var(--teal); margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(58,190,183,0); }
    50% { box-shadow: 0 0 0 8px rgba(58,190,183,0.08); }
}
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-title .gradient-text {
    color: #3abeb7;
    -webkit-text-fill-color: #3abeb7;
}
.hero-desc { font-size: 1.15rem; color: #fff; max-width: 580px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ── Features Grid ── */
.features-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.feature-card {
    flex: 1 1 300px; max-width: 370px;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-teal); opacity: 0; transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md); margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 4px 16px rgba(58,190,183,0.2);
}
.feature-icon.teal { background: var(--teal-glow); color: var(--teal); }
.feature-icon.purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.feature-icon.blue { background: rgba(59,130,246,0.15); color: var(--blue); }
.feature-icon.green { background: rgba(16,185,129,0.15); color: var(--green); }
.feature-icon.amber { background: rgba(245,158,11,0.15); color: var(--amber); }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ── What Makes Us Different ── */
.diff-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.diff-text .section-title { margin-bottom: 20px; }
.diff-lead { font-size: 1.05rem; color: var(--text-primary); line-height: 1.75; margin-bottom: 14px; }
.diff-body { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 10px; }
.diff-pillars { display: flex; flex-direction: column; gap: 28px; }
.diff-pillar { display: flex; align-items: flex-start; gap: 20px; }
.diff-pillar-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md); flex-shrink: 0;
    background: var(--teal-glow); border: 1px solid rgba(58,190,183,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--teal);
}
.diff-pillar-title { font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.diff-pillar-desc { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.5; }

/* ── Server Locations ── */
#servers {
    position: relative;
    background: url('/assets/uploads/ewewg.png') center/cover no-repeat;
}
#servers::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.65); z-index: 0;
}
#servers > .container { position: relative; z-index: 1; }
#servers .section-title,
#servers .section-label,
#servers .section-subtitle { color: #fff; }
#servers .section-label i { color: var(--teal); }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.location-card {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    transition: var(--transition);
}
.location-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.location-flag { font-size: 1.5rem; }
.location-name { font-weight: 500; font-size: 0.9rem; }
.location-count { font-size: 0.75rem; color: var(--text-muted); }

/* ── Pricing ── */
.pricing-toggle {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 48px;
}
.pricing-toggle label { font-size: 0.9rem; color: var(--text-secondary); cursor: pointer; }
.pricing-toggle label.active { color: var(--text-primary); font-weight: 600; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-left: auto; margin-right: auto; }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 0; transition: var(--transition); position: relative; overflow: visible;
    display: flex; flex-direction: column;
}
.pricing-card.featured {
    border-color: var(--teal); box-shadow: 0 0 40px rgba(58,190,183,0.18);
}
.pricing-card.featured::before {
    display: none;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured:hover { transform: translateY(-4px); box-shadow: 0 0 60px rgba(58,190,183,0.25); }
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 18px;
    background: var(--gradient-teal); color: #fff; font-size: 0.78rem; font-weight: 700;
    border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; z-index: 10;
    box-shadow: 0 2px 8px rgba(58,190,183,0.3);
}
.pricing-header { text-align: center; padding: 32px 28px 24px; border-bottom: 1px solid var(--border-color); }
.pricing-card.featured .pricing-header { padding-top: 40px; }
.pricing-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.pricing-price { font-size: 3rem; font-weight: 800; margin-bottom: 4px; line-height: 1; }
.pricing-currency { font-size: 1.5rem; font-weight: 600; vertical-align: super; margin-right: 2px; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-duration { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.pricing-per-month { font-size: 0.82rem; color: var(--teal); font-weight: 600; margin-top: 8px; }
.pricing-discount {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px; padding: 6px 18px;
    background: rgba(58,190,183,0.12); border: 1px solid rgba(58,190,183,0.25);
    border-radius: 50px; font-size: 0.88rem; font-weight: 700; color: var(--teal);
}
.pricing-features { padding: 24px 28px; flex: 1; }
.pricing-features ul { list-style: none; padding: 0; margin: 0; }
.pricing-features li {
    display: flex; align-items: center; gap: 10px; padding: 8px 0;
    font-size: 0.9rem; color: var(--text-secondary);
}
.pricing-features li i { color: var(--teal); font-size: 0.85rem; width: 18px; flex-shrink: 0; }
.pricing-card > .btn { margin: 0 28px 28px; display: flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }

/* ── How‑It‑Works (Timeline) ── */
.steps-timeline {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    position: relative; max-width: 960px; margin: 0 auto;
}
/* Connector line behind steps */
.steps-connector-line {
    position: absolute; top: 44px; left: calc(12.5% + 28px); right: calc(12.5% + 28px);
    height: 3px; background: var(--border-color); border-radius: 3px; z-index: 0;
}
.steps-connector-fill {
    height: 100%; width: 0; background: var(--teal); border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(58,190,183,0.4);
}
.steps-timeline.active .steps-connector-fill { width: 100%; }

/* Step card */
.step-card {
    text-align: center; position: relative; padding: 0 16px; z-index: 1;
    transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-6px); }

/* Icon wrapper — number + glyph */
.step-icon-wrap {
    position: relative; width: 88px; height: 88px; margin: 0 auto 20px;
}
.step-number {
    width: 88px; height: 88px; border-radius: 50%; position: relative;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 2px solid var(--border-color);
    font-size: 1.4rem; font-weight: 800; color: var(--teal);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}
/* Animated ring */
.step-ring {
    position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid transparent; border-top-color: var(--teal);
    opacity: 0; transition: opacity 0.4s ease;
}
.step-card.step-active .step-ring {
    opacity: 1; animation: ringRotate 2s linear infinite;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

/* Activated state */
.step-card.step-active .step-number {
    background: var(--teal); color: #000;
    border-color: var(--teal);
    box-shadow: 0 0 0 6px rgba(58,190,183,0.15), 0 0 24px rgba(58,190,183,0.25);
    transform: scale(1.05);
}
.step-card.step-active .step-number span { opacity: 0; transform: scale(0); }
.step-number span {
    transition: all 0.3s ease; display: block;
}

/* Glyph icon — appears on activation */
.step-glyph {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    font-size: 1.6rem; color: #000; z-index: 3;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-card.step-active .step-glyph {
    transform: translate(-50%, -50%) scale(1);
}

/* Title & description */
.step-card h3 {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; margin-top: 8px;
    transition: color 0.3s ease;
}
.step-card.step-active h3 { color: var(--teal); }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }

/* Staggered reveal */
.steps-timeline .step-card.reveal { transition-delay: 0s; }
.steps-timeline .step-card[data-step="1"].reveal { transition-delay: 0.1s; }
.steps-timeline .step-card[data-step="2"].reveal { transition-delay: 0.25s; }
.steps-timeline .step-card[data-step="3"].reveal { transition-delay: 0.4s; }
.steps-timeline .step-card[data-step="4"].reveal { transition-delay: 0.55s; }

/* Responsive */
@media (max-width: 768px) {
    .steps-timeline { grid-template-columns: 1fr 1fr; gap: 40px 0; }
    .steps-connector-line { display: none; }
}
@media (max-width: 480px) {
    .steps-timeline { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Testimonials ── */
.testimonials-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
}
.testimonials-marquee:hover .testimonials-track { animation-play-state: paused; }
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 28px; transition: var(--transition);
    min-width: 360px; max-width: 360px; flex-shrink: 0;
}
.testimonial-card:hover { border-color: var(--border-hover); }
.testimonial-stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 600; color: #000;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--border-hover); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between; padding: 18px 24px;
    cursor: pointer; font-weight: 500; font-size: 0.95rem; background: var(--bg-card);
    transition: var(--transition);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question i { transition: transform 0.3s; color: var(--text-muted); font-size: 0.85rem; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--teal); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    background: var(--bg-card);
}
.faq-answer-inner { padding: 0 24px 18px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Ecosystem ── */
.ecosystem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.ecosystem-card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 32px; transition: var(--transition);
}
.ecosystem-card.active-product { border-color: rgba(58,190,183,0.3); box-shadow: 0 0 24px rgba(58,190,183,0.08); }
.ecosystem-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ecosystem-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(58,190,183,0.12), rgba(139,92,246,0.08));
    border: 1px solid rgba(58,190,183,0.15);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    color: var(--teal); margin-bottom: 20px;
}
.ecosystem-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.ecosystem-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.ecosystem-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.85rem; font-weight: 600; color: var(--teal);
    transition: gap 0.3s ease;
}
.ecosystem-card:hover .ecosystem-link { gap: 10px; }
.ecosystem-info { flex: 1; }
.ecosystem-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.ecosystem-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.ecosystem-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    padding: 3px 10px; border-radius: 50px;
}
.ecosystem-tag.live { background: rgba(16,185,129,0.12); color: var(--green); }
.ecosystem-tag.live i { font-size: 0.5rem; animation: pulse-warn 1.5s infinite; }
.ecosystem-tag.coming { background: rgba(245,158,11,0.12); color: var(--amber); }

/* ── Contact / CTA ── */
.cta-section {
    background: linear-gradient(135deg, rgba(58,190,183,0.08), rgba(139,92,246,0.05));
    border: 1px solid var(--border-color); border-radius: var(--radius-xl);
    padding: 60px 40px; text-align: center;
}
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 32px; }
.contact-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); transition: var(--transition);
}
.contact-card:hover { border-color: var(--border-hover); }
.contact-card i { font-size: 1.4rem; color: var(--teal); }
.contact-card span { font-size: 0.88rem; color: var(--text-secondary); }

/* ── Footer ── */
.site-footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; margin-top: 12px; line-height: 1.7; }
.footer-heading { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-muted); }
.footer-links a { display: block; color: var(--text-secondary); font-size: 0.88rem; padding: 4px 0; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--text-muted); font-size: 1.1rem; }
.footer-socials a:hover { color: var(--teal); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Auth Pages ── */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    background: var(--gradient-hero);
}
.auth-card {
    width: 100%; max-width: 440px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: var(--radius-xl);
    padding: 40px 36px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.auth-card .auth-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 28px; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }
.form-control {
    width: 100%; padding: 12px 16px; background: var(--bg-input);
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    color: var(--text-primary); font-size: 0.92rem; outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.error { border-color: var(--red); }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; margin-top: 16px; }
.form-footer a { color: var(--teal); }
.input-group { position: relative; }
.input-group .toggle-password {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px;
}
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.divider span { font-size: 0.8rem; color: var(--text-muted); }

/* ── Dashboard ── */
.dashboard-page { padding-top: calc(var(--nav-height) + 24px); padding-bottom: 60px; min-height: 100vh; }
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.dashboard-sidebar {
    position: sticky; top: calc(var(--nav-height) + 24px); height: fit-content;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px 0; overflow: hidden;
}
.sidebar-user { display: flex; align-items: center; gap: 12px; padding: 0 20px 20px; border-bottom: 1px solid var(--border-color); }
.sidebar-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-teal);
    display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: #000; flex-shrink: 0;
}
.sidebar-user-info h4 { font-size: 0.95rem; font-weight: 600; }
.sidebar-user-info p { font-size: 0.78rem; color: var(--text-muted); }
.sidebar-nav { padding: 12px 0; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 12px; padding: 11px 20px;
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.sidebar-nav a:hover { color: var(--text-primary); background: var(--teal-glow); }
.sidebar-nav a.active { color: var(--teal); background: var(--teal-glow); border-right: 3px solid var(--teal); }
.sidebar-nav a i { width: 20px; text-align: center; font-size: 0.95rem; }

.dashboard-main { min-width: 0; }

/* ── Dashboard layout ── */
.dashboard-section { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 60px; }
.dashboard-container { display: grid; grid-template-columns: 260px 1fr; gap: 28px; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.dash-card-plans { padding: 20px 16px; }
.dash-sidebar {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px 0; position: sticky; top: calc(var(--nav-height) + 16px); height: fit-content;
}
.dash-sidebar-user { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 20px 20px; border-bottom: 1px solid var(--border-color); text-align: center; }
.dash-avatar {
    width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-teal);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: #000; flex-shrink: 0;
}
.dash-user-name { font-size: 0.95rem; font-weight: 600; }
.dash-user-email { font-size: 0.78rem; color: var(--text-muted); }
.dash-nav { padding: 12px 0; }
.dash-nav a, .dash-nav button.dash-nav-link {
    display: flex; align-items: center; gap: 12px; padding: 11px 20px;
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: var(--transition); text-decoration: none;
}
.dash-nav a:hover, .dash-nav button.dash-nav-link:hover { color: var(--text-primary); background: var(--teal-glow); }
.dash-nav a.active { color: var(--teal); background: var(--teal-glow); border-right: 3px solid var(--teal); }
.dash-nav a i, .dash-nav button i { width: 20px; text-align: center; font-size: 0.95rem; }
.dash-main { min-width: 0; }
.dash-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 24px; }

/* ── Dashboard stat cards ── */
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.dash-stat-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 20px; display: flex; align-items: center; gap: 16px;
}
.dash-stat-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.dash-stat-icon.teal   { background: var(--teal-glow-strong); color: var(--teal); }
.dash-stat-icon.purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.dash-stat-icon.blue   { background: rgba(59,130,246,0.15); color: var(--blue); }
.dash-stat-icon.green  { background: rgba(16,185,129,0.15); color: var(--green); }
.dash-stat-value { font-size: 1.1rem; font-weight: 700; }
.dash-stat-label { font-size: 0.78rem; color: var(--text-muted); }

/* ── Dashboard card title ── */
.dash-card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.dash-card-title i { color: var(--teal); }

/* ── Dashboard quick actions ── */
.dash-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.dash-action-btn {
    display: flex; align-items: center; gap: 10px; padding: 14px 18px;
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: var(--transition);
}
.dash-action-btn:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--teal-glow); }
.dash-action-btn i { color: var(--teal); }

@media (max-width: 768px) {
    .dashboard-container { grid-template-columns: 1fr; }
    .dash-sidebar { position: static; }
    .dash-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .dash-stats { grid-template-columns: 1fr; }
    .dash-actions-grid { grid-template-columns: 1fr; }
}

/* Dashboard cards */
.dash-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 28px; margin-bottom: 24px;
}
.dash-card h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 20px; }
.dash-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-box {
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 20px;
}
.stat-box-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.stat-box-value { font-size: 1.4rem; font-weight: 700; }
.stat-box-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* Subscription card */
.sub-plan {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px; background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); margin-bottom: 16px;
}
.sub-plan-info h4 { font-size: 1rem; font-weight: 600; }
.sub-plan-info p { font-size: 0.85rem; color: var(--text-secondary); }
.sub-badge {
    padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase;
}
.sub-badge.active { background: rgba(16,185,129,0.15); color: var(--green); }
.sub-badge.expired { background: rgba(239,68,68,0.15); color: var(--red); }
.sub-badge.none { background: rgba(156,163,175,0.15); color: var(--text-muted); }

/* Profile form */
.profile-avatar-section { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.profile-avatar-lg {
    width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-teal);
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; color: #000;
    overflow: hidden;
}
.profile-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

/* ── Toast Notifications ── */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; }
.toast {
    padding: 14px 20px; border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 500;
    box-shadow: var(--shadow-md); min-width: 280px; max-width: 400px;
    display: flex; align-items: center; gap: 10px; animation: slideIn 0.3s ease;
}
.toast.success { background: var(--toast-success-bg); color: var(--toast-success-text); border: 1px solid var(--green); }
.toast.error { background: var(--toast-error-bg); color: var(--toast-error-text); border: 1px solid var(--red); }
.toast.info { background: var(--toast-info-bg); color: var(--toast-info-text); border: 1px solid var(--blue); }
.toast.warning { background: var(--toast-warning-bg); color: var(--toast-warning-text); border: 1px solid var(--amber); }
.toast button { background: none; border: none; color: inherit; cursor: pointer; opacity: 0.7; margin-left: auto; padding: 0; }
.toast button:hover { opacity: 1; }
.toast.show { opacity: 1; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Loading Skeleton ── */
.skeleton { background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Subtle hover lift for interactive cards ── */
.diff-pillar { transition: transform 0.3s ease; }
.diff-pillar:hover { transform: translateX(6px); }
.pricing-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.pricing-card:hover { transform: translateY(-4px); }
.hero-stat { transition: transform 0.3s ease; }
.hero-stat:hover { transform: translateY(-3px); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 24px; }
    .features-grid { gap: 16px; }
    .diff-section { grid-template-columns: 1fr; gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-4px); }
    .testimonial-card { min-width: 300px; max-width: 300px; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
    .form-row { grid-template-columns: 1fr; }
    .auth-card { padding: 28px 20px; }
    .cta-section { padding: 40px 24px; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .locations-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Downloads Page ── */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.download-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-teal);
}
.download-icon {
    font-size: 48px;
    color: var(--teal);
    margin-bottom: 16px;
}
.download-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}
.download-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

/* ── Subscription Summary Cards ── */
.sub-summary { display: flex; flex-wrap: wrap; gap: 16px; }
.sub-card {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    flex: 1;
    min-width: 240px;
}
.sub-card.active { border-color: rgba(16,185,129,0.3); }
.sub-card-header { margin-bottom: 12px; }
.sub-card-name { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.sub-card-details { color: var(--text-secondary); font-size: 14px; }
.sub-detail-label { color: var(--text-muted); }

/* ── Dashboard Pricing Override ── */
.pricing-grid-dashboard {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 20px;
}
.pricing-grid-dashboard .pricing-card {
    transform: none !important;
    border-radius: 12px;
}
.pricing-grid-dashboard .pricing-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-lg);
}
.pricing-grid-dashboard .pricing-card.featured {
    transform: none !important;
    border-color: var(--teal);
    box-shadow: 0 0 20px rgba(58,190,183,0.12);
}
.pricing-grid-dashboard .pricing-card.featured:hover {
    transform: translateY(-3px) !important;
}
.pricing-grid-dashboard .pricing-card.featured::before {
    display: none;
}
.pricing-grid-dashboard .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(58,190,183,0.25);
}
.pricing-grid-dashboard .pricing-header {
    padding: 24px 20px 20px;
}
.pricing-grid-dashboard .pricing-card.featured .pricing-header {
    padding-top: 28px; /* extra room for badge */
}
.pricing-grid-dashboard .pricing-name {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1.2px;
}
.pricing-grid-dashboard .pricing-price {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}
.pricing-grid-dashboard .pricing-currency {
    font-size: 0.95rem;
}
.pricing-grid-dashboard .pricing-duration {
    font-size: 0.78rem;
    margin-top: 4px;
}
.pricing-grid-dashboard .pricing-features {
    padding: 16px 20px;
}
.pricing-grid-dashboard .pricing-features li {
    padding: 4px 0;
    font-size: 0.8rem;
    gap: 8px;
}
.pricing-grid-dashboard .pricing-features li i {
    font-size: 0.72rem;
    width: 14px;
}
.pricing-grid-dashboard .pricing-card > .btn {
    margin: 0 16px 16px;
    padding: 10px 16px;
    font-size: 0.82rem;
    border-radius: 8px;
}
@media (max-width: 1100px) {
    .pricing-grid-dashboard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pricing-grid-dashboard { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}

/* ── Security Tools Page ── */
.tools-hero {
    padding: calc(var(--nav-height) + 72px) 0 40px;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
}
.tools-hero-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; color: var(--text-primary); }
.tools-hero-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.6; }

.tools-section { padding: 40px 0 60px; }

.tools-tabs {
    display: flex; gap: 0; border-radius: var(--radius-md);
    background: var(--bg-card); border: 1px solid var(--border-color);
    overflow: hidden; margin-bottom: 32px;
}
.tools-tab {
    flex: 1; padding: 16px 20px; font-size: 0.92rem; font-weight: 600;
    color: var(--text-secondary); background: none; border: none;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--transition); position: relative; white-space: nowrap;
}
.tools-tab:not(:last-child) { border-right: 1px solid var(--border-color); }
.tools-tab:hover { color: var(--text-primary); background: var(--teal-glow); }
.tools-tab.active {
    color: #fff; background: var(--gradient-teal);
}
.tools-tab.active i { color: #fff; }

.tools-panel { display: none; }
.tools-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.tools-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px;
}
.tools-card-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.tools-card-header h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.tools-card-header p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.5; margin: 0; }

.tools-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-size: 1.3rem;
}
.tools-icon.ip { background: rgba(59,130,246,0.15); color: #3b82f6; }
.tools-icon.dns { background: rgba(58,190,183,0.15); color: var(--teal); }
.tools-icon.webrtc { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.tools-icon.data { background: rgba(249,115,22,0.15); color: #f97316; }

.tools-action { text-align: center; padding: 8px 0 16px; }
.tools-action .btn-lg { padding: 14px 40px; font-size: 1rem; }

.data-leak-form { display: flex; gap: 12px; align-items: stretch; max-width: 560px; margin: 0 auto; }
.data-leak-input-wrap {
    flex: 1; position: relative; display: flex; align-items: center;
}
.data-leak-input-wrap i {
    position: absolute; left: 14px; color: var(--text-muted); font-size: 0.9rem; pointer-events: none;
}
.data-leak-input-wrap .form-control {
    padding-left: 40px; height: 52px; font-size: 0.95rem;
}

/* Result Area */
.tools-result { margin-top: 24px; }

.leak-status {
    display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px;
    border-radius: var(--radius-md); margin-bottom: 20px;
}
.leak-status i { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.leak-status strong { font-size: 1.1rem; display: block; margin-bottom: 4px; }
.leak-status p { font-size: 0.9rem; margin: 0; opacity: 0.9; }

.leak-safe { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; }
.leak-safe strong, .leak-safe p { color: #22c55e; }
.leak-danger { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }
.leak-danger strong, .leak-danger p { color: #ef4444; }

.leak-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.leak-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.leak-table thead { background: var(--bg-secondary); }
.leak-table th { padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text-primary); white-space: nowrap; border-bottom: 1px solid var(--border-color); }
.leak-table td { padding: 12px 16px; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); }
.leak-table tr:last-child td { border-bottom: none; }
.leak-table tr:hover td { background: var(--teal-glow); }
.leak-ip { font-family: 'Courier New', monospace; font-weight: 600; color: var(--text-primary); }
.leak-loc { font-size: 0.82rem; color: var(--text-muted); margin-left: 8px; }
.leak-badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}
.leak-badge.safe { background: rgba(34,197,94,0.15); color: #22c55e; }
.leak-badge.danger { background: rgba(239,68,68,0.15); color: #ef4444; }
.leak-badge.info { background: rgba(58,190,183,0.15); color: var(--teal); }

.leak-exposed-data { font-size: 0.8rem; color: var(--text-muted); word-break: break-word; }

.leak-tips {
    margin-top: 20px; padding: 20px 24px; border-radius: var(--radius-md);
    background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.2);
}
.leak-tips.danger { background: rgba(239,68,68,0.06); border-color: rgba(239,68,68,0.2); }
.leak-tips h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.leak-tips ul { margin: 0; padding-left: 20px; }
.leak-tips li { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.8; }

/* Info Cards */
.tools-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* IP Checker Result */
.ip-big-display {
    text-align: center; padding: 32px 16px; margin-bottom: 24px;
    background: var(--bg-secondary); border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.ip-big-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.ip-big-value { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--text-primary); font-family: 'Courier New', monospace; letter-spacing: 1px; word-break: break-all; }
.ip-big-version { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background: rgba(58,190,183,0.15); color: var(--teal); }

.ip-details-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px;
}
.ip-detail-card {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 20px; text-align: center;
}
.ip-detail-icon { font-size: 1.2rem; color: var(--teal); margin-bottom: 8px; }
.ip-detail-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.ip-detail-value { font-size: 0.92rem; font-weight: 600; color: var(--text-primary); word-break: break-word; }
.ip-detail-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.ip-map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }

@media (max-width: 768px) {
    .ip-details-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ip-details-grid { grid-template-columns: 1fr; }
}
.tools-info-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 24px; text-align: center;
}
.tools-info-card i { font-size: 1.5rem; color: var(--teal); margin-bottom: 12px; }
.tools-info-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.tools-info-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* CTA */
.tools-cta {
    padding: 60px 0; background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}
.tools-cta h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }

@media (max-width: 768px) {
    .tools-tabs { flex-direction: column; }
    .tools-tab:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border-color); }
    .tools-info-grid { grid-template-columns: 1fr; }
    .tools-card { padding: 20px; }
    .tools-card-header { flex-direction: column; gap: 12px; }
    .data-leak-form { flex-direction: column; }
    .leak-status { flex-direction: column; text-align: center; }
}

/* ── Payment Modal ── */
.payment-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.payment-modal { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); width: 420px; max-width: 92vw; overflow: hidden; animation: modalIn 0.25s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.payment-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border-color); }
.payment-modal-header h3 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.payment-modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; padding: 0; line-height: 1; }
.payment-modal-close:hover { color: var(--text-primary); }
.payment-modal-body { padding: 24px; }
.payment-plan-info { text-align: center; margin-bottom: 20px; padding: 16px; background: var(--bg-input); border-radius: var(--radius-md); }
.payment-plan-info .plan-name { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.payment-plan-info .plan-price { font-size: 1.5rem; font-weight: 800; color: var(--teal); }
.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-method-btn { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-input); cursor: pointer; transition: var(--transition); text-align: left; width: 100%; }
.payment-method-btn:hover { border-color: var(--teal); background: rgba(58,190,183,0.05); }
.payment-method-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.payment-method-btn i { font-size: 1.8rem; width: 40px; text-align: center; flex-shrink: 0; }
.payment-method-btn .pm-label { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.payment-method-btn .pm-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.fa-stripe { color: #635bff; }
.fa-paypal { color: #00457c; }
.fa-cc-stripe { color: #635bff; }
.fa-cc-paypal { color: #00457c; }

/* ── Contact Cards ── */
.contact-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}
.contact-card i { color: var(--teal); }

/* ── Location Cards ── */
.location-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    transition: var(--transition);
}
.location-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.location-flag { font-size: 22px; }
.location-name { font-size: 14px; font-weight: 500; }

@media (max-width: 768px) {
    .downloads-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .downloads-grid { grid-template-columns: 1fr; }
}

/* ── Theme Toggle Switch ── */
.theme-toggle {
    display: flex; align-items: center; gap: 6px; cursor: pointer; margin-right: 4px;
}
.theme-toggle-track {
    width: 44px; height: 24px; border-radius: 12px;
    background: var(--bg-input); border: 1px solid var(--border-color);
    position: relative; transition: var(--transition);
}
.theme-toggle-track::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--teal); transition: transform 0.3s ease;
}
[data-theme="light"] .theme-toggle-track::after { transform: translateX(20px); }
.theme-toggle-icon {
    font-size: 14px; color: var(--text-muted); width: 16px; text-align: center; transition: var(--transition);
}
.theme-toggle-icon.active { color: var(--teal); }

/* ── Auth Section (full-page centered) ── */
.auth-section {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    background: var(--gradient-hero);
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.auth-header p { font-size: 0.9rem; color: var(--text-secondary); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--text-secondary); }
.auth-footer a { color: var(--teal); font-weight: 600; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.form-check input[type="checkbox"] {
    width: 16px; height: 16px; accent-color: var(--teal); cursor: pointer;
}
.form-check a { color: var(--teal); }
.form-link { background: none; border: none; color: var(--teal); font-size: 0.85rem; cursor: pointer; font-family: inherit; }
.form-link:hover { text-decoration: underline; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }
.input-icon-wrap {
    position: relative; display: flex; align-items: center;
}
.input-icon-wrap i:first-child {
    position: absolute; left: 14px; color: var(--text-muted); font-size: 0.9rem; pointer-events: none; z-index: 1;
}
.input-icon-wrap .form-control { padding-left: 40px; }
.input-icon-wrap .form-control.has-toggle { padding-right: 48px; }
.input-icon-wrap .toggle-password {
    position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    width: 2.6rem; height: calc(100% - 4px); font-size: 1rem; z-index: 2;
    -webkit-tap-highlight-color: transparent;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0 calc(var(--radius-sm, 8px) - 2px) calc(var(--radius-sm, 8px) - 2px) 0;
    padding: 0;
}
.input-icon-wrap .toggle-password:hover { color: var(--teal); }

/* ── Light theme overrides for hero ── */
[data-theme="light"] .hero-title .gradient-text {
    color: #3abeb7; -webkit-text-fill-color: #3abeb7;
}
[data-theme="light"] .hero-title { color: #fff; }
[data-theme="light"] .hero-desc { color: #fff; }
[data-theme="light"] .hero-stat-value { color: #fff; }
[data-theme="light"] .hero-stat-label { color: rgba(255,255,255,0.6); }
[data-theme="light"] .hero .btn-secondary { border-color: var(--teal); color: var(--teal); }
[data-theme="light"] .hero .btn-secondary:hover { background: var(--teal); color: #fff; }
[data-theme="light"] .hero::before {
    background: rgba(0,0,0,0.3);
}
[data-theme="light"] .hero::after {
    background: radial-gradient(circle, rgba(58,190,183,0.06) 0%, transparent 70%);
}
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .btn-primary:hover { color: #fff; }
[data-theme="light"] .pricing-badge { color: #fff; }
[data-theme="light"] .nav-user-avatar,
[data-theme="light"] .dash-avatar,
[data-theme="light"] .sidebar-avatar { color: #fff; }
[data-theme="light"] .testimonial-avatar { color: #fff; }
[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, rgba(58,190,183,0.06), rgba(124,58,237,0.04));
}
[data-theme="light"] ::selection { background: var(--teal); color: #fff; }
[data-theme="light"] .nav-links {
    background: var(--bg-primary);
}

/* ══════════════════════════════════
   Multi-step Registration & PIN/2FA
   ══════════════════════════════════ */

/* ── Auth card wider for multi-step ── */
.auth-card-wide { max-width: 520px; }

/* ── Stepper ── */
.setup-stepper {
    display: flex; align-items: flex-start; justify-content: center; margin-bottom: 36px; padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}
.setup-step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    min-width: 56px; position: relative; z-index: 1;
    opacity: 0.35; transition: all 0.4s ease;
}
.setup-step.active, .setup-step.done { opacity: 1; }
.step-circle { position: relative; }
.step-num {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.88rem; font-weight: 700; border: 2px solid var(--border-color);
    background: var(--bg-input); color: var(--text-muted); transition: all 0.4s ease;
    position: relative; overflow: hidden;
}
.setup-step.active .step-num {
    background: var(--gradient-teal); color: #000; border-color: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-glow), 0 0 20px var(--teal-glow);
    animation: stepPulse 2s ease-in-out infinite;
}
@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--teal-glow), 0 0 20px rgba(58,190,183,0.1); }
    50% { box-shadow: 0 0 0 6px var(--teal-glow-strong), 0 0 24px rgba(58,190,183,0.2); }
}
.setup-step.done .step-num {
    background: var(--teal); color: #000; border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.setup-step.done .step-num::after {
    content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 0.8rem;
}
.setup-step.done .step-num span { display: none; }
/* ── Connector line between steps ── */
.step-connector {
    flex: 1; height: 3px; background: var(--border-color); border-radius: 3px;
    margin-top: 20px; position: relative; overflow: hidden;
    min-width: 20px; max-width: 60px;
}
.step-connector-fill {
    position: absolute; top: 0; left: 0; height: 100%; width: 0;
    background: var(--gradient-teal); border-radius: 3px;
    transition: width 0.5s ease;
}
.step-label {
    font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
    white-space: nowrap; letter-spacing: 0.3px; text-transform: uppercase;
    transition: all 0.4s ease;
}
.setup-step.active .step-label { color: var(--teal); }
.setup-step.done .step-label { color: var(--text-secondary); }

/* ── Step icon (shield, fingerprint, etc) ── */
.step-icon {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--teal-glow); color: var(--teal); font-size: 1.5rem;
}

/* ── Optional tag ── */
.optional-tag {
    font-size: 0.7rem; font-weight: 400; color: var(--text-muted); font-style: italic;
}

/* ── PIN input styling ── */
.pin-input {
    letter-spacing: 0.5em; text-align: center; font-size: 1.3rem; font-weight: 700;
    font-family: monospace;
}

/* ── Security warning ── */
.security-warning {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; margin-bottom: 16px;
    background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm); font-size: 0.82rem; color: var(--red); line-height: 1.5;
}
.security-warning i { flex-shrink: 0; margin-top: 2px; }

/* ── PIN attempts warning ── */
.pin-attempts-warning {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 16px;
    background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm); font-size: 0.82rem; color: #f59e0b; line-height: 1.5;
}
.pin-attempts-warning i { flex-shrink: 0; }

/* ── Recovery phrase box ── */
.recovery-phrase-box {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; margin-bottom: 20px;
    background: var(--bg-input); border: 2px dashed var(--teal);
    border-radius: var(--radius-sm);
}
.recovery-phrase {
    font-family: monospace; font-size: 1.2rem; font-weight: 700;
    letter-spacing: 0.1em; color: var(--teal); word-break: break-all;
}
.copy-btn {
    background: none; border: 1px solid var(--border-color); color: var(--text-secondary);
    padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer;
    font-size: 0.82rem; white-space: nowrap; transition: var(--transition);
}
.copy-btn:hover { border-color: var(--teal); color: var(--teal); }

/* ── QR code container ── */
.qr-container {
    display: flex; justify-content: center; padding: 20px;
    margin-bottom: 20px; background: #fff; border-radius: var(--radius-sm);
}
.qr-container canvas { max-width: 200px; height: auto; }

/* ── Secret key box ── */
.secret-key-box { margin-bottom: 20px; }
.secret-key-display {
    display: flex; align-items: center; gap: 8px; padding: 10px 14px;
    background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}
.secret-key-display code {
    flex: 1; font-family: monospace; font-size: 0.95rem; font-weight: 600;
    letter-spacing: 0.15em; color: var(--teal); word-break: break-all;
}

/* ── Responsive stepper ── */
@media (max-width: 480px) {
    .setup-step { min-width: 40px; }
    .step-num { width: 32px; height: 32px; font-size: 0.78rem; }
    .step-connector { margin-top: 16px; min-width: 12px; }
    .step-label { font-size: 0.58rem; }
    .auth-card-wide { max-width: 100%; }
    .recovery-phrase { font-size: 1rem; }
}

/* ── Reset method chooser ── */
.reset-method-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px;
}
.reset-method-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 24px 16px; background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition);
    text-align: center; font-family: inherit; color: var(--text-primary);
}
.reset-method-card:hover {
    border-color: var(--teal); background: var(--teal-glow);
}
.reset-method-card i {
    font-size: 1.6rem; color: var(--teal); margin-bottom: 4px;
}
.reset-method-card h3 { font-size: 0.95rem; font-weight: 600; }
.reset-method-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

@media (max-width: 480px) {
    .reset-method-grid { grid-template-columns: 1fr; }
}

/* ── Language Switcher ── */
.lang-switcher {
    position: relative;
}
.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.lang-switcher-btn:hover {
    color: var(--text-primary);
    border-color: var(--teal);
}
.lang-switcher-btn i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}
.lang-switcher.open .lang-switcher-btn i.fa-chevron-down {
    transform: rotate(180deg);
}
.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    max-height: 320px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1001;
    padding: 4px 0;
}
.lang-switcher.open .lang-switcher-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: block;
    width: 100%;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}
.lang-option:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
.lang-option.active {
    color: var(--teal);
    font-weight: 600;
}

/* ── Payment result pages (success / cancel / failed) ── */
.payment-page-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.payment-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.payment-page-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.payment-page-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.payment-page-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.payment-page-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-page-footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.payment-page-footer a:hover {
    color: var(--teal);
}

.payment-result-card {
    width: 100%;
    max-width: 520px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .payment-result-card {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.payment-result-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 42px;
}

.payment-result-icon.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.payment-result-icon.cancel {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.payment-result-icon.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.payment-result-icon.loading {
    background: rgba(28, 99, 230, 0.12);
    color: #1c63e6;
}

.payment-result-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.payment-result-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 32px;
}

.payment-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-result-actions .btn {
    min-width: 160px;
}

.payment-result-loading {
    margin-bottom: 8px;
}

@media (max-width: 576px) {
    .payment-result-card {
        padding: 36px 24px;
    }

    .payment-result-title {
        font-size: 1.45rem;
    }

    .payment-result-actions {
        flex-direction: column;
    }

    .payment-result-actions .btn {
        width: 100%;
    }
}

