/* BRAINLIGHT.SITE - Premium Redesign */
/* Dark Theme, Premium Feel, Conversion Focused */

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

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

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent-red: #dc2626;
    --accent-red-hover: #b91c1c;
    --accent-orange: #f97316;
    --accent-gold: #fbbf24;
    --accent-green: #22c55e;
    --accent-blue: #3b82f6;
    --border-color: #2a2a2a;
    --border-light: #333333;
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.site-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-logo span {
    color: var(--accent-red);
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--text-primary);
}

.header-cta {
    background: var(--gradient-red);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.header-cta:hover {
    opacity: 0.9;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

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

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--border-light);
}

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

.btn-outline:hover {
    background: var(--bg-elevated);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #000;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--bg-secondary);
}

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

.section-badge {
    display: inline-block;
    background: var(--bg-elevated);
    color: var(--accent-orange);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

/* ===== CRISIS BLOCK ===== */
.crisis-block {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(153, 27, 27, 0.05) 100%);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.crisis-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.crisis-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.crisis-list {
    list-style: none;
    margin: 1.5rem 0;
}

.crisis-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.crisis-list li:last-child {
    border-bottom: none;
}

.crisis-list li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

/* ===== 9 TẦNG THỨC DIAGRAM ===== */
.tang-thuc-diagram {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.tang-thuc-layer {
    margin-bottom: 1.5rem;
}

.tang-thuc-layer:last-child {
    margin-bottom: 0;
}

.tang-thuc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.tang-thuc-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.tang-thuc-icon.danger {
    background: rgba(220, 38, 38, 0.2);
}

.tang-thuc-icon.warning {
    background: rgba(249, 115, 22, 0.2);
}

.tang-thuc-icon.safe {
    background: rgba(34, 197, 94, 0.2);
}

.tang-thuc-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tang-thuc-label.danger { color: var(--accent-red); }
.tang-thuc-label.warning { color: var(--accent-orange); }
.tang-thuc-label.safe { color: var(--accent-green); }

.tang-thuc-name {
    font-weight: 600;
    color: var(--text-primary);
}

.tang-thuc-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 3.5rem;
}

.tang-thuc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: 8px;
    font-size: 0.9375rem;
}

.tang-thuc-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tang-thuc-number.danger { background: var(--accent-red); color: white; }
.tang-thuc-number.warning { background: var(--accent-orange); color: white; }
.tang-thuc-number.safe { background: var(--accent-green); color: white; }

/* ===== MIRROR CHECKBOXES ===== */
.mirror-form {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
}

.mirror-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.mirror-item:hover {
    background: var(--bg-elevated);
}

.mirror-item.checked {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--accent-red);
}

.mirror-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.mirror-item.checked .mirror-checkbox {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.mirror-checkbox::after {
    content: "✓";
    color: white;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.mirror-item.checked .mirror-checkbox::after {
    opacity: 1;
}

.mirror-content {
    flex: 1;
}

.mirror-level {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.mirror-level.danger { color: var(--accent-red); }
.mirror-level.warning { color: var(--accent-orange); }
.mirror-level.safe { color: var(--accent-green); }

.mirror-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ===== RESULT BOX ===== */
.result-box {
    display: none;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(153, 27, 27, 0.1) 100%);
    border: 2px solid var(--accent-red);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.result-box.show {
    display: block;
}

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

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.result-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.result-level {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.pricing-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: #000;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.testimonial-stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-orange);
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.testimonial-result {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--accent-green);
    font-weight: 500;
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.founder-image {
    background: var(--bg-card);
    border-radius: 16px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 1px solid var(--border-color);
}

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

.founder-role {
    color: var(--accent-orange);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.founder-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.founder-stats {
    display: flex;
    gap: 2rem;
}

.founder-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.founder-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
    background: var(--accent-red);
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.urgency-bar strong {
    font-weight: 700;
}

/* ===== COUNTDOWN ===== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.countdown-item {
    background: var(--bg-elevated);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 70px;
}

.countdown-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-red);
}

.countdown-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FLOATING CONTACT ===== */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ===== SLIDER ===== */
.slider-container {
    padding: 1rem 0;
}

.slider {
    width: 100%;
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 4px;
    appearance: none;
    outline: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-red);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.slider-value {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-top: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .header-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 60px;
    }
    
    .floating-contact {
        bottom: 1rem;
        right: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden { display: none !important; }
.show { display: block !important; }
