@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Noto+Serif+JP:wght@400;600;700;900&family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   1. CSS VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-color: #D9383A;       /* Japanese Imperial Red */
    --primary-hover: #B72628;
    --secondary-color: #1A303A;     /* Slate Navy */
    --accent-color: #E2B13C;        /* Premium Gold */
    --bg-light: #F9F9FB;            /* Pure light background */
    --bg-card: #FFFFFF;
    --text-main: #2B2D42;           /* Deep dark slate */
    --text-muted: #6C757D;
    --white: #FFFFFF;
    --black: #0F0F12;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(217, 56, 58, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --font-japanese: 'Noto Serif JP', serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   2. REUSABLE UTILITIES & LAYOUTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

.jp-subtitle {
    font-family: var(--font-japanese);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   3. HEADER / NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(249, 249, 251, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.logo-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: block;
}

.nav-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(255, 183, 197, 0.15) 0%, rgba(249, 249, 251, 0) 50%),
                radial-gradient(circle at 10% 80%, rgba(226, 177, 60, 0.08) 0%, rgba(249, 249, 251, 0) 60%);
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(217, 56, 58, 0.08);
    border: 1px solid rgba(217, 56, 58, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--secondary-color);
}

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

.hero-visual {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 8px solid var(--white);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
    animation: float 6s ease-in-out infinite;
}

.floating-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(217, 56, 58, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-info h5 {
    font-size: 1rem;
    color: var(--secondary-color);
}

.floating-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================================================
   5. ABOUT THE CHALLENGE (100 DAYS CONCEPT)
   ========================================================================== */
.about {
    background-color: var(--white);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217, 56, 58, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(217, 56, 58, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Day Switcher */
.tracker-box {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 3.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tracker-title-box {
    text-align: center;
    margin-bottom: 3rem;
}

.tracker-title-box h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.phase-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.phase-tab {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.phase-tab.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.phase-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.phase-content.active {
    display: grid;
    animation: fadeIn 0.5s ease-out forwards;
}

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

.phase-info h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.phase-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.phase-goals {
    list-style: none;
}

.phase-goals li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.phase-goals li svg {
    color: #2EC4B6;
    flex-shrink: 0;
}

.phase-preview {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.preview-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(226, 177, 60, 0.12);
    color: #C08A1B;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.phase-preview blockquote {
    font-family: var(--font-japanese);
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.phase-preview .meaning {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.action-tip {
    font-size: 0.9rem;
    background: rgba(217, 56, 58, 0.04);
    border-left: 3px solid var(--primary-color);
    padding: 0.8rem 1.2rem;
    border-radius: 0 8px 8px 0;
}

/* ==========================================================================
   6. CURRICULUM TIMELINE
   ========================================================================== */
.curriculum {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(26, 48, 58, 0.15);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--white);
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 56, 58, 0.1);
}

.timeline-item:hover::after {
    background-color: var(--primary-color);
}

.timeline-phase {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

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

/* ==========================================================================
   7. INSTRUCTOR BIO (VÂN LÊ)
   ========================================================================== */
.bio {
    background: var(--white);
    overflow: hidden;
}

.bio-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.bio-img-container {
    position: relative;
}

.bio-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 8px solid var(--white);
    z-index: 2;
}

.bio-img-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(217, 56, 58, 0.08);
    border-radius: 24px;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.bio-img {
    width: 100%;
    height: auto;
    display: block;
}

.bio-details h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.bio-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.bio-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.bio-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.bio-stat {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
}

.bio-stat h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.bio-stat p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   8. TESTIMONIALS (STUDENT SUCCESS)
   ========================================================================== */
.testimonials {
    background-color: var(--bg-light);
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    min-width: 100%;
    background: var(--white);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(217, 56, 58, 0.15);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.user-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.user-achievement {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--primary-color);
}

/* ==========================================================================
   9. PRICING & OFFER SECTION
   ========================================================================== */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pricing-offer {
    max-width: 500px;
}

.pricing-offer h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.pricing-offer p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.bonus-list {
    list-style: none;
}

.bonus-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bonus-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(226, 177, 60, 0.12);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.bonus-info h5 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.bonus-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.pricing-card-wrapper {
    position: relative;
    padding: 10px;
}

.pricing-card {
    background: var(--bg-light);
    border-radius: 28px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.card-badge {
    position: absolute;
    top: 35px;
    right: -45px;
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg);
    padding: 0.5rem 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.pricing-header h4 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.price-old {
    font-size: 1.4rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-new {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.pricing-features li svg {
    color: #2EC4B6;
}

.pricing-card .btn {
    width: 100%;
}

.guarantee-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ==========================================================================
   10. CONTACT / ORDER FORM
   ========================================================================== */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info {
    max-width: 450px;
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-card-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.contact-card-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(217, 56, 58, 0.08);
}

textarea.form-input {
    resize: vertical;
    height: 120px;
}

.form-submit-btn {
    width: 100%;
    padding: 1.1rem;
}

/* ==========================================================================
   11. FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Open states */
.faq-item.open {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 56, 58, 0.1);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5rem 0 3rem 0;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 350px;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ==========================================================================
   13. SUCCESS MODAL (FORM CONFIRMATION)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(15, 15, 18, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--white);
    border-radius: 24px;
    padding: 3.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.visible .modal-box {
    transform: scale(1);
}

.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(46, 196, 182, 0.1);
    color: #2EC4B6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 2rem auto;
}

.modal-box h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-floating-card {
        left: 20px;
    }

    .bio-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-img-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .pricing-offer {
        max-width: 100%;
        text-align: center;
    }

    .bonus-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card-wrapper {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-info {
        max-width: 100%;
        text-align: center;
    }

    .contact-card-list {
        align-items: center;
    }
}

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

    .nav-menu {
        display: none; /* In production, you would add a hamburger menu. Here we keep it clean. */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .phase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .left {
        left: 0;
    }

    .right {
        left: 0;
    }

    .right::after {
        left: 21px;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
