/* ═══════════════════════════════════════════════════════════════════════════
   Frawlah Company - Global Stylesheet
   Strawberry theme: Red · Pink · Green
   Apple-inspired, glassmorphism accents, full dark mode + RTL
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Custom Properties ─────────────────────────────────────────────────── */
:root {
    /* Brand */
    --red:          #E8294B;
    --red-dark:     #B01E38;
    --red-light:    #FF4D6A;
    --pink:         #FF6B8A;
    --pink-light:   #FFB3C1;
    --pink-pale:    #FFF0F3;
    --green:        #2E7D32;
    --green-light:  #4CAF50;
    --green-pale:   #E8F5E9;
    /* Neutrals */
    --ink:          #111111;
    --muted:        #6B6B6B;
    --subtle:       #9A9A9A;
    --surface:      #FFFFFF;
    --surface-soft: #FDF5F7;
    --surface-card: #FFFFFF;
    --line:         #E8D0D5;
    --line-dark:    #C9A8B0;
    /* Shadows */
    --shadow-sm:    0 2px 8px rgba(232,41,75,0.08);
    --shadow-md:    0 8px 32px rgba(232,41,75,0.14);
    --shadow-lg:    0 24px 64px rgba(232,41,75,0.18);
    --shadow-dark:  0 24px 64px rgba(0,0,0,0.5);
    /* Layout */
    --max-width:    1280px;
    --nav-h:        68px;
    --radius:       16px;
    --radius-sm:    10px;
    --radius-lg:    28px;
    --radius-pill:  999px;
    /* Transitions */
    --ease:         cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
    color-scheme: dark;
    --green:        #34C759;
    --green-light:  #4CD964;
    --ink:          #F4F0F1;
    --muted:        #B8A8AC;
    --subtle:       #7A6A6E;
    --surface:      #0F0A0C;
    --surface-soft: #1A0E11;
    --surface-card: #1E1216;
    --line:         #3D2830;
    --line-dark:    #5A3A44;
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:    0 8px 32px rgba(0,0,0,0.5);
    --shadow-lg:    0 24px 64px rgba(0,0,0,0.7);
    --pink-pale:    #2A1420;
    --green-pale:   #0D1F0F;
}

/* ── 2. Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

[lang="ar"] body, body.rtl {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Segoe UI', Arial, sans-serif;
}

body.menu-open { overflow: hidden; }

img { display: block; height: auto; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; border: none; background: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.1; }

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem);   font-weight: 700; letter-spacing: -0.04em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem,   3.8vw, 3.5rem);  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 18px; }
h3 { font-size: clamp(1.2rem, 2vw,   1.5rem);  font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
p  { color: var(--muted); line-height: 1.65; }

::selection { color: #fff; background: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ── 3. Layout Helpers ───────────────────────────────────────────────────── */
.shell {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}
.shell-wide {
    width: min(calc(100% - 32px), 1440px);
    margin-inline: auto;
}
.section { padding-block: 100px; }
.section-sm { padding-block: 60px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(232, 41, 75, 0.45);
}
[dir="rtl"] .eyebrow::before { order: 0; }

/* ── 4. Skip Link ────────────────────────────────────────────────────────── */
.skip-link {
    position: fixed; z-index: 9999;
    top: 8px; left: 8px;
    padding: 10px 18px;
    background: var(--red); color: #fff;
    border-radius: var(--radius-sm);
    transform: translateY(-200%);
    transition: transform 0.2s var(--ease);
    font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

/* ── 5. Navigation ───────────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(232,41,75,0.08);
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
[data-theme="dark"] .site-header {
    background: rgba(15,10,12,0.78);
    border-bottom-color: rgba(232,41,75,0.12);
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-shell {
    width: min(calc(100% - 32px), var(--max-width));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Brand */
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-brand img {
    width: 36px; height: 36px;
    border-radius: 8px;
}
.nav-brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    display: inline-block;
    white-space: nowrap;
}
.brand-red,
.nav-brand-name .brand-red,
.footer-brand-name .brand-red {
    color: var(--red);
}
.brand-green,
.nav-brand-name .brand-green,
.footer-brand-name .brand-green {
    color: var(--green);
}

