/* Modern CSS Framework for PumpFun Sniper Bot */
/* Premium Edition with Advanced Animations */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 255, 136, 0.3);
    }
    50% {
        border-color: rgba(0, 255, 136, 0.8);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.8));
    }
    50% {
        opacity: 0.8;
        filter: drop-shadow(0 0 15px rgba(0, 255, 136, 1));
    }
}

@keyframes dataUpdate {
    0% {
        color: var(--primary);
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    }
    100% {
        color: var(--text-primary);
        text-shadow: none;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* Page Load Animations */
.section-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Animated elements on page load */
.page-loaded .page-header,
.page-loaded .content-section,
.page-loaded .pricing-card,
.page-loaded .faq-item,
.page-loaded .contact-card,
.page-loaded .referral-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-loaded .pricing-card:nth-child(1) { animation-delay: 0.1s; }
.page-loaded .pricing-card:nth-child(2) { animation-delay: 0.2s; }
.page-loaded .pricing-card:nth-child(3) { animation-delay: 0.3s; }
.page-loaded .pricing-card:nth-child(4) { animation-delay: 0.4s; }

.page-loaded .faq-item:nth-child(1) { animation-delay: 0.1s; }
.page-loaded .faq-item:nth-child(2) { animation-delay: 0.15s; }
.page-loaded .faq-item:nth-child(3) { animation-delay: 0.2s; }
.page-loaded .faq-item:nth-child(4) { animation-delay: 0.25s; }
.page-loaded .faq-item:nth-child(5) { animation-delay: 0.3s; }

/* Smooth scroll behavior with momentum */
html {
    scroll-behavior: smooth;
}

/* Update Banner */
.update-banner {
    background: var(--gradient-primary);
    color: var(--background);
    padding: var(--space-sm) 0;
    position: relative;
    z-index: 1001;
    text-align: center;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    margin-top: 70px; /* Add margin to account for fixed navbar */
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    position: relative;
}

.banner-icon {
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.banner-text {
    flex: 1;
    text-align: center;
}

.banner-close {
    position: absolute;
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--background);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.banner-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .update-banner {
        font-size: 0.8rem;
        padding: var(--space-xs) 0;
    }
    
    .banner-text {
        padding-right: var(--space-xl);
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #6366f1;
    --background: #0a0a0f;
    --surface: #1a1a24;
    --surface-light: #252538;
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --text-muted: #6b7280;
    --border: #2d2d3a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-surface: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
    --gradient-orb: radial-gradient(circle, rgba(0,255,136,0.2) 0%, transparent 70%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.3);
    
    /* Animations */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 45, 58, 0.5);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--background) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-2xl);
    font-weight: var(--font-weight-semibold);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Premium gradient orbs with better animation */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,255,136,0.25) 0%, transparent 70%);
    top: 5%;
    left: 5%;
    animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation: floatOrb2 25s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,255,136,0.15) 0%, transparent 70%);
    bottom: 10%;
    left: 40%;
    animation: floatOrb3 18s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(0.9); }
    66% { transform: translate(20px, -30px) scale(1.05); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -20px) scale(1.1); }
}

/* Grid pattern overlay */
.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-2xl);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary);
    margin-bottom: var(--space-lg);
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-badge i {
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-xl));
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.stat-number.updating {
    animation: dataUpdate 0.5s ease;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

/* ========== PREMIUM HERO VISUAL - LIVE DASHBOARD ========== */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    perspective: 1000px;
}

