/* ============================================
   Rich Byte - CRYPTO TRADING THEME v3.0
   COMPLETE RESTRUCTURE - Fresh Design
   Dual Theme: Dark & Light
   ============================================ */

:root {
    --neon-cyan: #00f0ff;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --neon-yellow: #f59e0b;
    --neon-blue: #3b82f6;
    --neon-orange: #f97316;
    --neon-red: #ef4444;
    --gradient-main: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ec4899 100%);
    --gradient-cyan-purple: linear-gradient(135deg, #00f0ff, #a855f7);
    --gradient-green-cyan: linear-gradient(135deg, #10b981, #00f0ff);
    --gradient-orange-pink: linear-gradient(135deg, #f97316, #ec4899);
    --gradient-blue-purple: linear-gradient(135deg, #3b82f6, #a855f7);
}

[data-theme="dark"] {
    --bg-primary: #030305;
    --bg-secondary: #0a0c14;
    --bg-tertiary: #11131f;
    --bg-card: rgba(17, 19, 31, 0.85);
    --bg-glass: rgba(10, 12, 20, 0.7);
    --bg-input: rgba(255, 255, 255, 0.03);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --border-light: rgba(255, 255, 255, 0.04);
    --border-medium: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 240, 255, 0.15);
    --mesh-opacity: 0.3;
}

[data-theme="light"] {
    --bg-primary: #f1f5f9;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-input: rgba(15, 23, 42, 0.04);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --border-light: rgba(15, 23, 42, 0.06);
    --border-medium: rgba(15, 23, 42, 0.1);
    --border-glow: rgba(0, 240, 255, 0.25);
    --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 40px rgba(0, 240, 255, 0.1);
    --mesh-opacity: 0.15;
}

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

body.fg-body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background 0.6s ease, color 0.6s ease;
}

/* ===== MESH GRADIENT BACKGROUND ===== */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--mesh-opacity);
    animation: meshMove 20s ease-in-out infinite;
}
.mesh-blob-1 { width: 600px; height: 600px; background: #00f0ff; top: -10%; left: -5%; animation-delay: 0s; }
.mesh-blob-2 { width: 500px; height: 500px; background: #a855f7; top: 30%; right: -10%; animation-delay: -5s; }
.mesh-blob-3 { width: 400px; height: 400px; background: #ec4899; bottom: -5%; left: 30%; animation-delay: -10s; }
.mesh-blob-4 { width: 350px; height: 350px; background: #10b981; top: 60%; right: 20%; animation-delay: -15s; }

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

/* ===== NOISE TEXTURE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ===== PARTICLE CANVAS ===== */
#fg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== THEME TOGGLE ===== */
.fg-theme-toggle {
    width: 50px; height: 26px;
    background: var(--bg-card);
    border: 2px solid var(--border-medium);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    flex-shrink: 0;
}
.fg-theme-toggle:hover { border-color: var(--neon-cyan); }
.fg-theme-toggle .slider {
    width: 18px; height: 18px;
    background: var(--gradient-main);
    border-radius: 50%;
    position: absolute;
    top: 2px; left: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; color: white;
}
[data-theme="light"] .fg-theme-toggle .slider { left: calc(100% - 22px); background: linear-gradient(135deg, #f59e0b, #f97316); }

/* ===== SIDE NAVIGATION (NEW STRUCTURE) ===== */
.fg-sidenav {
    position: fixed;
    left: 0; top: 0;
    width: 72px; height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-light);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transition: all 0.6s ease;
}

.fg-sidenav-logo {
    width: 44px; height: 44px;
    background: var(--gradient-main);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
    margin-bottom: 40px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
    animation: logoPulse 3s ease-in-out infinite;
    position: relative; overflow: hidden;
}
.fg-sidenav-logo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
    animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes logoPulse { 0%,100%{box-shadow:0 0 20px rgba(0,240,255,0.3);} 50%{box-shadow:0 0 35px rgba(0,240,255,0.5);} }
@keyframes shimmer { 0%{transform:translateX(-100%);} 100%{transform:translateX(100%);} }

.fg-sidenav-links {
    display: flex; flex-direction: column;
    gap: 8px; flex: 1;
}

.fg-sidenav-link {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}
.fg-sidenav-link:hover, .fg-sidenav-link.active {
    background: var(--bg-input);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: scale(1.1);
}
.fg-sidenav-link.active::before {
    content: ''; position: absolute;
    left: -20px; top: 50%; transform: translateY(-50%);
    width: 3px; height: 20px;
    background: var(--gradient-main);
    border-radius: 0 3px 3px 0;
}

.fg-sidenav-bottom {
    display: flex; flex-direction: column;
    gap: 12px; align-items: center;
}

/* ===== TOP BAR (NEW) ===== */
.fg-topbar {
    position: fixed;
    top: 0; left: 72px; right: 0;
    height: 64px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: all 0.6s ease;
}

.fg-topbar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--text-primary);
    transition: color 0.6s ease;
}
.fg-topbar-title span {
    background: var(--gradient-main);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.fg-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-main);
    color: white; font-weight: 600; font-size: 0.9rem;
    border-radius: 12px; text-decoration: none; border: none;
    cursor: pointer; position: relative; overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
.fg-btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}
.fg-btn-primary:hover::before { left: 100%; }
.fg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3); }