/* Primary nav links */
.nav-links {
    display: flex; align-items: center; gap: 4px;
    margin-inline-start: 16px;
}
.nav-link {
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
}
.nav-link:hover {
    color: var(--red);
    background: rgba(232, 41, 75, 0.08);
    transform: translateY(-1px);
}
.nav-link.active {
    color: var(--red);
    font-weight: 600;
    background: rgba(232, 41, 75, 0.1);
    border-color: rgba(232, 41, 75, 0.25);
    box-shadow: 0 2px 10px rgba(232, 41, 75, 0.12);
}
[data-theme="dark"] .nav-link {
    color: var(--muted);
}
[data-theme="dark"] .nav-link:hover {
    color: #fff;
    background: rgba(232, 41, 75, 0.16);
    border-color: rgba(232, 41, 75, 0.3);
}
[data-theme="dark"] .nav-link.active {
    color: var(--pink-light);
    background: rgba(232, 41, 75, 0.22);
    border-color: rgba(232, 41, 75, 0.45);
    box-shadow: 0 2px 14px rgba(232, 41, 75, 0.25);
}

/* Products dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
    white-space: nowrap;
}
.nav-dropdown-toggle:hover {
    color: var(--ink);
    background: var(--surface-soft);
}
.nav-dropdown-toggle svg {
    transition: transform 0.2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    z-index: 100;
}
[dir="rtl"] .nav-dropdown-panel { left: auto; right: 50%; transform: translateX(50%) translateY(8px); }
[data-theme="dark"] .nav-dropdown-panel {
    background: var(--surface-card);
    border-color: var(--line);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-panel {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
[dir="rtl"] .nav-dropdown:hover .nav-dropdown-panel,
[dir="rtl"] .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-panel {
    transform: translateX(50%) translateY(0);
}

.nav-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
    transition: background 0.15s;
}
.nav-dropdown-item:hover {
    background: var(--pink-pale);
    color: var(--red);
}
[data-theme="dark"] .nav-dropdown-item:hover {
    background: rgba(232,41,75,0.1);
}
.nav-dropdown-item .item-icon {
    font-size: 1.1rem;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-soft);
    border-radius: 8px;
    flex-shrink: 0;
}
[data-theme="dark"] .nav-dropdown-item .item-icon {
    background: rgba(255,255,255,0.05);
}

/* Nav right-side actions */
.nav-actions {
    display: flex; align-items: center; gap: 8px;
    margin-inline-start: auto;
}

.btn-lang {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--surface-soft);
    color: var(--muted);
    border: 1px solid var(--line);
    transition: all 0.22s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-lang:hover {
    background: rgba(232, 41, 75, 0.1);
    color: var(--red);
    border-color: rgba(232, 41, 75, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 41, 75, 0.15);
}

.btn-theme {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    font-size: 1rem;
    color: var(--muted);
    transition: all 0.22s var(--ease);
}
.btn-theme:hover {
    background: rgba(232, 41, 75, 0.1);
    color: var(--red);
    border-color: rgba(232, 41, 75, 0.3);
    transform: translateY(-1px) rotate(15deg);
    box-shadow: 0 4px 12px rgba(232, 41, 75, 0.15);
}

.btn-nav-cta {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--red);
    color: #fff;
    transition: background 0.2s, transform 0.15s;
}
.btn-nav-cta:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

/* Mobile menu button */
.btn-menu {
    display: none;
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    align-items: center; justify-content: center;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    flex-shrink: 0;
    transition: all 0.2s var(--ease);
}
.btn-menu:hover {
    background: rgba(232, 41, 75, 0.1);
    color: var(--red);
    border-color: rgba(232, 41, 75, 0.3);
}

