/* ==========================================================================
   Crypto2Stock KOC Accelerator - Stylesheet (Geeky Dark Mode & Glassmorphism)
   ========================================================================== */

:root {
    --bg-dark: #080B10;
    --bg-card: rgba(14, 20, 31, 0.75);
    --bg-card-border: rgba(0, 242, 254, 0.15);
    
    --color-cyan: #00F2FE;
    --color-emerald: #00F5A0;
    --color-gold: #FFD700;
    --color-purple: #7F00FF;
    
    --text-main: #F0F4F8;
    --text-muted: #94A3B8;
    --text-dark: #0F172A;
    
    --font-heading: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-heading);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    line-height: 1.6;
}

/* Background Canvas */
#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Utility Text Colors & Gradients */
.text-cyan { color: var(--color-cyan); }
.text-emerald { color: var(--color-emerald); }
.text-gold { color: var(--color-gold); }

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

.text-center { text-align: center; }
.hidden { display: none !important; }
.mt-4 { margin-top: 1.5rem; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.5rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 38px;
    object-fit: contain;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-cyan);
    font-weight: 700;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-emerald);
    animation: pulse 1.5s infinite;
}

.nav-menu {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0;
    border-radius: 30px;
    position: relative;
}

.nav-menu-track {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    width: max-content;
    animation: menuMarquee 22s linear infinite;
    will-change: transform;
}

.nav-menu:hover .nav-menu-track,
.nav-menu:active .nav-menu-track {
    animation-play-state: paused;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-admin-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-admin-toggle:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--color-cyan);
}

.admin-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-emerald);
    color: var(--text-dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-emerald));
    color: var(--text-dark);
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

/* Layout Containers */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.2rem 4rem;
}

.section-container {
    margin-top: 4.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 0.3rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(FF, 215, 0, 0.3);
    color: var(--color-gold);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;

}

.hero-slogan {
    margin-top: 1.2rem;
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 750px;
}

/* Mascot Banner Card */
.mascot-hero-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    margin: 1.2rem 0 1rem 0;
    max-width: 780px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    gap: 1.2rem;
}

.mascot-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.45));
    animation: floatMascot 4s ease-in-out infinite;
    transition: var(--transition);
}

.mascot-img:hover {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 30px rgba(0, 245, 160, 0.7));
}

@keyframes floatMascot {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

.speech-bubble {
    text-align: left;
}

.speech-text {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.5;
}

.speech-author {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-emerald);
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-emerald));
    color: var(--text-dark);
    font-weight: 800;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.4);
    transition: var(--transition);
}

.btn-primary-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 245, 160, 0.7);
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    font-weight: 700;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-cyan);
}

/* 3 Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-top-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pillar-card:hover {
    transform: translateY(-4px);
}

.pillar-card.glow-blue:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.pillar-card.glow-green:hover {
    border-color: var(--color-emerald);
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.2);
}

.pillar-card.glow-gold:hover {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.pillar-heading {
    font-size: 1.18rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
}

.pillar-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.pillar-footer .pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.pillar-footer .pill-badge.green {
    background: rgba(0, 245, 160, 0.1);
    color: var(--color-emerald);
    border-color: rgba(0, 245, 160, 0.2);
}

.pillar-footer .pill-badge.gold {
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-gold);
    border-color: rgba(255, 215, 0, 0.2);
}

/* Glass Box Wrapper */
.glass-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Calculator Section */
.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mascot-calc {
    width: 145px;
    height: 145px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 245, 160, 0.4));
    transition: var(--transition);
}

.mascot-calc:hover {
    transform: scale(1.1) rotate(4deg);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.7));
}

.control-group {
    margin-bottom: 1.8rem;
}

.control-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

.control-value {
    font-family: var(--font-mono);
    color: var(--color-emerald);
    font-weight: 700;
}

.cyber-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

.cyber-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-cyan);
    cursor: pointer;
    box-shadow: 0 0 12px var(--color-cyan);
    transition: var(--transition);
}

.cyber-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    text-align: center;
}

.result-card.highlight-card {
    background: rgba(0, 245, 160, 0.06);
    border-color: rgba(0, 245, 160, 0.3);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.result-number {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0.4rem 0;
}

.result-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 18px;
    padding: 1.8rem;
    display: flex;
    gap: 1.2rem;
}

