/* ============================================
   Design System - Kem Đánh Răng Cau Xanh
   Premium Landing Page
   ============================================ */

/* --- Custom Properties --- */
:root {
    --primary-color: #0c3d2e;
    --primary-dark: #082a1f;
    --primary-light: #165c48;
    --primary-lighter: #1e7a60;
    --accent-color: #8cc63f;
    --accent-glow: rgba(140, 198, 63, 0.35);
    --accent-dark: #6ea030;
    --gold: #d4a853;
    --gold-light: #f0d68a;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --text-white: #ffffff;
    --bg-light: #f0f5f3;
    --bg-white: #ffffff;
    --bg-dark-section: #0a332a;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 8px 30px rgba(140, 198, 63, 0.25);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 0 15px rgba(140, 198, 63, 0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.animate-fade-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade { animation: fadeIn 1s ease-in forwards; }
.animate-fade-left { animation: fadeInLeft 0.8s ease-out forwards; }
.animate-fade-right { animation: fadeInRight 0.8s ease-out forwards; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

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

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.hide-mobile { display: inline; }

/* --- Typography --- */
h1, h2, h3, h4 {
    letter-spacing: 0.5px;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
}

h3 {
    font-size: 22px;
    font-weight: 700;
}

/* Section label helper */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(140, 198, 63, 0.1);
    color: var(--accent-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.section-label i {
    font-size: 11px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 38px;
    background: linear-gradient(135deg, var(--accent-color), #a4d65e);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(140, 198, 63, 0.4);
}

.btn:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

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

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

/* ============================================
   HEADER
   ============================================ */
header {
    background: rgba(12, 61, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(12, 61, 46, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo {
    color: var(--text-white);
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo i {
    color: var(--accent-color);
    font-size: 22px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    padding: 8px 18px;
    border-radius: 50px;
    position: relative;
}

nav a:hover {
    color: var(--text-white);
    background: rgba(140, 198, 63, 0.15);
}

nav a.active {
    color: var(--accent-color);
    background: rgba(140, 198, 63, 0.12);
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    z-index: 1001;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 40%, var(--primary-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(140, 198, 63, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--bg-light);
    clip-path: ellipse(60% 100% at 50% 100%);
}

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

.hero-content h1 {
    font-size: 58px;
    margin-bottom: 22px;
    line-height: 1.08;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-content h1 span {
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero-content p {
    font-size: 19px;
    margin-bottom: 35px;
    opacity: 0.85;
    line-height: 1.8;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 15px;
    opacity: 0.9;
}

.hero-trust i {
    color: var(--accent-color);
    font-size: 18px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 30px 30px 80px rgba(0,0,0,0.35);
    animation: float 5s ease-in-out infinite;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(140, 198, 63, 0.2);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

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

.hero-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background: var(--bg-light);
    position: relative;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.about-feature {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.about-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-lighter));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.about-feature:hover::before {
    transform: scaleX(1);
}

.about-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.about-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(140, 198, 63, 0.1), rgba(140, 198, 63, 0.05));
    border-radius: 20px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: rotate(-5deg);
}

.about-feature h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.about-feature p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
#benefits {
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--bg-light);
    padding: 45px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.benefit-card:hover::after {
    width: 60%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    border-color: rgba(140, 198, 63, 0.2);
}

.benefit-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-lighter));
    border-radius: 24px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--accent-color);
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(12, 61, 46, 0.3);
}

.benefit-card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 20px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.benefit-detail-img {
    margin-top: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.benefit-detail-img img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.benefit-detail-img:hover img {
    transform: scale(1.02);
}

/* ============================================
   INGREDIENTS SECTION
   ============================================ */
.ingredients {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ingredients::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(140, 198, 63, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.ingredients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.ingredients-info h2 {
    color: white;
    margin-bottom: 8px;
}

.ingredients-info .section-label {
    background: rgba(140, 198, 63, 0.15);
    color: var(--accent-color);
}

.ingredients-info > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
    font-size: 16px;
}

.ingredient-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ingredient-item {
    padding: 14px 18px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.ingredient-item:hover {
    background: rgba(255,255,255,0.16);
    transform: translateX(5px);
}

.ingredient-item i {
    color: var(--accent-color);
    font-size: 12px;
}

.ingredients-img {
    position: relative;
}

.ingredients-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.4);
}

.ingredients-img::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(140, 198, 63, 0.15);
    border-radius: var(--radius);
    z-index: -1;
}

/* ============================================
   COMBO SECTION
   ============================================ */
#combo {
    background: var(--bg-light);
}

.combo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.combo-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.combo-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.combo-card.featured {
    border-color: var(--accent-color);
    position: relative;
}

.combo-card.featured::before {
    content: '🔥 BÁN CHẠY';
    position: absolute;
    top: 18px;
    right: -32px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    z-index: 10;
    letter-spacing: 1px;
}

.combo-image {
    overflow: hidden;
    position: relative;
}

.combo-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.combo-card:hover .combo-image img {
    transform: scale(1.08);
}

.combo-info {
    padding: 28px;
    text-align: center;
}

.combo-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.combo-info > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.combo-price {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(140, 198, 63, 0.12);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 18px;
}

/* ============================================
   USAGE SECTION
   ============================================ */
#usage {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

#usage::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(140, 198, 63, 0.06), transparent 70%);
    border-radius: 50%;
}

.usage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.usage-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.3);
}

