/* ==========================================================================
   QUENTIREX CRYPTO MODERN DESIGN SYSTEM
   Inspired by elite dark-mode crypto trading platforms with high-voltage neon accents
   ========================================================================== */

:root {
    --bg-dark: #08090b;
    --bg-surface: #0e1115;
    --bg-card: #14171d;
    --bg-card-hover: #1a1e26;
    --bg-card-subtle: rgba(255, 255, 255, 0.03);
    
    --neon-lime: #c4f224;
    --neon-lime-hover: #b5e418;
    --neon-lime-light: #d6ff38;
    --neon-lime-glow: rgba(196, 242, 36, 0.35);
    --neon-lime-subtle: rgba(196, 242, 36, 0.12);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #08090b;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(196, 242, 36, 0.4);
    --border-card: rgba(255, 255, 255, 0.06);
    
    --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --green-up: #10b981;
    --red-down: #ef4444;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Grid Pattern */
.bg-grid-pattern {
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* Ambient Radial Glows */
.ambient-glow-top {
    position: absolute;
    top: -150px;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 242, 36, 0.08) 0%, rgba(196, 242, 36, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-mid {
    position: absolute;
    top: 50%;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(196, 242, 36, 0.05) 0%, rgba(196, 242, 36, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Utility Containers */
.container-custom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Typography & Accents */
.text-neon {
    color: var(--neon-lime);
}

.highlight-text {
    color: var(--neon-lime);
    font-weight: 700;
}

/* Navigation Bar */
.crypto-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 9, 11, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.crypto-navbar .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

.nav-brand .brand-logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.nav-brand-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-brand-text .dot {
    color: var(--neon-lime);
}

.nav-links-wrap {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 6px 0;
    position: relative;
}

.nav-link-item a:hover,
.nav-link-item a.active {
    color: var(--text-primary);
}

.nav-link-item a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--neon-lime);
    border-radius: 2px;
}

.nav-cta-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Modern Buttons */
.btn-neon {
    background-color: var(--neon-lime);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 11px 24px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(196, 242, 36, 0.25);
}

.btn-neon:hover {
    background-color: var(--neon-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 242, 36, 0.4);
    color: var(--text-dark);
}

.btn-neon:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--neon-lime);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    border: none;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(196, 242, 36, 0.3);
    flex-shrink: 0;
}

.btn-icon-circle:hover {
    transform: scale(1.08) rotate(45deg);
    background-color: var(--neon-lime-light);
    color: var(--text-dark);
}

/* Mobile Nav Toggle & Drawer */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-toggle-btn:hover {
    border-color: var(--neon-lime);
    color: var(--neon-lime);
}

.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #0d1015;
    border-left: 1px solid var(--border-subtle);
    padding: 28px 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 40px rgba(0,0,0,0.85);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

/* Live Ticker Bar */
.ticker-container {
    background: #060708;
    border-bottom: 1px solid var(--border-subtle);
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-track-inner {
    display: inline-flex;
    gap: 36px;
    animation: tickerScroll 30s linear infinite;
}

.ticker-track-inner:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ticker-item .sym {
    color: var(--text-secondary);
}

.ticker-item .price {
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.ticker-item .badge-up {
    color: var(--green-up);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.ticker-item .badge-down {
    color: var(--red-down);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.crypto-hero-section {
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-kicker .kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--neon-lime);
    box-shadow: 0 0 8px var(--neon-lime);
}

.hero-headline {
    font-size: clamp(2.8rem, 4.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.hero-headline .highlight {
    color: var(--neon-lime);
    position: relative;
    display: inline-block;
}

/* Social Proof Avatars */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
    object-fit: cover;
    background: #20242e;
}

.avatar-item:first-child {
    margin-left: 0;
}

.social-proof-meta {
    display: flex;
    flex-direction: column;
}

.social-proof-meta .number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.social-proof-meta .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Hero Action Box */
.hero-action-box {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 520px;
}

.hero-action-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Hero Phone Mockup Visual */
.hero-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.hero-watermark-text {
    position: absolute;
    top: 5%;
    right: -10%;
    font-size: 9rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.025);
    letter-spacing: 6px;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.phone-mockup-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    height: 500px;
}

/* Primary Top Floating Phone */
.phone-card-primary {
    position: absolute;
    top: 0;
    right: 20px;
    width: 250px;
    height: 400px;
    background: linear-gradient(165deg, #181c22 0%, #0d0f13 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 36px;
    padding: 20px 16px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(196, 242, 36, 0.12);
    transform: rotate(8deg) translateY(-10px);
    transition: transform 0.4s ease;
    z-index: 4;
}

.phone-card-primary:hover {
    transform: rotate(6deg) translateY(-18px);
}

/* Secondary Back Floating Phone */
.phone-card-secondary {
    position: absolute;
    bottom: 20px;
    right: 120px;
    width: 235px;
    height: 380px;
    background: linear-gradient(165deg, #13161c 0%, #090a0d 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    padding: 20px 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    transform: rotate(-10deg);
    transition: transform 0.4s ease;
    z-index: 3;
}

.phone-card-secondary:hover {
    transform: rotate(-7deg) translateY(-8px);
}

/* Phone Screen Components */
.phone-notch {
    width: 70px;
    height: 14px;
    background: #08090a;
    border-radius: 0 0 10px 10px;
    margin: -20px auto 14px;
}

.phone-balance-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-balance-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin: 2px 0 12px;
}

.phone-mini-chart {
    width: 100%;
    height: 60px;
    margin: 10px 0;
}

.phone-btn-group {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.phone-btn-neon {
    flex: 1;
    background: var(--neon-lime);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 0;
    border-radius: 12px;
    border: none;
    text-align: center;
    cursor: pointer;
}

.phone-btn-dark {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 8px 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    cursor: pointer;
}

/* Glowing Neon Orbit Path */
.orbit-line-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   SECTION 2: TRUSTED PARTNER & 01/02/03 CARDS
   ========================================================================== */
.partner-section {
    padding: 90px 0;
    position: relative;
}

.partner-header-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 50px;
}

.partner-title {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.partner-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* 3 Cards Row */
.cards-trio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.trio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.trio-card .card-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.trio-card .card-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.trio-card .card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.trio-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-lime);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.trio-card .card-link:hover {
    gap: 12px;
}

/* Card 02 Featured - Electric Lime */
.trio-card-featured {
    background: var(--neon-lime);
    color: var(--text-dark);
    border-color: var(--neon-lime);
    box-shadow: 0 15px 35px var(--neon-lime-glow);
}

.trio-card-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(196, 242, 36, 0.5);
    border-color: var(--neon-lime-light);
}

.trio-card-featured .card-number {
    color: var(--text-dark);
}

.trio-card-featured .card-title {
    color: var(--text-dark);
}

.trio-card-featured .card-text {
    color: #1a1e26;
    font-weight: 500;
}

.trio-card-featured .card-link {
    color: var(--text-dark);
    font-weight: 800;
}

/* ==========================================================================
   SECTION 3: TRUSTED PLATFORM ANYTIME & ANYWHERE (CHART + STATS)
   ========================================================================== */
.platform-analytics-section {
    padding: 90px 0 110px;
    position: relative;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Left Interactive Chart Visual */
.chart-visual-wrapper {
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.floating-stat-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 16px 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    max-width: 280px;
}

.floating-stat-pill.pill-top {
    align-self: flex-start;
    margin-bottom: 20px;
}

.floating-stat-pill.pill-bottom {
    align-self: flex-end;
    margin-top: 20px;
}

.stat-pill-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--neon-lime);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-pill-val::before {
    content: '|';
    color: var(--neon-lime);
    font-weight: 900;
}

.stat-pill-desc {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Glass Card Average Rate */
.glass-rate-card {
    background: rgba(19, 23, 29, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(16px);
    width: 230px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    left: 20px;
    z-index: 5;
}

.rate-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.rate-card-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.rate-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--green-up);
    font-weight: 700;
    margin: 4px 0 10px;
}

.rate-date-badge {
    background: var(--neon-lime);
    color: #000;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

/* Connecting Neon Curve Chart Line */
.neon-wave-chart {
    width: 100%;
    height: 160px;
    position: relative;
    margin: 10px 0;
}

/* Crypto Node Badges on Wave Line */
.crypto-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--neon-lime);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 0 15px var(--neon-lime);
    position: absolute;
    z-index: 3;
}

/* Right Content Info */
.platform-info-wrap .info-title {
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.star-rating-row {
    display: flex;
    gap: 6px;
    color: var(--neon-lime);
    font-size: 1.1rem;
    margin-bottom: 22px;
}

.platform-info-wrap .info-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.platform-btn-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

/* ==========================================================================
   MARKET RATES & EXCHANGE CAPABILITIES SECTION
   ========================================================================== */
.market-table-section {
    padding: 80px 0;
    position: relative;
}

.section-header-centered {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    background: var(--neon-lime-subtle);
    color: var(--neon-lime);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(196, 242, 36, 0.25);
    margin-bottom: 16px;
}

.section-headline {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.section-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Market Table Card */
.market-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.table-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 16px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.table-search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    outline: none;
    width: 220px;
    transition: border-color 0.2s ease;
}

.table-search-input:focus {
    border-color: var(--neon-lime);
}

.crypto-table-custom {
    width: 100%;
    border-collapse: collapse;
}

.crypto-table-custom th {
    text-align: left;
    padding: 16px 28px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.crypto-table-custom td {
    padding: 18px 28px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.crypto-table-custom tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.coin-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.coin-symbol-name {
    font-weight: 700;
    color: #fff;
}

.coin-full-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.table-trade-btn {
    background: var(--neon-lime-subtle);
    color: var(--neon-lime);
    border: 1px solid rgba(196, 242, 36, 0.3);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.table-trade-btn:hover {
    background: var(--neon-lime);
    color: #000;
}

/* ==========================================================================
   FEATURES / ON-RAMP / OFF-RAMP ARCHITECTURE SECTION
   ========================================================================== */
.ecosystem-section {
    padding: 90px 0;
    position: relative;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.eco-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.eco-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(196, 242, 36, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.eco-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--neon-lime-subtle);
    color: var(--neon-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.eco-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.eco-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-banner-section {
    padding: 70px 0 100px;
}

.cta-banner-card {
    background: linear-gradient(135deg, #13171f 0%, #0d1015 100%);
    border: 1px solid rgba(196, 242, 36, 0.25);
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.cta-banner-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 300px;
    background: radial-gradient(circle, var(--neon-lime-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}

.cta-buttons-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.modern-footer {
    background: #060708;
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 35px;
    color: var(--text-secondary);
    position: relative;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.footer-about-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover {
    color: var(--neon-lime);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Multi-Device Fluid Layout)
   ========================================================================== */

/* --- Large Laptops & Small Desktops (<= 1200px) --- */
@media (max-width: 1200px) {
    .container-custom {
        padding: 0 20px;
    }

    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 30px;
    }

    .hero-headline {
        font-size: clamp(2.4rem, 4vw, 3.8rem);
    }

    .analytics-grid {
        gap: 40px;
    }

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

    .footer-top-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

/* --- Tablets & Small Laptops (<= 992px) --- */
@media (max-width: 992px) {
    .ambient-glow-top {
        right: -10%;
        width: 400px;
        height: 400px;
    }

    .ambient-glow-mid {
        left: -10%;
        width: 400px;
        height: 400px;
    }

    .nav-links-wrap {
        gap: 20px;
    }

    .nav-link-item a {
        font-size: 0.88rem;
    }

    .crypto-hero-section {
        padding: 40px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-kicker {
        margin: 0 auto 20px;
    }

    .hero-headline {
        font-size: clamp(2.4rem, 5.5vw, 3.5rem);
        margin-bottom: 24px;
    }

    .hero-social-proof {
        justify-content: center;
        margin: 0 auto 28px;
    }

    .hero-action-box {
        margin: 0 auto;
        justify-content: center;
        text-align: center;
    }

    .hero-watermark-text {
        display: none;
    }

    .hero-visual-container {
        min-height: 460px;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .partner-section {
        padding: 70px 0;
    }

    .partner-header-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        margin-bottom: 40px;
    }

    .cards-trio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trio-card {
        padding: 32px 26px;
        min-height: auto;
    }

    .platform-analytics-section {
        padding: 70px 0;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .platform-info-wrap {
        text-align: center;
    }

    .star-rating-row {
        justify-content: center;
    }

    .platform-btn-row {
        justify-content: center;
    }

    .market-table-section {
        padding: 70px 0;
    }

    .ecosystem-section {
        padding: 70px 0;
    }

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

/* --- Mobile Landscape & Tablets (<= 768px) --- */
@media (max-width: 768px) {
    .nav-links-wrap {
        display: none;
    }

    .mobile-toggle-btn {
        display: inline-flex;
    }

    .crypto-navbar {
        padding: 12px 0;
    }

    .nav-brand-text {
        font-size: 1.25rem;
    }

    .brand-logo-img {
        height: 28px;
    }

    .mobile-drawer-close {
        align-self: flex-end;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1.4rem;
        cursor: pointer;
        padding: 4px 8px;
        line-height: 1;
    }

    .mobile-drawer-links {
        list-style: none;
        padding: 0;
        margin: 10px 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-drawer-links a {
        color: var(--text-primary);
        text-decoration: none;
        font-size: 1.05rem;
        font-weight: 600;
        transition: color 0.2s ease;
        padding: 4px 0;
    }

    .mobile-drawer-links a.active,
    .mobile-drawer-links a:hover {
        color: var(--neon-lime);
    }

    .hero-headline {
        font-size: clamp(2.1rem, 6.5vw, 2.9rem);
    }

    .hero-action-box {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        align-items: center;
    }

    .hero-visual-container {
        min-height: 400px;
    }

    .phone-mockup-wrapper {
        max-width: 320px;
        height: 400px;
    }

    .phone-card-primary {
        width: 210px;
        height: 340px;
        right: 10px;
        top: 0;
    }

    .phone-card-secondary {
        width: 190px;
        height: 320px;
        right: 75px;
        bottom: 10px;
    }

    .orbit-line-svg {
        width: 360px;
        height: 360px;
    }

    .chart-visual-wrapper {
        min-height: auto;
        position: relative;
    }

    .floating-stat-pill {
        max-width: 100%;
    }

    .floating-stat-pill.pill-top {
        align-self: stretch;
        margin-bottom: 12px;
    }

    .floating-stat-pill.pill-bottom {
        align-self: stretch;
        margin-top: 12px;
    }

    .glass-rate-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
        border-radius: 16px;
    }

    .table-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 20px;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        gap: 6px;
    }

    .filter-tab-btn {
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 7px 12px;
        flex-shrink: 0;
    }

    .table-search-input {
        width: 100%;
    }

    .crypto-table-custom th,
    .crypto-table-custom td {
        padding: 14px 18px;
        font-size: 0.88rem;
    }

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

    .eco-feature-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .cta-banner-section {
        padding: 50px 0 70px;
    }

    .cta-banner-card {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .cta-buttons-wrap {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons-wrap .btn-neon,
    .cta-buttons-wrap .btn-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .modern-footer {
        padding: 50px 0 25px;
    }

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

    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* --- Phablets & Mobile Devices (<= 576px) --- */
@media (max-width: 576px) {
    .container-custom {
        padding: 0 16px;
    }

    .crypto-navbar .nav-cta-wrap {
        gap: 8px;
    }

    .btn-neon {
        padding: 9px 18px;
        font-size: 0.85rem;
    }

    .btn-ghost {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .crypto-hero-section {
        padding: 30px 0 60px;
    }

    .hero-kicker {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .hero-headline {
        font-size: clamp(1.9rem, 7.8vw, 2.4rem);
        line-height: 1.15;
    }

    .hero-social-proof {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .avatar-item {
        width: 36px;
        height: 36px;
    }

    .hero-visual-container {
        min-height: 350px;
    }

    .phone-mockup-wrapper {
        max-width: 290px;
        height: 350px;
    }

    .phone-card-primary {
        width: 185px;
        height: 300px;
        right: 0;
        padding: 14px 12px;
        border-radius: 26px;
        transform: rotate(6deg) translateY(-5px);
    }

    .phone-card-secondary {
        width: 170px;
        height: 280px;
        right: 60px;
        padding: 14px 12px;
        border-radius: 24px;
        transform: rotate(-7deg);
    }

    .phone-notch {
        width: 54px;
        height: 11px;
        margin: -14px auto 8px;
    }

    .phone-balance-val {
        font-size: 1rem;
        margin: 2px 0 8px;
    }

    .phone-mini-chart {
        height: 50px;
        margin: 6px 0;
    }

    .phone-btn-group {
        gap: 6px;
        margin-top: 10px;
    }

    .phone-btn-neon,
    .phone-btn-dark {
        font-size: 0.65rem;
        padding: 6px 0;
        border-radius: 10px;
    }

    .orbit-line-svg {
        width: 310px;
        height: 310px;
    }

    .partner-section {
        padding: 45px 0;
    }

    .partner-title {
        font-size: clamp(1.8rem, 6.5vw, 2.3rem);
    }

    .trio-card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .trio-card .card-title {
        font-size: 1.25rem;
    }

    .trio-card .card-text {
        font-size: 0.88rem;
    }

    .platform-analytics-section {
        padding: 45px 0;
    }

    .platform-info-wrap .info-title {
        font-size: clamp(1.8rem, 6.5vw, 2.3rem);
    }

    .platform-info-wrap .info-text {
        font-size: 0.88rem;
    }

    .platform-btn-row {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .platform-btn-row .btn-neon,
    .platform-btn-row .btn-ghost {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .section-headline {
        font-size: clamp(1.65rem, 5.8vw, 2.1rem);
    }

    .section-subtext {
        font-size: 0.9rem;
    }

    .crypto-table-custom th,
    .crypto-table-custom td {
        padding: 12px 14px;
        font-size: 0.84rem;
    }

    .coin-symbol-name {
        font-size: 0.88rem;
    }

    .coin-full-name {
        font-size: 0.75rem;
    }

    .table-trade-btn {
        font-size: 0.76rem;
        padding: 5px 14px;
    }

    .cta-banner-section {
        padding: 40px 0 60px;
    }

    .cta-banner-card {
        padding: 32px 18px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    }

    .cta-subtitle {
        font-size: 0.88rem;
        margin-bottom: 24px;
    }

    .footer-brand-title {
        font-size: 1.25rem;
    }

    .footer-about-text {
        font-size: 0.84rem;
    }
}

/* --- Extra Small Smartphones (<= 380px) --- */
@media (max-width: 380px) {
    .container-custom {
        padding: 0 12px;
    }

    .nav-brand-text {
        font-size: 1.05rem;
    }

    .brand-logo-img {
        height: 24px;
    }

    .btn-neon {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

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

    .hero-visual-container {
        min-height: 310px;
    }

    .phone-mockup-wrapper {
        max-width: 260px;
        height: 310px;
    }

    .phone-card-primary {
        width: 165px;
        height: 265px;
        right: 0;
        padding: 10px 8px;
        border-radius: 22px;
    }

    .phone-card-secondary {
        width: 150px;
        height: 245px;
        right: 50px;
        padding: 10px 8px;
        border-radius: 20px;
    }

    .orbit-line-svg {
        width: 260px;
        height: 260px;
    }

    .trio-card {
        padding: 20px 16px;
    }

    .trio-card .card-title {
        font-size: 1.15rem;
    }

    .cta-banner-card {
        padding: 26px 14px;
    }

    .cta-title {
        font-size: 1.45rem;
    }
}

/* --- Accessibility: Respect reduced motion settings --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ticker-track-inner {
        animation: none;
    }
}