/* Mobile drawer overlay */
.drawer-overlay {
    position: fixed; inset: 0; z-index: 990;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0; z-index: 1000;
    width: min(85vw, 320px);
    background: var(--surface);
    padding: 24px 20px;
    transform: translateX(110%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 8px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.25);
}
[dir="rtl"] .drawer {
    right: auto; left: 0;
    transform: translateX(-110%);
    box-shadow: 8px 0 32px rgba(0,0,0,0.25);
}
.drawer.open { transform: translateX(0); }
[data-theme="dark"] .drawer { background: var(--surface-card); }

.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.drawer-link {
    display: block; padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem; font-weight: 500;
    color: var(--ink);
    transition: background 0.15s;
}
.drawer-link:hover { background: var(--pink-pale); color: var(--red); }
.drawer-section-label {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--subtle); padding: 8px 12px 4px;
}
.drawer-actions {
    margin-top: auto; padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 8px;
}

/* ── 6. Buttons ──────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem; font-weight: 600;
    transition: all 0.2s var(--ease);
    cursor: pointer; border: none;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,41,75,0.35);
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,41,75,0.45);
}
.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-secondary:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-1px);
}
[data-theme="dark"] .btn-secondary {
    background: rgba(255,255,255,0.05);
}
.btn-glass {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}
.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 20px rgba(46,125,50,0.3);
}
.btn-green:hover { background: #1b5e20; transform: translateY(-2px); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.text-link {
    color: var(--red);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap 0.15s;
}
.text-link:hover { gap: 8px; }

/* ── 7. Ambient Glow Background ─────────────────────────────────────────── */
.glow-stage {
    position: relative;
    overflow: hidden;
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.35;
}
.glow-orb-red  { background: var(--red); }
.glow-orb-pink { background: var(--pink); }
.glow-orb-grn  { background: var(--green); }
[data-theme="dark"] .glow-orb { opacity: 0.25; }

/* ── 8. Hero (Homepage) ──────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    display: flex; align-items: center;
    padding-top: var(--nav-h);
    background: radial-gradient(ellipse 100% 80% at 60% 10%,
        rgba(232,41,75,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 20% 90%,
        rgba(255,107,138,0.07) 0%, transparent 60%),
        var(--surface);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .hero {
    background: radial-gradient(ellipse 100% 80% at 60% 10%,
        rgba(232,41,75,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 20% 90%,
        rgba(255,107,138,0.08) 0%, transparent 60%),
        var(--surface);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-block: 80px;
}
.hero-copy { max-width: 600px; }
.hero-lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.hero-logo-big {
    width: clamp(240px, 35vw, 420px);
    height: auto;
    filter: drop-shadow(0 32px 80px rgba(232,41,75,0.3));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

/* Scroll indicator */
.scroll-hint {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--subtle);
    animation: bounce 2s ease-in-out infinite;
}
.scroll-hint svg { opacity: 0.5; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── 9. Product Grid (Homepage bento) ───────────────────────────────────── */
.products-section {
    background: var(--surface-soft);
    padding-block: 100px;
}
[data-theme="dark"] .products-section { background: var(--surface-soft); }

.section-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 60px; }

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

.product-card {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex; flex-direction: column;
    gap: 16px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
    position: relative;
    overflow: hidden;
    text-decoration: none; color: inherit;
}
.product-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(232,41,75,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pink);
}
.product-card:hover::before { opacity: 1; }

.product-card.card-wide {
    grid-column: span 2;
}
.product-card.card-coming {
    opacity: 0.75;
}
.product-card.card-coming:hover {
    opacity: 1;
}

.card-icon {
    font-size: 2.4rem;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--pink-pale);
    border-radius: 16px;
}
[data-theme="dark"] .card-icon { background: rgba(232,41,75,0.1); }

.card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--red); color: #fff;
    align-self: flex-start;
    margin-bottom: 4px;
}
.card-badge.badge-soon { background: var(--muted); }
.card-badge.badge-green { background: var(--green); }

