/* ===================================================================
   Weetu — Cyber-Modern "Terminal Elegance" Design System
   Stack: Bootstrap 5 + Vanilla CSS + 3D Glassmorphism
   Colors: #060a13 (Dark Base), #0a0f1c (Surface), #00ff9d (Neon Green), #00d2ff (Cyan)
   =================================================================== */

:root {
    --bg-base: #060a13;
    --surface: #0a0f1c;
    --surface-glass: rgba(20, 27, 45, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --accent-neon: #00ff9d;
    --accent-cyan: #00d2ff;
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --text-muted: #5c6b8c;
    --glow-neon: 0 0 30px rgba(0, 255, 157, 0.35);
    --glow-cyan: 0 0 30px rgba(0, 210, 255, 0.35);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --ease-tech: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Background */
body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Radial Glow */
body::before {
    content: '';
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 157, 0.12) 0%, rgba(0, 210, 255, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Typography Overrides */
.display-apex {
    font-size: clamp(52px, 7vw, 92px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.05;
}

.heading-apex {
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 800;
    letter-spacing: -1.9px;
    line-height: 1.15;
}

.text-gradient-neon {
    background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-apex {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 300px;
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.25);
    color: var(--accent-neon);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Glassmorphism Containers */
.glass-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-tech);
}

.glass-panel:hover {
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Apex Pill Buttons (58px Height) */
.apex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 4px 28px;
    border-radius: 300px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-tech);
    position: relative;
    border: 1px solid transparent;
}

.apex-btn-primary {
    background: var(--accent-neon);
    color: #060a13 !important;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.apex-btn-primary .btn-circle-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #060a13;
    color: var(--accent-neon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    font-size: 13px;
    transition: transform 0.3s var(--ease-tech);
}

.apex-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.5);
}

.apex-btn-primary:hover .btn-circle-icon {
    transform: translateX(4px);
}

.apex-btn-outline {
    background: transparent;
    border-color: rgba(0, 255, 157, 0.35);
    color: var(--accent-neon) !important;
}

.apex-btn-outline:hover {
    background: rgba(0, 255, 157, 0.08);
    border-color: var(--accent-neon);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.25);
    transform: translateY(-2px);
}

/* Pure 2D Flat Card Architecture (No 3D / No Tilt) */
.flat-card {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    transition: transform 0.25s var(--ease-tech), border-color 0.25s var(--ease-tech), box-shadow 0.25s var(--ease-tech);
}

.flat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 157, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 157, 0.15);
}

/* 2D Hero Showcase Cards Grid */
.hero-deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.hero-deck-card {
    background: rgba(14, 21, 37, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s var(--ease-tech), border-color 0.25s var(--ease-tech), box-shadow 0.25s var(--ease-tech);
}

.hero-deck-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 255, 157, 0.2);
}

.hero-deck-card.highlight {
    border-color: rgba(0, 255, 157, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 157, 0.15);
}

/* Corner Profile Widget Styles */
.corner-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.corner-profile-btn:hover, .corner-profile-btn:focus {
    background: rgba(0, 255, 157, 0.08);
    border-color: rgba(0, 255, 157, 0.3);
    color: #ffffff;
}

.corner-profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    background: linear-gradient(135deg, #00d2ff, #00ff9d);
    color: #060a13;
    flex-shrink: 0;
}

.corner-profile-avatar .status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #060a13;
}

.status-online { background-color: #00ff9d; }
.status-idle { background-color: #f59e0b; }

.corner-profile-dropdown {
    width: 320px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d1322 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 210, 255, 0.1);
    overflow: hidden;
    z-index: 1050;
}

.corner-profile-header {
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.corner-profile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.corner-profile-menu a:hover {
    background: rgba(0, 255, 157, 0.08);
    color: #00ff9d;
    padding-left: 24px;
}

.corner-profile-menu a i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.corner-profile-footer {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Real-Time Marquee Ticker Strip */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 15, 28, 0.8);
    padding: 16px 0;
    position: relative;
    z-index: 2;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: marqueeScroll 28s linear infinite;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.marquee-content:hover {
    animation-play-state: paused;
}

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

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

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Bento Feature Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-span-2 {
    grid-column: span 2;
}

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-span-2 {
        grid-column: span 1;
    }
}

/* Public Header (76px) */
.public-header {
    height: 76px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 10, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.public-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 6px 12px;
}

.public-nav-link:hover, .public-nav-link.active {
    color: var(--accent-neon);
}

/* Public Footer (4-Column Enterprise) */
.public-footer {
    background: var(--surface);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s, transform 0.2s;
}

.footer-link:hover {
    color: var(--accent-neon);
    transform: translateX(4px);
}
