/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (MAI HAN STYLE ALIGNMENT)
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #0a192f;        /* Deep Indigo Blue */
    --primary-light: #172a45;
    
    --sakura-bg: #fff5f6;       /* Soft Sakura Pink background */
    --sakura-accent: #fad5d8;   /* Medium Sakura Pink */
    --sakura-dark: #e29fa4;     /* Deep Pink */
    
    --gold: #c5a059;            /* Royal Gold */
    --gold-dark: #aa8035;
    --gold-glow: rgba(197, 160, 89, 0.25);
    --gold-light: rgba(197, 160, 89, 0.1);
    
    --green-accent: #0f766e;    /* Medical Dark Green Accent */
    --green-light: #f0fdfa;
    --green-border: rgba(15, 118, 110, 0.15);
    
    --bg-light: #f8f9fa;        /* Light Grey Background */
    --white: #ffffff;           /* Pure White */
    
    --text-dark: #0f172a;       /* Almost Black */
    --text-medium: #334155;     /* Dark Slate Grey */
    --text-light: #64748b;      /* Slate Grey */
    --text-white: #f8fafc;
    
    /* Typography */
    --font-heading: 'El Messiri', serif;
    --font-body: 'Darker Grotesque', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-flat: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px rgba(10, 25, 47, 0.06);
    --shadow-tabbar: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   BASE RESET & SETTINGS
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 18px; /* High legibility */
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-medium);
    line-height: 1.45;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

p {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-gold {
    color: var(--gold);
}

.text-red {
    color: #ef4444;
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    color: var(--primary);
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 48px auto;
    font-weight: 500;
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes scaleUp {
    from { transform: scale(0.96); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.animate-scale {
    animation: scaleUp 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. HEADER SECTION (MOBILE APP STYLE)
   ========================================================================== */

.main-header {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-icon-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--gold-dark);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1px;
}

/* ==========================================================================
   2. HERO SECTION (LANDING ADS STYLE)
   ========================================================================== */

.hero-section {
    background-color: var(--sakura-bg);
    position: relative;
    padding: 64px 0 80px 0;
    overflow: hidden;
}

#sakura-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    z-index: 2;
}

.hero-content {
    color: var(--text-dark);
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    font-weight: 700;
}

.hero-check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-check-list li {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-check-list i {
    color: var(--green-accent);
    font-size: 1.15rem;
}

/* Promo Box (Mai Han Style) */
.promo-box {
    background-color: var(--white);
    border: 1px dashed var(--sakura-dark);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 36px;
    max-width: 500px;
    box-shadow: var(--shadow-flat);
    position: relative;
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.promo-badge {
    background: var(--sakura-accent);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.promo-text {
    font-size: 1.05rem;
    font-weight: 600;
}

.promo-text strong {
    color: #ef4444;
}

.promo-gift-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 4px;
}

.promo-gift-text strong {
    color: var(--gold-dark);
}

.promo-footer {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 700;
    font-style: italic;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: var(--text-white);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary-glow:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.3);
}

.hero-cta-subtext {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    margin-left: 4px;
}

/* Product Showcase Box */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image-box {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    max-width: 380px;
    width: 100%;
}

.hero-product-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   3. TRUST BAR
   ========================================================================== */

.trust-bar {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sakura-bg);
    color: var(--sakura-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   4. CONDITION SECTION (BẠN ĐANG GẶP TÌNH TRẠNG NÀO)
   ========================================================================== */

.condition-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.condition-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-flat);
    transition: var(--transition-smooth);
}

.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.condition-circle-crop {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 3px solid var(--sakura-accent);
    background-size: cover;
    background-position: center;
}

.cond-1 { background-image: url('sam_nam_tan_nhang.jpg'); }
.cond-2 { background-image: url('lao_hoa_chung_nhao.jpg'); }
.cond-3 { background-image: url('da_kho_rap_nhay_cam.jpg'); }
.cond-4 { background-image: url('voc_dang_tich_mo.jpg'); }

.cond-1-after { background-image: url('sau_4_tuan.jpg'); background-size: cover; background-position: center; }
.cond-2-after { background-image: url('sau_8_tuan.jpg'); background-size: cover; background-position: center; }

.condition-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.condition-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ==========================================================================
   5. ROUTINE SECTION (4 BƯỚC CHUẨN NHẬT)
   ========================================================================== */

.routine-section {
    padding: 80px 0;
    background-color: var(--white);
}

.routine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.routine-step {
    text-align: center;
    position: relative;
    padding: 16px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.routine-step.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Steps connector horizontal line on desktop */
.routine-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 56px; /* Centered relative to the 80px circle */
    left: calc(50% + 50px); /* Starts from the right edge of the circle (40px + 10px padding) */
    width: calc(100% - 100px + 24px); /* step width - circle width + gap */
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--sakura-dark) 0, var(--sakura-dark) 6px, transparent 6px, transparent 12px);
    background-size: 12px 3px;
    animation: flowLineHorizontal 0.8s linear infinite;
    z-index: 1;
    box-shadow: 0 0 8px rgba(226, 159, 164, 0.4);
}

@keyframes flowLineHorizontal {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 24px 0;
    }
}

