/* =============================================================
   Unipoly Staking Landing Page — Full Styles
   ============================================================= */

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

:root {
    --bg: #07060e;
    --bg-card: rgba(18, 14, 30, 0.85);
    --purple: #8b5cf6;
    --purple-dim: rgba(139, 92, 246, 0.15);
    --gold: #fbbf24;
    --gold-dim: rgba(251, 191, 36, 0.12);
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.12);
    --text: #f1f0f5;
    --text-dim: rgba(255, 255, 255, 0.55);
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(139, 92, 246, 0.25);
    --radius: 18px;
    --radius-sm: 12px;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===================== BACKGROUND ===================== */
.landing-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(139,92,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,92,246,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
    0% { transform: translate(0,0); }
    100% { transform: translate(60px,60px); }
}
.bg-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); animation: orbFloat 16s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(139,92,246,0.18); top: -15%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: rgba(251,191,36,0.12); bottom: 10%; right: -8%; animation-delay: -6s; }
.orb-3 { width: 300px; height: 300px; background: rgba(34,197,94,0.08); top: 40%; left: 50%; animation-delay: -10s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px,-30px) scale(1.1); }
    66% { transform: translate(-30px,40px) scale(0.9); }
}
#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===================== NAVBAR ===================== */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(7,6,14,0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}
.landing-nav.scrolled {
    background: rgba(7,6,14,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 36px; height: 36px; }
.nav-brand-text { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 16px; }
.nav-brand-accent { color: var(--gold); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
    font-size: 14px; font-weight: 500; color: var(--text-dim); transition: color 0.3s;
    position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 8px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
    background: linear-gradient(135deg, var(--purple), #6d28d9); color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(139,92,246,0.4); }
.nav-hamburger {
    display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-hamburger span {
    width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===================== HERO ===================== */
.hero {
    position: relative; z-index: 10; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 24px 60px; max-width: 1200px; margin: 0 auto;
    gap: 60px;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-visual { flex: 0 0 380px; display: flex; justify-content: center; align-items: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-dim); border: 1px solid rgba(34,197,94,0.25);
    border-radius: 30px; padding: 6px 16px; font-size: 12px; font-weight: 600; color: var(--green);
    margin-bottom: 24px; animation: fadeInUp 0.8s ease forwards;
}
.hero-title {
    font-family: 'Orbitron', sans-serif; font-size: clamp(28px, 5vw, 52px);
    font-weight: 800; line-height: 1.15; margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.15s forwards; opacity: 0;
}
.gradient-text {
    background: linear-gradient(135deg, var(--purple), #a78bfa, var(--purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-gold {
    background: linear-gradient(135deg, var(--gold), #f59e0b, #fcd34d);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 16px; color: var(--text-dim); max-width: 480px; margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.3s forwards; opacity: 0;
}
.hero-subtitle strong { color: var(--gold); }

.hero-stats {
    display: flex; align-items: center; gap: 24px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 24px; margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.45s forwards; opacity: 0;
}
.hero-stat { text-align: center; flex: 1; }
.stat-value { font-family: 'Orbitron', sans-serif; font-size: 28px; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 11px; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0;
}

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 14px; font-size: 15px; font-weight: 700;
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    color: #fff; border: none; cursor: pointer; transition: all 0.3s;
    text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.45); }
.btn-glow { box-shadow: 0 0 20px rgba(139,92,246,0.3); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 14px; font-size: 15px; font-weight: 600;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    color: var(--text); cursor: pointer; transition: all 0.3s;
    text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
.btn-xl { padding: 18px 40px; font-size: 17px; border-radius: 16px; }

/* Hero Coin Visual */
.hero-coin-scene {
    position: relative; width: 300px; height: 300px;
    animation: fadeIn 1s ease 0.5s forwards; opacity: 0;
}
.hero-coin {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120px; height: 120px; z-index: 5;
}
.coin-front {
    width: 100%; height: 100%; border-radius: 50%;
    background: linear-gradient(145deg, #fcd34d, #f59e0b, #d97706);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 40px rgba(251,191,36,0.5), inset 0 2px 4px rgba(255,255,255,0.3);
    animation: coinSpin 8s linear infinite;
}
.coin-front img { width: 70%; height: 70%; object-fit: contain; }
@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
.coin-glow {
    position: absolute; inset: -20px; border-radius: 50%;
    background: radial-gradient(circle, rgba(251,191,36,0.3) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

.coin-orbit {
    position: absolute; top: 50%; left: 50%; border-radius: 50%;
    border: 1px dashed rgba(139,92,246,0.2);
    animation: orbitSpin 20s linear infinite;
}
.orbit-1 { width: 180px; height: 180px; margin: -90px 0 0 -90px; }
.orbit-2 { width: 240px; height: 240px; margin: -120px 0 0 -120px; animation-duration: 28s; animation-direction: reverse; }
.orbit-3 { width: 290px; height: 290px; margin: -145px 0 0 -145px; animation-duration: 35s; }
.orbit-dot {
    position: absolute; top: -4px; left: 50%; margin-left: -4px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--purple);
    box-shadow: 0 0 12px var(--purple);
}
@keyframes orbitSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.floating-reward {
    position: absolute; font-family: 'Orbitron', sans-serif; font-size: 14px; font-weight: 800;
    color: var(--green); background: var(--green-dim); border: 1px solid rgba(34,197,94,0.3);
    padding: 6px 12px; border-radius: 20px;
    animation: floatReward 4s ease-in-out infinite;
}
.r1 { top: 10%; right: 5%; animation-delay: 0s; }
.r2 { bottom: 20%; left: 0; animation-delay: -1.3s; }
.r3 { top: 55%; right: -5%; animation-delay: -2.6s; }
@keyframes floatReward {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(-12px); opacity: 1; }
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
    position: relative; z-index: 10; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: rgba(18,14,30,0.5); backdrop-filter: blur(10px);
    overflow: hidden;
}
.trust-inner {
    display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto; padding: 18px 24px;
}
.trust-item {
    display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-dim);
    white-space: nowrap;
}
.trust-item i { font-size: 18px; color: var(--purple); }

/* ===================== SECTIONS (shared) ===================== */
.section { position: relative; z-index: 10; padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: var(--purple);
    background: var(--purple-dim); border: 1px solid rgba(139,92,246,0.2);
    padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.section-title {
    font-family: 'Orbitron', sans-serif; font-size: clamp(24px, 4vw, 38px);
    font-weight: 800; margin-bottom: 14px;
}
.section-desc { font-size: 15px; color: var(--text-dim); max-width: 560px; margin: 0 auto; }

/* ===================== HOW IT WORKS ===================== */
.steps-timeline { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 0; }
.step-card {
    flex: 0 0 220px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 20px; text-align: center;
    position: relative; transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    opacity: 0; transform: translateY(30px);
}
.step-card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }
.step-card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: 0 12px 40px rgba(139,92,246,0.15); }
.step-number {
    font-family: 'Orbitron', sans-serif; font-size: 42px; font-weight: 900;
    color: rgba(139,92,246,0.08); position: absolute; top: 10px; right: 16px;
}
.step-icon-wrap { margin-bottom: 16px; }
.step-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--purple-dim), rgba(139,92,246,0.08));
    border: 1px solid rgba(139,92,246,0.2);
}
.step-icon i { font-size: 26px; color: var(--purple); }
.step-card h3 { font-family: 'Orbitron', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 13px; color: var(--text-dim); line-height: 1.55; }
.step-card a { color: var(--gold); text-decoration: underline; }

.step-connector {
    display: flex; align-items: center; padding-top: 60px; width: 40px; position: relative;
    opacity: 0; transform: scaleX(0);
}
.step-connector.visible { opacity: 1; transform: scaleX(1); transition: opacity 0.4s ease, transform 0.4s ease; }
.connector-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.connector-dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
    box-shadow: 0 0 10px rgba(251,191,36,0.5); flex-shrink: 0;
}

/* Step visuals */
.step-visual { margin-top: 18px; }
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 50px; justify-content: center; }
.chart-bar {
    width: 12px; border-radius: 3px 3px 0 0;
    background: rgba(139,92,246,0.25); transition: background 0.3s;
}
.chart-bar.active { background: var(--purple); }
.chart-bar.highlight { background: var(--gold); }
.step-card:hover .chart-bar { animation: barPulse 0.6s ease forwards; }
@keyframes barPulse { 50% { transform: scaleY(1.2); } }

