/* ============================================================
   VedaMaxx Frontend CSS — Luxury Ayurvedic Gold & Deep Forest
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --vm-gold: #c9a227;
    --vm-gold-light: #f0c850;
    --vm-gold-pale: #fdf4da;
    --vm-forest: #1b3a2d;
    --vm-forest-mid: #2d5a3f;
    --vm-forest-light: #3d7a55;
    --vm-cream: #faf8f3;
    --vm-white: #ffffff;
    --vm-text: #1c1c1c;
    --vm-muted: #666;
    --vm-border: #e8e0d0;
    --vm-shadow: 0 8px 32px rgba(27,58,45,0.12);
    --vm-shadow-hover: 0 16px 48px rgba(27,58,45,0.2);
    --vm-radius: 14px;
    --vm-radius-sm: 8px;
    --vm-font-display: 'Cormorant Garamond', 'Georgia', serif;
    --vm-font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    --vm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */

.vedamaxx-section {
    font-family: var(--vm-font-body);
    padding: 64px 0;
    position: relative;
}

.vedamaxx-section + .vedamaxx-section {
    padding-top: 0;
}

.vedamaxx-section-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.vedamaxx-section-icon {
    display: inline-block;
    font-size: 36px;
    margin-bottom: 12px;
    animation: vm-float 3s ease-in-out infinite;
}

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

.vedamaxx-section-header h2 {
    font-family: var(--vm-font-display) !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 700 !important;
    color: var(--vm-forest) !important;
    margin: 0 0 10px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.3px;
}

.vedamaxx-section-header p {
    color: var(--vm-muted) !important;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.vedamaxx-section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--vm-gold), var(--vm-gold-light));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ============================================================
   BENEFITS QUICK STRIP (above ATC)
   ============================================================ */

.vedamaxx-benefits-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.vedamaxx-benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--vm-gold-pale), #fff);
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: 999px;
    padding: 6px 14px;
    font-family: var(--vm-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--vm-forest);
    box-shadow: 0 2px 8px rgba(201,162,39,0.12);
    transition: var(--vm-transition);
}

.vedamaxx-benefit-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201,162,39,0.22);
}

.vedamaxx-pill-icon {
    font-size: 15px;
}

/* ============================================================
   USAGE QUICK INFO
   ============================================================ */

.vedamaxx-usage-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, var(--vm-forest), var(--vm-forest-mid));
    border-radius: var(--vm-radius-sm);
    padding: 12px 18px;
    margin: 0 0 18px;
}

.vedamaxx-uq-item {
    color: #d4f0df;
    font-family: var(--vm-font-body);
    font-size: 13px;
}

.vedamaxx-uq-item strong {
    color: var(--vm-gold-light);
    font-weight: 600;
}

/* ============================================================
   TRUST BADGES (after ATC)
   ============================================================ */

.vedamaxx-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 4px;
    padding: 16px;
    background: var(--vm-cream);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius-sm);
}

.vedamaxx-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 140px;
    font-family: var(--vm-font-body);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--vm-forest);
    padding: 6px 10px;
    background: var(--vm-white);
    border-radius: 6px;
    border: 1px solid rgba(201,162,39,0.2);
    transition: var(--vm-transition);
}

.vedamaxx-trust-badge:hover {
    border-color: var(--vm-gold);
    background: var(--vm-gold-pale);
}

.vedamaxx-trust-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Cart trust strip */
.vedamaxx-cart-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1b3a2d, #2d5a3f);
    border-radius: var(--vm-radius-sm);
    margin-bottom: 20px;
}

.vedamaxx-cart-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #c8f5d8;
    font-family: var(--vm-font-body);
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 10px;
    background: rgba(255,255,255,0.07);
    border-radius: 5px;
    flex: 1;
    min-width: 140px;
}

/* ============================================================
   INGREDIENTS SECTION
   ============================================================ */

.vedamaxx-ingredients-section {
    background: var(--vm-cream);
}

.vedamaxx-ingredient-graphic {
    text-align: center;
    margin-bottom: 40px;
}

.vedamaxx-ingredient-graphic img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--vm-radius);
}

.vedamaxx-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vedamaxx-ingredient-card {
    background: var(--vm-white);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    padding: 22px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--vm-transition);
    position: relative;
    overflow: hidden;
}

.vedamaxx-ingredient-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--vm-gold), var(--vm-gold-light));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: var(--vm-transition);
}

.vedamaxx-ingredient-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vm-shadow-hover);
    border-color: var(--vm-gold);
}

.vedamaxx-ingredient-card:hover::before {
    opacity: 1;
}