.fg-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: var(--text-secondary); font-weight: 600; font-size: 0.9rem;
    border-radius: 12px; text-decoration: none; border: 1px solid var(--border-medium);
    cursor: pointer; transition: all 0.3s ease;
}
.fg-btn-ghost:hover {
    background: var(--bg-input); color: var(--neon-cyan);
    border-color: var(--border-glow); box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* ===== MOBILE NAV (NEW) ===== */
.fg-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 70px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 16px;
    transition: all 0.6s ease;
}
.fg-mobile-link {
    display: flex; flex-direction: column;
    align-items: center; gap: 4px;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 10px; font-weight: 500;
    transition: all 0.3s ease;
}
.fg-mobile-link i { font-size: 20px; }
.fg-mobile-link.active, .fg-mobile-link:hover { color: var(--neon-cyan); }

/* ===== MAIN CONTENT AREA ===== */
.fg-main {
    margin-left: 72px;
    padding-top: 64px;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    transition: margin 0.6s ease;
}

/* ===== SECTION BASE ===== */
.fg-section { padding: 80px 32px; position: relative; }
.fg-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem; font-weight: 700;
    line-height: 1.1; letter-spacing: -2px;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: color 0.6s ease;
}
.fg-section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem; line-height: 1.7;
    max-width: 500px;
    transition: color 0.6s ease;
}
.fg-gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fg-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50px;
    color: var(--neon-cyan);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 20px;
}

/* ===== HERO - COMPLETELY NEW LAYOUT ===== */
.fg-hero {
    min-height: calc(100vh - 64px);
    display: flex; align-items: center;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.fg-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.fg-hero-left {
    position: relative;
    z-index: 2;
}

.fg-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem; font-weight: 800;
    line-height: 1.05; letter-spacing: -4px;
    margin-bottom: 24px;
    color: var(--text-primary);
    transition: color 0.6s ease;
}

.fg-hero-desc {
    font-size: 1.2rem; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 36px;
    max-width: 480px;
    transition: color 0.6s ease;
}

.fg-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.fg-hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3D Coin Element */
.fg-coin-3d {
    width: 320px; height: 320px;
    position: relative;
    animation: coinFloat 6s ease-in-out infinite;
}
@keyframes coinFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.fg-coin-3d::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15), transparent 70%);
    border-radius: 50%;
    animation: coinGlow 4s ease-in-out infinite;
}
@keyframes coinGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.2); }
}

.fg-coin-inner {
    width: 100%; height: 100%;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 120px;
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.3), 0 0 120px rgba(168, 85, 247, 0.2);
    position: relative;
    overflow: hidden;
}

.fg-coin-inner::after {
    content: ''; position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 50%);
}