@keyframes flowLineVertical {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 0 24px;
    }
}

.routine-step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--sakura-accent);
    background: var(--sakura-bg);
    color: var(--sakura-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px auto;
    position: relative;
    transition: var(--transition-smooth);
}

/* Expanding ripple outline animation on circle hover */
.routine-step-circle::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid var(--sakura-dark);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.routine-step:hover .routine-step-circle {
    background: var(--sakura-accent);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(226, 159, 164, 0.6);
}

.routine-step:hover .routine-step-circle::before {
    opacity: 1;
    transform: scale(1.1);
    animation: circleRipple 1.2s ease-out infinite;
}

@keyframes circleRipple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.step-img-1 { background-image: url('uong_82x_placenta.jpg'); background-size: cover; background-position: center; }
.step-img-2 { background-image: url('thoa_day_serum.jpg'); background-size: cover; background-position: center; }
.step-img-3 { background-image: url('thoa_night_serum.jpg'); background-size: cover; background-position: center; }
.step-img-4 { background-image: url('thai_doc_thon_dang.jpg'); background-size: cover; background-position: center; }

.step-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: var(--text-white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.routine-step h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.step-sub {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.routine-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ==========================================================================
   6. COMBO SECTION (Pricing Cards side by side)
   ========================================================================== */

.combos-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.combo-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 40px 24px 32px 24px;
    box-shadow: var(--shadow-flat);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition-smooth);
}

.combo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.combo-badge-tag {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.combo-badge-tag.plain {
    background: var(--bg-light);
    color: var(--text-light);
}

.combo-badge-tag.gold {
    background: var(--gold-light);
    color: var(--gold-dark);
}

.combo-badge-tag.discount {
    background: var(--sakura-bg);
    color: var(--sakura-dark);
}

.popular-card {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-premium);
    transform: scale(1.02);
    z-index: 10;
}

.popular-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.best-seller-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.combo-header {
    margin-top: 20px;
    margin-bottom: 24px;
}

.combo-header h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.combo-header p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.combo-pricing {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-bottom: 24px;
}

.combo-pricing .original-price {
    font-size: 1.15rem;
    color: var(--text-light);
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.combo-pricing .sale-price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-heading);
    line-height: 1;
}

.combo-pricing .sale-price .unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-left: 2px;
}

.discount-tag {
    display: inline-block;
    color: #ef4444;
    font-weight: 800;
    font-size: 0.95rem;
    margin-top: 6px;
}

.discount-tag.gold-bg {
    color: var(--gold-dark);
}