.card-title { font-size: 1.3rem; font-weight: 700; margin: 0; color: var(--ink); }
.card-desc  { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; flex: 1; }
.card-link  { color: var(--red); font-size: 0.88rem; font-weight: 600; margin-top: auto; }

/* ── 10. Vision Band ─────────────────────────────────────────────────────── */
.vision-band {
    background: linear-gradient(135deg, var(--red) 0%, #A01030 50%, #7B002A 100%);
    color: #fff;
    padding-block: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vision-band h2 { color: #fff; margin-bottom: 16px; }
.vision-band p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 580px; margin-inline: auto; }

.vision-band-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── 11. CTA Band ────────────────────────────────────────────────────────── */
.cta-band {
    padding-block: 100px;
    background: var(--surface-soft);
}
.cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 { margin: 0; }
.cta-inner p  { margin: 8px 0 0; max-width: 480px; }

/* ── 12. Page Heroes (inner pages) ─────────────────────────────────────── */
.page-hero {
    padding-top: calc(var(--nav-h) + 80px);
    padding-bottom: 80px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%,
        rgba(232,41,75,0.08) 0%, transparent 70%),
        var(--surface);
}
.page-hero-center { text-align: center; max-width: 720px; margin-inline: auto; }
.page-hero-dark {
    background: linear-gradient(160deg, #0F0A0C 0%, #1E0D12 40%, #0F0A0C 100%);
    color: #fff;
}
.page-hero-dark h1, .page-hero-dark .hero-lead { color: #fff; }
.page-hero-dark p { color: rgba(255,255,255,0.7); }

/* ── 13. Feature Cards ──────────────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feature-card-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    display: block;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p  { font-size: 0.88rem; margin: 0; }

/* ── 14. Stats Row ──────────────────────────────────────────────────────── */
.stats-row {
    display: flex; flex-wrap: wrap;
    gap: 24px;
    padding: 32px 0;
}
.stat { flex: 1; min-width: 140px; }
.stat-num  { font-size: 2.4rem; font-weight: 800; color: var(--red); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ── 15. Radio Player ───────────────────────────────────────────────────── */
.radio-player {
    background: linear-gradient(135deg, #0D1A2E 0%, #1B2A4A 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}
.radio-player h2 { color: #fff; }
.radio-player p  { color: rgba(255,255,255,0.65); }

.radio-pulse {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8973A, #E8B84B);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    margin-inline: auto;
    margin-bottom: 28px;
    box-shadow: 0 0 0 0 rgba(200,151,58,0.4);
    animation: pulse-gold 2.5s infinite;
}
@keyframes pulse-gold {
    0%   { box-shadow: 0 0 0 0 rgba(200,151,58,0.4); }
    70%  { box-shadow: 0 0 0 28px rgba(200,151,58,0); }
    100% { box-shadow: 0 0 0 0 rgba(200,151,58,0); }
}

.radio-iframe-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 28px;
    box-shadow: var(--shadow-dark);
}
.radio-iframe-wrap iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ── 16. Coming Soon Page ───────────────────────────────────────────────── */
.coming-soon-page {
    min-height: 100svh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 60px 24px;
    padding-top: calc(var(--nav-h) + 60px);
    background: radial-gradient(ellipse 80% 60% at 50% 10%,
        rgba(232,41,75,0.06) 0%, transparent 70%),
        var(--surface);
}
.coming-icon { font-size: 5rem; margin-bottom: 24px; }
.coming-soon-page h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.coming-notify-box {
    width: 100%;
    max-width: 440px;
    margin: 32px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.coming-notify-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
    text-align: center;
    width: 100%;
}
.coming-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
}
.coming-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line);
    background: var(--surface-card);
    color: var(--ink);
    font-size: 0.92rem;
    outline: none;
    text-align: center;
    transition: all 0.2s;
}
.coming-form input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(232, 41, 75, 0.15);
}

/* ── 17. About Page ─────────────────────────────────────────────────────── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.mission-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
}
.mission-card {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.mission-card h4 { color: var(--red); }

/* ── 18. Contact Page ───────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form {
    display: flex; flex-direction: column; gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 140px; }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--surface-card);
    border-color: var(--line);
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
    display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--pink-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
[data-theme="dark"] .contact-info-icon { background: rgba(232,41,75,0.1); }
.contact-info-item h4 { margin-bottom: 2px; font-size: 0.9rem; }
.contact-info-item p  { margin: 0; font-size: 0.88rem; }

/* ── 19. SMP Page ───────────────────────────────────────────────────────── */
.minecraft-hero {
    background: linear-gradient(160deg, #0A1A0A 0%, #0F2D15 50%, #0A1A0A 100%);
    color: #fff;
}
.minecraft-hero h1 { color: #fff; }
.server-ip-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-family: monospace;
    font-size: 1.05rem;
    color: #7EFF7E;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 20px;
}
.server-ip-box:hover { background: rgba(255,255,255,0.14); }

.server-ip-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-align: left;
    min-width: 270px;
}
[dir="rtl"] .server-ip-card {
    text-align: right;
}
.server-ip-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: #7EFF7E;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

/* ── 20. BerryDent Integration ──────────────────────────────────────────── */
.berrydent-hero {
    background: linear-gradient(160deg, #0A0510 0%, #1A0A2E 50%, #0A0510 100%);
    color: #fff;
}
.berrydent-hero h1 { color: #fff; }

/* ── 21. Footer ─────────────────────────────────────────────────────────── */
.site-footer {
    /* Light mode: near-black; dark mode: even deeper */
    background: #111010;
    color: rgba(255,255,255,0.65);
    padding-top: 80px;
    padding-bottom: 32px;
    transition: background 0.3s;
}
[data-theme="dark"] .site-footer {
    background: #09060a;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="dark"] .footer-grid {
    border-bottom-color: rgba(255,255,255,0.05);
}
.footer-brand-name {
    font-size: 1.15rem; font-weight: 800;
    margin-bottom: 10px;
    display: inline-block;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.65; margin-top: 10px; color: rgba(255,255,255,0.5); }
.footer-brand img { width: 36px; border-radius: 8px; margin-bottom: 10px; }

.footer-col h4 { color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    padding: 4px 0;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-col a:hover { color: var(--pink); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 28px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap; gap: 8px;
}
.footer-socials {
    display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap;
}
.social-btn {
    position: relative;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.social-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.social-btn-soon { opacity: 0.45; cursor: default; }
.social-btn-soon:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.1); }

/* ── 22. Scroll Animations ──────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 23. Utilities ──────────────────────────────────────────────────────── */
.text-red   { color: var(--red); }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
.font-bold  { font-weight: 700; }

.gradient-text {
    background: linear-gradient(135deg, var(--red), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-green {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 0;
}

/* ── 24. Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 60px; text-align: center; }
    .hero-copy { max-width: 100%; margin-inline: auto; }
    .hero-lead { max-width: 100%; }
    .hero-btns { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-logo-big { width: clamp(160px, 35vw, 280px); }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-card.card-wide { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-split { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; }
    .shell { width: calc(100% - 32px); }
    .section { padding-block: 72px; }
    h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .nav-links, .nav-dropdown, .btn-nav-cta, .btn-lang { display: none; }
    .nav-actions { gap: 6px; }
    .btn-menu { display: flex; }
    .drawer-overlay { display: block; }
    .product-grid { grid-template-columns: 1fr; }
    .mission-cards { grid-template-columns: 1fr; }
    .radio-player { padding: 32px 20px; }
    .coming-form { flex-direction: column; }
    .coming-form input, .coming-form button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .shell { width: calc(100% - 24px); }
    .product-card { padding: 24px 20px; }
    .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
    .hero-btns { flex-direction: column; align-items: stretch; }
}


/* ═══════════════════════════════════════════════════════════════════
   ADDITIONS - Brand colours · Flat nav · Footer fix · BerryDent pages
   ═══════════════════════════════════════════════════════════════════ */

/* Brand name bi-colour */
.brand-red   { color: var(--red); }
.brand-green { color: var(--green); }
.nav-brand-name { color: var(--ink); }  /* reset the old rule */

/* Flat per-product nav - clean padding and seamless fit */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: visible;
}
.nav-link {
    padding: 6px 12px;
    font-size: 0.88rem;
    white-space: nowrap;
}
.nav-product-link {
    font-size: 0.85rem;
    padding: 5px 9px;
}

/* Switch to drawer menu at 1240px to ensure no link ever gets cut off on smaller screens */
@media (max-width: 1240px) {
    .nav-links { display: none !important; }
    .btn-menu  { display: flex !important; }
    .drawer-overlay { display: block; }
}

/* Footer col links - defined above in §21, no duplicate needed */

/* ── BerryDent integrated pages ─────────────────────────────────── */

/* Proof/stats bar */
.bd-proof-bar {
    background: var(--surface-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: 28px;
}
.bd-proof-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-around;
}
.bd-proof-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 24px;
    gap: 4px;
}
.bd-proof-grid strong { font-size: 0.95rem; color: var(--ink); font-weight: 700; }
.bd-proof-grid span   { font-size: 0.8rem;  color: var(--muted); }

/* Window frame (screenshots) */
.bd-window-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.bd-window-titlebar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.bd-window-titlebar img,
.bd-window-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    display: inline-block !important;
    object-fit: contain;
    flex-shrink: 0;
}
.bd-window-titlebar .bd-dots { display: flex; gap: 6px; }
.bd-window-titlebar .bd-dot  { width: 12px; height: 12px; border-radius: 50%; }
.bd-dot-red   { background: #FF5F57; }
.bd-dot-amber { background: #FFBD2E; }
.bd-dot-green { background: #28CA41; }
.bd-window-frame > img { width: 100%; display: block; }

/* Benefit grid */
.bd-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.bd-benefit-card {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.bd-benefit-card .bd-number {
    font-size: 1.8rem; font-weight: 800; color: var(--red); opacity: 0.35;
    line-height: 1; margin-bottom: 10px;
}
.bd-benefit-card h3 { margin-bottom: 6px; font-size: 1.05rem; }

/* Showcase grid */
.bd-showcase-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    align-self: center;
}
.bd-showcase-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-card);
    border: 1px solid var(--line);
    text-decoration: none; color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.bd-showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bd-showcase-card:first-child { grid-row: span 2; }
.bd-showcase-card img { width: 100%; display: block; background: var(--surface-soft); }
.bd-showcase-card:first-child img { flex: 1; object-fit: cover; object-position: top; }
.bd-showcase-label { padding: 14px 18px; }
.bd-showcase-label strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.bd-showcase-label span   { font-size: 0.8rem; color: var(--muted); }

/* Feature groups (features page) */
.bd-feature-group { margin-bottom: 60px; }
.bd-feature-group-heading {
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 32px; padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.bd-feature-group-heading > span {
    font-size: 3rem; font-weight: 800; color: var(--red); opacity: 0.15;
    line-height: 1; flex-shrink: 0;
}
.bd-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bd-feature-card {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
}
.bd-feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--pink));
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Product tour (demo page) */
.bd-tour { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.bd-tour-tabs { display: flex; flex-direction: column; gap: 4px; }
.bd-tour-tab {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 500;
    color: var(--muted); background: none;
    text-align: left; cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
}
.bd-tour-tab:hover { background: var(--surface-soft); color: var(--ink); }
.bd-tour-tab.is-active {
    background: var(--pink-pale);
    color: var(--red); font-weight: 700;
    border-color: var(--pink-light);
}
[data-theme="dark"] .bd-tour-tab.is-active { background: rgba(232,41,75,0.12); border-color: rgba(232,41,75,0.25); }
.bd-tour-stage { display: flex; flex-direction: column; gap: 20px; }
.bd-tour-caption { padding: 16px 0; }
.bd-tour-caption > span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); }
.bd-tour-caption h2 { margin: 8px 0 6px; }
[dir="rtl"] .bd-tour-tab { text-align: right; }

/* FAQ layout */
.bd-faq-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.bd-faq-item {
    border-bottom: 1px solid var(--line);
    padding-block: 20px;
}
.bd-faq-item summary {
    display: flex; align-items: center; gap: 16px;
    cursor: pointer; list-style: none;
    font-weight: 600; color: var(--ink);
    font-size: 0.95rem;
}
.bd-faq-item summary::-webkit-details-marker { display: none; }
.bd-faq-item summary .bd-faq-num {
    font-size: 0.8rem; font-weight: 800; color: var(--red);
    opacity: 0.4; flex-shrink: 0; min-width: 24px;
}
.bd-faq-item summary .bd-faq-toggle {
    margin-inline-start: auto;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-soft); border-radius: 50%;
    font-size: 1rem; color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.bd-faq-item[open] summary .bd-faq-toggle { transform: rotate(45deg); }
.bd-faq-item p { padding: 16px 0 4px 40px; color: var(--muted); }
.bd-faq-contact {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    color: #fff;
    position: sticky; top: calc(var(--nav-h) + 20px);
}
.bd-faq-contact p { color: rgba(255,255,255,0.75); }
.bd-faq-contact small { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* Docs layout */
.bd-docs-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}
.bd-docs-sidebar {
    position: sticky; top: calc(var(--nav-h) + 20px);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}
.bd-docs-sidebar strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); }
.bd-docs-sidebar nav { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.bd-docs-sidebar nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: var(--radius-sm);
    font-size: 0.85rem; color: var(--muted);
    transition: all 0.15s;
}
.bd-docs-sidebar nav a:hover { background: var(--pink-pale); color: var(--red); }
.bd-docs-sidebar nav a span {
    font-size: 0.72rem; font-weight: 800; color: var(--red);
    min-width: 24px; opacity: 0.5;
}
.bd-support-box {
    margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
    font-size: 0.82rem;
}
.bd-support-box a { color: var(--red); word-break: break-all; }
.bd-doc-step {
    display: flex; gap: 20px;
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
}
.bd-doc-step > span {
    font-size: 1.5rem; font-weight: 800; color: var(--red);
    opacity: 0.2; line-height: 1; flex-shrink: 0; min-width: 36px;
}
.bd-requirements-card {
    display: flex; flex-wrap: wrap; gap: 0;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden; margin-bottom: 32px;
}
.bd-requirements-card > div {
    flex: 1; min-width: 120px;
    padding: 16px 20px;
    border-right: 1px solid var(--line);
}
.bd-requirements-card > div:last-child { border-right: none; }
.bd-requirements-card span   { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); display: block; margin-bottom: 2px; }
.bd-requirements-card strong { font-size: 0.95rem; color: var(--ink); }
.bd-notice-card {
    background: rgba(232,41,75,0.05);
    border: 1px solid rgba(232,41,75,0.2);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 24px;
}
.bd-notice-card strong { color: var(--red); }

