/* ==========================================================================
   BiteWise Kids – Landing Page v4 (Light Theme · Fresh Green Edition)
   Clean whites + emerald-green accents — warm, trustworthy, family-friendly
   ========================================================================== */

/* 1. Design Tokens & Variables */
:root {
    /* Brand Green */
    --emerald:         #1BAD6F;
    --emerald-light:   #25C97F;
    --emerald-dark:    #0D7A4E;
    --emerald-xlight:  #E8F8F1;
    --mint-accent:     #76F0BE;

    /* Backgrounds */
    --bg-body:         #FFFFFF;
    --bg-off:          #F7FAF8;
    --bg-section-alt:  #EFF7F3;
    --bg-card:         #FFFFFF;

    /* Text */
    --text-heading:    #0E2720;
    --text-body:       #2D4A3D;
    --text-muted:      #6B8C7A;
    --text-light:      #9BB5A7;

    /* Border */
    --border:          #D9EDE4;
    --border-hover:    #1BAD6F;

    /* Status Colors */
    --color-yes:        #1BAD6F;
    --color-yes-light:  #E8F8F1;
    --color-modify:     #E8A020;
    --color-modify-light:#FFF3DC;
    --color-notyet:     #F07040;
    --color-notyet-light:#FFEADE;
    --color-avoid:      #E84040;
    --color-avoid-light:#FDEAEA;

    /* Shadows */
    --shadow-xs:  0 2px 8px rgba(27,173,111,0.08);
    --shadow-sm:  0 4px 16px rgba(14, 39, 32, 0.07);
    --shadow-md:  0 12px 36px rgba(14, 39, 32, 0.10);
    --shadow-lg:  0 24px 60px rgba(14, 39, 32, 0.13);
    --shadow-grn: 0 8px 28px rgba(27,173,111,0.22);

    /* Radii & transitions */
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --radius-full: 9999px;
    --transition:  all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Resets & Typography */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 15px; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-heading);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

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

/* 3. Reusable Components */

/* Badge pill */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-xlight);
    color: var(--emerald-dark);
    border: 1px solid rgba(27,173,111,0.25);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

/* Primary: emerald gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald-dark) 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-grn);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(27,173,111,0.35);
    filter: brightness(1.07);
}

/* Secondary: outlined */
.btn-secondary {
    background: #FFFFFF;
    color: var(--emerald-dark);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
    background: var(--emerald-xlight);
    border-color: var(--emerald);
    transform: translateY(-2px);
}

/* Secondary light (same) */
.btn-secondary-light {
    background: #FFFFFF;
    color: var(--text-body);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-secondary-light:hover {
    background: var(--bg-off);
    border-color: var(--emerald);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* Store Download Buttons */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--text-heading);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    transition: var(--transition);
}
.btn-store i { font-size: 1.8rem; }
.btn-store .store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}
.btn-store .store-text span { font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.btn-store .store-text strong { font-size: 1rem; font-family: 'Outfit', sans-serif; }
.btn-store:hover {
    background-color: var(--emerald-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-grn);
}

/* Lifetime button */
.btn-lifetime {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 28px rgba(245,158,11,0.25);
}
.btn-lifetime:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(245,158,11,0.38);
    filter: brightness(1.07);
}

/* Section titles */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}
.section-title h2 { font-size: 2rem; margin-bottom: 16px; }

.section-title.on-dark h2 { color: var(--text-heading); }
.section-title.on-dark h2 span { color: var(--emerald); }
.section-title.on-dark p { color: var(--text-muted); font-size: 1rem; }

.section-title.on-light h2 { color: var(--text-heading); }
.section-title.on-light h2 span { color: var(--emerald); }
.section-title.on-light p { color: var(--text-muted); font-size: 1rem; }


/* ─────────────────────────────────────────────
   4. HEADER & NAVIGATION
───────────────────────────────────────────── */
#main-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 2px 24px rgba(14, 39, 32, 0.08);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-heading);
}

.logo-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon-img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.logo span span { color: var(--emerald); }

/* Mobile drawer */
#nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 24px;
    border-bottom: 1px solid var(--border);
}
#nav-menu.open { display: block; }
#nav-menu ul { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
#nav-menu a {
    font-weight: 600;
    color: var(--text-body);
    font-size: 1rem;
    display: block;
    padding: 8px 0;
    transition: var(--transition);
}
#nav-menu a:hover, #nav-menu a.active {
    color: var(--emerald);
    padding-left: 4px;
}

.header-cta { display: none; align-items: center; gap: 12px; }

#mobile-nav-toggle {
    display: flex;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-heading);
    cursor: pointer;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
}