/* Floating mini cards around coin */
.fg-hero-mini-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
    animation: miniFloat 5s ease-in-out infinite;
    transition: all 0.6s ease;
}
.fg-hero-mini-card:nth-child(2) { top: 0; right: 0; animation-delay: 0s; }
.fg-hero-mini-card:nth-child(3) { bottom: 40px; left: -20px; animation-delay: -1.5s; }
.fg-hero-mini-card:nth-child(4) { bottom: 0; right: 20px; animation-delay: -3s; }

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

.fg-mini-card-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--text-primary);
    transition: color 0.6s ease;
}
.fg-mini-card-label {
    font-size: 0.8rem; color: var(--text-tertiary);
    transition: color 0.6s ease;
}

/* ===== MARKET TICKER (NEW) ===== */
.fg-ticker-wrap {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    transition: all 0.6s ease;
}
.fg-ticker-track {
    display: flex;
    animation: tickerMove 40s linear infinite;
    white-space: nowrap;
}
.fg-ticker-item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 40px;
    font-size: 0.95rem; font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.6s ease;
}
.fg-ticker-item .coin-icon {
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: white;
}
.fg-ticker-item .price { color: var(--text-primary); font-weight: 600; }
.fg-ticker-item .change-up { color: var(--neon-green); }
.fg-ticker-item .change-down { color: var(--neon-red); }

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

/* ===== BENTO GRID FEATURES (NEW) ===== */
.fg-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.fg-bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
    justify-content: space-between;
}

.fg-bento-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fg-bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.fg-bento-card:hover::before { transform: scaleX(1); }

.fg-bento-card.large { grid-column: span 2; grid-row: span 2; }
.fg-bento-card.wide { grid-column: span 2; }

.fg-bento-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 16px;
}
.fg-bento-icon.cyan { background: rgba(0,240,255,0.1); color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0,240,255,0.1); }
.fg-bento-icon.purple { background: rgba(168,85,247,0.1); color: var(--neon-purple); box-shadow: 0 0 20px rgba(168,85,247,0.1); }
.fg-bento-icon.pink { background: rgba(236,72,153,0.1); color: var(--neon-pink); box-shadow: 0 0 20px rgba(236,72,153,0.1); }
.fg-bento-icon.green { background: rgba(16,185,129,0.1); color: var(--neon-green); box-shadow: 0 0 20px rgba(16,185,129,0.1); }
.fg-bento-icon.yellow { background: rgba(245,158,11,0.1); color: var(--neon-yellow); box-shadow: 0 0 20px rgba(245,158,11,0.1); }

.fg-bento-title {
    font-size: 1.2rem; font-weight: 600;
    margin-bottom: 8px; color: var(--text-primary);
    transition: color 0.6s ease;
}
.fg-bento-desc {
    font-size: 0.9rem; color: var(--text-secondary);
    line-height: 1.6; transition: color 0.6s ease;
}

/* Large card chart mockup */
.fg-chart-mock {
    height: 120px;
    display: flex; align-items: flex-end;
    gap: 6px;
    margin-top: 20px;
}
.fg-chart-bar {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.fg-bento-card:hover .fg-chart-bar { opacity: 1; }

/* ===== TRADING PREVIEW (NEW) ===== */
.fg-trade-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 32px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}
.fg-trade-preview::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0,240,255,0.05), transparent 50%);
    pointer-events: none;
}

.fg-trade-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 24px;
}
.fg-trade-pair {
    display: flex; align-items: center; gap: 12px;
}
.fg-trade-pair-icon {
    width: 44px; height: 44px;
    background: var(--gradient-main);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
}
.fg-trade-pair-name {
    font-size: 1.2rem; font-weight: 700;
    color: var(--text-primary); transition: color 0.6s ease;
}
.fg-trade-pair-price {
    font-size: 1.5rem; font-weight: 700;
    color: var(--neon-green);
}

