/* Grow Sciences — Premium Pitch Build */
/* Fonts: Lato 600 (headings), Open Sans (body) via Google Fonts loaded in base.html */

@font-face {
    font-family: 'Billy Ohio';
    src: url('/static/img/BillyOhio.woff2') format('woff2'),
         url('/static/img/BillyOhio.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --deep-navy: #ffffff;
    --card-bg: #f5f5f7;
    --card-bg-light: #e8e8ed;
    --primary-blue: #22A7F0;
    --teal: #22A7F0;
    --accent-green: #2ecc71;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #999999;
    --dark-slate: #f0f0f5;
    --bg-dark: #1a1a1a;
    --heading-font: 'Lato', sans-serif;
    --body-font: 'Open Sans', 'Lato', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(34,167,240,0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--deep-navy);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }

img { max-width: 100%; }

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.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; }

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(n+7) { transition-delay: 0.35s; }
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Scale-in variant */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Navigation --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 24px;
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo img {
    height: 36px;
    transition: transform var(--transition);
}
.nav-logo:hover img { transform: scale(1.05); }

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 999px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 20px;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 800;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--card-bg); }

/* --- Hero Sections --- */
.hero {
    position: relative;
    height: 100vh;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero img.hero-bg,
.hero video.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.hero:hover img.hero-bg {
    transform: scale(1.03);
}

.hero-neon-logo {
    position: absolute;
    z-index: 1;
    width: clamp(240px, 35vw, 420px);
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: neonFlicker 8s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(100,200,255,0.4)) drop-shadow(0 0 80px rgba(100,200,255,0.15));
}

@keyframes neonFlicker {
    0%   { opacity: 1;    filter: drop-shadow(0 0 40px rgba(100,200,255,0.4)) drop-shadow(0 0 80px rgba(100,200,255,0.15)); }
    4%   { opacity: 0.85; filter: drop-shadow(0 0 20px rgba(100,200,255,0.2)); }
    6%   { opacity: 1;    filter: drop-shadow(0 0 50px rgba(100,200,255,0.5)) drop-shadow(0 0 100px rgba(100,200,255,0.2)); }
    8%   { opacity: 0.7;  filter: drop-shadow(0 0 10px rgba(100,200,255,0.1)); }
    9%   { opacity: 1;    filter: drop-shadow(0 0 45px rgba(100,200,255,0.45)) drop-shadow(0 0 90px rgba(100,200,255,0.18)); }
    30%  { opacity: 1;    filter: drop-shadow(0 0 40px rgba(100,200,255,0.4)) drop-shadow(0 0 80px rgba(100,200,255,0.15)); }
    31%  { opacity: 0.9;  filter: drop-shadow(0 0 25px rgba(100,200,255,0.25)); }
    32%  { opacity: 1;    filter: drop-shadow(0 0 55px rgba(100,200,255,0.5)) drop-shadow(0 0 100px rgba(100,200,255,0.2)); }
    50%  { opacity: 1;    filter: drop-shadow(0 0 50px rgba(120,210,255,0.5)) drop-shadow(0 0 100px rgba(100,200,255,0.2)); }
    70%  { opacity: 1;    filter: drop-shadow(0 0 40px rgba(100,200,255,0.4)) drop-shadow(0 0 80px rgba(100,200,255,0.15)); }
    71%  { opacity: 0.6;  filter: drop-shadow(0 0 8px rgba(100,200,255,0.08)); }
    72%  { opacity: 0.9;  filter: drop-shadow(0 0 30px rgba(100,200,255,0.3)); }
    73%  { opacity: 0.55; filter: drop-shadow(0 0 5px rgba(100,200,255,0.05)); }
    75%  { opacity: 1;    filter: drop-shadow(0 0 60px rgba(100,200,255,0.55)) drop-shadow(0 0 120px rgba(100,200,255,0.25)); }
    100% { opacity: 1;    filter: drop-shadow(0 0 40px rgba(100,200,255,0.4)) drop-shadow(0 0 80px rgba(100,200,255,0.15)); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.5) 60%,
        rgba(0,0,0,0.88)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px 60px;
}

.hero-content .logo {
    width: 240px;
    margin-bottom: 24px;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    filter: drop-shadow(0 4px 30px rgba(0,0,0,0.5));
}

.hero-content .tagline {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 14px;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
    font-weight: 400;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
}

.hero-cta {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

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

/* Parallax scrolling for hero bg */
.hero-parallax {
    will-change: transform;
}

/* --- Pill Buttons --- */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-pill:hover::before { opacity: 1; }

.btn-pill-primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34,167,240,0.3);
}