.transfer-anim { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; }
.transfer-dot {
    width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
    animation: transferMove 2s ease-in-out infinite;
}
.transfer-line { width: 50px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--purple)); }
.transfer-wallet { font-size: 28px; color: var(--purple); }
@keyframes transferMove {
    0%, 100% { transform: translateX(0) scale(1); } 50% { transform: translateX(20px) scale(0.8); }
}

.package-mini-cards { display: flex; gap: 8px; justify-content: center; }
.pmc {
    padding: 8px 12px; border-radius: 10px; font-family: 'Orbitron', sans-serif;
    font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 2px;
    transition: border-color 0.3s, transform 0.3s;
}
.pmc span { font-size: 11px; color: var(--green); }
.pmc.popular { border-color: var(--gold); background: var(--gold-dim); }
.pmc:hover { transform: scale(1.08); border-color: var(--purple); }

.reward-stack { display: flex; flex-direction: column; gap: 4px; }
.reward-layer {
    padding: 6px 14px; border-radius: 8px; font-size: 11px; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    animation: stackSlide 0.6s ease forwards;
    opacity: 0; transform: translateX(-10px);
}
.reward-layer.base { background: var(--purple-dim); color: var(--purple); animation-delay: 0.1s; }
.reward-layer.growth { background: var(--green-dim); color: var(--green); animation-delay: 0.3s; }
.reward-layer.total { background: var(--gold-dim); color: var(--gold); animation-delay: 0.5s; }
.step-card.visible .reward-layer { opacity: 1; transform: translateX(0); }
@keyframes stackSlide { to { opacity: 1; transform: translateX(0); } }