.fg-trade-chart {
    height: 200px;
    position: relative;
    background: var(--bg-input);
    border-radius: 16px;
    overflow: hidden;
}
.fg-trade-chart-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,240,255,0.1), transparent);
    clip-path: polygon(0% 60%, 10% 55%, 20% 65%, 30% 45%, 40% 50%, 50% 30%, 60% 35%, 70% 20%, 80% 25%, 90% 15%, 100% 10%, 100% 100%, 0% 100%);
}

/* ===== PRICING CARDS (NEW) ===== */
.fg-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.fg-pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.fg-pricing-card.featured {
    border-color: var(--border-glow);
    transform: scale(1.05);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.fg-pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute; top: 16px; right: -40px;
    background: var(--gradient-main);
    color: white; font-size: 0.65rem; font-weight: 700;
    padding: 6px 50px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.fg-pricing-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.fg-pricing-card.featured:hover { transform: scale(1.05) translateY(-12px); }

.fg-pricing-tier {
    font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 16px;
}
.fg-pricing-tier.starter { color: var(--neon-cyan); }
.fg-pricing-tier.pro { color: var(--neon-purple); }
.fg-pricing-tier.vip { color: var(--neon-pink); }

.fg-pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem; font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.6s ease;
}
.fg-pricing-price span {
    font-size: 1rem; color: var(--text-tertiary);
    font-weight: 500;
}

.fg-pricing-features {
    list-style: none; padding: 0; margin: 24px 0;
    text-align: left;
}
.fg-pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.6s ease;
}
.fg-pricing-features li:last-child { border-bottom: none; }
.fg-pricing-features li i { color: var(--neon-green); font-size: 0.8rem; }

/* ===== TIMELINE HOW IT WORKS (NEW) ===== */
.fg-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.fg-timeline-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    transform: translateX(-50%);
}

.fg-timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}
.fg-timeline-item:last-child { margin-bottom: 0; }

.fg-timeline-dot {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--neon-cyan);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem; font-weight: 700;
    color: var(--neon-cyan);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transition: all 0.6s ease;
}

.fg-timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.6s ease;
}
.fg-timeline-content:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateX(8px);
}
.fg-timeline-item:nth-child(even) .fg-timeline-content:hover {
    transform: translateX(-8px);
}

.fg-timeline-title {
    font-size: 1.2rem; font-weight: 600;
    margin-bottom: 8px; color: var(--text-primary);
    transition: color 0.6s ease;
}
.fg-timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem; line-height: 1.6;
    transition: color 0.6s ease;
}

/* ===== TESTIMONIAL CAROUSEL (NEW) ===== */
.fg-testi-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.fg-testi-carousel::-webkit-scrollbar { display: none; }

.fg-testi-card {
    flex: 0 0 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 32px;
    scroll-snap-align: start;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fg-testi-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: var(--shadow-card), 0 0 30px rgba(168, 85, 247, 0.1);
}

.fg-testi-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 20px;
}
.fg-testi-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.3);
    object-fit: cover;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}
.fg-testi-name {
    font-size: 1.1rem; font-weight: 600;
    color: var(--text-primary); transition: color 0.6s ease;
}
.fg-testi-role {
    font-size: 0.85rem; color: var(--neon-purple);
    font-weight: 500;
}
.fg-testi-stars { color: var(--neon-yellow); font-size: 0.85rem; margin-bottom: 12px; }
.fg-testi-text {
    color: var(--text-secondary); line-height: 1.7;
    font-style: italic; font-size: 1rem;
    transition: color 0.6s ease;
}

/* ===== FAQ ACCORDION (NEW STYLE) ===== */
.fg-faq-list { max-width: 800px; margin: 0 auto; }
.fg-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.fg-faq-item:hover { border-color: rgba(0, 240, 255, 0.15); }
.fg-faq-item.active { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }

.fg-faq-q {
    padding: 24px 28px;
    display: flex; justify-content: space-between;
    align-items: center; cursor: pointer;
    font-weight: 600; font-size: 1.05rem;
    color: var(--text-primary); transition: all 0.3s ease;
}
.fg-faq-q:hover { color: var(--neon-cyan); }