.trading-interface {
    background: linear-gradient(145deg, rgba(26, 26, 36, 0.9) 0%, rgba(37, 37, 56, 0.8) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transform-style: preserve-3d;
    animation: floatSubtle 6s ease-in-out infinite;
}

.interface-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.interface-header-left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.interface-header span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.interface-header-right {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.header-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
}

.header-dot.red { background: #ff5f57; }
.header-dot.yellow { background: #febc2e; }
.header-dot.green { background: #28c840; }

.interface-content {
    padding: var(--space-lg);
}

/* Live Stats Row */
.live-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.live-stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
}

.live-stat-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
}

.live-stat-card .stat-icon {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.live-stat-card .stat-value {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.live-stat-card .stat-value.updating {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.live-stat-card .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--space-xs);
}

/* Live Chart */
.live-chart-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    height: 140px;
    position: relative;
    overflow: hidden;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.chart-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.chart-value {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: var(--success);
}

.chart-value.positive { color: var(--success); }
.chart-value.negative { color: var(--error); }

.mini-chart {
    width: 100%;
    height: 80px;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.5));
}

.chart-area {
    fill: url(#chartGradient);
    opacity: 0.3;
}

.chart-grid-line {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}

/* Recent Trades */
.recent-trades {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.trades-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trades-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.trades-title i {
    color: var(--primary);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.trades-list {
    max-height: 150px;
    overflow: hidden;
}

.trade-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    animation: slideInTrade 0.5s ease;
}

@keyframes slideInTrade {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.trade-item:hover {
    background: rgba(0, 255, 136, 0.03);
}

.trade-item:last-child {
    border-bottom: none;
}

.trade-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
}

.trade-icon.buy {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.trade-icon.sell {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.trade-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trade-token {
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.trade-amount {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: right;
}

.trade-profit {
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    text-align: right;
    min-width: 60px;
}

.trade-profit.positive {
    color: var(--success);
}

.trade-profit.negative {
    color: var(--error);
}

/* Terminal Stats */
.terminal-stats {
    margin-bottom: var(--space-md);
}

/* New Stats Grid */
.terminal-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.terminal-stat-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.terminal-stat-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.terminal-stat-card.profit {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(0, 255, 136, 0.2);
}

.terminal-stat-card.trades {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.stat-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.terminal-stat-card.profit .stat-card-icon {
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary);
}

.terminal-stat-card.trades .stat-card-icon {
    background: rgba(99, 102, 241, 0.15);
    color: var(--secondary);
}

.stat-card-content {
    flex: 1;
    min-width: 0;
}

.stat-card-value {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.terminal-stat-card.profit .stat-card-value {
    color: var(--primary);
}

.stat-card-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-change {
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    padding: 3px 8px;
    border-radius: var(--radius-2xl);
    flex-shrink: 0;
}

.stat-card-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

/* Live Token Feed */
.live-token-feed {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.token-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.token-feed-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.token-feed-title i {
    color: #ff6b35;
}

.token-count {
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
}

.token-feed-list {
    max-height: 150px;
    overflow: hidden;
}

.token-feed-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.token-feed-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    animation: slideInToken 0.4s ease;
}

@keyframes slideInToken {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.token-feed-item:last-child {
    border-bottom: none;
}

.token-icon-small {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 182, 72, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    color: #ffb648;
    flex-shrink: 0;
    overflow: hidden;
}

.token-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-info-compact {
    flex: 1;
    min-width: 0;
}

.token-name-row {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.token-name-small {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.token-symbol-small {
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 4px;
    border-radius: 3px;
}

.token-time-small {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.token-status-badge {
    font-size: 0.6rem;
    font-weight: var(--font-weight-semibold);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    flex-shrink: 0;
}

.token-status-badge.new {
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary);
}

.token-status-badge.hot {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
}

.token-status-badge.live {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Live Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: var(--font-weight-semibold);
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-2xl);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.live-indicator.disconnected {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.live-indicator.disconnected .live-dot {
    background: var(--error);
    animation: none;
}

.terminal-stat.main {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terminal-stat.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

.terminal-stat-value {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    line-height: 1.2;
}

.terminal-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-xs);
}

.terminal-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-sm);
    padding: 4px 10px;
    border-radius: var(--radius-2xl);
}

.terminal-stat-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.terminal-stat-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

/* Activity Feed */
.activity-feed {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.activity-title i {
    color: var(--primary);
}

.activity-badge {
    font-size: 0.6rem;
    color: var(--success);
    background: rgba(16, 185, 129, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    gap: 4px;
}

.activity-badge.pulse::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.activity-list {
    max-height: 140px;
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    animation: slideInActivity 0.5s ease;
}

@keyframes slideInActivity {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.activity-icon.buy {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.activity-icon.sell {
    background: rgba(99, 102, 241, 0.2);
    color: var(--secondary);
}

.activity-icon.profit {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary);
}

.activity-text {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-text strong {
    color: var(--text-primary);
}

.activity-value {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
}

.activity-value.positive {
    color: var(--success);
}

.activity-value.negative {
    color: var(--error);
}

.activity-time {
    font-size: 0.6rem;
    color: var(--text-muted);
    min-width: 35px;
    text-align: right;
}

/* Bottom Stats */
.terminal-bottom-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xs);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
}

.bottom-stat {
    text-align: center;
    padding: var(--space-xs);
}

.bottom-stat-value {
    display: block;
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.bottom-stat-value.updating {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.bottom-stat-label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--background);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    background: rgba(0, 255, 136, 0.05);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Features Section */
.features {
    padding: var(--space-3xl) 0 calc(var(--space-3xl) * 1.5);
    background: var(--surface);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: linear-gradient(145deg, rgba(26, 26, 36, 0.8) 0%, rgba(37, 37, 56, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 255, 136, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Settings Section */
.settings {
    padding: var(--space-3xl) 0;
}

.settings-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-3xl);
    align-items: start;
}

.settings-form {
    background: var(--gradient-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group small {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--transition-normal);
}

.switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: transform var(--transition-normal);
}

.toggle-switch input:checked + .switch {
    background: var(--primary);
}

.toggle-switch input:checked + .switch::before {
    transform: translateX(26px);
}

.settings-preview {
    position: sticky;
    top: 100px;
}

.preview-card {
    background: var(--gradient-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.preview-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

.preview-item:last-of-type {
    border-bottom: none;
}

.preview-item .label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.preview-item .value {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.preview-item .value.positive {
    color: var(--success);
}

.preview-item .value.negative {
    color: var(--error);
}

.preview-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    color: var(--success);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: calc(var(--space-3xl) * 1.5) 0;
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--background);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--border);
}

/* Legal Pages Styles */
.legal-header {
    padding-top: 150px;
    padding-bottom: var(--space-2xl);
}

.last-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
}

.legal-content {
    padding: var(--space-3xl) 0;
    background: var(--background);
}

.legal-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.legal-nav h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: var(--space-xs);
}

.legal-nav a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.legal-nav a:hover {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.legal-text {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.legal-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: var(--space-lg) 0 var(--space-md);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.legal-section ul,
.legal-section ol {
    color: var(--text-secondary);
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-section li {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.warning-box {
    display: flex;
    gap: var(--space-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.warning-box i {
    color: var(--warning);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-box strong {
    color: var(--warning);
    display: block;
    margin-bottom: var(--space-xs);
}

.warning-box p {
    margin: 0;
    color: var(--text-secondary);
}

.intro-box {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.intro-box p {
    margin-bottom: var(--space-md);
}

.intro-box p:last-child {
    margin-bottom: 0;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.definitions-list {
    margin: var(--space-lg) 0;
}

.definitions-list dt {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-md);
}

.definitions-list dd {
    color: var(--text-secondary);
    margin-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.plan-table {
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

.plan-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.plan-table th,
.plan-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.plan-table th {
    background: rgba(0, 255, 136, 0.1);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.plan-table td {
    color: var(--text-secondary);
}

.plan-table tr:last-child td {
    border-bottom: none;
}

.agreement-box {
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
    text-align: center;
}

.agreement-box p:first-child {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.contact-info {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}

.contact-info p {
    margin-bottom: var(--space-sm);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .legal-container {
        grid-template-columns: 1fr;
    }
    
    .legal-nav {
        position: static;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding-top: 120px;
    }
    
    .legal-text {
        padding: var(--space-lg);
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-title {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    color: var(--background);
    transform: translateY(-2px);
}

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

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .trading-interface {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        width: 100%;
        height: calc(100vh - 70px);
        padding: var(--space-xl);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-container {
        padding: 0 var(--space-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .stat::after {
        display: none;
    }
    
    .settings-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .live-stats-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .trading-interface {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .live-stat-card .stat-value {
        font-size: 1rem;
    }
    
    .trade-item {
        grid-template-columns: auto 1fr auto;
        gap: var(--space-sm);
    }
    
    .trade-amount {
        display: none;
    }
}

/* Ratings Bar Section */
.ratings-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md) 0;
    margin-top: 71px; /* Account for fixed navbar - navbar height is 71px */
    position: relative;
    z-index: 100;
}

.ratings-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: 0 var(--space-md);
}

.rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--surface-light);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.rating-badge.trustpilot {
    background: linear-gradient(135deg, #00b67a 0%, #005128 100%);
    border-color: #00b67a;
}

.trustpilot-logo {
    height: 16px;
    width: auto;
    filter: brightness(1.2);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-score {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    margin-left: var(--space-xs);
}

.rating-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
}

.rating-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Reviews Section */
.reviews {
    padding: calc(var(--space-3xl) * 1.5) 0;
    background: var(--background);
    overflow: hidden;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    margin-top: var(--space-2xl);
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: var(--space-lg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.review-card {
    min-width: calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    background: linear-gradient(145deg, rgba(26, 26, 36, 0.8) 0%, rgba(37, 37, 56, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    color: rgba(0, 255, 136, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.review-card.neutral {
    border-left: 3px solid var(--warning);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.reviewer-info {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex: 1;
    min-width: 0;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    flex-shrink: 0;
}

.reviewer-name {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars i {
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

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

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: var(--text-muted);
}

/* Responsive styles for ratings and reviews */
@media (max-width: 1200px) {
    .review-card {
        min-width: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .ratings-container {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .rating-divider {
        width: 100%;
        height: 1px;
    }
    
    .reviews {
        padding: var(--space-2xl) 0;
    }
    
    .reviews-carousel {
        margin-top: var(--space-lg);
    }
    
    .review-card {
        min-width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        padding: var(--space-lg);
    }
    
    .reviews-track {
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .rating-badge {
        padding: var(--space-xs) var(--space-sm);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .rating-score {
        font-size: 0.95rem;
    }
    
    .trustpilot-logo {
        height: 14px;
    }
    
    .rating-stars i {
        font-size: 0.8rem;
    }
    
    .review-card {
        min-width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        padding: var(--space-md);
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .reviewer-name {
        font-size: 0.9rem;
    }
    
    .review-text {
        font-size: 0.875rem;
    }
    
    .review-stars i {
        font-size: 0.75rem;
    }
}
