@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===================== Theme: pulse (default) ===================== */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #DBEAFE;
  --accent: #06B6D4;
  --accent-light: #CFFAFE;
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --surface: #FFFFFF;
  --soft: #F1F5F9;
  --border: #E2E8F0;
  --ink: #0F172A;
  --ink-soft: #475569;
  --ink-faint: #94A3B8;
  --on-primary: #FFFFFF;
  --font-head: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #0F172A 0%, #1E3A5F 35%, #2563EB 70%, #06B6D4 100%);
  --hero-overlay: linear-gradient(180deg, rgba(15,23,42,0.14) 0%, rgba(15,23,42,0.52) 100%);
  --hero-text: #F8FAFC;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 18px rgba(15,23,42,0.10);
  --shadow-lg: 0 12px 36px rgba(15,23,42,0.16);
}

/* ===================== Theme: terminal ===================== */
html[data-theme="terminal"] {
  --primary: #00D26A;
  --primary-dark: #00B85A;
  --primary-light: #0A2E1C;
  --accent: #58A6FF;
  --accent-light: #0D2240;
  --bg: #0D1117;
  --bg-alt: #161B22;
  --surface: #161B22;
  --soft: #21262D;
  --border: #30363D;
  --ink: #C9D1D9;
  --ink-soft: #8B949E;
  --ink-faint: #6E7681;
  --on-primary: #0D1117;
  --font-head: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #0D1117 0%, #161B22 40%, #00B85A 100%);
  --hero-overlay: linear-gradient(180deg, rgba(13,17,23,0.12) 0%, rgba(13,17,23,0.60) 100%);
  --hero-text: #F0F6FC;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.45);
}

/* ===================== Theme: campus ===================== */
html[data-theme="campus"] {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #E0E7FF;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --bg: #FFFBF5;
  --bg-alt: #FFF7ED;
  --surface: #FFFFFF;
  --soft: #FFF1E0;
  --border: #E7DDD0;
  --ink: #292524;
  --ink-soft: #6B5D54;
  --ink-faint: #A8978E;
  --on-primary: #FFFFFF;
  --font-head: 'Poppins', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #312E81 0%, #4F46E5 40%, #F59E0B 100%);
  --hero-overlay: linear-gradient(180deg, rgba(49,46,129,0.16) 0%, rgba(49,46,129,0.50) 100%);
  --hero-text: #FFFBF5;
  --shadow-sm: 0 1px 3px rgba(49,46,129,0.08);
  --shadow-md: 0 4px 18px rgba(49,46,129,0.10);
  --shadow-lg: 0 12px 36px rgba(49,46,129,0.16);
}

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 42px; width: auto; border-radius: var(--radius); object-fit: contain; }
.brand-name { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-link { color: var(--ink-soft); font-weight: 600; font-size: 0.88rem; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-link:hover { text-decoration: none; background: var(--soft); color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--soft); }
.nav-cta { background: var(--primary); color: var(--on-primary) !important; border-radius: 999px; padding: 10px 22px; font-weight: 800; font-family: var(--font-body); letter-spacing: 0.01em; transition: background .15s, transform .15s; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px 8px; border-radius: 10px; }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 999px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero { position: relative; padding: 96px 24px 88px; overflow: hidden; background: var(--hero-gradient); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: 0.05; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px; }
.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; color: var(--hero-text); }
.eyebrow { display: inline-block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); margin-bottom: 20px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .tagline { font-size: clamp(1rem, 2vw, 1.2rem); opacity: 0.92; margin-bottom: 8px; }
.hero .desc { font-size: 1rem; opacity: 0.82; max-width: 580px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-cta a { display: inline-block; padding: 14px 30px; border-radius: var(--radius-pill); font-weight: 800; font-size: 0.96rem; transition: transform .15s, background .15s; }
.hero-cta a.primary { background: var(--accent); color: var(--on-primary); }
.hero-cta a.primary:hover { transform: translateY(-2px); text-decoration: none; }
.hero-cta a.ghost { background: rgba(255,255,255,0.1); color: var(--hero-text); border: 1px solid rgba(255,255,255,0.3); }
.hero-cta a.ghost:hover { background: rgba(255,255,255,0.18); text-decoration: none; }

/* ===================== Stats bar (hero) ===================== */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 880px; margin: 32px auto 0; }
.stat-mini { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px); border-radius: var(--radius-lg); padding: 16px; text-align: center; color: var(--hero-text); }
.stat-mini strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; }
.stat-mini span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.88; }