.fg-faq-toggle {
    width: 32px; height: 32px;
    min-width: 32px;
    background: var(--bg-input);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--neon-cyan);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 16px;
    font-size: 0.8rem;
}
.fg-faq-item.active .fg-faq-toggle {
    transform: rotate(180deg);
    background: var(--neon-cyan); color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.fg-faq-a {
    padding: 0 28px;
    max-height: 0; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary); line-height: 1.8;
}
.fg-faq-item.active .fg-faq-a { padding: 0 28px 24px; max-height: 400px; }

/* ===== CTA SECTION (NEW) ===== */
.fg-cta-section {
    position: relative;
    padding: 100px 32px;
    overflow: hidden;
}
.fg-cta-bg {
    position: absolute; inset: 0;
    background: var(--gradient-main);
    opacity: 0.08;
}
.fg-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.fg-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem; font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: color 0.6s ease;
}

/* ===== CONTACT SPLIT (NEW) ===== */
.fg-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.fg-contact-info {
    display: flex; flex-direction: column; gap: 20px;
}
.fg-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    display: flex; align-items: flex-start; gap: 18px;
    transition: all 0.4s ease;
}
.fg-contact-card:hover {
    border-color: var(--border-glow);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}
.fg-contact-icon {
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 14px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}
.fg-contact-card h4 {
    font-size: 1rem; font-weight: 600;
    margin-bottom: 6px; color: var(--text-primary);
    transition: color 0.6s ease;
}
.fg-contact-card p {
    color: var(--text-secondary); margin: 0;
    font-size: 0.9rem; line-height: 1.5;
    transition: color 0.6s ease;
}

.fg-contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.6s ease;
}
.fg-input {
    width: 100%; padding: 14px 18px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-medium);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.95rem; font-family: 'Outfit', sans-serif;
    transition: all 0.4s ease;
}
.fg-input:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0, 240, 255, 0.1); background: var(--bg-input); }
.fg-input::placeholder { color: var(--text-tertiary); }

/* ===== FOOTER (NEW) ===== */
.fg-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 60px 32px 30px;
    transition: all 0.6s ease;
}
.fg-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.fg-footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 16px;
    transition: color 0.6s ease;
}
.fg-footer-brand span {
    background: var(--gradient-main);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fg-footer-desc {
    color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 24px; font-size: 0.95rem;
    transition: color 0.6s ease;
}
.fg-footer-social {
    display: flex; gap: 10px;
}
.fg-footer-social a {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-tertiary); text-decoration: none;
    font-size: 0.9rem; transition: all 0.3s ease;
}
.fg-footer-social a:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.1);
}

.fg-footer-title {
    font-size: 1rem; font-weight: 600;
    margin-bottom: 20px; color: var(--text-primary);
    transition: color 0.6s ease;
}
.fg-footer-links { list-style: none; padding: 0; margin: 0; }
.fg-footer-links li { margin-bottom: 12px; }
.fg-footer-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.9rem; transition: all 0.3s ease;
    display: inline-block;
}
.fg-footer-links a:hover { color: var(--neon-cyan); padding-left: 6px; }

.fg-footer-bottom {
    border-top: 1px solid var(--border-light);
    margin-top: 50px; padding-top: 24px;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 16px;
    max-width: 1200px; margin: 50px auto 0;
}
.fg-footer-copy {
    color: var(--text-tertiary); font-size: 0.85rem;
    transition: color 0.6s ease;
}

