/* ============================================================
   CryptoX — Main Stylesheet
   ============================================================ */

:root {
    --bg-primary: #05070d;
    --bg-secondary: #0a0f1c;
    --bg-tertiary: #0f1526;

    --card-bg: rgba(15, 21, 38, 0.55);
    --card-bg-solid: #0f1526;

    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --accent-tertiary: #14f195;

    --success: #14f195;
    --danger: #ef4444;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --border-accent: rgba(0, 212, 255, 0.25);

    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-text: linear-gradient(135deg, #00d4ff 0%, #7c3aed 60%, #b57bff 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 212, 255, 0.18), transparent 70%);

    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
    --shadow-glow-purple: 0 0 60px rgba(124, 58, 237, 0.18);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 74px;
    --container: 1240px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 15% 0%, rgba(0, 212, 255, 0.07), transparent 60%),
        radial-gradient(ellipse 700px 500px at 85% 30%, rgba(124, 58, 237, 0.08), transparent 60%),
        radial-gradient(ellipse 600px 400px at 50% 100%, rgba(0, 212, 255, 0.05), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul {
    list-style: none;
}

input, textarea {
    font-family: inherit;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.section {
    padding: clamp(64px, 9vw, 120px) 0;
    position: relative;
    z-index: 1;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex {
    display: flex;
    align-items: center;
}

/* ---------- Typography ---------- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(40px, 6vw, 64px);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid var(--border-accent);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.05);
}

.section-title {
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    max-width: 680px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: all var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 0.98rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 212, 255, 0.42);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.06);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
    font-size: 0.85rem;
    padding: 10px 16px;
}

.btn-ghost:hover {
    color: var(--accent-primary);
    border-color: var(--border-accent);
    background: rgba(0, 212, 255, 0.05);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
    padding: 8px 16px;
    border: 1px solid var(--border-accent);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.06);
    margin-bottom: 22px;
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(0, 212, 255, 0.18), transparent 40%, transparent 60%, rgba(124, 58, 237, 0.18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
    background: rgba(5, 7, 13, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 24px;
}

/* ===== Logo Layout ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition, all 0.3s ease);
}

.logo:hover {
    transform: scale(1.03);
}

/* Logo image */
.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transition: var(--transition, all 0.3s ease);
}

.logo:hover .logo-img {
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.6);
}

/* Logo text */
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo-accent {
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile logo sizing */
@media (max-width: 768px) {
    .logo-img {
        width: 36px;
        height: 36px;
    }
    .logo-text {
        font-size: 1.25rem;
    }
}
/* Nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    padding: 0 10px;
    transition: all var(--transition);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(5, 7, 13, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-nav.open {
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

.mobile-nav-list {
    padding: 16px 24px 0;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition), padding var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-primary);
    padding-left: 8px;
}

.mobile-nav-actions {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: clamp(80px, 10vw, 140px);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: clamp(0.98rem, 1.3vw, 1.1rem);
    max-width: 540px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-trust .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-tertiary);
    box-shadow: 0 0 10px var(--accent-tertiary);
}

/* Hero visual */
.hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.5), transparent 70%);
    top: 10%;
    left: 8%;
}

.orb-2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 70%);
    bottom: 8%;
    right: 8%;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.35), transparent 70%);
    top: 45%;
    right: 30%;
}

.coin-core {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.coin-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: spin 24s linear infinite;
}

.ring-1 {
    inset: 0;
    border-color: rgba(0, 212, 255, 0.35);
    border-top-color: rgba(0, 212, 255, 0.9);
}

.ring-2 {
    inset: 22px;
    border-color: rgba(124, 58, 237, 0.35);
    border-bottom-color: rgba(124, 58, 237, 0.9);
    animation-duration: 18s;
    animation-direction: reverse;
}

.ring-3 {
    inset: 44px;
    border-color: rgba(255, 255, 255, 0.12);
    border-left-color: rgba(255, 255, 255, 0.5);
    animation-duration: 30s;
}

