/* ===================================================================
   Weetu Deals — Modern "Ocean Precision" Light Design System (Stitch V15)
   Stack: Bootstrap 5 + Vanilla CSS
   Colors: #F4F9FF (Ice-White Canvas), #FFFFFF (Surface), #0164D5 (Royal Blue), #031C63 (Deep Navy)
   =================================================================== */

:root {
    --bg-base: #F4F9FF;
    --surface: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.95);
    --border-glass: #E4EDF8;
    --accent-neon: #077D1A;
    --accent-cyan: #0164D5;
    --text-primary: #152C57;
    --text-secondary: #526885;
    --text-muted: #526885;
    --glow-neon: 0 0 20px rgba(7, 125, 26, 0.15);
    --glow-cyan: 0 0 20px rgba(1, 100, 213, 0.20);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Inter', monospace;
    --ease-tech: cubic-bezier(0.16, 1, 0.3, 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(37, 99, 235, 0.04) 0%, rgba(217, 119, 6, 0.03) 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;
    color: var(--text-primary);
}

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

.text-gradient-neon {
    background: linear-gradient(135deg, #2563EB 0%, #D97706 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(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #2563EB;
    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: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.3s var(--ease-tech);
}

.glass-panel:hover {
    border-color: #CBD5E1;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.08);
}

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

.apex-btn-primary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.apex-btn-primary .btn-circle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.apex-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

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

.apex-btn-outline {
    background: #FFFFFF;
    border-color: #CBD5E1;
    color: #0F172A !important;
}

.apex-btn-outline:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
    color: #0F172A !important;
    transform: translateY(-2px);
}

/* Pure 2D Flat Card Architecture */
.flat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    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(-3px);
    border-color: #CBD5E1;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.08);
}

/* 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: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    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(-3px);
    border-color: #93C5FD;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.hero-deck-card.highlight {
    border-color: #FCD34D;
    background: linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
}

/* Marquee Ticker Strip */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
    padding: 14px 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: 7px;
    height: 7px;
    border-radius: 50%;
    background: #059669;
    box-shadow: 0 0 6px rgba(5, 150, 105, 0.5);
    display: inline-block;
}

.ticker-dot-cyan {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563EB;
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
    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(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #E2E8F0;
}

.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: #2563EB;
}

/* Public Footer */
.public-footer {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    padding: 70px 0 30px;
    position: relative;
    z-index: 2;
}

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

.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: #2563EB;
    transform: translateX(3px);
}