/* ===== ANNOUNCEMENT POPUP (NEW) ===== */
.fg-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.fg-popup-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 32px;
    padding: 48px;
    max-width: 480px; width: 100%;
    position: relative;
    box-shadow: var(--shadow-card), 0 0 50px rgba(0, 240, 255, 0.1);
    animation: popupIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.6s ease;
}
@keyframes popupIn { from{transform:scale(0.9) translateY(20px); opacity:0;} to{transform:scale(1) translateY(0); opacity:1;} }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .fg-bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .fg-bento-card.large { grid-column: span 2; grid-row: span 1; }
    .fg-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .fg-pricing-card.featured { transform: scale(1); }
    .fg-pricing-card.featured:hover { transform: scale(1) translateY(-12px); }
    .fg-footer-grid { grid-template-columns: 1fr 1fr; }
    .fg-hero-title { font-size: 3.5rem; }
    .fg-coin-3d { width: 260px; height: 260px; }
}

@media (max-width: 991px) {
    .fg-sidenav { display: none; }
    .fg-topbar { left: 0; }
    .fg-main { margin-left: 0; }
    .fg-mobile-nav { display: flex; }
    .fg-main { padding-bottom: 80px; }
    .fg-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .fg-hero-right { display: none; }
    .fg-hero-title { font-size: 3rem; letter-spacing: -2px; }
    .fg-hero-desc { margin: 0 auto 36px; }
    .fg-hero-btns { justify-content: center; }
    .fg-timeline { display: none; }
    .fg-timeline-mobile { display: block !important; }
    .fg-contact-grid { grid-template-columns: 1fr; }
    .fg-section-title { font-size: 2.2rem; }
}

@media (max-width: 767px) {
    .fg-bento-grid { grid-template-columns: 1fr; }
    .fg-bento-card.large { grid-column: span 1; }
    .fg-pricing-grid { grid-template-columns: 1fr; }
    .fg-footer-grid { grid-template-columns: 1fr; }
    .fg-hero-title { font-size: 2.4rem; }
    .fg-section { padding: 60px 20px; }
    .fg-cta-title { font-size: 2.2rem; }
    .fg-topbar { padding: 0 16px; }
    .fg-topbar-title { font-size: 1.1rem; }
    .fg-btn-primary, .fg-btn-ghost { padding: 8px 16px; font-size: 0.8rem; }
    .fg-popup-box { padding: 32px 24px; }
}

@media (max-width: 575px) {
    .fg-hero-title { font-size: 2rem; }
    .fg-section-title { font-size: 1.8rem; }
    .fg-testi-card { flex: 0 0 300px; }
    .fg-ticker-item { padding: 0 20px; font-size: 0.85rem; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); transition: background 0.6s ease; }
::-webkit-scrollbar-thumb { background: rgba(0, 240, 255, 0.2); border-radius: 3px; }
::selection { background: rgba(0, 240, 255, 0.2); color: var(--text-primary); }

/* ============================================
   SIDEBAR MENU FIX - Add this to your crypto-theme.css
   AT THE END of the file
   ============================================ */

/* ===== SIDEBAR - EXPANDED WITH TEXT & SUBMENU ===== */
.fg-sidenav {
    width: 220px;
    padding: 20px 0;
    align-items: stretch;
}

.fg-sidenav-logo {
    margin: 0 20px 30px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.fg-sidenav-links {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 12px;
    gap: 4px;
}

/* Hide scrollbar but keep functionality */
.fg-sidenav-links::-webkit-scrollbar { width: 3px; }
.fg-sidenav-links::-webkit-scrollbar-track { background: transparent; }
.fg-sidenav-links::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.15); border-radius: 3px; }

/* Menu Link */
.fg-sidenav-link {
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.fg-snav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.fg-snav-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.fg-sidenav-link:hover,
.fg-sidenav-link.active {
    background: var(--bg-input);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.08);
}

.fg-sidenav-link:hover .fg-snav-icon,
.fg-sidenav-link.active .fg-snav-icon {
    color: var(--neon-cyan);
}

.fg-sidenav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--gradient-main);
    border-radius: 0 3px 3px 0;
}

/* Menu Group (for items with submenu) */
.fg-snav-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.fg-snav-group > .fg-sidenav-link {
    padding-right: 36px;
}

/* Submenu Arrow Button */
.fg-snav-arrow {
    position: absolute;
    right: 8px;
    top: 10px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 2;
    padding: 0;
}