.coin-center {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.25), rgba(124, 58, 237, 0.18));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.35), inset 0 0 30px rgba(124, 58, 237, 0.25);
    animation: pulse 4s ease-in-out infinite;
}

.node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 16px var(--accent-primary);
    z-index: 3;
}

.node-1 { top: 12%; left: 50%; animation: float 6s ease-in-out infinite; }
.node-2 { top: 30%; right: 10%; background: var(--accent-secondary); box-shadow: 0 0 16px var(--accent-secondary); animation: float 7s ease-in-out infinite 0.5s; }
.node-3 { bottom: 22%; right: 20%; background: var(--accent-tertiary); box-shadow: 0 0 16px var(--accent-tertiary); animation: float 5.5s ease-in-out infinite 1s; }
.node-4 { bottom: 15%; left: 30%; background: var(--accent-secondary); box-shadow: 0 0 16px var(--accent-secondary); animation: float 8s ease-in-out infinite 0.3s; }
.node-5 { top: 22%; left: 12%; background: var(--accent-primary); box-shadow: 0 0 16px var(--accent-primary); animation: float 6.5s ease-in-out infinite 0.8s; }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(15, 21, 38, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    z-index: 4;
}

.float-card-1 { top: 6%; right: 6%; animation: float 5s ease-in-out infinite; }
.float-card-2 { bottom: 22%; left: 0; animation: float 6s ease-in-out infinite 0.6s; }
.float-card-3 { bottom: 6%; right: 12%; animation: float 5.5s ease-in-out infinite 1.2s; }

.fc-label {
    color: var(--text-secondary);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.fc-value {
    color: var(--success);
    font-size: 0.82rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-card {
    position: relative;
    padding-top: 34px;
}

.card-number {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 18px;
    opacity: 0.9;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================================
   MARKETS
   ============================================================ */
.market-card {
    padding: 22px;
}

.market-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.coin-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-strong);
}

.btc-icon {
    background: rgba(247, 147, 26, 0.1);
    color: #f7931a;
    border-color: rgba(247, 147, 26, 0.25);
}

.eth-icon {
    background: rgba(124, 58, 237, 0.12);
    color: #a78bfa;
    border-color: rgba(124, 58, 237, 0.3);
}

.bnb-icon {
    background: rgba(240, 185, 11, 0.1);
    color: #f0b90b;
    border-color: rgba(240, 185, 11, 0.25);
}

.sol-icon {
    background: rgba(20, 241, 149, 0.1);
    color: #14f195;
    border-color: rgba(20, 241, 149, 0.25);
}

.coin-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.coin-ticker {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    font-weight: 600;
}

.market-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.change {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.change.up {
    color: var(--success);
    background: rgba(20, 241, 149, 0.1);
}

.change.down {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.sparkline {
    width: 100%;
    height: 36px;
}

.sparkline svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.25));
}

.market-disclaimer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================
   FEATURES
   ============================================================ */
.feature-card {
    text-align: left;
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.12));
    border: 1px solid var(--border-strong);
    color: var(--accent-primary);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    color: #fff;
    background: var(--gradient-primary);
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.32);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-wrapper {
    position: relative;
}

.steps-line {
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
    opacity: 0.4;
    z-index: 0;
}

.steps-grid {
    position: relative;
    z-index: 1;
}

/* Default grid (desktop) */
.grid-4.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    text-align: center;
    padding: 0 12px;
}

.step-number {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid var(--border-accent);
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.06), var(--shadow-glow);
    transition: all var(--transition);
}

.step:hover .step-number {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.08);
    color: #fff;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS — RESPONSIVE
   ============================================================ */

/* ---- Tablet: 2 columns, hide horizontal line ---- */
@media (max-width: 1024px) {
    .steps-line {
        display: none;
    }

    .grid-4.steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .step {
        padding: 0 8px;
    }
}

