/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0702;
    --bg-alt: #110d05;
    --card-bg: #181008;
    --gold: #B8760A;
    --gold-light: #D9950F;
    --gold-bright: #F0B429;
    --gold-glow: rgba(184, 118, 10, 0.18);
    --amber: #E8A020;
    --text: #F5F0E6;
    --text-muted: #B0A080;
    --text-dim: #6B5535;
    --border: rgba(184, 118, 10, 0.22);
    --border-gold: rgba(184, 118, 10, 0.38);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --max-w: 1100px;
    --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    color: var(--text);
}

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

em { font-style: italic; color: #c4a8ff; }

p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 600; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.hidden { display: none !important; }
.text-center { text-align: center; }

/* =====================
   LAYOUT
   ===================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header h2 { margin-top: 16px; }
.section-header p { max-width: 600px; margin: 16px auto 0; }

/* =====================
   NAV
   ===================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(7, 7, 15, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

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

.nav-logo {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.22s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm  { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-xl  { padding: 17px 40px; font-size: 1.05rem; font-weight: 600; }
.btn-full { width: 100%; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #1a0f00;
    box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200, 147, 10, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--gold-light);
    background: var(--gold-glow);
}

/* =====================
   BADGES
   ===================== */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-gold {
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
}
.badge-muted {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
}

/* =====================
   HERO
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse at center,
        rgba(184, 118, 10, 0.18) 0%,
        rgba(232, 160, 32, 0.06) 45%,
        transparent 70%);
    pointer-events: none;
}

/* Golden wave decorations */
.hero-wave {
    position: absolute;
    width: 500px;
    height: 500px;
    pointer-events: none;
    opacity: 0.45;
}
.hero-wave-left {
    bottom: 0; left: -80px;
    background: radial-gradient(ellipse at center, rgba(184,118,10,0.3) 0%, transparent 65%);
    filter: blur(40px);
}
.hero-wave-right {
    top: 10%; right: -80px;
    background: radial-gradient(ellipse at center, rgba(232,160,32,0.2) 0%, transparent 65%);
    filter: blur(50px);
}

/* Wave bottom divider */
.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23110d05' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E") center/cover no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Hero 2-column layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Course name block */
.hero-course-name {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    border: 2px solid var(--gold-light);
    padding: 16px 28px 20px;
    position: relative;
}

.hero-soul {
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-foundation {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.35em;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-top: 4px;
    align-self: stretch;
    text-align: right;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 500px;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-meta {
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Hero image */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(184, 118, 10, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-course-name { align-items: center; margin: 0 auto; }
    .hero-foundation  { text-align: center; }
    .hero-cta         { justify-content: center; }
    .hero-image img   { max-width: 360px; }
}

/* =====================
   PAIN
   ===================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pain-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, transform 0.22s;
}
.pain-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-4px);
}

.pain-icon { font-size: 1.8rem; margin-bottom: 14px; }
.pain-card p { margin: 0; font-size: 0.93rem; }

.pain-note {
    text-align: center;
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 500;
}

/* =====================
   SOLUTION
   ===================== */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.solution-grid .badge { margin-bottom: 0; }
.solution-grid h2 { margin: 16px 0 24px; }

.message-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 36px;
}
.message-card h3 {
    color: var(--gold-light);
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 0.05em;
}
.message-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.92rem;
    color: var(--text-muted);
}
.message-list li:last-child { border-bottom: none; }

/* =====================
   MECHANISM
   ===================== */
.mech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mech-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: border-color 0.2s;
}
.mech-card:hover { border-color: var(--gold); }

.mech-number {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(184, 118, 10, 0.2);
    line-height: 1;
    margin-bottom: 12px;
}
.mech-card h3 { margin-bottom: 10px; }
.mech-card p  { margin: 0; font-size: 0.9rem; }

/* =====================
   OUTCOMES
   ===================== */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.outcome-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.outcome-dot {
    color: var(--gold-light);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 5px;
}
.outcome-item strong { display: block; margin-bottom: 4px; }
.outcome-item p { margin: 0; font-size: 0.875rem; }

.outcomes-sub {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: border-color 0.2s, transform 0.22s;
}
.benefit-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-4px);
}
.benefit-icon { font-size: 2rem; margin-bottom: 12px; }
.benefit-card h4 { margin-bottom: 10px; }
.benefit-card p  { margin: 0; font-size: 0.85rem; }

/* =====================
   CURRICULUM
   ===================== */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.curriculum-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s;
}
.curriculum-card:hover { border-color: var(--gold); }
.curriculum-icon { font-size: 2rem; margin-bottom: 14px; }
.curriculum-card h3 { margin-bottom: 10px; }
.curriculum-card p  { margin: 0; font-size: 0.9rem; }

