/* ==========================================================================
   HỒ SƠ 1361 v5.2 — EXPLOSIVE & MOBILE-OPTIMIZED PREMIUM STYLESHEET
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #070C18;
    --card-bg: rgba(15, 23, 42, 0.75);
    --card-border: rgba(255, 255, 255, 0.12);
    --primary-blue: #2563EB;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --accent-emerald: #10B981;
    --accent-glow: rgba(16, 185, 129, 0.4);
    --accent-purple: #7C3AED;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
}

/* Glowing Radial Background Mesh with Pulse */
.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 90% 25%, rgba(124, 58, 237, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
        #070C18;
    z-index: -1;
    pointer-events: none;
    animation: ambientGlow 14s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg);
    }
    100% {
        background-position: 100% 100%;
        filter: hue-rotate(15deg);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Sticky Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 12, 24, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
}

.brand-title {
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge {
    font-size: 11px;
    font-weight: 800;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.15);
    padding: 2px 9px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header-key {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-header-key:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.65);
}

/* Hero Section */
.hero-section {
    padding: 36px 0 20px;
    text-align: center;
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #60A5FA;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 35%, #93C5FD 70%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 15.5px;
    color: #94A3B8;
    max-width: 800px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: #34D399;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px -3px rgba(16, 185, 129, 0.5);
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -3px rgba(16, 185, 129, 0.65);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #F1F5F9;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Stats Counter Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    max-width: 940px;
    margin: 0 auto;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 26px;
    font-weight: 900;
    color: #38BDF8;
    line-height: 1.2;
}

.stat-desc {
    font-size: 12.5px;
    color: #94A3B8;
    font-weight: 600;
    margin-top: 3px;
}

/* Section Common Styling */
.section-wrapper {
    padding: 34px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #34D399;
    background: rgba(52, 211, 153, 0.14);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 15px;
    color: #94A3B8;
    max-width: 660px;
    margin: 0 auto;
}

/* Activation Form Card Section (#download) */
.activation-container {
    max-width: 600px;
    margin: 0 auto;
}

.activation-card {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 28px 30px;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
}

.card.hidden {
    display: none !important;
}

.field {
    margin-bottom: 16px;
    text-align: left;
}


.field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #E2E8F0;
    margin-bottom: 9px;
}

.field label span {
    color: #EF4444;
}

.field input, .field select {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
    background: rgba(30, 41, 59, 0.85);
    color: #FFFFFF;
}

.field input:focus, .field select:focus {
    border-color: #3B82F6;
    background: rgba(30, 41, 59, 0.98);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.btn-submit {
    width: 100%;
    min-height: 52px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: none;
    padding: 15px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 24px -3px rgba(16, 185, 129, 0.45);
    transition: all 0.25s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -3px rgba(16, 185, 129, 0.6);
}

/* Result Card Styling */
.result-card {
    text-align: center;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
    font-weight: 800;
    font-size: 14px;
    padding: 7px 20px;
    border-radius: 24px;
    margin-bottom: 18px;
}

.result-hint {
    font-size: 14px;
    color: #CBD5E1;
    margin-bottom: 22px;
    line-height: 1.5;
}

.result-meta {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: left;
}

.result-meta div {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 7px 0;
}

.result-meta div:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-meta span {
    color: #94A3B8;
}

.result-meta strong {
    color: #FFFFFF;
    font-weight: 700;
}

.btn-secondary {
    width: 100%;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 13px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

/* Features Grid (#features) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.feature-card-item {
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card-item:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(37, 99, 235, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

.feature-top {
    margin-bottom: 12px;
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(124, 58, 237, 0.25) 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #38BDF8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-icon-wrapper .material-icons-round {
    font-size: 24px;
}

.feature-card-item h3 {
    font-size: 16.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.35;
}

.feature-card-item p {
    font-size: 13.5px;
    color: #94A3B8;
    line-height: 1.55;
}

.feature-tag-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #34D399;
    background: rgba(52, 211, 153, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 12px;
    width: fit-content;
}

/* Workflow Steps Section (#workflow) */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
}

.workflow-step {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.workflow-step h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 7px;
}

.workflow-step p {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.5;
}

/* Author & Org Card (#author) */
.author-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 26px 30px;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.author-title {
    font-size: 17px;
    font-weight: 900;
    color: #F59E0B;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.author-subtitle {
    font-size: 16px;
    font-weight: 900;
    color: #38BDF8;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.author-names {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.author-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 22px;
    border-radius: 12px;
}

.author-box strong {
    color: #FFFFFF;
    font-size: 14.5px;
    display: block;
}

.author-box span {
    color: #94A3B8;
    font-size: 13px;
}

.author-note {
    font-size: 13px;
    color: #CBD5E1;
    line-height: 1.55;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    margin-top: 28px;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}


/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1E293B;
    color: #FFFFFF;
    padding: 15px 24px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.toast-error {
    background: #991B1B;
    border-color: #EF4444;
}

.toast-success {
    background: #065F46;
    border-color: #10B981;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: rgba(7, 12, 24, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    z-index: 990;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.5);
}

.btn-mobile-float {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

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

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

.spin {
    animation: spin 1s linear infinite;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & MOBILE DRAWER NAVIGATION
   ========================================================================== */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(7, 12, 24, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.25s ease;
    }

    .nav-links a {
        font-size: 16px;
        display: block;
        padding: 8px 12px;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 15.5px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .workflow-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .mobile-sticky-bar {
        display: block;
    }

    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 27px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
    }

    .stat-num {
        font-size: 24px;
    }

    .stat-desc {
        font-size: 11.5px;
    }

    .section-title {
        font-size: 26px;
    }

    .activation-card {
        padding: 28px 20px;
    }

    .author-card {
        padding: 26px 18px;
    }

    .author-names {
        gap: 12px;
    }

    .author-box {
        width: 100%;
    }
}

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.faq-item[open] {
    background: rgba(30, 41, 59, 0.95);
    border-color: #2563EB;
}

.faq-question {
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 700;
    color: #F8FAFC;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    color: #60A5FA;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    background: #2563EB;
    color: #FFFFFF;
}

.faq-answer {
    padding: 0 22px 20px 22px;
    font-size: 14.5px;
    color: #CBD5E1;
    line-height: 1.75;
    border-top: 1px solid rgba(51, 65, 85, 0.4);
    margin-top: 4px;
    padding-top: 16px;
}

.faq-answer strong {
    color: #FFFFFF;
}

.faq-answer ul {
    margin: 8px 0 8px 20px;
}