/* ---- Mobile: single column with vertical connector line ---- */
@media (max-width: 640px) {
    .steps-wrapper {
        padding-left: 0;
    }

    .grid-4.steps-grid {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
    }

    /* Vertical line on mobile */
    .grid-4.steps-grid::before {
        content: '';
        position: absolute;
        top: 27px;
        bottom: 27px;
        left: 26px;              /* aligns with circle center (54px / 2 - 1px) */
        width: 2px;
        background: linear-gradient(180deg,
            transparent,
            var(--accent-primary),
            var(--accent-secondary),
            transparent);
        opacity: 0.4;
        z-index: 0;
        pointer-events: none;
    }

    .step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        padding: 0 0 40px 0;
        position: relative;
        z-index: 1;
    }

    .step:last-child {
        padding-bottom: 0;
    }

    .step-number {
        margin: 0 20px 0 0;
        flex-shrink: 0;
        width: 54px;
        height: 54px;
        position: relative;
        z-index: 2;
        background: var(--bg-primary);   /* opaque so line doesn't show through */
    }

    .step-content {
        flex: 1;
        min-width: 0;
        padding-top: 4px;
    }

    .step-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .step-text {
        font-size: 0.88rem;
        max-width: 100%;
    }

    .step:hover .step-number {
        transform: scale(1.04);
    }
}

/* ---- Small phones ---- */
@media (max-width: 400px) {
    .step-number {
        width: 46px;
        height: 46px;
        font-size: 0.95rem;
    }

    .grid-4.steps-grid::before {
        top: 23px;
        bottom: 23px;
        left: 22px;
    }

    .step {
        padding-bottom: 32px;
    }

    .step-title {
        font-size: 0.95rem;
    }

    .step-text {
        font-size: 0.84rem;
    }
}/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.why-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.28), transparent 68%);
    filter: blur(50px);
    animation: pulse 6s ease-in-out infinite;
}

.why-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    animation: spin 30s linear infinite;
}

.why-ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 212, 255, 0.2);
    border-top-color: rgba(0, 212, 255, 0.65);
}

.why-ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(124, 58, 237, 0.2);
    border-bottom-color: rgba(124, 58, 237, 0.65);
    animation-direction: reverse;
    animation-duration: 22s;
}

.why-center {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 21, 38, 0.7);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-glow-purple);
    z-index: 2;
}

.checklist {
    margin: 28px 0 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(20, 241, 149, 0.12);
    color: var(--success);
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    border: 1px solid rgba(20, 241, 149, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ============================================================
   WEB3
   ============================================================ */
.web3-card {
    position: relative;
    overflow: hidden;
    padding: 34px 28px;
    isolation: isolate;
}

.web3-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.35), transparent 70%);
    filter: blur(30px);
    opacity: 0.6;
    z-index: -1;
    transition: opacity var(--transition), transform var(--transition);
}

.web3-card:nth-child(2) .web3-glow {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
}

.web3-card:nth-child(3) .web3-glow {
    background: radial-gradient(circle, rgba(20, 241, 149, 0.3), transparent 70%);
}

.web3-card:hover .web3-glow {
    opacity: 1;
    transform: scale(1.15);
}

.web3-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.web3-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.faq-item.open {
    border-color: var(--border-accent);
    background: rgba(0, 212, 255, 0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    transition: transform var(--transition), background var(--transition), color var(--transition);
    color: var(--text-secondary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 24px 22px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    padding-bottom: clamp(80px, 10vw, 130px);
}

.cta-box {
    position: relative;
    text-align: center;
    padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 64px);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(140deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08)),
        rgba(15, 21, 38, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    overflow: hidden;
    isolation: isolate;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.22), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-text {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    max-width: 620px;
    margin: 0 auto 34px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin: 16px 0 32px;
    max-width: 460px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid var(--border-strong);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form {
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(5, 7, 13, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: all var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.04);
}

.form-error {
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 5px;
    min-height: 14px;
    display: block;
}

.form-success {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--success);
    text-align: center;
    min-height: 20px;
    font-weight: 600;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 212, 255, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, transparent, rgba(10, 15, 28, 0.85));
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 18px 0 22px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link:hover {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition), padding var(--transition);
}