.vedamaxx-ing-icon {
    font-size: 30px;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.vedamaxx-ing-content {
    flex: 1;
}

.vedamaxx-ing-name {
    font-family: var(--vm-font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--vm-text);
    margin-bottom: 4px;
}

.vedamaxx-ing-amount {
    display: inline-block;
    background: linear-gradient(135deg, var(--vm-gold), var(--vm-gold-light));
    color: var(--vm-forest);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.vedamaxx-ing-benefit {
    font-size: 12.5px;
    color: var(--vm-muted);
    line-height: 1.45;
}

/* ============================================================
   CLINICAL BENEFITS SECTION
   ============================================================ */

.vedamaxx-benefits-section {
    background: linear-gradient(160deg, var(--vm-forest) 0%, var(--vm-forest-mid) 100%);
    padding: 72px 0;
}

.vedamaxx-benefits-section .vedamaxx-section-header h2 {
    color: var(--vm-white) !important;
}

.vedamaxx-benefits-section .vedamaxx-section-header p {
    color: rgba(255,255,255,0.65) !important;
}

.vedamaxx-benefits-section .vedamaxx-section-header::after {
    background: linear-gradient(90deg, var(--vm-gold), var(--vm-gold-light));
}

.vedamaxx-benefit-infographic {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 800px;
    padding: 0 20px;
}

.vedamaxx-benefit-infographic img {
    max-width: 100%;
    border-radius: var(--vm-radius);
    box-shadow: var(--vm-shadow);
}

.vedamaxx-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vedamaxx-benefit-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(201,162,39,0.25);
    border-radius: var(--vm-radius);
    padding: 26px 22px;
    display: flex;
    gap: 16px;
    transition: var(--vm-transition);
    backdrop-filter: blur(4px);
}

.vedamaxx-benefit-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--vm-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

.vedamaxx-benefit-icon-wrap {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(201,162,39,0.3));
}

.vedamaxx-benefit-content h3 {
    font-family: var(--vm-font-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--vm-gold-light) !important;
    margin: 0 0 8px !important;
    line-height: 1.3 !important;
}

.vedamaxx-benefit-content p {
    color: rgba(255,255,255,0.75);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 8px;
}

.vedamaxx-study-ref {
    display: inline-block;
    color: rgba(240,200,80,0.7);
    font-size: 11px;
    font-style: normal;
    background: rgba(201,162,39,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(201,162,39,0.2);
}

/* ============================================================
   HOW TO USE SECTION
   ============================================================ */

.vedamaxx-usage-section {
    background: var(--vm-white);
}

.vedamaxx-usage-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

@media (max-width: 768px) {
    .vedamaxx-usage-layout {
        grid-template-columns: 1fr;
    }
}

.vedamaxx-serving-img {
    width: 240px;
    flex-shrink: 0;
}

.vedamaxx-serving-img img {
    width: 100%;
    border-radius: var(--vm-radius);
    box-shadow: var(--vm-shadow);
}

.vedamaxx-dosage-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--vm-gold-pale), #fffef7);
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: var(--vm-radius-sm);
}

.vedamaxx-dosage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 160px;
}

.vedamaxx-dosage-icon {
    font-size: 24px;
}

.vedamaxx-dosage-item > div {
    display: flex;
    flex-direction: column;
}

.vedamaxx-dosage-item strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--vm-muted);
    font-weight: 600;
}

.vedamaxx-dosage-item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--vm-forest);
}

.vedamaxx-steps-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vedamaxx-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #fafaf8;
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius-sm);
    transition: var(--vm-transition);
    counter-increment: none;
}

.vedamaxx-step:hover {
    border-color: var(--vm-gold);
    background: var(--vm-gold-pale);
}

.vedamaxx-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--vm-gold), var(--vm-gold-light));
    color: var(--vm-forest);
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    font-family: var(--vm-font-body);
    box-shadow: 0 4px 10px rgba(201,162,39,0.3);
}

.vedamaxx-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vedamaxx-step-content > span {
    font-size: 14px;
    font-weight: 600;
    color: var(--vm-text);
}

.vedamaxx-step-note {
    font-size: 12px;
    color: var(--vm-muted);
    font-style: italic;
}

.vedamaxx-warning-box {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #fff8e1;
    border: 1px solid #f0c850;
    border-left: 4px solid var(--vm-gold);
    border-radius: var(--vm-radius-sm);
    margin-top: 20px;
}

.vedamaxx-warn-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.vedamaxx-warning-box strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #7a5c00;
    margin-bottom: 2px;
}

.vedamaxx-warning-box p {
    margin: 0;
    font-size: 13px;
    color: #7a5c00;
    line-height: 1.5;
}