.btn-pill-primary:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(34,167,240,0.4);
}

.btn-pill-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-pill-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-2px);
}

.btn-pill-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}
.btn-pill-outline:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
}

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

.section {
    padding: 64px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 400;
}

/* --- Cards --- */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

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

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-body { padding: 20px; }

.card-title {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.card-meta {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 8px;
}

/* Glass card variant */
.card-glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --- Horizontal Scroll --- */
.hscroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }

/* --- Chips / Tags --- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(34, 167, 240, 0.1);
    color: var(--primary-blue);
    letter-spacing: 0.3px;
}

.chip-sm {
    padding: 3px 8px;
    font-size: 10px;
}

/* --- Filter Bar --- */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    background: var(--card-bg);
    color: var(--text-secondary);
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 2px 10px rgba(34,167,240,0.2);
}

/* --- Live Badge --- */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    letter-spacing: 0.5px;
}

.badge-live .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 10px 5px rgba(239, 68, 68, 0.15); }
}

/* --- Count-up animation for stats --- */
.stat-counter {
    display: inline-block;
}

/* --- Stars --- */
.stars { display: inline-flex; gap: 2px; }
.stars .star { color: #f59e0b; font-size: 14px; }
.stars .star.empty { color: var(--card-bg-light); }

/* --- Drop Card (special) --- */
.drop-card { width: 220px; }
.drop-card .card-img { height: 150px; }
.drop-card .card-body { padding: 14px; }
.drop-card .chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }

/* --- Product Showcase (full-bleed sections) --- */
.showcase {
    position: relative;
    height: 100vh;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase img.showcase-bg,
.showcase video.showcase-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.showcase:hover img.showcase-bg {
    transform: scale(1.03);
}

.showcase .showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.02) 30%,
        rgba(0,0,0,0.15) 60%,
        rgba(0,0,0,0.7)
    );
}

.showcase-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.showcase-content h2 {
    font-family: 'Billy Ohio', cursive;
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    line-height: 1;
}

.showcase-content p {
    font-family: var(--heading-font);
    font-size: clamp(14px, 2.5vw, 20px);
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    cursor: pointer;
}

.showcase-content p:hover {
    color: #fff;
}

.showcase-content p::after {
    content: ' \2192';
}

/* --- Page Hero (smaller) --- */
.page-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.page-hero:hover img { transform: scale(1.03); }

.page-hero .page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, transparent 40%, rgba(0,0,0,0.5), rgba(0,0,0,0.85));
}

.page-hero h1 {
    position: absolute;
    bottom: 24px;
    left: 24px;
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* --- Deal Card --- */
.deal-card { overflow: hidden; }

.deal-card .deal-img {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.deal-card .deal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.deal-card:hover .deal-img img { transform: scale(1.05); }

.deal-card .deal-img .deal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34,167,240,0.5), rgba(0,0,0,0.3));
}

.deal-card .deal-type {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: var(--primary-blue);
    border-radius: 0 0 var(--radius) 0;
    letter-spacing: 0.5px;
}

/* --- Coupon Card --- */
.coupon-card .promo-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Menlo', 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(34, 167, 240, 0.08);
    cursor: pointer;
    border: 1px dashed rgba(34,167,240,0.3);
    transition: all var(--transition);
}

.coupon-card .promo-code:hover {
    background: rgba(34, 167, 240, 0.15);
    border-color: var(--primary-blue);
    transform: scale(1.02);
}

