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

:root {
    --primary: #6C3CE1;
    --primary-dark: #5A2FC4;
    --primary-light: #8B6BEF;
    --primary-glow: rgba(108, 60, 225, 0.4);
    --bg-dark: #0B0D17;
    --bg-card: #14172A;
    --bg-card-hover: #1A1E35;
    --text-white: #FFFFFF;
    --text-muted: #B0B8D1;
    --text-light: #E8ECF5;
    --border-color: #2A2D4A;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 20px 60px rgba(108, 60, 225, 0.15);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #A78BFA 50%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.badge {
    display: inline-block;
    background: rgba(108, 60, 225, 0.15);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(108, 60, 225, 0.25);
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4F46E5 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
    animation-delay: -7s;
    animation-duration: 25s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: -14s;
    animation-duration: 18s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 40px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.02); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 60, 225, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 60, 225, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

#particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 8px 30px rgba(108, 60, 225, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(108, 60, 225, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(108, 60, 225, 0.08);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 13, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 0;
    transition: all var(--transition);
}

header.scrolled {
    background: rgba(11, 13, 23, 0.95);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 0;
    object-fit: contain;
    background: transparent !important;
    box-shadow: none !important;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 12px rgba(108, 60, 225, 0.55));
}

.logo:hover span {
    color: var(--primary-light);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(108, 60, 225, 0.4);
}

nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav ul li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
    border-radius: 2px;
}

nav ul li a:hover {
    color: var(--text-white);
}

nav ul li a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

.mobile-menu {
    display: none;
    background: rgba(11, 13, 23, 0.98);
    padding: 24px;
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.mobile-menu.open {
    display: block;
    max-height: 400px;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu ul li a {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
}

.mobile-menu ul li a:hover {
    color: var(--text-white);
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px 48px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 5;
    min-width: 0;
}

.hero-content h1,
.hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.stat-plus {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-light);
}

.stat .stat-number,
.stat .stat-plus {
    display: inline;
}

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

/* Hero title lines */
.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.05em;
}

.hero-title .title-line {
    display: block;
    overflow: hidden;
}

/* Hero Visual - iPhone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px;
    min-width: 0;
    z-index: 2;
}

.phone-mockup {
    position: relative;
    z-index: 3;
    animation: phoneFloat 5.5s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.phone-bezel {
    width: 280px;
    background: linear-gradient(160deg, #2c2c32 0%, #121214 40%, #0a0a0c 100%);
    border-radius: 44px;
    padding: 14px 12px 16px;
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px #000,
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(108, 60, 225, 0.28);
    position: relative;
}

.phone-speaker {
    width: 80px;
    height: 22px;
    background: #0a0a0c;
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-speaker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a1a1e;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
    background: linear-gradient(180deg, #0e1020 0%, #14172A 55%, #12152a 100%);
    border-radius: 32px;
    padding: 14px 14px 16px;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-bar {
    width: 108px;
    height: 5px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    margin: 12px auto 0;
}

.phone-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(108, 60, 225, 0.45) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
}

/* Floating BTNX coins */
.floating-coin {
    position: absolute;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 4;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    pointer-events: none;
    animation: coinBob 5s ease-in-out infinite;
    border: 2px solid rgba(245, 197, 66, 0.35);
}

.floating-coin.coin-1 {
    top: 12%;
    right: 2%;
    width: 64px;
    height: 64px;
}

.floating-coin.coin-2 {
    bottom: 18%;
    left: 4%;
    width: 48px;
    height: 48px;
    opacity: 0.95;
    animation-delay: -2.2s;
}

@keyframes coinBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* App UI inside phone */
.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
    padding: 0 2px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.app-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: transparent !important;
    flex-shrink: 0;
}

.app-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-title {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
}

.app-status {
    font-size: 11px;
    color: #34D399;
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    display: inline-block;
    box-shadow: 0 0 6px #34D399;
}

.app-balance {
    margin-bottom: 14px;
}

.balance-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.balance-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.15;
}

.balance-change {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #34D399;
    background: rgba(52, 211, 153, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 8px;
}

.app-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(108, 60, 225, 0.35);
}

.app-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    box-shadow: none;
}