/* ============================================================
   CUSTOMER OUTCOMES SECTION
   ============================================================ */

.vedamaxx-outcomes-section {
    background: linear-gradient(160deg, #0d2018, var(--vm-forest));
}

.vedamaxx-outcomes-section .vedamaxx-section-header h2 {
    color: var(--vm-white) !important;
}

.vedamaxx-outcomes-section .vedamaxx-section-header p {
    color: rgba(255,255,255,0.6) !important;
}

.vedamaxx-outcomes-section .vedamaxx-section-header::after {
    background: linear-gradient(90deg, var(--vm-gold), var(--vm-gold-light));
}

.vedamaxx-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vedamaxx-outcome-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: var(--vm-radius);
    padding: 28px 22px;
    text-align: center;
    transition: var(--vm-transition);
}

.vedamaxx-outcome-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--vm-gold);
    transform: translateY(-4px);
}

.vedamaxx-outcome-stat {
    font-family: var(--vm-font-display);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--vm-gold), var(--vm-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.vedamaxx-outcome-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--vm-white);
    line-height: 1.4;
    margin-bottom: 4px;
}

.vedamaxx-outcome-time {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}

.vedamaxx-progress-track {
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.vedamaxx-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--vm-gold), var(--vm-gold-light));
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.vedamaxx-outcome-note {
    font-size: 10.5px;
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

/* ============================================================
   BEFORE / AFTER SECTION
   ============================================================ */

.vedamaxx-ba-section {
    background: var(--vm-cream);
}

.vedamaxx-ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vedamaxx-ba-card {
    background: var(--vm-white);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    overflow: hidden;
    box-shadow: var(--vm-shadow);
    transition: var(--vm-transition);
}

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

.vedamaxx-ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.vedamaxx-ba-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.vedamaxx-ba-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vedamaxx-ba-card:hover .vedamaxx-ba-img img {
    transform: scale(1.04);
}

.vedamaxx-ba-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    text-align: center;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.vedamaxx-ba-before {
    background: rgba(80,80,80,0.85);
    color: #fff;
}

.vedamaxx-ba-after {
    background: linear-gradient(135deg, rgba(27,58,45,0.9), rgba(45,90,63,0.9));
    color: var(--vm-gold-light);
}

.vedamaxx-ba-caption {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--vm-forest);
    border-top: 1px solid var(--vm-border);
    text-align: center;
    background: linear-gradient(135deg, var(--vm-gold-pale), #fff);
}

.vedamaxx-ba-disclaimer {
    max-width: 800px;
    margin: 28px auto 0;
    padding: 0 20px;
    text-align: center;
    font-size: 12px;
    color: var(--vm-muted);
    font-style: italic;
    line-height: 1.6;
}

/* ============================================================
   LIFESTYLE GALLERY SECTION
   ============================================================ */

.vedamaxx-lifestyle-section {
    background: var(--vm-forest);
}

.vedamaxx-lifestyle-section .vedamaxx-section-header h2 {
    color: var(--vm-white) !important;
}

.vedamaxx-lifestyle-section .vedamaxx-section-header p {
    color: rgba(255,255,255,0.6) !important;
}

.vedamaxx-lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vedamaxx-lifestyle-img {
    border-radius: var(--vm-radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: var(--vm-transition);
}

.vedamaxx-lifestyle-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 2;
    position: relative;
}

.vedamaxx-lifestyle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .vedamaxx-section { padding: 48px 0; }
    .vedamaxx-ingredients-grid,
    .vedamaxx-benefits-grid,
    .vedamaxx-outcomes-grid,
    .vedamaxx-ba-grid,
    .vedamaxx-lifestyle-grid { padding: 0 16px; }
    .vedamaxx-trust-badges { flex-direction: column; }
    .vedamaxx-trust-badge { min-width: unset; }
    .vedamaxx-serving-img { display: none; }
    .vedamaxx-benefit-pill { font-size: 12px; }
    .vedamaxx-outcome-stat { font-size: 42px; }
}

/* ============================================================
   ANIMATION: Scroll-triggered reveal
   ============================================================ */

.vedamaxx-ingredient-card,
.vedamaxx-benefit-card,
.vedamaxx-outcome-card,
.vedamaxx-ba-card,
.vedamaxx-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.vedamaxx-ingredient-card.vm-visible,
.vedamaxx-benefit-card.vm-visible,
.vedamaxx-outcome-card.vm-visible,
.vedamaxx-ba-card.vm-visible,
.vedamaxx-step.vm-visible {
    opacity: 1;
    transform: translateY(0);
}