/* Language switcher */
.lang-switcher-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: var(--emerald-xlight);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 32px 6px 12px;
    gap: 6px;
    transition: var(--transition);
    margin-right: 12px;
}
.lang-switcher-container:hover {
    background: #D4F0E4;
    border-color: var(--emerald);
    transform: translateY(-1px);
}
.lang-icon { font-size: 0.95rem; color: var(--emerald); }
.lang-select {
    background: none;
    border: none;
    outline: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-heading);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.lang-select option { background: #fff; color: var(--text-heading); }
.lang-switcher-container::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.6rem;
    color: var(--emerald);
    pointer-events: none;
    position: absolute;
    right: 12px;
}

/* Footer lang */
.footer-lang {
    margin-top: 16px;
    background: rgba(27,173,111,0.07);
    border-color: var(--border);
    width: fit-content;
}
.footer-lang .lang-select { color: var(--text-body); }
.footer-lang:hover { background: var(--emerald-xlight); border-color: var(--emerald); }


/* ─────────────────────────────────────────────
   5. HERO SECTION
───────────────────────────────────────────── */
#hero {
    padding: 120px 0 90px 0;
    background: linear-gradient(155deg, #F0FBF6 0%, #FFFFFF 50%, #EEF8F3 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */
#hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27,173,111,0.08) 0%, transparent 65%);
    top: -180px; right: -120px;
    pointer-events: none;
}
#hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118,240,190,0.10) 0%, transparent 65%);
    bottom: -80px; left: -60px;
    pointer-events: none;
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    color: var(--text-heading);
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content h1 .hl {
    background: linear-gradient(135deg, var(--emerald) 0%, #0D9965 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; justify-content: center; }

.hero-ratings { display: flex; align-items: center; gap: 12px; justify-content: center; }
.hero-ratings .stars { color: #F59E0B; font-size: 0.95rem; }
.hero-ratings span { font-size: 0.88rem; color: var(--text-muted); }
.hero-ratings span strong { color: var(--emerald); }

/* ── 6. PHONE MOCKUP ── */
.hero-mockup { display: flex; justify-content: center; align-items: center; width: 100%; }

/* Animated border ring */
.phone-neon-ring {
    position: relative;
    border-radius: 44px;
    padding: 2px;
    background: conic-gradient(from 0deg, #1BAD6F, #76F0BE, #A7F3D0, #6EE7B7, #1BAD6F);
    animation: rotateBorder 6s linear infinite;
    box-shadow: 0 0 40px rgba(27,173,111,0.20);
}
@keyframes rotateBorder { to { filter: hue-rotate(30deg); } }

.phone-frame {
    width: 290px;
    height: 590px;
    /* Keep phone interior dark — the app UI is dark */
    background: #0B1A13;
    border-radius: 42px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-speaker {
    width: 70px; height: 14px;
    background-color: rgba(0,0,0,0.5);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.phone-screen {
    flex: 1;
    background: #0B1A13;
    display: flex;
    flex-direction: column;
    padding: 20px 14px 14px 14px;
    position: relative;
    overflow: hidden;
}

/* disable old laser pseudo */
.phone-screen::before { display: none !important; }

/* indicator dots */
.mockup-indicator { display: flex; justify-content: center; gap: 8px; margin-top: 10px; z-index: 10; }
.mockup-indicator .dot { width: 6px; height: 6px; border-radius: 50%; background-color: rgba(118,240,190,0.25); cursor: pointer; transition: var(--transition); }
.mockup-indicator .dot.active { background-color: #76F0BE; width: 18px; border-radius: var(--radius-full); box-shadow: 0 0 8px rgba(118,240,190,0.6); }

.phone-home-button {
    width: 90px; height: 4px;
    background: rgba(118,240,190,0.22);
    border-radius: var(--radius-full);
    position: absolute;
    bottom: 5px; left: 50%;
    transform: translateX(-50%);
}

/* ── MOCK SCAN SCREEN ── */
.mock-scan {
    flex: 1; display: flex; flex-direction: column;
    position: relative; background: #0B1F16;
    overflow: hidden; min-height: 0;
}
.mock-scan-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% 25%, rgba(102,255,209,0.14) 0%, transparent 68%);
    pointer-events: none; z-index: 0;
}
.mock-scan > *:not(.mock-scan-glow) { position: relative; z-index: 1; }

.mock-toprow { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 0; flex-shrink: 0; }
.mock-ai-pill {
    background: #142D23; border: 1px solid rgba(118,240,190,0.25);
    border-radius: 10px; padding: 5px 10px;
    color: #fff; font-size: 0.6rem; font-weight: 900; font-family: 'Outfit',sans-serif;
}
.mock-title { font-size: 0.82rem; font-weight: 900; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.7); font-family: 'Outfit',sans-serif; }
.mock-flash-btn { width: 32px; height: 32px; border-radius: 50%; background: #142D23; display: flex; align-items: center; justify-content: center; color: #76F0BE; font-size: 0.7rem; }

.mock-hint-wrap { padding: 12px 18px 0; flex-shrink: 0; }
.mock-hint-bar {
    background: rgba(17,38,31,0.85); border: 1px solid rgba(118,240,190,0.15);
    border-radius: 14px; padding: 9px 13px;
    display: flex; align-items: center; gap: 8px;
    color: #D7ECE1; font-size: 0.59rem; font-weight: 800; font-family: 'Outfit',sans-serif;
}
.mock-hint-bar i { color: #76F0BE; font-size: 0.65rem; flex-shrink: 0; }

.mock-cam-wrap { flex: 1; padding: 12px 16px; min-height: 0; }
.mock-cam-box { width: 100%; height: 100%; background: #000; border-radius: 28px; border: 2px solid #142D23; overflow: hidden; position: relative; }
.mock-cam-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mock-cam-shimmer {
    position: absolute; top: -100%; bottom: -100%; width: 32%;
    background: linear-gradient(108deg, transparent 0%, rgba(118,240,190,0.04) 35%, rgba(255,255,255,0.42) 50%, rgba(118,240,190,0.06) 65%, transparent 100%);
    transform: skewX(-12deg); animation: mockCamShimmer 2.8s linear infinite; pointer-events: none; z-index: 5;
}
@keyframes mockCamShimmer { 0% { left: -60%; } 100% { left: 150%; } }
.mock-cam-laser {
    position: absolute; left: 0; right: 0; height: 2.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(118,240,190,0.3) 15%, rgba(118,240,190,0.95) 50%, rgba(118,240,190,0.3) 85%, transparent 100%);
    box-shadow: 0 0 12px rgba(118,240,190,0.85), 0 0 4px rgba(255,255,255,0.4);
    animation: mockLaser 1.5s ease-in-out infinite alternate; pointer-events: none; z-index: 8;
}
@keyframes mockLaser { 0% { top: 8px; } 100% { top: calc(100% - 8px); } }
.mock-corner { position: absolute; width: 26px; height: 26px; z-index: 10; }
.mock-corner.tl { top:0; left:0; border-top:3px solid #76F0BE; border-left:3px solid #76F0BE; border-top-left-radius:28px; }
.mock-corner.tr { top:0; right:0; border-top:3px solid #76F0BE; border-right:3px solid #76F0BE; border-top-right-radius:28px; }
.mock-corner.bl { bottom:0; left:0; border-bottom:3px solid #76F0BE; border-left:3px solid #76F0BE; border-bottom-left-radius:28px; }
.mock-corner.br { bottom:0; right:0; border-bottom:3px solid #76F0BE; border-right:3px solid #76F0BE; border-bottom-right-radius:28px; }
.mock-cam-label {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    background: rgba(6,21,16,0.80); backdrop-filter: blur(10px);
    border: 1px solid rgba(118,240,190,0.3); border-radius: 999px;
    padding: 4px 10px; font-size: 0.54rem; font-weight: 800; color: #76F0BE;
    white-space: nowrap; display: flex; align-items: center; gap: 5px; z-index: 12; font-family: 'Outfit',sans-serif;
}
.mock-controls { display: flex; align-items: center; justify-content: space-evenly; padding: 6px 18px 18px; flex-shrink: 0; }
.mock-side-btn { width: 42px; height: 42px; border-radius: 50%; background: #142D23; display: flex; align-items: center; justify-content: center; color: #76F0BE; font-size: 0.88rem; }
.mock-shutter { width: 58px; height: 58px; border-radius: 50%; background: #76F0BE; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(118,240,190,0.40); }
.mock-shutter-inner { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #091813; display: flex; align-items: center; justify-content: center; color: #091813; font-size: 1rem; }

/* ── MOCK RESULT SCREEN ── */
.mock-result { flex: 1; display: flex; flex-direction: column; background: #0D1A14; overflow: hidden; min-height: 0; }
.mock-rs-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 6px; flex-shrink: 0; }
.mock-rs-btn { width: 27px; height: 27px; border-radius: 50%; background: rgba(118,240,190,0.1); display: flex; align-items: center; justify-content: center; color: #76F0BE; font-size: 0.6rem; }
.mock-rs-title { font-size: 0.7rem; font-weight: 900; color: #fff; font-family: 'Outfit',sans-serif; }
.mock-rs-sub { font-size: 0.5rem; font-weight: 600; color: rgba(195,216,205,0.45); text-align: center; padding: 0 12px 8px; flex-shrink: 0; font-family: 'Outfit',sans-serif; }
.mock-rs-scroll { flex: 1; overflow-y: scroll; padding: 0 10px 12px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: none; min-height: 0; }
.mock-rs-scroll::-webkit-scrollbar { display: none; }
.mock-rs-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: #1B3B2E; flex-shrink: 0; }
.mock-rs-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.mock-rs-conf-pill { position: absolute; bottom: 8px; right: 8px; background: rgba(6,21,16,0.84); backdrop-filter: blur(8px); border: 1px solid rgba(118,240,190,0.3); border-radius: 999px; padding: 3px 8px; color: #76F0BE; font-size: 0.49rem; font-weight: 800; font-family: 'Outfit',sans-serif; }
.mock-rs-status { border-radius: 14px; padding: 10px 11px; display: flex; align-items: flex-start; gap: 9px; flex-shrink: 0; }
.rs-yes    { background: rgba(10,40,25,0.95); border: 1px solid rgba(34,199,126,0.3); }
.rs-modify { background: rgba(40,25,0,0.95);  border: 1px solid rgba(235,161,45,0.3); }
.rs-avoid  { background: rgba(50,10,10,0.95); border: 1px solid rgba(255,109,106,0.3); }
.mock-rs-status-icon { font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }
.rs-yes .mock-rs-status-icon    { color: #22C77E; }
.rs-modify .mock-rs-status-icon { color: #EBA12D; }
.rs-avoid .mock-rs-status-icon  { color: #FF6D6A; }
.mock-rs-label { font-size: 0.5rem; font-weight: 900; letter-spacing: 0.8px; margin-bottom: 2px; font-family: 'Outfit',sans-serif; }
.rs-yes .mock-rs-label    { color: #22C77E; }
.rs-modify .mock-rs-label { color: #EBA12D; }
.rs-avoid .mock-rs-label  { color: #FF6D6A; }
.mock-rs-fname { font-size: 0.76rem; font-weight: 900; color: #fff; margin-bottom: 3px; font-family: 'Outfit',sans-serif; }
.mock-rs-fdesc { font-size: 0.53rem; color: rgba(195,216,205,0.75); line-height: 1.4; font-family: 'Outfit',sans-serif; }
.mock-rs-card { background: rgba(17,38,31,0.92); border: 1px solid rgba(118,240,190,0.1); border-radius: 13px; padding: 9px 10px 8px; flex-shrink: 0; }
.mock-rs-eyebrow { font-size: 0.44rem; font-weight: 900; letter-spacing: 1px; color: rgba(195,216,205,0.45); margin-bottom: 5px; font-family: 'Outfit',sans-serif; }
.mock-rs-food-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mock-rs-food-name { font-size: 0.76rem; font-weight: 900; color: #fff; font-family: 'Outfit',sans-serif; }
.mock-rs-badge-conf { background: rgba(34,199,126,0.15); border-radius: 999px; padding: 3px 8px; font-size: 0.54rem; font-weight: 900; color: #22C77E; font-family: 'Outfit',sans-serif; }
.mock-rs-risks { display: flex; gap: 4px; }
.mock-rs-risk { flex: 1; border-radius: 9px; padding: 6px 4px; text-align: center; }
.risk-low    { background: rgba(10,40,25,0.8);  border: 1px solid rgba(34,199,126,0.2); }
.risk-medium { background: rgba(40,28,0,0.8);   border: 1px solid rgba(235,161,45,0.2); }
.risk-high   { background: rgba(50,10,10,0.8);  border: 1px solid rgba(255,109,106,0.2); }
.mock-rs-risk-lbl { font-size: 0.42rem; font-weight: 900; letter-spacing: 0.5px; color: rgba(195,216,205,0.45); margin-bottom: 2px; font-family: 'Outfit',sans-serif; }
.mock-rs-risk-val { font-size: 0.56rem; font-weight: 900; font-family: 'Outfit',sans-serif; }
.risk-low .mock-rs-risk-val    { color: #22C77E; }
.risk-medium .mock-rs-risk-val { color: #EBA12D; }
.risk-high .mock-rs-risk-val   { color: #FF6D6A; }
.mock-rs-divider { height:1px; background: rgba(118,240,190,0.1); margin: 8px 0; }
.mock-rs-ingr-title { font-size: 0.53rem; font-weight: 900; color: rgba(195,216,205,0.75); margin-bottom: 6px; display: flex; align-items: center; gap: 5px; font-family: 'Outfit',sans-serif; }
.mock-rs-ingr-title i { color: #76F0BE; }
.mock-rs-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.mock-rs-chip { background: rgba(118,240,190,0.07); border: 1px solid rgba(118,240,190,0.15); border-radius: 20px; padding: 2px 7px; font-size: 0.46rem; font-weight: 600; color: rgba(195,216,205,0.8); font-family: 'Outfit',sans-serif; }
.mock-rs-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.mock-rs-card-ico { width: 21px; height: 21px; border-radius: 50%; background: rgba(118,240,190,0.12); display: flex; align-items: center; justify-content: center; color: #76F0BE; font-size: 0.52rem; }
.mock-rs-card-title { font-size: 0.63rem; font-weight: 900; color: #fff; font-family: 'Outfit',sans-serif; }
.mock-rs-tip { font-size: 0.52rem; color: rgba(195,216,205,0.8); line-height: 1.45; margin-bottom: 5px; display: flex; align-items: flex-start; gap: 5px; font-family: 'Outfit',sans-serif; }
.mock-rs-tip i { color: #22C77E; margin-top: 1px; flex-shrink: 0; font-size: 0.5rem; }
.mock-rs-card-title2 { font-size: 0.63rem; font-weight: 900; color: #fff; margin-bottom: 7px; font-family: 'Outfit',sans-serif; }
.mock-rs-qna { display: flex; align-items: center; gap: 7px; background: rgba(118,240,190,0.08); border: 1px solid rgba(118,240,190,0.15); border-radius: 10px; padding: 7px 8px; margin-bottom: 5px; cursor: pointer; }
.mock-rs-qna > i:first-child { color: #76F0BE; font-size: 0.58rem; flex-shrink: 0; }
.mock-rs-qna > span { flex:1; font-size: 0.5rem; font-weight: 600; color: #76F0BE; font-family: 'Outfit',sans-serif; }
.mock-rs-qna > i:last-child { color: #76F0BE; font-size: 0.44rem; flex-shrink: 0; }
.mock-rs-medical { background: rgba(17,38,31,0.92); border: 1px solid rgba(118,240,190,0.1); border-radius: 13px; padding: 9px 10px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mock-rs-medical-ico { width: 26px; height: 26px; border-radius: 50%; background: rgba(118,240,190,0.1); display: flex; align-items: center; justify-content: center; color: #76F0BE; font-size: 0.65rem; flex-shrink: 0; }
.mock-rs-medical-txt { flex: 1; }
.mock-rs-medical-title { font-size: 0.59rem; font-weight: 900; color: #fff; margin-bottom: 2px; font-family: 'Outfit',sans-serif; }
.mock-rs-medical-desc { font-size: 0.48rem; color: rgba(195,216,205,0.55); font-family: 'Outfit',sans-serif; }
.mock-rs-medical-arr { color: rgba(195,216,205,0.35); font-size: 0.48rem; flex-shrink: 0; }
.mock-rs-disclaimer { background: rgba(17,28,24,0.9); border: 1px solid rgba(118,240,190,0.08); border-radius: 13px; padding: 9px 10px; display: flex; align-items: flex-start; gap: 8px; flex-shrink: 0; }
.mock-rs-disclaimer > i { color: rgba(195,216,205,0.35); font-size: 0.68rem; flex-shrink: 0; margin-top: 1px; }
.mock-rs-disc-title { font-size: 0.54rem; font-weight: 800; color: rgba(195,216,205,0.65); margin-bottom: 2px; font-family: 'Outfit',sans-serif; }
.mock-rs-disc-text { font-size: 0.46rem; color: rgba(195,216,205,0.45); line-height: 1.4; font-family: 'Outfit',sans-serif; }
.mock-rs-feedback { background: rgba(17,38,31,0.92); border: 1px solid rgba(118,240,190,0.1); border-radius: 13px; padding: 9px 10px; flex-shrink: 0; }
.mock-rs-fb-q { font-size: 0.5rem; font-weight: 700; color: rgba(195,216,205,0.65); margin-bottom: 7px; font-family: 'Outfit',sans-serif; }
.mock-rs-fb-btns { display: flex; gap: 6px; }
.mock-rs-fb-yes, .mock-rs-fb-no { flex:1; border-radius: 10px; padding: 5px 8px; font-size: 0.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; font-family: 'Outfit',sans-serif; }
.mock-rs-fb-yes { background: rgba(34,199,126,0.12); color:#22C77E; border:1px solid rgba(34,199,126,0.22); }
.mock-rs-fb-no  { background: rgba(255,109,106,0.1);  color:#FF6D6A; border:1px solid rgba(255,109,106,0.22); }
.mock-rs-btn-primary { background: linear-gradient(135deg, #76F0BE 0%, #1EAD6F 100%); color: #061510; border-radius: 12px; padding: 9px 12px; font-size: 0.6rem; font-weight: 900; display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-shrink: 0; cursor: pointer; font-family: 'Outfit',sans-serif; }
.mock-rs-btn-secondary { background: transparent; border: 1px solid rgba(118,240,190,0.2); color: rgba(118,240,190,0.7); border-radius: 12px; padding: 8px 12px; font-size: 0.57rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; cursor: pointer; font-family: 'Outfit',sans-serif; }


/* ─────────────────────────────────────────────
   7. STATS BAR
───────────────────────────────────────────── */
#stats {
    padding: 48px 0;
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
#stats .container { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.stat-item { text-align: center; }
.stat-item h2 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.stat-item p { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }
#stats .divider { display: none; width: 1px; height: 50px; background: var(--border); }


/* ─────────────────────────────────────────────
   8. FEATURES SECTION
───────────────────────────────────────────── */
#features {
    padding: 90px 0;
    background: var(--bg-body);
    position: relative;
}
#features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(27,173,111,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; position: relative; }

.feature-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--emerald), transparent);
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--emerald);
    box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.card-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    background: var(--emerald-xlight);
    border: 1px solid rgba(27,173,111,0.2);
    color: var(--emerald);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card h3 { font-size: 1.2rem; color: var(--text-heading); margin-bottom: 10px; font-weight: 800; }
.feature-card p  { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }


/* ─────────────────────────────────────────────
   9. SAFETY SECTION
───────────────────────────────────────────── */
#safety { padding: 90px 0; background: var(--bg-section-alt); }

.safety-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }

.safety-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}
.safety-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.badge-tag {
    display: inline-block;
    width: max-content;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.7rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}
.yes-header    .badge-tag { background: var(--color-yes-light);    color: var(--color-yes); }
.modify-header .badge-tag { background: var(--color-modify-light); color: var(--color-modify); }
.notyet-header .badge-tag { background: var(--color-notyet-light); color: var(--color-notyet); }
.avoid-header  .badge-tag { background: var(--color-avoid-light);  color: var(--color-avoid); }

.safety-card.card-yes-outline:hover    { border-color: var(--color-yes); }
.safety-card.card-modify-outline:hover { border-color: var(--color-modify); }
.safety-card.card-notyet-outline:hover { border-color: var(--color-notyet); }
.safety-card.card-avoid-outline:hover  { border-color: var(--color-avoid); }

.safety-card h3 { font-size: 1.2rem; color: var(--text-heading); font-weight: 800; }
.safety-card p  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.55; }

.safe-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; color: var(--text-body); }
.yes-header    ~ .safe-list i { color: var(--color-yes); }
.modify-header ~ .safe-list i { color: var(--color-modify); }
.notyet-header ~ .safe-list i { color: var(--color-notyet); }
.avoid-header  ~ .safe-list i { color: var(--color-avoid); }


/* ─────────────────────────────────────────────
   10. PRICING SECTION
───────────────────────────────────────────── */
#pricing {
    padding: 90px 0;
    background: var(--bg-body);
    position: relative;
}
#pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(27,173,111,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-cards { display: grid; grid-template-columns: 1fr; gap: 24px; }

.price-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald);
    box-shadow: var(--shadow-md);
}

.price-card.recommended {
    border: 2px solid var(--emerald);
    background: linear-gradient(160deg, #F0FBF6 0%, #FFFFFF 100%);
    box-shadow: 0 0 0 4px rgba(27,173,111,0.08), var(--shadow-md);
}

.recommended-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--emerald-light), var(--emerald-dark));
    color: #FFFFFF;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    white-space: nowrap;
    box-shadow: var(--shadow-grn);
}

.lifetime-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.68rem;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    width: fit-content;
}

.price-card-lifetime { border-color: #F59E0B; }
.price-card-lifetime:hover { border-color: #D97706; }

.savings-badge {
    background: var(--emerald-xlight);
    color: var(--emerald-dark);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.72rem;
}

.price-card h3 { font-size: 1.5rem; color: var(--text-heading); margin-bottom: 8px; font-weight: 900; }
.price-card .desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }

.price-card .price {
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 4px;
}
.price-card .price span { font-size: 0.95rem; color: var(--text-light); font-weight: 500; }
.price-card .price-cycle { font-size: 1rem !important; color: var(--text-muted) !important; }

.price-card .billing-cycle {
    display: block;
    font-size: 0.78rem;
    color: var(--emerald);
    font-weight: 700;
    margin-bottom: 24px;
}

.price-card ul { margin-bottom: 32px; }
.price-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-body);
}
.price-card ul li strong { color: var(--text-heading); }
.price-card ul li.disabled { opacity: 0.35; }
.price-card ul li i.fa-circle-check { color: var(--emerald); }
.price-card ul li i.fa-circle-xmark { color: var(--text-light); }
.price-card .btn { width: 100%; margin-top: auto; }


/* ─────────────────────────────────────────────
   11. TESTIMONIALS
───────────────────────────────────────────── */
#testimonials { padding: 90px 0; background: var(--bg-section-alt); position: relative; }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.review-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.review-card::after {
    content: '"';
    position: absolute;
    top: 12px; right: 20px;
    font-size: 6rem;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: rgba(27,173,111,0.06);
    pointer-events: none;
}
.review-card:hover { border-color: var(--emerald); transform: translateY(-4px); box-shadow: var(--shadow-md); }

.user-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.user-avatar { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; }
.user-avatar.user-1 { background: linear-gradient(135deg, #1BAD6F, #0D7A4E); }
.user-avatar.user-2 { background: linear-gradient(135deg, #60B4E8, #2B7CC4); }
.user-avatar.user-3 { background: linear-gradient(135deg, #F59E0B, #B45309); }
.user-info h4  { font-size: 1rem; color: var(--text-heading); font-weight: 800; }
.user-info span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.review-text { font-style: italic; color: var(--text-body); font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; flex: 1; }
.review-card .stars { color: #F59E0B; font-size: 0.8rem; }


/* ─────────────────────────────────────────────
   12. FAQ SECTION
───────────────────────────────────────────── */
#faq { padding: 90px 0; background: var(--bg-body); }

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

.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); overflow: hidden; transition: var(--transition); }

.faq-trigger {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px;
    background: none; border: none; cursor: pointer; text-align: left;
    font-family: 'Outfit', sans-serif;
    font-weight: 700; font-size: 1rem;
    color: var(--text-heading);
    transition: var(--transition);
}
.faq-trigger i { font-size: 0.85rem; color: var(--text-muted); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); margin-left: 12px; flex-shrink: 0; }
.faq-panel { max-height: 0; overflow: hidden; padding: 0 20px; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-panel p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; padding-bottom: 18px; }

.faq-item.active { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(27,173,111,0.08); }
.faq-item.active .faq-trigger { color: var(--emerald); }
.faq-item.active .faq-trigger i { transform: rotate(180deg); color: var(--emerald); }
.faq-item.active .faq-panel { max-height: 300px; padding: 0 20px; }


/* ─────────────────────────────────────────────
   13. FOOTER
───────────────────────────────────────────── */
footer {
    background: var(--text-heading);
    color: rgba(200,225,215,0.80);
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
footer .container { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #FFFFFF; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: rgba(200,225,215,0.55); margin-bottom: 20px; max-width: 320px; line-height: 1.6; }

.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(200,225,215,0.7);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; transition: var(--transition);
}
.social-links a:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; transform: translateY(-2px); }

.footer-links h4, .footer-contact h4 { font-size: 1rem; font-family: 'Outfit', sans-serif; color: #FFFFFF; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul a { font-size: 0.88rem; color: rgba(200,225,215,0.55); transition: var(--transition); }
.footer-links ul a:hover { color: var(--mint-accent); }
.footer-contact p { font-size: 0.88rem; color: rgba(200,225,215,0.55); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-contact a:hover { color: var(--mint-accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(200,225,215,0.3); }

/* Footer lang switcher */
.footer-lang { margin-top: 16px; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); width: fit-content; }
.footer-lang .lang-select { color: rgba(200,225,215,0.8); }
.footer-lang:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.footer-lang .lang-icon { color: var(--mint-accent); }
.footer-lang::after { color: var(--mint-accent); }


/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (min-width: 768px) {
    .container { padding: 0 24px; }
    .section-title { margin-bottom: 60px; }
    .section-title h2 { font-size: 2.3rem; }
    #stats .container { flex-direction: row; justify-content: space-around; }
    #stats .divider { display: block; }
    .safety-cards    { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .safety-card     { padding: 32px; }
    .features-grid   { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    footer .container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (min-width: 1024px) {
    html { font-size: 16px; }
    .section-title { margin-bottom: 64px; }
    .section-title h2 { font-size: 2.6rem; }
    .section-title p  { font-size: 1.1rem; }

    #main-header { padding: 20px 0; }
    #main-header.scrolled { padding: 12px 0; }
    .logo { font-size: 1.5rem; }
    .logo-icon { width: 36px; height: 36px; }
    #mobile-nav-toggle { display: none; }

    #nav-menu { display: block; position: static; width: auto; box-shadow: none; padding: 0; background: none; border: none; }
    #nav-menu ul { flex-direction: row; gap: 32px; }
    #nav-menu a { font-size: 0.95rem; padding: 0; }
    #nav-menu a:hover, #nav-menu a.active { padding-left: 0; }
    .header-cta { display: inline-flex; align-items: center; gap: 12px; }

    #hero { padding: 160px 0 110px 0; }
    #hero .container { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
    .hero-content { text-align: left; }
    .hero-content h1 { font-size: 3.8rem; margin-bottom: 24px; }
    .hero-content p  { font-size: 1.2rem; margin: 0 0 42px 0; }
    .hero-actions    { justify-content: flex-start; }
    .hero-ratings    { justify-content: flex-start; }

    .phone-neon-ring { border-radius: 48px; }
    .phone-frame     { width: 320px; height: 640px; border-radius: 46px; }

    .features-grid   { grid-template-columns: repeat(3, 1fr); }
    .safety-cards    { grid-template-columns: repeat(4, 1fr); }
    .pricing-cards   { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .price-card      { padding: 32px 20px; }
    .price-card.recommended { transform: translateY(-8px); }
    .price-card.recommended:hover { transform: translateY(-12px); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .review-card       { padding: 40px; }
    footer .container  { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; }
}

@media (max-width: 1023px) {
    .header-cta { display: inline-flex; }
    .lang-switcher-container { margin-right: 8px; padding: 4px 28px 4px 10px; }
    .lang-select { font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .header-cta .btn { padding: 6px 12px; font-size: 0.8rem; }
}


/* ==========================================================================
   15. RTL (Arabic / Urdu)
   ========================================================================== */
[dir="rtl"] { text-align: right; }
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .logo { margin-right: 0; }
[dir="rtl"] .lang-switcher-container { margin-right: 0; margin-left: 12px; padding: 6px 12px 6px 32px; }
[dir="rtl"] .lang-switcher-container::after { left: 12px; right: auto; }
[dir="rtl"] .btn i, [dir="rtl"] .store-text { text-align: right; }
[dir="rtl"] .btn-store i { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-ratings { justify-content: flex-start; }
[dir="rtl"] .feature-card  { text-align: right; }
[dir="rtl"] .safety-card   { text-align: right; }
[dir="rtl"] .safe-list li i { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .user-meta  { flex-direction: row-reverse; }
[dir="rtl"] .user-info  { text-align: right; margin-left: 0; margin-right: 16px; }
[dir="rtl"] .faq-trigger { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .faq-trigger i { transform: rotate(0deg); }
[dir="rtl"] .faq-item.active .faq-trigger i { transform: rotate(180deg); }
[dir="rtl"] footer { text-align: right; }
[dir="rtl"] footer .container > div { text-align: right; }
[dir="rtl"] .footer-contact p i { margin-right: 0; margin-left: 10px; }


/* ==========================================================================
   16. MICRO-ANIMATIONS & EXTRAS
   ========================================================================== */

/* Glow pulse for recommended card */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(27,173,111,0.08), var(--shadow-md); }
    50%       { box-shadow: 0 0 0 6px rgba(27,173,111,0.14), 0 20px 48px rgba(14,39,32,0.15); }
}
.price-card.recommended { animation: glowPulse 3.5s ease-in-out infinite; }

@keyframes rotateBorder { to { filter: hue-rotate(30deg); } }
@keyframes rotateGlobe { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes popUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.lang-icon { animation: rotateGlobe 20s linear infinite; }
.animate-pop { animation: popUp 0.4s ease forwards; }

/* ─────────────────────────────────────────────
   Footer legal links row
───────────────────────────────────────────── */
.footer-legal-links {
    margin-top: 10px;
    font-size: 0.82rem;
    color: rgba(200,225,215,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.footer-legal-links a {
    color: rgba(200,225,215,0.55);
    transition: var(--transition);
    text-decoration: none;
}
.footer-legal-links a:hover {
    color: var(--mint-accent);
}
.footer-legal-links span { opacity: 0.4; }

/* ─────────────────────────────────────────────
   Custom Flag Language Switcher
───────────────────────────────────────────── */
.lang-switcher-custom {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-right: 12px;
}

.lang-selected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-xlight);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-heading);
    transition: var(--transition);
    white-space: nowrap;
}

.lang-switcher-custom:hover .lang-selected,
.lang-switcher-custom[aria-expanded="true"] .lang-selected {
    background: #D4F0E4;
    border-color: var(--emerald);
}

.lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-name { font-size: 0.82rem; }

.lang-chevron {
    font-size: 0.55rem;
    color: var(--emerald);
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.lang-switcher-custom[aria-expanded="true"] .lang-chevron {
    transform: rotate(180deg);
}

/* Dropdown list */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #FFFFFF;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    min-width: 200px;
    max-height: 340px;
    overflow-y: auto;
    z-index: 2000;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.lang-dropdown::-webkit-scrollbar { width: 4px; }
.lang-dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-dropdown::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.lang-switcher-custom[aria-expanded="true"] .lang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-body);
    cursor: pointer;
    transition: background 0.15s ease;
    list-style: none;
}

.lang-dropdown li:hover { background: var(--emerald-xlight); color: var(--emerald-dark); }
.lang-dropdown li.active { background: var(--emerald-xlight); color: var(--emerald-dark); font-weight: 700; }

.lang-dropdown .lf { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }

/* Footer variant */
.footer-lang-custom {
    margin-right: 0;
    margin-top: 16px;
}

.footer-lang-custom .lang-selected {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: rgba(200,225,215,0.85);
}

.footer-lang-custom:hover .lang-selected,
.footer-lang-custom[aria-expanded="true"] .lang-selected {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
}

.footer-lang-custom .lang-chevron { color: var(--mint-accent); }

.footer-lang-custom .lang-dropdown {
    top: auto;
    bottom: calc(100% + 8px);
    right: 0;
    background: var(--text-heading);
    border-color: rgba(255,255,255,0.12);
}

.footer-lang-custom .lang-dropdown li { color: rgba(200,225,215,0.85); }
.footer-lang-custom .lang-dropdown li:hover { background: rgba(27,173,111,0.15); color: #fff; }
.footer-lang-custom .lang-dropdown li.active { background: rgba(27,173,111,0.2); color: var(--mint-accent); }

/* Mobile: show only flag in nav */
@media (max-width: 480px) {
    .lang-name { display: none; }
    .lang-selected { padding: 6px 10px; }
}
