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

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

:root {
    --green: #00786a;
    --green-dark: #005a4f;
    --green-light: #e8f5f3;
    --text-dark: #1a2332;
    --text-body: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    --white: #ffffff;
    --bg-soft: #f7fafa;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 12px rgba(0,0,0,0.07);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
}

/* ===================================
   UTILITIES
=================================== */
.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 72px 0;
    background: var(--white);
}

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

h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.35;
    font-weight: 700;
}

p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 14px;
}

p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===================================
   HEADER
=================================== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

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

.logo-img {
    height: 44px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: -0.3px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    gap: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--green);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

nav.nav-menu {
    display: flex;
    gap: 4px;
}

nav.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav.nav-menu a:hover {
    color: var(--green);
    background: var(--green-light);
    text-decoration: none;
}

/* ===================================
   HERO
=================================== */
.hero {
    background: linear-gradient(145deg, #095048 0%, #006b5e 50%, #0a7a6a 100%) !important;
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero .container { position: relative; z-index: 1; }

.hero-tagline {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.95);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-tagline h2 {
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    margin: 0;
}

.hero-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 580px;
    margin: 0 auto 14px;
    font-weight: 400;
}

.hero-description {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 36px;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--green);
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
    background: var(--green-light);
    color: var(--green-dark);
    text-decoration: none;
}

/* ===================================
   SECTION TITLES
=================================== */
.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 28px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 44px; height: 3px;
    background: var(--green);
    border-radius: 3px;
}

/* ===================================
   CONTENT SECTIONS (dùng chung)
=================================== */
.content-block {
    max-width: 860px;
}

.content-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* ===================================
   LISTS
=================================== */
.techniques-list {
    list-style: none;
    padding: 0;
}

.techniques-list li {
    position: relative;
    padding: 12px 14px 12px 44px;
    margin-bottom: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.techniques-list li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 13px;
    color: var(--green);
    font-weight: 700;
    font-size: 15px;
}

.techniques-list li:hover {
    border-color: var(--green);
    box-shadow: var(--shadow);
}

.techniques-list li strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 2px;
}

/* ===================================
   EXAMPLE / QUOTE BOX
=================================== */
.example-box {
    background: var(--green-light);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-top: 28px;
}

.example-box h3 {
    color: var(--green-dark);
    font-size: 18px;
    margin-bottom: 14px;
}

.example-note {
    margin-top: 14px;
    font-weight: 600;
    color: var(--green-dark);
}

/* ===================================
   AUTOMATION FEATURES (icon list)
=================================== */
.automation-features {
    list-style: none;
    padding: 0;
}

.automation-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

.automation-features li i {
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

/* ===================================
   9 FEATURES (numbered)
=================================== */
.platform-security .content-section p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.platform-security .content-section p:hover {
    border-color: var(--green);
    box-shadow: var(--shadow);
}

.platform-security .content-section p strong {
    color: var(--green-dark);
    white-space: nowrap;
    min-width: fit-content;
}

/* ===================================
   WRAPPERS (boxed content)
=================================== */
.popular-assistants-wrapper,
.what-you-get-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

/* ===================================
   INSTRUCTOR
=================================== */
.instructor {
    background: var(--white);
}

.instructor-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.instructor-wrapper {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.instructor-image {
    flex-shrink: 0;
}

.instructor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green);
}

.instructor-content p {
    font-size: 15px;
}

.instructor-content-bottom p {
    font-size: 15px;
    margin-bottom: 12px;
}

.instructor-summary {
    font-weight: 600;
    color: var(--green-dark);
    background: var(--green-light);
    padding: 16px 20px;
    border-radius: var(--radius);
    border-left: 3px solid var(--green);
}