.coupon-card .promo-code.copied {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

/* --- Review Card --- */
.review-card {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.review-card .review-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.review-card .review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-card .review-product {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

/* --- Strain Card (Pokedex) --- */
.strain-card {
    position: relative;
    overflow: hidden;
}

.strain-card .strain-img {
    height: 120px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.strain-card .strain-img-wrapper {
    overflow: hidden;
}

.strain-card .strain-body { padding: 14px; }

.strain-card .rarity {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.rarity-common { background: rgba(107,114,128,0.85); color: #e5e7eb; }
.rarity-rare { background: rgba(59,130,246,0.85); color: #dbeafe; }
.rarity-epic { background: rgba(168,85,247,0.85); color: #f3e8ff; }
.rarity-legendary { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; }

/* --- Chat --- */
.chat-container {
    max-width: 700px;
    margin: 0 auto;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
}

.chat-msg {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
    animation: msgSlideIn 0.3s ease;
}

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

.chat-msg.user {
    align-self: flex-end;
    background: var(--primary-blue);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-msg.team {
    align-self: flex-start;
    background: var(--card-bg);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-msg .sender {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.chat-msg.user .sender { color: rgba(255,255,255,0.7); }

.chat-input {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.chat-input input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.06);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    outline: none;
    transition: border-color var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary-blue);
}

.chat-input input::placeholder { color: var(--text-tertiary); }

/* --- Rating Summary --- */
.rating-summary {
    text-align: center;
    padding: 32px;
}

.rating-summary .rating-number {
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-primary);
}

.rating-summary .rating-count {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* --- Store Map --- */
.store-list { display: flex; flex-direction: column; gap: 12px; }

.store-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    transition: all var(--transition);
}

.store-card:hover {
    background: rgba(34,167,240,0.03);
}

.store-card .store-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(34,167,240,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.store-card .store-info { flex: 1; }

.store-card .store-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.store-card .store-address {
    font-size: 13px;
    color: var(--text-secondary);
}

.store-card .store-phone {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.store-card .store-stock {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-blue);
    padding: 5px 12px;
    background: rgba(34,167,240,0.08);
    border-radius: 999px;
    letter-spacing: 0.3px;
}

/* --- Interactive Map Container --- */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Brand Footer --- */
.brand-footer {
    text-align: center;
    padding: 64px 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: linear-gradient(to bottom, transparent, rgba(34,167,240,0.02));
}

.brand-footer img {
    height: 44px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.brand-footer .crafted {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 6px;
    margin-bottom: 14px;
}

.brand-footer .footer-text {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-weight: 300;
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.footer-stat .stat-value {
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-stat .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* --- Powered By Badge --- */
.powered-by {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.04);
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
}

.powered-by a {
    color: var(--text-secondary);
    font-weight: 700;
}

/* --- Admin --- */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.admin-stat {
    padding: 28px;
    text-align: center;
}

.admin-stat .stat-num {
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-blue);
}

.admin-stat .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* --- Segment Control --- */
.segment-control {
    display: inline-flex;
    background: var(--card-bg);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 28px;
}

.segment-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-family: 'Lato', sans-serif;
}

.segment-btn.active {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(34,167,240,0.25);
}

/* --- Terpene tags --- */
.terpene-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.terpene-tag {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(34, 167, 240, 0.08);
    color: var(--primary-blue);
}

/* --- Loading shimmer --- */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, var(--card-bg-light) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius);
}

/* --- Image lazy load fade --- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* --- Tooltip --- */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--text-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
}
[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 16px;
        gap: 2px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        z-index: 100;
    }
    .nav-links.open a {
        padding: 14px 20px;
        border-radius: 10px;
        font-size: 14px;
    }
    .nav-links.open a::after { display: none; }
    .nav-links.open a:hover,
    .nav-links.open a.active {
        background: rgba(34,167,240,0.08);
        color: var(--primary-blue);
    }
    .nav-hamburger { display: block; }

    /* Layout */
    .container { padding: 0 16px; }
    .section { padding: 40px 0; }

    /* Hero */
    .hero { height: 70vh; max-height: 500px; }
    .hero-content .logo { width: 170px; }
    .hero-content .tagline { font-size: 13px; letter-spacing: 4px; }
    .hero-content .subtitle { font-size: 14px; }

    /* Section titles */
    .section-title { font-size: 26px; }

    /* Grids */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }

    /* Showcase */
    .showcase { height: 70vh; max-height: 500px; }
    .showcase-content h2 { font-size: 60px; }

    /* Cards */
    .card-img { height: 160px; }
    .drop-card { width: 180px; }
    .drop-card .card-img { height: 120px; }

    /* Page hero */
    .page-hero { height: 160px; margin-bottom: 20px; border-radius: var(--radius); }
    .page-hero h1 { font-size: 28px; bottom: 16px; left: 16px; }

    /* Filter bar scroll */
    .filter-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn { flex-shrink: 0; font-size: 12px; padding: 7px 16px; }

    /* Segment control */
    .segment-btn { padding: 8px 16px; font-size: 13px; }

    /* Store cards */
    .store-card { flex-direction: column; align-items: flex-start; gap: 10px; }
    .map-container { height: 280px; border-radius: var(--radius); }

    /* Reviews */
    .review-card { flex-direction: column; }
    .review-card .review-img { width: 100%; height: 140px; border-radius: var(--radius); }

    /* Strain cards */
    .strain-card .strain-img { height: 140px; }

    /* Chat */
    .chat-msg { max-width: 88%; }
    .chat-input { padding: 12px 0; }
    .chat-input input { font-size: 16px; }

    /* Footer */
    .footer-stats { flex-direction: column; gap: 20px; }
    .footer-stat .stat-value { font-size: 36px; }
    .brand-footer { padding: 40px 16px; }

    /* Deal cards */
    .deal-card .deal-img { height: 120px; }

    /* Buttons */
    .btn-pill { padding: 12px 24px; font-size: 11px; }

    /* Arcade canvas */
    #nc-canvas { max-width: 100% !important; height: auto !important; }

    /* Admin */
    .admin-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stat .stat-num { font-size: 36px; }

    /* Rating */
    .rating-summary .rating-number { font-size: 40px; }
}

/* Small phones */
@media (max-width: 380px) {
    .nav { padding: 0 12px; }
    .hero { height: 60vh; max-height: 400px; }
    .hero-content .logo { width: 140px; }
    .container { padding: 0 12px; }
    .showcase { height: 60vh; max-height: 400px; }
    .showcase-content h2 { font-size: 50px; }
    .admin-grid { grid-template-columns: 1fr; }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero { max-height: 550px; }
    .showcase { height: 80vh; max-height: 600px; }
}

/* ============================================
   PRODUCT PAGE STYLES (fl-* classes)
   ============================================ */

.fl-hero {
    position: relative;
    height: 100vh;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fl-hero video,
.fl-hero .fl-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fl-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.50);
}
.fl-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 24px;
}
.fl-hero-content h1 {
    font-family: 'Billy Ohio', cursive;
    font-size: clamp(100px, 15vw, 134px);
    font-weight: 400;
    color: #fff;
    line-height: 1em;
    letter-spacing: 5px;
    margin: 0;
    text-shadow: 4px 4px 2px rgba(0,0,0,0.97);
}
/* Flower page uses Lato headings instead of Billy Ohio */
.fl-hero-content h1.fl-lato {
    font-family: var(--heading-font);
    font-size: clamp(40px, 7vw, 55px);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: capitalize;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    line-height: 1.1;
}
.fl-hero-content .fl-sub {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Sections base */
.fl-section {
    padding: 40px 0;
}
.fl-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}
.fl-section-title {
    font-family: var(--heading-font);
    font-size: clamp(35px, 5vw, 55px);
    font-weight: 600;
    color: #111C27;
    text-transform: capitalize;
    line-height: 1em;
    margin: 0 0 20px;
}
.fl-body-text {
    font-family: 'Open Sans', 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4em;
    color: #000;
}

/* Intro */
.fl-intro {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}
.fl-intro .fl-section-title {
    text-align: center;
}
.fl-intro .fl-body-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 20px;
}

/* Divider */
.fl-divider {
    width: 56%;
    margin: 0 auto;
    border: none;
    border-top: 1.3px solid rgba(162,167,173,0.75);
    padding: 15px 0;
}

/* Split sections — 56/44 like original */
.fl-split {
    display: flex;
    align-items: center;
    min-height: 500px;
}
.fl-split.reverse { flex-direction: row-reverse; }

.fl-split-text {
    width: 56.3%;
    padding: 40px 10%;
}
.fl-split-img {
    width: 43.6%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 24px;
}
.fl-split-img img {
    width: 95%;
    max-height: 500px;
    object-fit: contain;
}
.fl-split-text h2 {
    font-family: 'Billy Ohio', cursive;
    font-size: clamp(50px, 8vw, 80px);
    font-weight: 400;
    color: #111C27;
    line-height: 1;
    margin: 0 0 16px;
}
/* Flower page Lato heading variant */
.fl-split-text h2.fl-lato {
    font-family: var(--heading-font);
    font-size: clamp(35px, 5vw, 45px);
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 0 8px;
}
.fl-split-text h3 {
    font-family: var(--heading-font);
    font-size: clamp(20px, 3vw, 25px);
    font-weight: 700;
    color: #111C27;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* 50/50 split variant (flower page) */
.fl-split-text.fl-half { width: 50%; padding: 40px 5%; }
.fl-split-img.fl-half { width: 50%; }
/* Full-color process icons (no invert) */
.fl-process-item.fl-color img {
    filter: none;
    opacity: 1;
    width: 100%;
    height: auto;
    max-width: 160px;
}
/* Intro sub-text */
.fl-body-text.fl-sub-text {
    font-size: 16px;
    max-width: 850px;
    margin: 16px auto 0;
    line-height: 1.5;
    color: var(--text-secondary);
}
.fl-split-text .fl-body-text {
    font-size: 18px;
}

/* Dark variant */
.fl-dark { background: var(--bg-dark); }
.fl-dark .fl-split-text h2 { color: #fff; }
.fl-dark .fl-body-text { color: rgba(255,255,255,0.7); }
.fl-dark .fl-section-title { color: #fff; }

/* Light variant */
.fl-light { background: #fff; }

/* Process grid — 6 items */
.fl-process {
    padding: 80px 0;
    background: var(--bg-dark);
    text-align: center;
}
.fl-process .fl-section-title {
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}
.fl-process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}
.fl-process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.fl-process-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}
.fl-process-item:hover img {
    opacity: 1;
    transform: scale(1.08);
}
.fl-process-item span {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    line-height: 1.4;
}

/* Explore carousel/grid */
.fl-explore {
    padding: 80px 0;
    background: #fff;
}
.fl-explore .fl-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.fl-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
}
.fl-explore-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f7;
    text-decoration: none;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}
.fl-explore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.fl-explore-card-img {
    overflow: hidden;
    aspect-ratio: 1;
}
.fl-explore-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.fl-explore-card:hover .fl-explore-card-img img {
    transform: scale(1.06);
}
.fl-explore-card-label {
    padding: 14px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111C27;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Button matching original */
.fl-btn {
    display: inline-block;
    background: #22A7F0;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    padding: 8px 20px;
    border: 2px solid #22A7F0;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 24px;
}
.fl-btn:hover {
    background: #fff;
    color: #22A7F0;
}
.fl-dark .fl-btn:hover {
    background: transparent;
    color: #22A7F0;
}

/* Full-width image section */
.fl-fullwidth {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fl-fullwidth img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fl-fullwidth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.fl-fullwidth-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 700px;
}
.fl-fullwidth-content h2 {
    font-family: 'Billy Ohio', cursive;
    font-size: clamp(50px, 8vw, 80px);
    font-weight: 400;
    color: #fff;
    line-height: 1;
    margin: 0 0 16px;
}
.fl-fullwidth-content .fl-body-text {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
}

/* Product page responsive */
@media (max-width: 768px) {
    .fl-hero { height: 70vh; }
    .fl-hero-content h1 { font-size: 100px; }
    .fl-split {
        flex-direction: column !important;
        min-height: auto;
    }
    .fl-split-text, .fl-split-img {
        width: 100%;
        padding: 40px 24px;
    }
    .fl-split-text { text-align: center; }
    .fl-split-text .fl-body-text { margin: 0 auto; }
    .fl-process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .fl-explore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .fl-divider { width: 60%; }
    .fl-intro { padding: 50px 0; }
    .fl-fullwidth { min-height: 350px; }
}
@media (max-width: 480px) {
    .fl-hero-content h1 { font-size: 72px; }
    .fl-process-grid { grid-template-columns: repeat(2, 1fr); }
    .fl-explore-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   MEMBERSHIP STYLES
   ============================================ */

.mem-label {
    display: block;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.mem-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,0.06);
    background: #fff;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--body-font);
    outline: none;
    transition: border-color var(--transition);
}
.mem-input:focus {
    border-color: var(--primary-blue);
}
textarea.mem-input {
    resize: vertical;
    min-height: 80px;
}
select.mem-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.mem-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    background: var(--primary-blue);
    color: #fff;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}
.mem-btn-primary:hover {
    background: #1a8fd4;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(34,167,240,0.3);
}

.mem-btn-sm {
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--primary-blue);
    color: #fff;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.mem-btn-sm:hover {
    background: #1a8fd4;
}

.mem-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.mem-tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mem-section-title {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Tier cards on join page */
.tier-card {
    padding: 16px 20px;
    background: var(--card-bg);
    border-radius: 10px;
}
.tier-name {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.tier-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.tier-points {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-tertiary);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Toggle switch */
.mem-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.mem-toggle input {
    display: none;
}
.mem-toggle-slider {
    width: 40px;
    height: 22px;
    background: rgba(0,0,0,0.1);
    border-radius: 999px;
    position: relative;
    transition: background var(--transition);
    flex-shrink: 0;
}
.mem-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.mem-toggle input:checked + .mem-toggle-slider {
    background: var(--primary-blue);
}
.mem-toggle input:checked + .mem-toggle-slider::after {
    transform: translateX(18px);
}
.mem-toggle-label {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Membership nav link */
.nav-member {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

/* Responsive membership */
@media (max-width: 768px) {
    .mem-avatar { width: 56px; height: 56px; font-size: 24px; }
    .mem-btn-primary { padding: 12px 24px; font-size: 12px; }
}

/* --- Print --- */
@media print {
    .nav, .nav-hamburger, .btn-pill, .chat-input { display: none; }
    .hero { height: auto; }
    .card { break-inside: avoid; }
}