.unique-box {
    background: linear-gradient(135deg, rgba(184, 118, 10, 0.1), rgba(232, 160, 32, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.unique-box h3 {
    color: var(--gold-light);
    margin-bottom: 28px;
    font-size: 1.1rem;
}
.unique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.unique-item strong { display: block; margin-bottom: 8px; }
.unique-item p { margin: 0; font-size: 0.875rem; }

/* =====================
   ABOUT
   ===================== */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
}

.photo-placeholder {
    width: 280px;
    height: 360px;
    background: linear-gradient(160deg, rgba(184,118,10,0.12), rgba(232,160,32,0.06));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
}

.about-photo img {
    width: 280px;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(184, 118, 10, 0.15);
}

.about-content .badge { margin-bottom: 0; }
.about-content h2 { margin: 16px 0 20px; }

.about-list {
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.about-list li {
    color: var(--text-muted);
    font-size: 0.93rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(184,118,10,0.1);
}
.about-list li:last-child { border-bottom: none; }

.about-refs {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 0 !important;
}
.about-content small {
    display: block;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold-light);
}
.stat-lbl { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }

/* =====================
   ABOUT IMAGE
   ===================== */
.about-image-section {
    display: block;
    line-height: 0;
    margin: 0;
    padding: 0;
    background: var(--bg);
    text-align: center;
}
.about-image-section img {
    width: 75%;
    height: auto;
    display: inline-block;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.stars { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 16px; }
.testimonial-card > p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-glow);
    border: 1px solid var(--border);
    flex-shrink: 0;
    overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span  { font-size: 0.8rem; color: var(--text-dim); }

/* =====================
   PRICING
   ===================== */
.countdown-wrap {
    text-align: center;
    margin-bottom: 48px;
}
.countdown-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cd-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 18px;
    text-align: center;
    min-width: 76px;
}
.cd-item span {
    display: block;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}
.cd-item label {
    display: block;
    font-size: 0.68rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}
.cd-sep {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.pricing-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}
.pricing-tag {
    display: inline-block;
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.price-original { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 6px; }
.price-original s { color: var(--text-dim); }
.price-current {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.price-amount {
    font-family: var(--font-head);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}
.price-vnd { font-size: 1.1rem; color: var(--text-muted); }
.price-save { color: #4ade80; font-size: 0.9rem; margin-bottom: 32px; }

.price-includes {
    text-align: left;
    margin-bottom: 36px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.price-includes li { padding: 7px 0; color: var(--text-muted); font-size: 0.93rem; }
.price-note { margin-top: 14px; font-size: 0.8rem; color: var(--text-dim); }

/* =====================
   FAQ
   ===================== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 22px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-light); }

.faq-arrow {
    color: var(--text-dim);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s;
    display: inline-block;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--gold-light); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }
.faq-a p { margin: 0; font-size: 0.93rem; }

/* =====================
   REGISTER FORM
   ===================== */
.form-intro {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.register-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}
.form-group input,
.form-group select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-light);
    background: rgba(184, 118, 10, 0.06);
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group select { cursor: pointer; }
.form-group select option { background: #0c0c1a; color: var(--text); }

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 16px;
}

.form-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
}
.success-symbol {
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 24px;
}
.form-success h3 { margin-bottom: 12px; font-size: 1.6rem; }
.form-success p  { color: var(--text-muted); }

/* =====================
   FOOTER
   ===================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-inner p { margin: 0; font-size: 0.85rem; color: var(--text-dim); }

/* =====================
   ANIMATIONS
   ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .solution-grid  { grid-template-columns: 1fr; gap: 32px; }
    .unique-grid    { grid-template-columns: 1fr; gap: 20px; }
    .about-grid     { grid-template-columns: 1fr; }
    .photo-placeholder { width: 100%; height: 220px; }
    .about-photo img   { width: 100%; height: 220px; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }

    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; align-items: center; }

    .mech-grid       { grid-template-columns: 1fr; }
    .outcomes-grid   { grid-template-columns: 1fr; }
    .curriculum-grid { grid-template-columns: 1fr; }
    .about-stats     { gap: 20px; flex-wrap: wrap; justify-content: center; }

    .form-row        { grid-template-columns: 1fr; }
    .register-form   { padding: 28px 20px; }

    .pricing-card { padding: 32px 24px; }
    .price-amount { font-size: 3rem; }

    .countdown { gap: 4px; }
    .cd-item   { min-width: 62px; padding: 12px 10px; }
    .cd-item span { font-size: 1.8rem; }

    .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 520px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .pain-grid     { grid-template-columns: 1fr; }
}