.gift-banner {
    background: var(--sakura-bg);
    border: 1px solid var(--sakura-accent);
    color: var(--text-dark);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.gift-banner i {
    color: var(--sakura-dark);
}

.gift-banner.highlight-purple {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.gift-banner.highlight-purple i {
    color: var(--gold);
}

.combo-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.combo-features li {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.combo-features i.fa-check {
    color: #10b981;
}

.combo-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--text-white);
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.combo-btn:hover {
    background: var(--primary-light);
}

.popular-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}

/* ==========================================================================
   7. WHY CHOOSE SECTION
   ========================================================================== */

.why-choose-section {
    padding: 80px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.why-card:hover {
    background: var(--bg-light);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sakura-bg);
    color: var(--sakura-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ==========================================================================
   8. GIFT DETAIL SECTION
   ========================================================================== */

.gift-section {
    padding: 80px 0;
    background-color: var(--sakura-bg);
}

.gift-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.gift-showcase-image {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.gift-img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.gift-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gift-product-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.gift-time {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.gift-desc {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.45;
}

/* ===========================================================/* ==========================================================================
   9. FEEDBACK SECTION (UGC STYLE)
   ========================================================================== */

.feedback-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Trust Box Style */
.feedback-trust-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--sakura-bg);
    border: 1px solid var(--sakura-accent);
    border-radius: 20px;
    padding: 24px 40px;
    margin-bottom: 56px;
    box-shadow: var(--shadow-flat);
}

.trust-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.trust-stat-divider {
    width: 1px;
    height: 60px;
    background-color: var(--sakura-dark);
    opacity: 0.5;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-stars {
    color: var(--gold);
    font-size: 0.85rem;
}

/* Gallery Showcase Styles */
.feedback-gallery-wrapper {
    margin-top: 20px;
    border-top: 1px dashed var(--sakura-dark);
    padding-top: 56px;
}

.gallery-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-title i {
    color: var(--gold-dark);
}

.gallery-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Responsive Grid Layout for Reviews */
.feedback-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    width: 100%;
    align-items: start;
}

.feedback-masonry-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.feedback-masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--sakura-dark);
}

.masonry-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: var(--bg-light);
}

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

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.45);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.feedback-masonry-item:hover .img-overlay {
    opacity: 1;
}

.feedback-masonry-content {
    padding: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    background-color: var(--white);
}

.fb-rating {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.feedback-masonry-caption {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-medium);
    font-weight: 700;
}

.hidden-feedback {
    display: none;
}

/* Handled via JS toggle columns flow */
.hidden-feedback.show {
    display: flex; /* Matches item flow */
    animation: fadeIn 0.4s ease forwards;
}

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

.btn-more-feedback {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

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

/* Lightbox Modal Styles with Slideshow */
.feedback-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 12, 27, 0.95);
    backdrop-filter: blur(8px);
}

.feedback-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 80%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoom {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-counter {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.close-lightbox {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--white);
    font-size: 36px;
    font-weight: bold;
    transition: var(--transition-smooth);
    cursor: pointer;
    z-index: 2010;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox:hover {
    color: var(--sakura-dark);
}

/* Lightbox Nav Buttons */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2010;
}

.lightbox-nav-btn:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

/* ==========================================================================
   10. LEAD CAPTURE FORM SECTION
   ========================================================================== */

/* ==========================================================================
   10. LEAD CAPTURE FORM SECTION
   ========================================================================== */

.order-form-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.form-banner-layout {
    background: var(--white);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
}

.form-visual-doctor {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.doctor-badge {
    background: var(--gold);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.doctor-avatar-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background-image: url('chuyen_gia_da_lieu.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.form-visual-doctor h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 8px;
}

.form-visual-doctor p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    max-width: 250px;
}

.form-inputs-container {
    padding: 48px;
    position: relative;
}

.form-main-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-sub-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.4;
}

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

.form-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-item label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-item input,
.form-item select {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background-color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-item select {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.form-item input:focus,
.form-item select:focus {
    border-color: var(--gold);
    background-color: var(--white);
}

.btn-submit-green {
    width: 100%;
    background: var(--green-accent);
    color: var(--text-white);
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.2);
    margin-top: 12px;
    transition: var(--transition-smooth);
}

.btn-submit-green:hover {
    background: #0d5c58;
    transform: translateY(-2px);
}

.form-privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Success Overlay */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-box {
    text-align: center;
    max-width: 450px;
}

.success-icon {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 12px;
}

.success-box h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.success-box p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.4;
    margin-bottom: 24px;
}

.btn-close-success {
    background: var(--primary);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

/* ==========================================================================
   11. FAQ SECTION (ACCORDION)
   ========================================================================== */

.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    outline: none;
}

.faq-arrow {
    font-size: 0.85rem;
    color: var(--sakura-dark);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.4;
}

/* ==========================================================================
   12. MOBILE BOTTOM TAB BAR
   ========================================================================== */

.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: var(--white);
    box-shadow: var(--shadow-tabbar);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: none; /* Only display on mobile screen */
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    gap: 4px;
    flex: 1;
}