.fg-snav-arrow:hover {
    background: var(--bg-input);
    color: var(--neon-cyan);
}

.fg-snav-arrow.open {
    transform: rotate(90deg);
    color: var(--neon-cyan);
}

/* Submenu Container */
.fg-snav-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 0 0 42px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fg-snav-submenu.open {
    max-height: 300px;
    opacity: 1;
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Submenu Item */
.fg-snav-subitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fg-snav-subdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-tertiary);
    opacity: 0.4;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.fg-snav-subitem:hover {
    background: var(--bg-input);
    color: var(--neon-cyan);
    padding-left: 16px;
}

.fg-snav-subitem:hover .fg-snav-subdot {
    background: var(--neon-cyan);
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* Bottom area */
.fg-sidenav-bottom {
    padding: 16px 20px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 10px;
}

/* ===== ADJUST MAIN CONTENT FOR WIDER SIDEBAR ===== */
.fg-topbar {
    left: 220px;
}

.fg-main {
    margin-left: 220px;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 991px) {
    .fg-sidenav { display: none !important; }
    .fg-topbar { left: 0; }
    .fg-main { margin-left: 0; }
}

@media (max-width: 767px) {
    .fg-topbar { padding: 0 16px; }
}

/* ============================================
   Rich Byte - IMPROVEMENTS v3.1
   Hero Slider | Fixed Sidebar | Market Overview | Calculator
   ============================================ */

/* ===== HERO SLIDER ===== */
.fg-hero-slider {
    position: relative;
    min-height: calc(100vh - 64px);
    overflow: hidden;
    background: var(--bg-primary);
    transition: background 0.6s ease;
}

.fg-hero-slides {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 64px);
}

.fg-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 40px 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
    transform: scale(1.05);
}

.fg-hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.fg-hero-slide-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.fg-hero-slide .fg-hero-grid {
    position: relative;
    z-index: 1;
}

/* Slider Controls */
.fg-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.fg-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-medium);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.fg-slider-dot.active {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transform: scale(1.2);
}

.fg-slider-dot:hover {
    border-color: var(--neon-cyan);
    transform: scale(1.1);
}

.fg-slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 10;
    pointer-events: none;
}

.fg-slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.fg-slider-arrow:hover {
    background: var(--bg-input);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
    transform: scale(1.1);
}

.fg-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-light);
    z-index: 10;
}

.fg-slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-main);
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* ===== FIXED SIDEBAR — FULL ITEM DROPDOWN ===== */
.fg-snav-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.fg-snav-group.active > .fg-sidenav-link {
    background: var(--bg-input);
    color: var(--neon-cyan);
}

.fg-snav-group.active > .fg-sidenav-link .fg-snav-icon {
    color: var(--neon-cyan);
}

.fg-snav-has-submenu {
    cursor: pointer;
    padding-right: 40px !important;
}

.fg-snav-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--text-tertiary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.fg-snav-group.open .fg-snav-chevron {
    transform: translateY(-50%) rotate(180deg);
    color: var(--neon-cyan);
}

.fg-snav-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 0 0 42px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fg-snav-submenu.open {
    max-height: 300px;
    opacity: 1;
    padding-top: 6px;
    padding-bottom: 6px;
}

.fg-snav-subitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fg-snav-subitem.active {
    color: var(--neon-cyan);
    background: var(--bg-input);
}

.fg-snav-subitem.active .fg-snav-subdot {
    background: var(--neon-cyan);
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.fg-snav-subitem:hover {
    background: var(--bg-input);
    color: var(--neon-cyan);
    padding-left: 16px;
}

.fg-snav-subitem:hover .fg-snav-subdot {
    background: var(--neon-cyan);
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.fg-snav-subdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-tertiary);
    opacity: 0.4;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* ===== TOPBAR TICKER ===== */
.fg-topbar-ticker {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 6px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-right: 12px;
}

.fg-topbar-ticker .ticker-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.fg-topbar-ticker .ticker-item i {
    font-size: 0.85rem;
}

/* ===== MARKET OVERVIEW CARDS ===== */
.fg-market-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.fg-market-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fg-market-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.fg-market-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.fg-market-info {
    flex: 1;
}

.fg-market-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fg-market-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    transition: color 0.6s ease;
}