.benefit-badge-icon {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mascot Motivation Box */
.mascot-motivation-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 245, 160, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 2rem 2.2rem;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 230px;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.motivation-text {
    z-index: 2;
    padding-right: 1rem;
}

.motivation-text h4 {
    color: var(--color-gold);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.motivation-text p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.mascot-mini.mascot-runner {
    width: 230px;
    height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.7));
    animation: moveRightToLeft 4s ease-in-out infinite alternate;
    z-index: 1;
    justify-self: end;
}

@keyframes moveRightToLeft {
    0% {
        transform: translateX(20px) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(-25px) translateY(-8px) rotate(-5deg);
    }
}

.btn-gold-pulse {
    background: var(--color-gold);
    color: var(--text-dark);
    font-weight: 800;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    transition: var(--transition);
}

.btn-gold-pulse:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@media (max-width: 768px) {
    .mascot-motivation-box {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .motivation-text {
        padding-right: 0;
    }
}

/* Form Glass Box */
.form-subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.4rem;
    margin-bottom: 2rem;
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cyber-input, .cyber-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.cyber-input:focus, .cyber-select:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.cyber-select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.btn-submit-glow {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-emerald));
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.5);
    transition: var(--transition);
}

.btn-submit-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 245, 160, 0.8);
}

/* Success Pass Card Modal */
.pass-result-box {
    margin-top: 2rem;
}

.pass-card {
    background: linear-gradient(135deg, rgba(14, 20, 31, 0.95), rgba(8, 11, 16, 0.98));
    border: 2px solid var(--color-cyan);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.3);
    max-width: 550px;
    margin: 0 auto;
}

.pass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.pass-logo {
    height: 32px;
}

.pass-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 215, 0, 0.15);
    color: var(--color-gold);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-weight: 700;
}

.pass-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.pass-info h3 {
    font-size: 1.5rem;
    color: var(--color-cyan);
}

.pass-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.pass-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-emerald);
    font-weight: 700;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-emerald);
}

.pass-qr canvas, .pass-qr img {
    border-radius: 10px;
    padding: 6px;
    background: #fff;
}

.pass-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-modal.active {
    display: flex;
}

.admin-modal-content {
    background: #0E141F;
    border: 1px solid var(--color-cyan);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.3);
}

.admin-header {
    padding: 1.2rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.admin-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.admin-summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.btn-export-csv {
    background: var(--color-emerald);
    color: var(--text-dark);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th, .admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-cyan);
    font-family: var(--font-mono);
}

/* Footer Styles */
.footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(8, 11, 16, 0.8) 0%, rgba(5, 7, 10, 0.98) 100%);
    padding: 3.5rem 1.5rem 1.8rem 1.5rem;
    margin-top: 4rem;
}

.footer-top-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-brand {
    gap: 1rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-social-links {
    display: flex;
    gap: 0.8rem;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--color-cyan);
    color: var(--text-dark);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}

.footer-event-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.contact-address-text {
    color: var(--text-main);
    font-size: 0.82rem;
    line-height: 1.4;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-list, .footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--color-cyan);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-val {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-val:hover {
    color: var(--color-cyan);
}

.footer-action-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.footer-bottom-bar {
    max-width: 1100px;
    margin: 1.8rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.footer-bottom-links a:hover {
    color: var(--text-main);
}

@media (max-width: 900px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* Animation Keyframes */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.pulse {
    animation: pulse 3s infinite ease-in-out;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .mascot-hero-card {
        flex-direction: column;
        text-align: center;
    }
    .speech-bubble {
        text-align: center;
    }
    .calc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .pass-body {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Highlight Funnel Division Section
   ========================================================================== */
.highlight-funnel-box {
    position: relative;
    background: linear-gradient(145deg, rgba(14, 20, 31, 0.95), rgba(8, 11, 16, 0.98));
    border: 2px solid var(--color-cyan);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.25), inset 0 0 20px rgba(0, 245, 160, 0.05);
    overflow: hidden;
}

.funnel-badge-glow {
    display: table;
    margin: 0 auto 1.2rem auto;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--color-gold);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    letter-spacing: 1px;
}

.funnel-main-heading {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.funnel-subtext {
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.funnel-flow-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.2rem;
}

.flow-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.flow-card.koc-card {
    border-color: rgba(0, 242, 254, 0.3);
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.05) 0%, rgba(14, 20, 31, 0.6) 100%);
}

.flow-card.finpeace-card {
    border-color: rgba(0, 245, 160, 0.3);
    background: linear-gradient(180deg, rgba(0, 245, 160, 0.05) 0%, rgba(14, 20, 31, 0.6) 100%);
}

.flow-card:hover {
    transform: translateY(-5px);
}

.flow-role-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.flow-card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.4rem;
    margin-bottom: 1.2rem;
}

.flow-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
}