/* ===================== PACKAGES ===================== */
.packages-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px;
    padding: 32px 24px; position: relative; overflow: hidden;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    opacity: 0; transform: translateY(30px);
}
.pkg-card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }
.pkg-card:hover { transform: translateY(-8px); border-color: var(--border-glow); box-shadow: 0 16px 50px rgba(139,92,246,0.18); }
.pkg-card.featured { border-color: var(--gold); }
.pkg-card.featured:hover { box-shadow: 0 16px 50px rgba(251,191,36,0.2); }
.pkg-popular-tag {
    position: absolute; top: 0; right: 0;
    background: linear-gradient(135deg, var(--gold), #f59e0b); color: #000;
    font-family: 'Orbitron', sans-serif; font-size: 10px; font-weight: 800;
    padding: 6px 18px 6px 22px; border-radius: 0 22px 0 18px;
}
.pkg-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.pkg-card.featured .pkg-glow {
    background: radial-gradient(circle at 50% 50%, rgba(251,191,36,0.06) 0%, transparent 60%);
}
.pkg-header { margin-bottom: 20px; }
.pkg-header i { font-size: 28px; color: var(--purple); margin-bottom: 10px; display: block; }
.pkg-card.featured .pkg-header i { color: var(--gold); }
.pkg-header h3 { font-family: 'Orbitron', sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.pkg-days { font-size: 12px; color: var(--text-dim); }

.pkg-rate { display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px; }
.rate-number { font-family: 'Orbitron', sans-serif; font-size: 48px; font-weight: 900; color: var(--gold); }
.rate-symbol { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 700; color: var(--gold); }
.rate-period { font-size: 14px; color: var(--text-dim); margin-left: 4px; }
.pkg-total {
    font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 700;
    color: var(--green); margin-bottom: 20px;
}

.pkg-features { list-style: none; margin-bottom: 20px; }
.pkg-features li {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-dim); padding: 6px 0;
}
.pkg-features li i { color: var(--green); font-size: 16px; flex-shrink: 0; }

.pkg-example {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 14px;
    display: flex; flex-direction: column; gap: 4px;
}
.pkg-example-label { font-size: 11px; color: var(--text-dim); }
.pkg-example-value { font-family: 'Orbitron', sans-serif; font-size: 14px; font-weight: 700; color: var(--gold); }

/* ---- Package loading state ---- */
.pkg-loading {
    grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 60px 24px; color: var(--text-dim);
}
.pkg-spinner {
    width: 36px; height: 36px; border: 3px solid var(--border);
    border-top-color: var(--purple); border-radius: 50%;
    animation: spin 0.8s linear infinite; margin-bottom: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pkg-loading p { font-size: 14px; }

/* ===================== CALCULATOR ===================== */
.calc-container { max-width: 800px; margin: 0 auto; }
.calc-card {
    background: var(--bg-card); border: 1px solid var(--border-glow); border-radius: 24px;
    padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    box-shadow: 0 0 60px rgba(139,92,246,0.08);
    opacity: 0; transform: translateY(30px);
}
.calc-card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.6s, transform 0.6s; }

.calc-field { margin-bottom: 24px; }
.calc-field label {
    display: block; font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px;
}
.calc-input-wrap {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 10px 14px; transition: border-color 0.3s;
}
.calc-input-wrap:focus-within { border-color: var(--purple); }
.calc-coin-icon { width: 28px; height: 28px; flex-shrink: 0; }
.calc-input-wrap input {
    background: none; border: none; outline: none; color: var(--text);
    font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 700; width: 100%;
}

.calc-range {
    width: 100%; margin-top: 12px; -webkit-appearance: none; appearance: none;
    height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); outline: none;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
    background: var(--purple); cursor: pointer; box-shadow: 0 0 10px rgba(139,92,246,0.5);
}
.calc-range::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--purple); cursor: pointer; border: none; box-shadow: 0 0 10px rgba(139,92,246,0.5);
}
.range-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-dim); margin-top: 4px; }

