@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Brand Design Tokens - Gold & Dark Blue Theme */
:root {
    --bg-primary: #030407; /* Pitch Black */
    --bg-secondary: #0a1021; /* Deep Dark Blue */
    --bg-card: rgba(13, 21, 41, 0.7); /* Translucent Dark Blue */
    --bg-card-hover: rgba(20, 31, 61, 0.9);
    --accent: #d4af37; /* Gold */
    --accent-gradient: linear-gradient(135deg, #ffd700 0%, #b8860b 100%); /* Gold Gradient */
    --accent-glow: rgba(212, 175, 55, 0.25);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(212, 175, 55, 0.08); /* Faint Gold Border */
    --border-hover: rgba(212, 175, 55, 0.4);
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-glow: rgba(16, 185, 129, 0.35);
    
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --danger-glow: rgba(239, 68, 68, 0.35);
    
    --gold: #d4af37;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Background Glows (Dark Blue & Gold Glows) */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 16, 33, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #fff;
    text-decoration: none;
}

/* Glassmorphism Header */
.navbar-custom {
    background: rgba(3, 4, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar-custom.scrolled {
    padding: 12px 0;
    background: rgba(3, 4, 7, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(212, 175, 55, 0.15);
}

.navbar-brand img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.nav-link-custom {
    color: var(--text-secondary) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition);
}

.nav-link-custom:hover, 
.nav-link-custom.active {
    color: var(--text-primary) !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-toggler-custom {
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    outline: none !important;
    padding: 4px;
}

/* Premium Button Styles */
.btn-premium {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-premium-primary {
    background: var(--accent-gradient);
    color: #030407;
    border: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
    color: #030407;
}

.btn-premium-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-premium-secondary:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-premium-sm {
    padding: 8px 18px;
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
    z-index: 1;
}

.hero-badge {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    margin-bottom: 24px;
    align-items: center;
    gap: 8px;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 1.5s infinite alternate;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, #f6d365 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 600px;
}

.hero-highlights-list {
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.highlight-icon {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 3px;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Premium Card Components */
.glow-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.glow-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.06), 0 0 15px rgba(212, 175, 55, 0.04);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.glow-card:hover .card-icon {
    background: var(--accent-gradient);
    color: #030407;
    border-color: transparent;
    box-shadow: 0 0 15px var(--accent-glow);
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Live Crypto Market Board */
.live-board-section {
    padding: 120px 0;
    position: relative;
}

.board-container {
    background: rgba(10, 16, 33, 0.82);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 45px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(153, 69, 240, 0.03);
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.board-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--success);
}

.status-dot.loading {
    background-color: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: flash 1s infinite alternate;
}

.coin-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 2fr 2fr;
    align-items: center;
    padding: 26px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    border-radius: 12px;
}

.coin-row:last-child {
    border-bottom: none;
}

.coin-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.coin-identity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coin-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.coin-btc { background: rgba(247, 147, 26, 0.15); color: #F7931A; }
.coin-eth { background: rgba(98, 126, 221, 0.15); color: #627EEA; }
.coin-usdt { background: rgba(38, 161, 123, 0.15); color: #26A17B; }
.coin-sol { background: rgba(153, 69, 240, 0.15); color: #9945FF; }

.coin-name {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 20px;
}

.coin-symbol {
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
}

.coin-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 23px;
    letter-spacing: -0.01em;
    transition: color 0.5s ease;
}

.coin-change {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.coin-volume {
    color: var(--text-secondary);
    font-size: 16px;
}

.coin-chart {
    width: 130px;
    height: 48px;
}

/* Green and Red Flash Animations for price updates */
.flash-up {
    color: var(--success) !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.flash-down {
    color: var(--danger) !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.text-up {
    color: var(--success);
}

.text-down {
    color: var(--danger);
}

/* Grid layout for Why Aurevo */
.why-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Process Timeline (How it works) */
.timeline-section {
    padding: 100px 0;
}

.process-step-container {
    position: relative;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: var(--transition);
}

.process-step:hover .process-number {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    background: var(--bg-primary);
}

.process-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.process-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Accordion Custom Styling */
.accordion-custom .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    margin-bottom: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.accordion-custom .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    padding: 22px 25px;
    border: none;
    box-shadow: none !important;
    transition: var(--transition);
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.03);
}

.accordion-custom .accordion-button::after {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(15deg); /* Gold icon helper */
}

.accordion-custom .accordion-body {
    padding: 0 25px 25px 25px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Call To Action Block */
.cta-block {
    background: linear-gradient(135deg, rgba(3, 4, 7, 0.9) 0%, rgba(10, 16, 33, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 70px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

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

.cta-title {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 35px auto;
}

/* Footer Section */
.footer-section {
    background-color: #020204;
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-logo {
    height: 35px;
    margin-bottom: 25px;
}

.footer-about {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gradient);
    color: #030407;
    box-shadow: 0 0 10px var(--accent-glow);
    border-color: transparent;
}

.footer-header {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 13px;
    color: var(--text-muted);
}

/* Page Banner */
.page-banner {
    padding: 150px 0 70px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 40%, #f6d365 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-intro {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 750px;
}

/* Contact Page Custom */
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
}

.contact-info-list {
    margin-top: 30px;
}

.info-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-details h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.info-details p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Interactive Forms */
.form-custom .form-label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-custom .form-control {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.form-custom .form-control:focus {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    outline: none;
}

/* Section Header standard */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* Keyframes */
@keyframes pulse {
    0% {
        box-shadow: 0 0 4px var(--accent);
    }
    100% {
        box-shadow: 0 0 15px var(--accent);
    }
}

@keyframes flash {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Media Queries */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }
    .process-line {
        display: none;
    }
    .process-step {
        margin-bottom: 40px;
    }
    .coin-row {
        grid-template-columns: 2.5fr 2.5fr 1.5fr 1fr;
    }
    .coin-chart {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 130px 0 60px 0;
    }
    .hero-title {
        font-size: 34px;
    }
    .section-title {
        font-size: 28px;
    }
    .cta-block {
        padding: 40px 20px;
    }
    .cta-title {
        font-size: 28px;
    }
    .board-container {
        padding: 24px 15px;
        border-radius: 16px;
    }
    .coin-row {
        grid-template-columns: 3.2fr 3fr 2.2fr;
        font-size: 14.5px;
        padding: 22px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .coin-volume {
        display: none;
    }
    .coin-price {
        font-size: 18px;
    }
    .coin-identity img, .coin-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Binance Spot API Interactive Sandbox Styles
   ========================================================================== */

.api-sandbox-section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-primary);
}

.sandbox-container {
    background: rgba(10, 16, 33, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Endpoint Navigation Tabs */
.sandbox-tabs-wrapper {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.sandbox-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sandbox-nav-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sandbox-nav-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

.sandbox-nav-btn.active {
    color: #030407;
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 15px var(--accent-glow);
}

.sandbox-nav-btn .badge-method {
    font-size: 10px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.15);
    color: inherit;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Parameters Panel */
.params-card {
    background: rgba(13, 21, 41, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.param-input-group {
    margin-bottom: 18px;
}

.param-input-group:last-child {
    margin-bottom: 0;
}

.range-val {
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-left: 8px;
}

/* Interactive Developer Terminal */
.terminal-window {
    background: #050811;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    height: 380px;
    transition: var(--transition);
}

.terminal-window.loading {
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
}

.terminal-header {
    background: #0b0f1d;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.terminal-title {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-muted);
}

.terminal-actions {
    display: flex;
    gap: 12px;
}

.terminal-action-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.terminal-action-btn:hover {
    color: var(--text-primary);
}

.terminal-body {
    padding: 20px;
    overflow: auto;
    flex-grow: 1;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
}

.terminal-body pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Custom Code Colorizer Styles */
.json-key { color: #c084fc; font-weight: 600; }          /* Purple */
.json-string { color: #34d399; }                       /* Emerald */
.json-number { color: #fbbf24; }                       /* Gold */
.json-boolean { color: #60a5fa; font-weight: bold; }    /* Blue */
.json-null { color: #f87171; font-style: italic; }     /* Red */
.json-punctuation { color: #94a3b8; }                  /* Gray */

/* Visualization Panel */
.visualizer-card {
    background: rgba(13, 21, 41, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.visualizer-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visualizer-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
}

/* Live Depth Book Component */
.depth-meter-container {
    width: 100%;
}

.depth-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 13px;
}

.depth-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
    padding: 4px 8px;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}

.depth-row-header {
    font-weight: bold;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.depth-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.12;
    transition: width 0.3s ease;
}

.depth-bar.bid {
    right: 0;
    background-color: var(--success);
}

.depth-bar.ask {
    right: 0;
    background-color: var(--danger);
}

.depth-row span {
    position: relative;
    z-index: 1;
}

.depth-price-bid { color: var(--success); font-weight: bold; }
.depth-price-ask { color: var(--danger); font-weight: bold; }

/* Recent Trades Stream Component */
.trade-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    padding-right: 5px;
}

.trade-stream::-webkit-scrollbar {
    width: 4px;
}

.trade-stream::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.trade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 13px;
    animation: slideInDown 0.3s ease-out;
}

.trade-item.buy {
    border-left: 3px solid var(--success);
}

.trade-item.sell {
    border-left: 3px solid var(--danger);
}

.trade-time { color: var(--text-muted); }
.trade-price.buy { color: var(--success); font-weight: 600; }
.trade-price.sell { color: var(--danger); font-weight: 600; }
.trade-qty { color: var(--text-secondary); }

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

/* Time Sync Gauge */
.time-gauge-wrapper {
    text-align: center;
    padding: 20px 0;
}

.time-gauge-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(10,16,33,0.8) 70%);
    border: 3px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.time-gauge-circle.sync-good {
    border-color: var(--success);
    box-shadow: 0 0 25px var(--success-glow);
}

.time-gauge-circle.sync-warn {
    border-color: var(--gold);
    box-shadow: 0 0 25px var(--accent-glow);
}

.time-gauge-circle i {
    font-size: 28px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.sync-good i { color: var(--success); }
.sync-warn i { color: var(--gold); }

.time-gauge-offset {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
}

/* Ping Diagnostics Gauge */
.ping-pulse-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    position: relative;
}

.ping-pulse-ring {
    border: 3px solid var(--success);
    background: transparent;
    border-radius: 40px;
    height: 100px;
    width: 100px;
    position: absolute;
    animation: pingRing 1.8s ease-out infinite;
    opacity: 0;
}

.ping-pulse-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-bg);
    border: 2px solid var(--success);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--success);
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 0 20px var(--success-glow);
    z-index: 2;
    transition: var(--transition);
}

.ping-pulse-center.offline {
    border-color: var(--danger);
    color: var(--danger);
    background: var(--danger-bg);
    box-shadow: 0 0 20px var(--danger-glow);
}

.ping-pulse-center.offline .ping-pulse-ring {
    border-color: var(--danger);
}

@keyframes pingRing {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Latency Indicator */
.latency-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.latency-excellent {
    color: var(--success) !important;
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.08);
}

.latency-good {
    color: var(--gold) !important;
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.08);
}

.latency-poor {
    color: var(--danger) !important;
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.08);
}

/* Reference panel formatting */
.api-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.param-table {
    width: 100%;
    margin-top: 15px;
    font-size: 13px;
    border-collapse: collapse;
}

.param-table th, .param-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.param-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
}

.param-name {
    font-family: 'Consolas', 'Courier New', monospace;
    color: var(--accent);
    font-weight: 600;
}

.param-type {
    font-family: 'Consolas', 'Courier New', monospace;
    color: var(--text-muted);
}

.api-integration-note {
    background: rgba(212, 175, 55, 0.04);
    border-left: 3px solid var(--accent);
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Custom scrollbars for terminal and visualizations */
.terminal-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #050811;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .sandbox-container {
        padding: 20px;
    }
    .sandbox-nav-btn {
        font-size: 12px;
        padding: 8px 14px;
        width: 100%;
        justify-content: space-between;
    }
    .terminal-window {
        height: 320px;
    }
    .visualizer-body {
        min-height: 200px;
    }
}

/* GDPR Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 850px;
    margin: 0 auto;
    background: rgba(13, 21, 41, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    padding: 24px;
    z-index: 9999;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cookie-consent-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 300px;
}

.cookie-consent-content .cookie-icon {
    font-size: 28px;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.cookie-consent-content .cookie-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.cookie-consent-content .cookie-text p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-consent-content .cookie-text p .cookie-link {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-content .cookie-text p .cookie-link:hover {
    color: #fff;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
    }
    
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-consent-actions {
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Hero Animated Graphic Styles
   ========================================================================== */
.hero-graphic-container {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.hero-graphic-glow-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(153, 69, 240, 0.12) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-graphic-glow-2 {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-graphic-core {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Orbiting Paths */
.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-1 {
    width: 390px;
    height: 390px;
    animation: spin 35s linear infinite;
}

.orbit-2 {
    width: 290px;
    height: 290px;
    border-color: rgba(153, 69, 240, 0.08);
    animation: spin-reverse 25s linear infinite;
}

.orbit-3 {
    width: 170px;
    height: 170px;
    border-color: rgba(212, 175, 55, 0.08);
}

/* Central AI Core Node */
.node-ai {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(8, 12, 28, 0.95) 0%, rgba(3, 4, 7, 0.98) 100%);
    border: 2px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(212, 175, 55, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.node-ai i {
    font-size: 26px;
    color: var(--accent);
    margin-bottom: 6px;
    animation: pulse-slow 2s infinite alternate ease-in-out;
}

.node-ai span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}

.node-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    animation: ping-ring 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    z-index: 9;
}

/* Floating Crypto Badges */
.floating-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 12, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 7px 12px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 11;
    will-change: transform;
}

.node-btc {
    top: 10%;
    left: 8%;
    animation: float-y 6.5s ease-in-out infinite;
}

.node-eth {
    bottom: 12%;
    right: 12%;
    animation: float-y 5.8s ease-in-out infinite 1.2s;
}

.node-sol {
    top: 20%;
    right: 4%;
    animation: float-y 7.2s ease-in-out infinite 2.2s;
}

.floating-node .node-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
}

.node-btc .node-icon {
    background: rgba(247, 147, 26, 0.15);
    color: #F7931A;
}

.node-eth .node-icon {
    background: rgba(98, 126, 221, 0.15);
    color: #627EEA;
}

.node-sol .node-icon {
    background: rgba(153, 69, 240, 0.15);
    color: #9945FF;
}

.floating-node .node-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: var(--text-primary);
}

/* Floating Glass Cards */
.floating-glass-card {
    position: absolute;
    background: rgba(10, 16, 33, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    z-index: 12;
    will-change: transform;
}

.card-metrics {
    bottom: 8%;
    left: -2%;
    width: 190px;
    animation: float-y 5.2s ease-in-out infinite 0.6s;
}

.card-stats {
    top: 45%;
    left: 65%;
    width: 200px;
    animation: float-y 6.8s ease-in-out infinite 1.8s;
}

.floating-glass-card .small-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.floating-glass-card .status-up {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    color: var(--success);
}

.floating-glass-card .metrics-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--text-primary);
    margin-top: 2px;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.floating-glass-card .metrics-sparkline {
    width: 100%;
    height: 24px;
}

.floating-glass-card .mini-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.floating-glass-card .stats-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    color: var(--text-secondary);
}

.floating-glass-card .stats-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.floating-glass-card .text-accent {
    color: var(--accent);
    font-weight: 600;
}

/* Animations Keyframes */
@keyframes float-y {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes ping-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.22);
        opacity: 0;
    }
}

@keyframes pulse-slow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    }
}

@media (max-width: 991px) {
    .hero-graphic-container {
        height: 400px;
        margin-top: 30px;
    }
    .hero-graphic-core {
        max-width: 320px;
        height: 320px;
    }
    .orbit-1 { width: 300px; height: 300px; }
    .orbit-2 { width: 220px; height: 220px; }
    .orbit-3 { width: 130px; height: 130px; }
    .node-ai { width: 90px; height: 90px; }
    .node-ai i { font-size: 22px; }
    .card-metrics { width: 160px; left: -10%; }
    .card-stats { width: 170px; left: 60%; }
}

/* ==========================================================================
   Smooth Scroll Reveal Entrance Animations
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 35px, 0);
    transition: opacity 1.1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.1s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Group reveal layout children stagger */
.reveal-group > * {
    opacity: 0;
    transform: translate3d(0, 25px, 0);
    transition: opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity;
}

.scroll-reveal.revealed .reveal-group > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Stagger transition delay logic for children */
.scroll-reveal.revealed .reveal-group > *:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.revealed .reveal-group > *:nth-child(2) { transition-delay: 0.15s; }
.scroll-reveal.revealed .reveal-group > *:nth-child(3) { transition-delay: 0.25s; }
.scroll-reveal.revealed .reveal-group > *:nth-child(4) { transition-delay: 0.35s; }
.scroll-reveal.revealed .reveal-group > *:nth-child(5) { transition-delay: 0.45s; }
.scroll-reveal.revealed .reveal-group > *:nth-child(6) { transition-delay: 0.55s; }
.scroll-reveal.revealed .reveal-group > *:nth-child(7) { transition-delay: 0.65s; }
.scroll-reveal.revealed .reveal-group > *:nth-child(8) { transition-delay: 0.75s; }

/* Subtle reveal effect variations (like scale or fade-in only) */
.scroll-reveal-scale {
    opacity: 0;
    transform: scale3d(0.96, 0.96, 1);
    transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}