.usage-content h2 {
    color: white;
    margin-bottom: 8px;
}

.usage-content .section-label {
    background: rgba(140, 198, 63, 0.15);
    color: var(--accent-color);
}

.usage-steps {
    list-style: none;
    margin-top: 30px;
}

.usage-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 18px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.usage-step:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.usage-step-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.usage-step-text {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

.usage-step-text strong {
    color: var(--accent-color);
}

.usage-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.usage-note i {
    color: #ffc107;
    font-size: 20px;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS / FEEDBACK SECTION
   ============================================ */
#feedback {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

#feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 198, 63, 0.3), transparent);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.feedback-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.feedback-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: rgba(140, 198, 63, 0.15);
    line-height: 1;
}

.feedback-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(140, 198, 63, 0.15);
    background: var(--bg-white);
}

.feedback-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.feedback-stars i {
    color: #f1c40f;
    font-size: 14px;
    animation: starPulse 2s ease-in-out infinite;
}

.feedback-stars i:nth-child(2) { animation-delay: 0.1s; }
.feedback-stars i:nth-child(3) { animation-delay: 0.2s; }
.feedback-stars i:nth-child(4) { animation-delay: 0.3s; }
.feedback-stars i:nth-child(5) { animation-delay: 0.4s; }

.feedback-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.feedback-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feedback-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.feedback-author-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.feedback-author-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.feedback-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--accent-dark);
    background: rgba(140, 198, 63, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 4px;
}

.feedback-verified i {
    font-size: 10px;
}

/* Feedback summary bar */
.feedback-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.feedback-summary-rating {
    text-align: center;
}

.feedback-summary-rating .rating-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.feedback-summary-rating .rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
}

.feedback-summary-rating .rating-stars i {
    color: #f1c40f;
    font-size: 18px;
}

.feedback-summary-rating .rating-count {
    font-size: 14px;
    color: var(--text-muted);
}

.feedback-summary-bars {
    flex: 1;
    max-width: 400px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    width: 50px;
    text-align: right;
}

.rating-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(0,0,0,0.06);
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #a4d65e);
    border-radius: 10px;
    transition: width 1s ease;
}

.rating-bar-count {
    font-size: 12px;
    color: var(--text-muted);
    width: 30px;
}

/* ============================================
   BEFORE/AFTER FEEDBACK SECTION
   ============================================ */
#before-after {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

#before-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 198, 63, 0.25), transparent);
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ba-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.ba-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(140, 198, 63, 0.2);
}

.ba-image-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ba-image-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ba-card:hover .ba-image-wrapper img {
    transform: scale(1.03);
}

.ba-image-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    pointer-events: none;
}

.ba-label {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 16px 20px;
}

.ba-label span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.ba-label-before span {
    background: rgba(231, 76, 60, 0.85);
    color: white;
}

.ba-label-after span {
    background: rgba(140, 198, 63, 0.9);
    color: var(--primary-color);
    margin-left: auto;
}

.ba-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230c3d2e'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3Cpath d='M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z' transform='scale(-1,1) translate(-24,0)'/%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.ba-content {
    padding: 28px 30px;
}

.ba-content .feedback-stars {
    margin-bottom: 12px;
}

.ba-review-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 18px;
    font-style: italic;
    position: relative;
    padding-left: 18px;
    border-left: 3px solid var(--accent-color);
}

.ba-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ba-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ba-author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.ba-author-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.ba-author-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.ba-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(140, 198, 63, 0.1);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-dark);
}

.ba-duration i {
    font-size: 11px;
}

/* Full-width BA card variant */
.ba-card-full {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.ba-card-full .ba-image-wrapper img {
    height: 100%;
    min-height: 300px;
}

.ba-card-full .ba-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
}

.ba-card-full .ba-review-text {
    font-size: 16px;
}

/* ============================================
   ORDER SECTION
   ============================================ */
#order {
    background: var(--bg-light);
    position: relative;
}

.order-container {
    max-width: 620px;
    margin: 50px auto 0;
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.order-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-lighter));
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8ede9;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.1);
}