.calc-duration-btns { display: flex; gap: 8px; }
.calc-duration-btns button {
    flex: 1; padding: 10px 8px; border-radius: 10px; border: 1px solid var(--border);
    background: rgba(255,255,255,0.03); color: var(--text-dim); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.calc-duration-btns button.active {
    background: var(--purple-dim); border-color: var(--purple); color: var(--text);
    box-shadow: 0 0 15px rgba(139,92,246,0.2);
}
.calc-duration-btns button:hover:not(.active) { border-color: rgba(255,255,255,0.2); }

.calc-rate-display {
    font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 800; color: var(--gold);
}

.calc-results { display: flex; flex-direction: column; align-items: center; }
.calc-result-visual { position: relative; width: 180px; height: 180px; margin-bottom: 24px; }
.calc-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 10; }
.ring-fill {
    fill: none; stroke: url(#ringGrad); stroke-width: 10; stroke-linecap: round;
    stroke-dasharray: 534; stroke-dashoffset: 534;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: var(--purple);
}
.calc-ring-center {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.calc-total-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.calc-total-value { font-family: 'Orbitron', sans-serif; font-size: 26px; font-weight: 900; color: var(--gold); }
.calc-total-unit { font-size: 12px; color: var(--text-dim); }

.calc-breakdown { width: 100%; margin-bottom: 20px; }
.calc-row {
    display: flex; justify-content: space-between; padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px;
}
.calc-row-label { color: var(--text-dim); }
.calc-row-value { font-weight: 600; }
.calc-row.highlight .calc-row-value { color: var(--green); }
.calc-row.total { border-bottom: none; }
.calc-row.total .calc-row-label,
.calc-row.total .calc-row-value { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 15px; color: var(--gold); }
.calc-row.percent .calc-row-value { color: var(--purple); font-weight: 700; }
.calc-cta { width: 100%; justify-content: center; margin-top: 8px; }

/* ===================== WHY SECTION ===================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 22px; transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    opacity: 0; transform: translateY(20px);
}
.why-card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; }
.why-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: 0 10px 30px rgba(139,92,246,0.12); }
.why-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--purple-dim); border: 1px solid rgba(139,92,246,0.2);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.why-icon i { font-size: 24px; color: var(--purple); }
.why-card h3 { font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ===================== BUY SECTION ===================== */
.buy-card {
    background: var(--bg-card); border: 1px solid var(--border-glow); border-radius: 24px;
    padding: 48px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
    overflow: hidden; position: relative;
}
.buy-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700;
    color: var(--gold); background: var(--gold-dim); border: 1px solid rgba(251,191,36,0.25);
    padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.buy-content h2 {
    font-family: 'Orbitron', sans-serif; font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800; margin-bottom: 14px;
}
.buy-content p { font-size: 15px; color: var(--text-dim); margin-bottom: 24px; line-height: 1.7; }
.buy-content strong { color: var(--text); }

.buy-steps-mini { margin-bottom: 28px; }
.buy-mini-step {
    display: flex; align-items: center; gap: 12px; padding: 8px 0;
    font-size: 13px; color: var(--text-dim);
}
.bms-num {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    background: var(--purple-dim); border: 1px solid rgba(139,92,246,0.3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Orbitron', sans-serif; font-size: 12px; font-weight: 800; color: var(--purple);
}
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-mexc {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 14px; font-size: 15px; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), #f59e0b); color: #000;
    border: none; cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.btn-mexc:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(251,191,36,0.4); }

.buy-visual { display: flex; align-items: center; justify-content: center; }
.buy-coin-stack { position: relative; width: 200px; height: 200px; }
.buy-coin {
    position: absolute; width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(145deg, #fcd34d, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(251,191,36,0.3);
    animation: coinBounce 3s ease-in-out infinite;
}
.bc-1 { top: 10%; left: 10%; animation-delay: 0s; }
.bc-2 { top: 0; left: 35%; animation-delay: -0.5s; }
.bc-3 { top: 15%; left: 55%; animation-delay: -1s; }
.bc-4 { top: 35%; left: 20%; animation-delay: -1.5s; }
.bc-5 { top: 30%; left: 48%; animation-delay: -2s; }
.buy-arrow {
    position: absolute; top: 50%; left: 45%; transform: translateY(-50%);
    font-size: 32px; color: var(--purple); animation: arrowPulse 2s ease-in-out infinite;
}
.buy-wallet-icon {
    position: absolute; bottom: 10%; right: 5%;
    font-size: 56px; color: var(--purple); opacity: 0.8;
}
@keyframes coinBounce {
    0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); }
}
@keyframes arrowPulse {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-50%) translateX(8px); opacity: 1; }
}