/* ===================================
   PRICING / REGISTER
=================================== */
.pricing {
    background: var(--bg-soft);
    padding: 64px 0;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.registration-form {
    padding: 44px 48px;
}

.pricing-title-before-form {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.4;
}

.registration-form .pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.guarantee-text {
    text-align: center;
    font-size: 14px;
    color: var(--green-dark);
    font-weight: 600;
    margin-bottom: 6px;
}

.form-messages {
    background: var(--green-light);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0,120,106,0.12);
}

.submit-btn {
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.submit-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,120,106,0.3);
}

/* ===================================
   COURSE DESCRIPTION (pricing info)
=================================== */
.pricing-description h3 {
    font-size: 17px;
    color: var(--green-dark);
    margin-top: 32px;
    margin-bottom: 12px;
}

/* ===================================
   LEARNING METHOD
=================================== */
.learning-method p {
    font-size: 15px;
}

/* ===================================
   TESTIMONIAL QUOTE
=================================== */
.testimonial-quote {
    background: linear-gradient(135deg, var(--green-light) 0%, #d4f0eb 100%);
    border-left: 4px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 28px 32px 24px;
    margin: 32px 0;
    position: relative;
}

.quote-icon {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1;
}

.testimonial-quote blockquote {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-dark);
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 12px 0;
    quotes: none;
}

.quote-author {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    margin: 0 !important;
    text-align: right;
}


/* ===================================
   Q&A LAYOUT
=================================== */
.qa-section {
    padding: 60px 0;
}

.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.qa-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.qa-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.qa-question {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.4;
    margin-bottom: 16px;
    padding-left: 20px;
    border-left: 4px solid var(--green);
}

.qa-answer {
    padding-left: 24px;
}

.qa-answer p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 12px;
    text-align: justify;
}

.qa-answer p:last-child {
    margin-bottom: 0;
}

.qa-answer .techniques-list {
    margin-bottom: 0;
}


/* ===================================
   FLOATING CTA BUTTON
=================================== */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--green);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(0,120,106,0.4);
    z-index: 999;
    transition: all 0.25s ease;
    text-decoration: none;
}

.floating-cta:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,120,106,0.5);
    color: var(--white);
    text-decoration: none;
}

/* ===================================
   FOOTER
=================================== */
.footer {
    background: #00786a;
    color: rgba(255,255,255,0.88);
    padding: 56px 0 36px;
}

.footer h2 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-motto {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
}

.contact-info {
    background: rgba(0,0,0,0.12);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 32px;
}

.contact-info p {
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    margin-bottom: 6px;
}

.contact-info strong {
    color: var(--white);
}

.social-links h4 {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.social-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(0,0,0,0.15);
    color: rgba(255,255,255,0.9);
}

.social-link:hover {
    background: rgba(0,0,0,0.25);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
}

.youtube-link:hover { background: rgba(255,0,0,0.35); }
.facebook-link:hover { background: rgba(66,103,178,0.45); }

.copyright {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 768px) {
    section { padding: 52px 0; }

    .hero { padding: 64px 0 72px; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 22px; }

    /* Mobile nav */
    .menu-toggle { display: flex; }

    nav.nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: 8px;
        min-width: 200px;
        z-index: 999;
    }

    nav.nav-menu.open { display: flex; }
    header .container { position: relative; }

    nav.nav-menu a {
        border-radius: 8px;
        padding: 10px 16px;
    }

    .instructor-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .registration-form { padding: 28px 24px; }

    .popular-assistants-wrapper,
    .what-you-get-wrapper { padding: 24px 20px; }

    .floating-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ===================================
   SCROLL REVEAL (subtle fade-in)
=================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   VIDEO DEMO SECTION
=================================== */
.video-demo {
    background: var(--white);
}

.video-demo-note {
    font-size: 16px;
    color: var(--text-body);
    background: var(--green-light);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.video-demo-note strong {
    color: var(--green-dark);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.video-item {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.video-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-demo-footer-note {
    font-size: 15px;
    color: var(--text-body);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    line-height: 1.7;
    margin-top: 8px;
}

/* Video embed responsive */
.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-item {
        padding: 18px;
    }
}