/* ===================== Sections ===================== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 1rem; max-width: 580px; margin: 0 auto; }
.section-head .eyebrow-small { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 10px; }

/* ===================== Cards ===================== */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; border-color: var(--primary); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.card-body p { font-size: 0.9rem; color: var(--ink-soft); }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-soft); }
.tag.stream { background: var(--primary-light); color: var(--primary); }
.tag.featured { background: var(--accent); color: var(--on-primary); }
.price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--primary); }

/* ===================== Features ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { text-align: center; padding: 28px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon { width: 52px; height: 52px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); border-radius: 14px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* ===================== Filter bar ===================== */
.filter-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.filter-bar a { padding: 8px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--border); transition: all .15s; }
.filter-bar a:hover { background: var(--soft); text-decoration: none; }
.filter-bar a.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* ===================== CTA band ===================== */
.cta-band { background: var(--hero-gradient); padding: 56px 24px; text-align: center; }
.cta-band h2 { font-family: var(--font-head); color: var(--hero-text); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: color-mix(in srgb, var(--hero-text) 84%, transparent); margin-bottom: 20px; }
.cta-band a { display: inline-block; background: var(--accent); color: var(--on-primary) !important; padding: 14px 32px; border-radius: var(--radius-pill); font-weight: 800; font-size: 0.96rem; }
.cta-band a:hover { transform: translateY(-2px); text-decoration: none; }

/* ===================== Notice bar ===================== */
.notice-bar { background: var(--accent); color: var(--on-primary); overflow: hidden; }
.notice-bar-inner { display: flex; align-items: center; gap: 12px; padding: 8px 0; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.notice-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; flex-shrink: 0; opacity: 0.9; }
.notice-track { overflow: hidden; flex: 1; }
.notice-items { display: flex; gap: 40px; animation: scroll-notice 30s linear infinite; white-space: nowrap; }
.notice-items a { color: var(--on-primary); font-size: 0.84rem; font-weight: 600; opacity: 0.92; }
.notice-items a:hover { opacity: 1; text-decoration: none; }
@keyframes scroll-notice { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== Stat strip (placements page) ===================== */
.stat-strip { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; padding: 32px 0; }
.stat-strip .stat { text-align: center; }
.stat-strip .stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-strip .stat span { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }

/* ===================== Stars ===================== */
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }

/* ===================== Rich text ===================== */
.rich { font-size: 1rem; line-height: 1.8; color: var(--ink); }
.rich p { margin-bottom: 12px; }
.rich h2 { font-family: var(--font-head); font-size: 1.45rem; margin: 22px 0 10px; font-weight: 700; }
.rich h3 { font-family: var(--font-head); font-size: 1.2rem; margin: 16px 0 8px; font-weight: 700; }
.rich ul, .rich ol { margin: 0 0 12px 20px; }
.rich li { margin-bottom: 4px; }
.rich blockquote { border-left: 3px solid var(--accent); padding: 10px 16px; margin: 14px 0; background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.rich a { font-weight: 600; }

/* ===================== Page hero ===================== */
.page-hero { background: var(--hero-gradient); padding: 64px 24px 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--hero-text); margin-bottom: 8px; font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { color: color-mix(in srgb, var(--hero-text) 84%, transparent); max-width: 640px; margin: 0 auto; }
.breadcrumbs { display: flex; gap: 8px; justify-content: center; font-size: 0.84rem; margin-top: 14px; flex-wrap: wrap; }
.breadcrumbs a { color: color-mix(in srgb, var(--hero-text) 78%, transparent); }
.breadcrumbs a:hover { color: var(--hero-text); }
.breadcrumbs span { color: color-mix(in srgb, var(--hero-text) 60%, transparent); }

/* ===================== Forms ===================== */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; gap: 16px; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
label { display: block; font-weight: 700; font-size: 0.82rem; margin-bottom: 6px; letter-spacing: 0.02em; }
input, textarea, select { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.94rem; background: var(--surface); color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
textarea { resize: vertical; min-height: 100px; }
.btn { display: inline-block; background: var(--primary); color: var(--on-primary) !important; padding: 13px 28px; border-radius: var(--radius-pill); font-weight: 800; border: none; cursor: pointer; font-size: 0.94rem; transition: background .15s, transform .15s; text-align: center; }
.btn:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1.5px solid var(--border); color: var(--ink) !important; }
.btn-ghost:hover { background: var(--soft); }
.success-box { background: color-mix(in srgb, #16a34a 10%, var(--bg)); border: 1px solid #16a34a; border-radius: var(--radius); padding: 24px; text-align: center; }
.success-box h3 { color: #16a34a; margin-bottom: 8px; font-family: var(--font-head); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.consent-row input { width: auto; margin-top: 2px; }

/* ===================== Gallery ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.72)); color: #fff; padding: 18px 12px 10px; font-size: 0.84rem; font-weight: 600; }

/* ===================== Pager ===================== */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; font-weight: 700; font-size: 0.88rem; background: var(--surface); }
.pager a:hover { background: var(--soft); text-decoration: none; }
.pager .current { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* ===================== Footer ===================== */
.site-footer { background: #0B1120; color: rgba(255,255,255,0.82); padding: 44px 0 0; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1.5fr; gap: 28px; padding: 0 24px 36px; max-width: 1200px; margin: 0 auto; }
.footer-col h3 { font-family: var(--font-head); color: #fff; font-size: 1rem; margin-bottom: 12px; font-weight: 700; }
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; opacity: 0.9; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 0.88rem; }
.all-link { font-weight: 700; color: var(--accent) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 24px; text-align: center; font-size: 0.8rem; max-width: 1200px; margin: 0 auto; opacity: 0.7; }
.powered-by { opacity: .8; }
.powered-by a { color: inherit; text-decoration: none; }
.powered-by a:hover { text-decoration: underline; opacity: 1; }
.social-links { display: flex; gap: 8px; margin-top: 10px; }
.social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.09); transition: background .15s; }
.social-link:hover { background: rgba(255,255,255,0.16); text-decoration: none; }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }

/* ===================== WhatsApp float ===================== */
.wa-float { position: fixed; bottom: 20px; right: 20px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.2); z-index: 100; }
.wa-float:hover { background: #1ebe5b; text-decoration: none; }
.wa-float svg { width: 26px; height: 26px; }

/* ===================== FAQ ===================== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-list summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; font-size: 0.96rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; font-size: 1.2rem; font-weight: 400; color: var(--ink-faint); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 20px 16px; color: var(--ink-soft); font-size: 0.92rem; }
.faq-list .answer p { margin-bottom: 8px; }
.faq-list .answer a { font-weight: 600; }

/* ===================== Theme switcher ===================== */
.theme-btn {
  position: fixed; bottom: 88px; right: 24px; z-index: 110;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: background .15s, transform .15s;
}
.theme-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.theme-btn svg { width: 24px; height: 24px; }
.theme-panel {
  position: fixed; bottom: 152px; right: 24px; z-index: 120;
  width: 280px; max-width: calc(100vw - 32px);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px;
  display: none; text-align: left;
}
.theme-panel.open { display: block; }
.theme-panel h3 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.theme-panel .theme-sub { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 12px; }
.theme-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--soft); border: 2px solid transparent; border-radius: var(--radius);
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer;
  font-family: var(--font-body); color: var(--ink); transition: border-color .15s, background .15s;
}
.theme-card:hover { background: color-mix(in srgb, var(--soft) 60%, var(--primary-light)); }
.theme-card.active { border-color: var(--primary); background: var(--primary-light); }
.theme-swatches { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.theme-swatches .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); }
.theme-card .t-name { font-weight: 700; font-size: 0.9rem; }
.theme-card .t-desc { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.35; }
.theme-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 0.72rem; color: var(--ink-faint); line-height: 1.4; }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 10px; gap: 0; box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav-link { width: 100%; border-radius: 10px; }
  .nav-toggle { display: block; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid.cols-2 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .theme-panel { right: 16px; bottom: 148px; }
  .theme-btn { right: 16px; bottom: 84px; }
}