/* ===================== FINAL CTA ===================== */
.final-cta {
    text-align: center; overflow: hidden; position: relative;
}
.cta-bg-effects { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-orb {
    position: absolute; border-radius: 50%; filter: blur(80px);
}
.cta-orb-1 { width: 400px; height: 400px; background: rgba(139,92,246,0.2); top: -30%; left: -10%; }
.cta-orb-2 { width: 350px; height: 350px; background: rgba(251,191,36,0.15); bottom: -20%; right: -5%; }
.cta-inner h2 {
    font-family: 'Orbitron', sans-serif; font-size: clamp(24px, 4vw, 40px);
    font-weight: 800; margin-bottom: 16px;
}
.cta-inner p { font-size: 16px; color: var(--text-dim); max-width: 500px; margin: 0 auto 32px; }

/* ===================== FOOTER ===================== */
.landing-footer {
    position: relative; z-index: 10;
    border-top: 1px solid var(--border); padding: 32px 24px;
    background: rgba(7,6,14,0.9);
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-brand span { font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 700; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-dim); transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
    .hero { flex-direction: column; text-align: center; padding-top: 110px; gap: 40px; }
    .hero-content { max-width: 100%; }
    .hero-visual { flex: none; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .packages-showcase { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .calc-card { grid-template-columns: 1fr; }
    .buy-card { grid-template-columns: 1fr; }
    .buy-visual { display: none; }
    .steps-timeline { flex-direction: column; align-items: center; }
    .step-connector { transform: rotate(90deg); padding-top: 0; width: 40px; height: 40px; }
    .step-card { flex: none; width: 100%; max-width: 340px; }
}
@media (max-width: 640px) {
    .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(7,6,14,0.97); backdrop-filter: blur(20px); flex-direction: column; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
    .nav-cta { display: none; }
    .hero-stats { flex-direction: column; gap: 14px; }
    .hero-stat-divider { width: 60px; height: 1px; }
    .hero-coin-scene { width: 220px; height: 220px; }
    .coin-front { width: 90px; height: 90px; }
    .hero-coin { width: 90px; height: 90px; }
    .orbit-1 { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
    .orbit-2 { width: 180px; height: 180px; margin: -90px 0 0 -90px; }
    .orbit-3 { width: 215px; height: 215px; margin: -107px 0 0 -107px; }
    .why-grid { grid-template-columns: 1fr; }
    .calc-card { padding: 24px 18px; }
    .calc-duration-btns { flex-direction: column; }
    .buy-card { padding: 28px 20px; }
    .buy-actions { flex-direction: column; }
    .btn-primary, .btn-secondary, .btn-mexc { width: 100%; justify-content: center; }
    .footer-inner { flex-direction: column; text-align: center; }
    .trust-inner { gap: 20px; }
    .trust-item { font-size: 11px; }
}