.flow-list li {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.4;
}

.flow-footer-mascot {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.flow-mascot {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.4));
    transition: var(--transition);
}

.flow-mascot:hover {
    transform: scale(1.12) rotate(3deg);
}

.flow-footer-mascot span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: 600;
}

/* Flow Divider */
.flow-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.divider-icon-pulse {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-emerald));
    color: var(--text-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.6);
    animation: pulse 2s infinite;
}

.divider-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-align: center;
}

.funnel-cta-banner {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-banner-text {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-emerald);
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
}

    @media (max-width: 850px) {
    .funnel-flow-grid {
        grid-template-columns: 1fr;
    }
    .flow-divider {
        margin: 1rem 0;
    }
    .funnel-cta-banner {
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   FTSE Russell Upgrade Countdown Section
   ========================================================================== */
.countdown-box-glow {
    position: relative;
    background: linear-gradient(135deg, rgba(14, 20, 31, 0.95), rgba(8, 11, 16, 0.98));
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 45px rgba(255, 215, 0, 0.15), inset 0 0 25px rgba(0, 242, 254, 0.05);
    overflow: hidden;
}

.upgrade-header-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-gold);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    width: fit-content;
}

.pulse-red-dot {
    width: 8px;
    height: 8px;
    background-color: #FF4757;
    border-radius: 50%;
    box-shadow: 0 0 10px #FF4757;
    animation: pulse 1.2s infinite;
}

.upgrade-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.upgrade-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.upgrade-desc {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.upgrade-highlight-text {
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 1.8rem;
    background: rgba(255, 215, 0, 0.06);
    border-left: 3px solid var(--color-gold);
    padding: 0.8rem 1rem;
    border-radius: 0 10px 10px 0;
}

.upgrade-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    width: 100%;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
}

.stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    white-space: nowrap;
}

/* Clock Card Display */
.clock-card {
    background: rgba(8, 11, 16, 0.9);
    border: 1px solid var(--bg-card-border);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.clock-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.countdown-timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.time-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    min-width: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-num {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-cyan);
    line-height: 1;
}

.time-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    text-transform: uppercase;
}

.time-colon {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-cyan);
    animation: pulse 1s infinite;
}

.target-date-tag {
    display: block;
    font-size: 0.85rem;
    color: var(--text-main);
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .upgrade-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   About FinPeace Section (Compact & Bottom)
   ========================================================================== */
.about-finpeace-box {
    background: linear-gradient(135deg, rgba(14, 20, 31, 0.8), rgba(8, 11, 16, 0.9));
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.05);
    padding: 2.2rem 2rem;
    border-radius: 20px;
    margin-top: 1.5rem;
}

.about-lead-desc {
    max-width: 720px;
    margin: 0.8rem auto 1.8rem auto;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.mini-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.mini-stat-card .stat-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
}