.footer-col a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 26px 0 34px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1200px */
@media (max-width: 1200px) {
    .hero-grid { gap: 40px; }
    .hero-visual { height: 460px; }
    .coin-core { width: 200px; height: 200px; }
    .coin-center { width: 94px; height: 94px; }
    .coin-center svg { width: 44px; height: 44px; }
    .why-visual { height: 380px; }
    .why-ring-1 { width: 260px; height: 260px; }
    .why-ring-2 { width: 190px; height: 190px; }
}

/* 1024px */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .header-wallet { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: block; }

    .header-cta { display: none; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-content { max-width: 680px; margin: 0 auto; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { height: 420px; }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-visual { height: 340px; order: 2; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-brand { grid-column: 1 / -1; }
    .footer-desc { max-width: 100%; }
}

/* 900px */
@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .steps-line { display: none; }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 480px;
        margin: 0 auto;
    }
    .step {
        text-align: left;
        display: grid;
        grid-template-columns: 54px 1fr;
        gap: 20px;
        align-items: start;
        padding: 0;
    }
    .step-number { margin: 0; }
    .step-content { grid-column: 2; }
    .step-title { margin-bottom: 6px; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }

    .checklist { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: 1 / -1; }

    .hero-visual { height: 360px; }
    .coin-core { width: 170px; height: 170px; }
    .coin-center { width: 80px; height: 80px; }
    .coin-center svg { width: 38px; height: 38px; }
    .float-card { padding: 8px 12px; font-size: 0.75rem; }

    .why-visual { height: 300px; }
    .why-ring-1 { width: 220px; height: 220px; }
    .why-ring-2 { width: 160px; height: 160px; }
    .why-center { width: 100px; height: 100px; }

    .contact-form { padding: 24px; }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* 576px */
@media (max-width: 576px) {
    :root {
        --header-height: 66px;
    }

    .container { padding: 0 18px; }

    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { gap: 14px; flex-direction: column; align-items: center; }

    .hero-visual { height: 320px; }
    .coin-core { width: 150px; height: 150px; }
    .coin-center { width: 72px; height: 72px; }
    .coin-center svg { width: 34px; height: 34px; }
    .node { width: 10px; height: 10px; }
    .float-card-2 { left: -4px; }
    .float-card-1 { right: -4px; }

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .faq-question { padding: 18px 20px; font-size: 0.95rem; }
    .faq-answer p { padding: 0 20px 20px; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .step {
        grid-template-columns: 46px 1fr;
        gap: 14px;
    }
    .step-number { width: 46px; height: 46px; font-size: 0.95rem; }
}

/* 480px */
@media (max-width: 480px) {
    .logo-text { font-size: 1.1rem; }

    .mobile-nav-actions .btn { width: 100%; }

    .section { padding: 60px 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .hero-visual { height: 280px; }
    .coin-core { width: 130px; height: 130px; }
    .coin-center { width: 62px; height: 62px; }
    .coin-center svg { width: 28px; height: 28px; }
    .coin-ring { border-width: 1px; }
}

/* 375px */
@media (max-width: 375px) {
    .container { padding: 0 14px; }

    .hero-title { font-size: 1.7rem; }
    .section-title { font-size: 1.5rem; }

    .badge { font-size: 0.65rem; padding: 6px 12px; }

    .glass-card { padding: 22px; }
    .contact-form { padding: 20px; }

    .stat-number { font-size: 1.35rem; }

    .hero-visual { height: 250px; }
    .coin-core { width: 116px; height: 116px; }
    .coin-center { width: 56px; height: 56px; }
    .coin-center svg { width: 24px; height: 24px; }
    .float-card { padding: 6px 10px; font-size: 0.7rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}