.tab-item i {
    font-size: 1.25rem;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.tab-item.active {
    color: var(--primary);
}

.tab-item.active i {
    color: var(--primary);
}

/* Scan Center Tab Button */
.tab-item-scan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -16px;
    flex: 1;
    z-index: 10;
}

.scan-button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    border: 3px solid var(--white);
    margin-bottom: 4px;
    transition: var(--transition-smooth);
}

.tab-item-scan span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
}

.tab-item-scan:hover .scan-button {
    transform: scale(1.05);
}

/* ==========================================================================
   13. FOOTER SECTION
   ========================================================================== */

.main-footer {
    background-color: #0c1524;
    color: rgba(255, 255, 255, 0.55);
    padding: 56px 0 120px 0; /* Extra bottom padding for mobile tab bar */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-contact {
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-disclaimer {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 24px auto;
}

.footer-copyright {
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container,
    .gift-layout,
    .form-banner-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .hero-check-list {
        align-items: center;
    }
    
    .promo-box {
        margin: 0 auto 36px auto;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
    }
    
    .condition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .routine-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 32px;
    }
    
    .routine-step {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 4px 20px;
        text-align: left;
        align-items: start;
        padding: 0;
    }
    
    .routine-step-circle {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin: 0;
        align-self: start;
        z-index: 2;
    }
    
    .routine-step h3 {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 1.3rem;
    }
    
    .routine-step .step-sub {
        grid-column: 2;
        grid-row: 2;
        margin: 0 0 6px 0;
    }
    
    .routine-step p {
        grid-column: 2;
        grid-row: 3;
        margin: 0;
        font-size: 1rem;
    }
    
    .routine-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 78px; /* Slightly inside the circle to hide start */
        left: 40px; /* Center of the 80px circle */
        transform: translateX(-50%);
        width: 3px;
        height: calc(100% - 46px); /* 100% height + 32px gap - 78px start = 100% - 46px */
        background: repeating-linear-gradient(180deg, var(--sakura-dark) 0, var(--sakura-dark) 6px, transparent 6px, transparent 12px);
        background-size: 3px 12px;
        animation: flowLineVertical 0.8s linear infinite;
        z-index: 1;
        box-shadow: 0 0 8px rgba(226, 159, 164, 0.4);
        display: block;
    }
    
    .combos-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .popular-card {
        transform: scale(1);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feedback-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .form-visual-doctor {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .bottom-tab-bar {
        display: flex; /* Display sticky bar on mobile screens */
    }
    
    .condition-grid,
    .routine-grid,
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-inputs-container {
        padding: 24px;
    }
    
    .feedback-trust-box {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }
    
    .trust-stat-divider {
        width: 80%;
        height: 1px;
    }
    
    .feedback-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .lightbox-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .lightbox-img-wrapper {
        max-width: 95%;
    }
    
    @media (max-width: 480px) {
        .section-container {
            padding: 0 16px;
        }
        
        .feedback-masonry {
            grid-template-columns: 1fr;
        }
        
        .form-inputs-container {
            padding: 20px 16px;
        }
        
        .form-main-title {
            font-size: 1.5rem;
        }
        
        .form-sub-desc {
            font-size: 0.95rem;
            margin-bottom: 20px;
        }
        
        .btn-submit-green {
            font-size: 0.95rem;
            padding: 14px 12px;
        }
        
        .form-item input,
        .form-item select {
            font-size: 0.95rem;
            padding: 10px 12px;
        }
    }
}