/* Pricing layout */
.bd-pricing-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
.bd-price-card {
    background: var(--surface-card);
    border: 2px solid var(--red);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.bd-price-topline {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}
.bd-price-topline span { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.bd-price-topline b { background: var(--green); color: #fff; border-radius: var(--radius-pill); padding: 4px 12px; font-size: 0.78rem; font-weight: 700; }
.bd-price-amount { font-size: 3.5rem; font-weight: 800; color: var(--red); line-height: 1; }
.bd-price-amount span { font-size: 1rem; color: var(--muted); font-weight: 400; margin-inline-start: 8px; }
.bd-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bd-check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.bd-check-list li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.bd-pricing-side { display: flex; flex-direction: column; gap: 16px; }
.bd-side-card {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.bd-side-card h3 { margin-bottom: 8px; }
.bd-assurance-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
    margin-top: 48px;
}
.bd-assurance-grid article {
    background: var(--surface-soft); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px;
}
.bd-assurance-grid strong { display: block; margin-bottom: 6px; }

/* BerryDent sub-nav (tabs within BerryDent section) */
.bd-subnav {
    position: sticky;
    top: var(--nav-h);
    margin-top: var(--nav-h);
    z-index: 890;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    padding-block: 0;
}
[data-theme="dark"] .bd-subnav {
    background: rgba(15, 10, 12, 0.88);
}
.bd-subnav-inner {
    display: flex; gap: 0;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.bd-subnav-inner::-webkit-scrollbar { display: none; }
.bd-subnav-link {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    font-size: 0.88rem; font-weight: 500;
    color: var(--muted); white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s var(--ease);
    text-decoration: none;
}
.bd-subnav-link:hover {
    color: var(--ink);
    background: rgba(232, 41, 75, 0.04);
}
.bd-subnav-link.active {
    color: var(--red);
    border-bottom-color: var(--red);
    font-weight: 700;
    background: rgba(232, 41, 75, 0.05);
}
[data-theme="dark"] .bd-subnav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .bd-subnav-link.active {
    color: var(--pink-light);
    border-bottom-color: var(--red);
    background: rgba(232, 41, 75, 0.1);
}

/* Migration section */
.bd-migration-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center;
}
.bd-migration-visual {
    position: relative; height: 220px;
}
.bd-data-card {
    position: absolute;
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    min-width: 160px;
    display: flex; flex-direction: column; gap: 2px;
}
.bd-data-card span { font-size: 0.75rem; color: var(--muted); }
.bd-data-card b    { font-size: 1rem; font-weight: 700; color: var(--green); }
.bd-data-card-1 { top: 10px; left: 0; }
.bd-data-card-2 { top: 50%; left: 50%; transform: translate(-50%,-50%); }
.bd-data-card-3 { bottom: 10px; right: 0; }

.bd-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.bd-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.bd-tour-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.bd-pricing-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin-bottom: 28px;
}

/* Responsive BerryDent */
@media (max-width: 900px) {
    .bd-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .bd-hero-grid .hero-btns {
        justify-content: flex-start;
    }
    .bd-split-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .bd-tour-specs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .bd-tour { grid-template-columns: 1fr; }
    .bd-tour-tabs { flex-direction: row; flex-wrap: wrap; }
    .bd-faq-layout { grid-template-columns: 1fr; }
    .bd-faq-contact { position: static; }
    .bd-docs-layout { grid-template-columns: 1fr; }
    .bd-docs-sidebar { position: static; }
    .bd-pricing-layout { grid-template-columns: 1fr; }
    .bd-showcase-grid { grid-template-columns: 1fr; }
    .bd-showcase-card:first-child { grid-row: span 1; }
    .bd-feature-grid { grid-template-columns: 1fr 1fr; }
    .bd-benefit-grid { grid-template-columns: 1fr; }
    .bd-assurance-grid { grid-template-columns: 1fr; }
    .bd-migration-section { grid-template-columns: 1fr; }
    .bd-proof-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
@media (max-width: 600px) {
    .bd-subnav-link {
        padding: 10px 14px;
        font-size: 0.82rem;
    }
    .bd-migration-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    .bd-data-card {
        position: static;
        width: 100%;
        transform: none !important;
    }
    .bd-hero-grid h1 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }
    .bd-hero-grid .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .bd-hero-grid .hero-btns .btn,
    .bd-hero-grid .hero-btns .text-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .bd-pricing-checklist {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .bd-feature-grid { grid-template-columns: 1fr; }
    .bd-price-card { padding: 28px 20px; }
    .bd-proof-grid {
        grid-template-columns: 1fr;
    }
    .bd-proof-grid > div {
        padding: 8px 12px;
    }
    .bd-window-frame {
        max-width: 100%;
    }
}