.fg-market-change {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fg-market-change.up { color: var(--neon-green); }
.fg-market-change.down { color: var(--neon-red); }

/* ===== CRYPTO CALCULATOR ===== */
.fg-calculator {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}

.fg-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
}

.fg-calc-body {
    position: relative;
    z-index: 1;
}

.fg-calc-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.fg-calc-input-group {
    flex: 1;
    min-width: 160px;
}

.fg-calc-input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.fg-calc-swap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-medium);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 1px;
    flex-shrink: 0;
}

.fg-calc-swap:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
    transform: rotate(180deg);
}

.fg-calc-result {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.fg-calc-result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.fg-calc-result-rate {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===== SCROLL TOP BUTTON ===== */
.scroll-top-glow {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.scroll-top-glow.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-glow:hover {
    background: var(--bg-input);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-4px);
}

/* ===== BADGE GLOW (Footer) ===== */
.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-glow i {
    color: var(--neon-green);
    font-size: 0.75rem;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 1199px) {
    .fg-market-overview { grid-template-columns: repeat(2, 1fr); }
    .fg-topbar-ticker { display: none !important; }
    .fg-hero-title { font-size: 3.5rem; }
    .fg-coin-3d { width: 260px; height: 260px; }
    .fg-calc-result-value { font-size: 2.2rem; }
}

@media (max-width: 991px) {
    .fg-sidenav { display: none !important; }
    .fg-topbar { left: 0; }
    .fg-main { margin-left: 0; }
    .fg-mobile-nav { display: flex; }
    .fg-main { padding-bottom: 80px; }
    .fg-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .fg-hero-right { display: none; }
    .fg-hero-title { font-size: 3rem; letter-spacing: -2px; }
    .fg-hero-desc { margin: 0 auto 36px; }
    .fg-hero-btns { justify-content: center; }
    .fg-hero-stats { justify-content: center; }
    .fg-timeline { display: none; }
    .fg-timeline-mobile { display: block !important; }
    .fg-contact-grid { grid-template-columns: 1fr; }
    .fg-section-title { font-size: 2.2rem; }
    .fg-slider-arrows { display: none; }
}

@media (max-width: 767px) {
    .fg-bento-grid { grid-template-columns: 1fr; }
    .fg-bento-card.large { grid-column: span 1; }
    .fg-pricing-grid { grid-template-columns: 1fr; }
    .fg-footer-grid { grid-template-columns: 1fr; }
    .fg-hero-title { font-size: 2.4rem; }
    .fg-section { padding: 60px 20px; }
    .fg-cta-title { font-size: 2.2rem; }
    .fg-topbar { padding: 0 16px; }
    .fg-topbar-title { font-size: 1.1rem; }
    .fg-btn-primary, .fg-btn-ghost { padding: 8px 16px; font-size: 0.8rem; }
    .fg-popup-box { padding: 32px 24px; }
    .fg-market-overview { grid-template-columns: 1fr; }
    .fg-calculator { padding: 24px; }
    .fg-calc-row { flex-direction: column; align-items: stretch; }
    .fg-calc-swap { align-self: center; transform: rotate(90deg); }
    .fg-calc-swap:hover { transform: rotate(270deg); }
    .fg-calc-result-value { font-size: 1.8rem; }
    .fg-hero-stats { gap: 20px; }
    .fg-hero-stats > div > div:first-child { font-size: 1.2rem; }
}

@media (max-width: 575px) {
    .fg-hero-title { font-size: 2rem; }
    .fg-section-title { font-size: 1.8rem; }
    .fg-testi-card { flex: 0 0 300px; }
    .fg-ticker-item { padding: 0 20px; font-size: 0.85rem; }
    .fg-slider-dots { bottom: 20px; }
}