.mini-stat-card .stat-lbl {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 768px) {
    .about-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM (Max-width: 768px & 480px)
   ========================================================================== */

/* Universal Layout & Overflow Safety */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    /* Header & Navigation Single-Row Top + Horizontal Swipe Menu */
    .navbar {
        padding: 0.5rem 0.8rem;
    }

    .nav-container {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        width: 100%;
    }

    .nav-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .brand-logo {
        gap: 0.4rem;
    }

    .logo-img {
        height: 22px !important;
    }

    .brand-badge {
        padding: 0.1rem 0.35rem;
        font-size: 0.58rem;
    }

    .btn-nav-cta {
        padding: 0.38rem 0.75rem !important;
        font-size: 0.76rem !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .nav-menu {
        width: 100%;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        padding: 0.35rem 0;
    }

    .nav-menu-track {
        gap: 1.2rem;
        animation: menuMarquee 15s linear infinite;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
        font-weight: 600;
    }

    /* Main Container Padding */
    .main-content {
        padding: 1.5rem 0.8rem 3rem 0.8rem;
    }

    .section-container {
        margin-bottom: 2.5rem;
    }

    /* Enforce 15-16px Main Body Text Size on Mobile */
    p, li, .hero-subtitle, .upgrade-desc, .pillar-desc, .benefit-card p, .about-lead-desc, .about-card-desc, .flow-desc, .form-subtext, .footer-brand-desc {
        font-size: 1rem !important; /* 16px */
        line-height: 1.65 !important;
    }

    /* Hero Section */
    .hero {
        padding: 2rem 0.5rem 2.5rem 0.5rem;
    }

    .hero-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    /* Hero Title Zoomed & Bold */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.6rem) !important;
        font-weight: 900 !important;
        line-height: 1.25 !important;
        margin-bottom: 1.2rem;
        word-break: keep-all;
        text-shadow: 0 0 30px rgba(0, 242, 254, 0.35);
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }

    /* FTSE Upgrade Section */
    .countdown-box-glow {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .upgrade-header-badge {
        margin: 0 auto 1.2rem auto;
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
        text-align: center;
    }

    .upgrade-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .upgrade-title {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    .upgrade-desc {
        font-size: 0.9rem;
    }

    .upgrade-highlight-text {
        font-size: 0.88rem;
        border-left: none;
        border-top: 2px solid var(--color-gold);
        border-radius: 0 0 10px 10px;
        padding: 0.6rem 0.8rem;
        text-align: center;
    }

    .upgrade-stats-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .stat-pill {
        padding: 0.6rem;
    }

    .clock-card {
        padding: 1.2rem 0.8rem;
    }

    .countdown-timer-display {
        gap: 0.25rem;
    }

    .time-block {
        min-width: 52px;
        padding: 0.5rem 0.3rem;
    }

    .time-num {
        font-size: 1.35rem;
    }

    .time-lbl {
        font-size: 0.6rem;
    }

    .time-colon {
        font-size: 1.1rem;
    }

    /* 3 Pillars Grid Condensed Mobile */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem !important;
    }

    .pillar-card {
        padding: 0.85rem 0.9rem !important;
        border-radius: 14px !important;
        gap: 0.3rem !important;
    }

    .pillar-top-badge {
        font-size: 0.68rem !important;
    }

    .pillar-heading {
        font-size: 1.05rem !important;
        margin: 0 !important;
    }

    .pillar-desc {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin: 0 !important;
    }

    /* Simulator Calculator */
    .calculator-box {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .calc-layout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .calc-controls-card, .calc-result-card {
        padding: 1.2rem 1rem;
        border-radius: 16px;
    }

    .preset-buttons {
        gap: 0.4rem;
    }

    .preset-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .result-number {
        font-size: 2.2rem;
    }

    /* Benefits Ecosystem */
    .benefits-box {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .benefit-card {
        padding: 1.3rem 1.1rem;
    }

    .mascot-motivation-box {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1.2rem;
    }

    .motivation-text {
        padding-right: 0;
    }

    .mascot-mini.mascot-runner {
        width: 140px;
        height: 140px;
        justify-self: center;
    }

    /* KOC Mở Phễu Section */
    .highlight-funnel-box {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .funnel-main-heading {
        font-size: 1.35rem;
        line-height: 1.35;
    }

    .funnel-flow-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .flow-card {
        padding: 1.3rem 1.1rem;
    }

    .funnel-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem 1rem;
    }

    /* Registration Form */
    .registration-box {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .form-grid-2col {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .btn-submit-glow {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
    }

    /* Footer Responsive */
    .footer {
        padding: 2.5rem 1rem 1.5rem 1rem;
        margin-top: 3rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }

    .footer-logo {
        align-self: center;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-event-tag {
        margin: 0 auto;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .time-block {
        min-width: 46px;
        padding: 0.4rem 0.2rem;
    }

    .time-num {
        font-size: 1.15rem;
    }

    .time-lbl {
        font-size: 0.55rem;
    }
}

/* Zalo Auto Connect Card & Button */
.zalo-connect-card {
    background: rgba(0, 104, 255, 0.08);
    border: 1px solid rgba(0, 104, 255, 0.3);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.zalo-badge {
    background: rgba(0, 104, 255, 0.2);
    color: #0088ff;
    border: 1px solid rgba(0, 104, 255, 0.4);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.zalo-notice-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.btn-zalo-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0068ff, #00c6ff);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.6rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 104, 255, 0.4);
    transition: var(--transition);
}

.btn-zalo-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.7);
    color: #ffffff;
}