.form-group input::placeholder {
    color: #b2bec3;
}

.order-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.trust-badge i {
    color: var(--accent-color);
    font-size: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
}

.footer-links h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 12px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-socials a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-lighter));
    color: var(--accent-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(12, 61, 46, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(12, 61, 46, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero-content h1 { font-size: 48px; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .feedback-grid { grid-template-columns: repeat(2, 1fr); }
    .ba-grid { gap: 24px; }
    .footer-grid { gap: 30px; }
}

@media (max-width: 768px) {
    /* === Global spacing === */
    .section-padding { padding: 60px 0; }
    .container { padding: 0 20px; }
    h2 { font-size: 28px; margin-bottom: 12px; }
    h3 { font-size: 19px; }
    .section-desc { font-size: 15px; margin-bottom: 35px; line-height: 1.7; }
    .section-label { font-size: 11px; padding: 5px 14px; letter-spacing: 1px; margin-bottom: 14px; }
    .btn { padding: 14px 28px; font-size: 14px; }
    .hide-mobile { display: none; }

    /* === Header === */
    .header-inner { position: relative; }
    header { padding: 10px 0; }
    .logo { font-size: 20px; gap: 8px; }
    .logo i { font-size: 18px; }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        padding: 80px 30px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    nav.active { right: 0; }

    nav ul {
        flex-direction: column;
        gap: 6px;
    }

    nav ul li a {
        display: block;
        font-size: 16px;
        padding: 14px 20px;
        border-radius: var(--radius-sm);
    }

    nav ul li a:hover {
        background: rgba(140, 198, 63, 0.1);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-overlay.active { display: block; }

    /* === Hero Section === */
    .hero { min-height: auto; padding: 90px 0 60px; }
    .hero::after { height: 60px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-content h1 { font-size: 32px; margin-bottom: 16px; }
    .hero-content p { font-size: 15px; margin: 0 auto 25px; line-height: 1.7; max-width: 100%; }
    .hero-btns { justify-content: center; flex-direction: column; gap: 14px; }
    .hero-btns .btn { width: 100%; }
    .hero-btns .hero-trust { justify-content: center; }
    .hero-image::before { display: none; }
    .hero-image img { box-shadow: 15px 15px 40px rgba(0,0,0,0.25); }

    .hero-stats {
        gap: 0;
        margin-top: 25px;
        padding-top: 20px;
        justify-content: space-around;
    }
    .hero-stat { text-align: center; }
    .hero-stat-number { font-size: 24px; }
    .hero-stat-label { font-size: 10px; letter-spacing: 0.5px; }

    /* === About Section === */
    .about-features { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
    .about-feature { padding: 22px 16px; }
    .about-feature-icon { width: 54px; height: 54px; font-size: 22px; border-radius: 16px; margin-bottom: 12px; }
    .about-feature h4 { font-size: 14px; }
    .about-feature p { font-size: 12px; }

    /* === Benefits Section === */
    .benefits-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
    .benefit-card { padding: 30px 22px; }
    .benefit-icon { width: 65px; height: 65px; font-size: 28px; border-radius: 18px; margin-bottom: 16px; }
    .benefit-card h3 { font-size: 18px; }
    .benefit-card p { font-size: 14px; }
    .benefit-detail-img { margin-top: 35px; }

    /* === Ingredients Section === */
    .ingredients-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .ingredients-img { order: -1; }
    .ingredients-img img { box-shadow: 10px 10px 30px rgba(0,0,0,0.3); }
    .ingredient-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ingredient-item { font-size: 13px; padding: 12px 14px; gap: 8px; }
    .ingredients-info > p { font-size: 14px; margin-bottom: 25px; }

    /* === Combo Section === */
    .combo-grid { grid-template-columns: 1fr; max-width: 380px; margin: 30px auto 0; gap: 20px; }
    .combo-image img { height: 220px; }
    .combo-info { padding: 22px 18px; }
    .combo-info h3 { font-size: 18px; }
    .combo-info > p { font-size: 13px; }
    .combo-price { font-size: 16px; padding: 6px 18px; }

    /* === Usage Section === */
    .usage-grid { grid-template-columns: 1fr; gap: 25px; }
    .usage-content { margin-top: 20px; }
    .usage-img img { box-shadow: 10px 10px 30px rgba(0,0,0,0.2); }
    .usage-steps { margin-top: 20px; }
    .usage-step { padding: 14px; margin-bottom: 16px; gap: 12px; }
    .usage-step-icon { width: 36px; height: 36px; font-size: 13px; }
    .usage-step-text { font-size: 14px; }
    .usage-note { padding: 12px; font-size: 13px; gap: 10px; margin-top: 18px; }
    .usage-note i { font-size: 16px; }

    /* === Feedback Section === */
    .feedback-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
    .feedback-card { padding: 24px 20px; }
    .feedback-text { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
    .feedback-card::before { font-size: 44px; top: 14px; right: 18px; }
    .feedback-avatar { width: 40px; height: 40px; font-size: 15px; }
    .feedback-author-info h4 { font-size: 14px; }
    .feedback-author-info p { font-size: 12px; }
    .feedback-summary { flex-direction: column; gap: 20px; padding: 22px 18px; margin-bottom: 30px; }
    .feedback-summary-rating .rating-number { font-size: 42px; }
    .feedback-summary-rating .rating-stars i { font-size: 15px; }
    .feedback-summary-bars { max-width: 100%; }
    .rating-bar-label { font-size: 12px; width: 42px; }

    /* === Before/After Section === */
    .ba-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .ba-card { border-radius: var(--radius); }
    .ba-card-full { grid-template-columns: 1fr; }
    .ba-card-full .ba-image-wrapper img { height: 240px; min-height: auto; }
    .ba-image-wrapper img { height: 220px; }
    .ba-content { padding: 20px 18px; }
    .ba-review-text { font-size: 14px; line-height: 1.7; margin-bottom: 14px; padding-left: 14px; }
    .ba-author-avatar { width: 38px; height: 38px; font-size: 14px; }
    .ba-author-info h4 { font-size: 14px; }
    .ba-author-info p { font-size: 12px; }
    .ba-duration { font-size: 11px; padding: 5px 12px; }
    .ba-meta { gap: 10px; }
    .ba-divider::after { width: 30px; height: 30px; background-size: 16px; }
    .ba-label span { font-size: 11px; padding: 4px 12px; letter-spacing: 1.5px; }

    /* === Order Section === */
    .order-container { padding: 28px 20px; }
    .form-group label { font-size: 13px; }
    .form-group input,
    .form-group select { padding: 14px 16px; font-size: 15px; }
    .order-trust-badges { flex-direction: column; align-items: center; gap: 10px; }
    .trust-badge { font-size: 13px; }

    /* === Footer === */
    .footer-grid { grid-template-columns: 1fr 1fr; text-align: center; gap: 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand .logo { justify-content: center; font-size: 22px; }
    .footer-brand p { font-size: 13px; }
    .footer-links { text-align: left; }
    .footer-links h4 { font-size: 15px; }
    .footer-links a { font-size: 13px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    .footer-bottom p { font-size: 12px; }
    .footer-socials { justify-content: center; }
    .footer-socials a { width: 38px; height: 38px; font-size: 14px; }

    /* === Scroll to top === */
    .scroll-top { width: 44px; height: 44px; font-size: 16px; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section-padding { padding: 50px 0; }
    h2 { font-size: 24px; }
    .section-desc { font-size: 14px; margin-bottom: 28px; }

    /* Hero */
    .hero { padding: 80px 0 50px; }
    .hero-content h1 { font-size: 26px; line-height: 1.15; }
    .hero-content p { font-size: 14px; }
    .hero-stat-number { font-size: 20px; }
    .hero-stat-label { font-size: 9px; }

    /* About */
    .about-features { grid-template-columns: 1fr; gap: 12px; }
    .about-feature { padding: 20px 16px; }

    /* Ingredients */
    .ingredient-list { grid-template-columns: 1fr; gap: 8px; }
    .ingredient-item { font-size: 13px; }

    /* Combo */
    .combo-grid { max-width: 100%; }
    .combo-image img { height: 200px; }

    /* BA cards */
    .ba-image-wrapper img { height: 200px; }
    .ba-card-full .ba-image-wrapper img { height: 200px; }
    .ba-review-text { font-size: 13px; }
    .ba-label span { font-size: 10px; padding: 3px 10px; }
    .ba-divider { width: 2px; }
    .ba-divider::after { width: 26px; height: 26px; background-size: 14px; }

    /* Feedback */
    .feedback-card { padding: 20px 16px; }
    .feedback-text { font-size: 13px; }
    .feedback-summary-rating .rating-number { font-size: 36px; }

    /* Order */
    .order-container { padding: 24px 16px; }

    /* Footer */
    .footer-brand p { font-size: 12px; line-height: 1.6; }
}

@media (max-width: 360px) {
    .hero-content h1 { font-size: 22px; }
    h2 { font-size: 22px; }
    .hero-stat-number { font-size: 18px; }
    .btn { padding: 12px 22px; font-size: 13px; }
    .ba-image-wrapper img { height: 180px; }
    .ba-card-full .ba-image-wrapper img { height: 180px; }
}