.app-tokens {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.app-token {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.app-token:hover {
    background: rgba(108, 60, 225, 0.12);
    border-color: rgba(108, 60, 225, 0.25);
    transform: translateX(2px);
}

.token-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.token-icon.eth { background: rgba(99, 102, 241, 0.3); color: #818CF8; }
.token-icon.sol { background: rgba(20, 184, 166, 0.25); color: #2DD4BF; }

.token-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.token-name {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    line-height: 1.2;
}

.token-amt {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
}

.token-value {
    font-weight: 600;
    font-size: 13px;
    color: #E8ECF5;
    flex-shrink: 0;
}

.app-ai {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(108, 60, 225, 0.12);
    border: 1px solid rgba(108, 60, 225, 0.28);
    border-radius: 12px;
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.35;
}

.ai-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

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

/* Floating badges */
.floating-badge {
    position: absolute;
    background: rgba(20, 23, 42, 0.9);
    border: 1px solid rgba(108, 60, 225, 0.3);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: floatBadge 5s ease-in-out infinite;
}

.badge-1 {
    top: 8%;
    left: -5%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 25%;
    right: -8%;
    animation-delay: -1.5s;
}

.badge-3 {
    bottom: 5%;
    left: 5%;
    animation-delay: -3s;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-indicator span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ===== LOAD ANIMATIONS ===== */
.animate-on-load {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeInUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.28s; }
.delay-3 { animation-delay: 0.44s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered title lines */
.hero-title.animate-on-load {
    opacity: 1;
    transform: none;
    animation: none;
}

.hero-title .title-line {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title .title-line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .title-line:nth-child(2) { animation-delay: 0.3s; }
.hero-title .title-line:nth-child(3) { animation-delay: 0.45s; }

/* Gradient text shimmer */
.gradient-text {
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite, fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 17px;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    position: relative;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 60, 225, 0.5);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(108, 60, 225, 0.15);
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(108, 60, 225, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: rgba(108, 60, 225, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: all var(--transition);
}

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

.feature-card:hover .feature-icon {
    background: rgba(108, 60, 225, 0.25);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(108, 60, 225, 0.3);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: rgba(20, 23, 42, 0.4);
    position: relative;
}

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

.step {
    text-align: center;
    padding: 36px 28px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 60, 225, 0.4);
    box-shadow: 0 15px 40px rgba(108, 60, 225, 0.12);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(108, 60, 225, 0.35);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.step p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ===== SECURITY ===== */
.security {
    padding: 100px 0;
}

.security-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.security-content p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 28px;
}

.security-list {
    margin-bottom: 36px;
}

.security-list li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(108, 60, 225, 0.5);
    z-index: 2;
}

.shield-inner svg {
    width: 48px;
    height: 48px;
    color: #fff;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(108, 60, 225, 0.3);
    animation: ringPulse 3s ease-out infinite;
}

.ring-1 {
    width: 140px;
    height: 140px;
    animation-delay: 0s;
}

.ring-2 {
    width: 180px;
    height: 180px;
    animation-delay: 0.6s;
}

.ring-3 {
    width: 220px;
    height: 220px;
    animation-delay: 1.2s;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* ===== ROADMAP ===== */
.roadmap {
    padding: 100px 0;
    background: rgba(20, 23, 42, 0.4);
}

.roadmap-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(108, 60, 225, 0.2));
}

.milestone {
    position: relative;
    margin-bottom: 48px;
}

.milestone:last-child {
    margin-bottom: 0;
}

.milestone-dot {
    position: absolute;
    left: -34px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 4px rgba(108, 60, 225, 0.3);
    transition: all var(--transition);
}

.milestone:hover .milestone-dot {
    box-shadow: 0 0 0 6px rgba(108, 60, 225, 0.4);
    transform: scale(1.2);
}

.milestone-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all var(--transition);
}

.milestone:hover .milestone-content {
    border-color: rgba(108, 60, 225, 0.4);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(108, 60, 225, 0.1);
}

.milestone-phase {
    font-size: 12px;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-content h3 {
    font-size: 20px;
    margin: 6px 0 8px;
    font-weight: 700;
}

.milestone-content p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ===== ECOSYSTEM ===== */
.ecosystem {
    padding: 100px 0;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto 32px;
}

.ecosystem-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.eco-icon {
    font-size: 24px;
    transition: transform var(--transition);
}

.ecosystem-item:hover {
    border-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 30px rgba(108, 60, 225, 0.15);
}

.ecosystem-item:hover .eco-icon {
    transform: scale(1.2);
}

.ecosystem-footer {
    text-align: center;
    color: var(--text-muted);
}

.ecosystem-footer a {
    color: var(--primary-light);
    font-weight: 600;
    transition: color var(--transition);
}

.ecosystem-footer a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* ===== WAITLIST ===== */
.waitlist {
    padding: 100px 0;
    background: radial-gradient(ellipse at center, rgba(108, 60, 225, 0.08), transparent 70%);
    position: relative;
}

.waitlist-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-container h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.waitlist-container > p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 32px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 16px 22px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all var(--transition);
    font-family: inherit;
}

.waitlist-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.2);
}

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

.waitlist-form button {
    flex-shrink: 0;
    min-width: 150px;
    position: relative;
}

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

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

.waitlist-form.loading .btn-text {
    visibility: hidden;
}

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

.form-message {
    margin-top: 16px;
    font-size: 14px;
    min-height: 24px;
    transition: all 0.3s;
}

.form-message.success {
    color: #34D399;
}

.form-message.error {
    color: #F87171;
}

.waitlist-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 36px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 2;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 14px 0 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
}

.social-links a:hover {
    color: var(--primary-light);
}

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

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-white);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    padding: 5px 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

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

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

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

    .security-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .security-list {
        display: inline-block;
        text-align: left;
    }

    .floating-badge {
        display: none;
    }

    .phone-bezel {
        width: 260px;
    }

    .phone-screen {
        min-height: 470px;
    }

    .floating-coin.coin-1 {
        width: 52px;
        height: 52px;
        right: 0;
    }

    .floating-coin.coin-2 {
        width: 40px;
        height: 40px;
        left: 0;
    }

    .hero-visual {
        min-height: 520px;
    }
}

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

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

    .header-actions .btn {
        display: none;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 22px;
    }

    .phone-bezel {
        width: 240px;
    }

    .phone-screen {
        min-height: 430px;
        padding: 12px 12px 14px;
    }

    .phone-mockup {
        animation: phoneFloatMobile 5.5s ease-in-out infinite;
    }

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

    .floating-coin {
        display: none;
    }

    .balance-value {
        font-size: 24px;
    }

    .hero-visual {
        min-height: 480px;
    }

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

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

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

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-stats {
        gap: 12px;
    }

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

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

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ecosystem-item {
        font-size: 13px;
        padding: 14px 10px;
    }

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

    .wallet-card {
        max-width: 100%;
        padding: 22px;
    }

    .balance-value {
        font-size: 26px;
    }
}
