/* =============================================================
   Stryk SOFTWARE — Design System
   ============================================================= */

/* --- CSS Custom Properties ---------------------------------- */
:root {
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --accent-violet: #7c3aed;
  --accent-cyan: #22d3ee;
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
  --section-py: 5rem;
  --container-max: 1200px;
}

/* Sale banner — hide immediately if already dismissed (set in <head> before render) */
html.banner-dismissed #sale-banner { display: none !important; }

/* Sale banner inline highlights (MarkupString — cannot use scoped CSS) */
.sale-hl-count { font-weight: 700; color: var(--accent-violet); }
.sale-hl-price { font-weight: 700; color: var(--text-primary); }
.sale-hl-old   { color: #ef4444; text-decoration: line-through; font-weight: 400; }

/* ── Dark Themes ─────────────────────────────────────────────── */

html,
html[data-theme="dark"] {
  --bg-deep: #07070f;
  --bg-surface: #0e0e1a;
  --bg-card: #13132b;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --border-subtle: rgba(124, 58, 237, 0.18);
  --glass-bg: rgba(19, 19, 43, 0.65);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(7, 7, 15, 0.8);
  --accent-violet: #7c3aed;
  --accent-cyan: #22d3ee;
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
}

html[data-theme="midnight"] {
  --bg-deep: #040918;
  --bg-surface: #081424;
  --bg-card: #0e1e38;
  --text-primary: #e8eef8;
  --text-muted: #6e90b8;
  --border-subtle: rgba(59, 130, 246, 0.2);
  --glass-bg: rgba(8, 20, 36, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(4, 9, 24, 0.85);
  --accent-violet: #3b82f6;
  --accent-cyan: #67e8f9;
  --gradient-main: linear-gradient(135deg, #3b82f6 0%, #67e8f9 100%);
}

html[data-theme="forest"] {
  --bg-deep: #040e08;
  --bg-surface: #091510;
  --bg-card: #0f1f17;
  --text-primary: #e0f5eb;
  --text-muted: #5fa877;
  --border-subtle: rgba(16, 185, 129, 0.2);
  --glass-bg: rgba(9, 21, 16, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(4, 14, 8, 0.85);
  --accent-violet: #10b981;
  --accent-cyan: #34d399;
  --gradient-main: linear-gradient(135deg, #059669 0%, #34d399 100%);
}

html[data-theme="dracula"] {
  --bg-deep: #191723;
  --bg-surface: #21192f;
  --bg-card: #2a2040;
  --text-primary: #f8f8f2;
  --text-muted: #b09aba;
  --border-subtle: rgba(255, 121, 198, 0.2);
  --glass-bg: rgba(33, 25, 47, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(25, 23, 35, 0.85);
  --accent-violet: #ff79c6;
  --accent-cyan: #bd93f9;
  --gradient-main: linear-gradient(135deg, #ff79c6 0%, #bd93f9 100%);
}

html[data-theme="monokai"] {
  --bg-deep: #1a1918;
  --bg-surface: #222120;
  --bg-card: #2b2a28;
  --text-primary: #f8f8f2;
  --text-muted: #938879;
  --border-subtle: rgba(230, 219, 116, 0.18);
  --glass-bg: rgba(34, 33, 32, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(26, 25, 24, 0.85);
  --accent-violet: #e6db74;
  --accent-cyan: #a6e22e;
  --gradient-main: linear-gradient(135deg, #e6db74 0%, #a6e22e 100%);
}

html[data-theme="nord"] {
  --bg-deep: #1e2030;
  --bg-surface: #242838;
  --bg-card: #2e3347;
  --text-primary: #eceff4;
  --text-muted: #8494a8;
  --border-subtle: rgba(136, 192, 208, 0.2);
  --glass-bg: rgba(36, 40, 56, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(30, 32, 48, 0.85);
  --accent-violet: #88c0d0;
  --accent-cyan: #81a1c1;
  --gradient-main: linear-gradient(135deg, #88c0d0 0%, #5e81ac 100%);
}

html[data-theme="catppuccin"] {
  --bg-deep: #11111b;
  --bg-surface: #1e1e2e;
  --bg-card: #313244;
  --text-primary: #cdd6f4;
  --text-muted: #a6adc8;
  --border-subtle: rgba(203, 166, 247, 0.2);
  --glass-bg: rgba(30, 30, 46, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(17, 17, 27, 0.85);
  --accent-violet: #cba6f7;
  --accent-cyan: #89b4fa;
  --gradient-main: linear-gradient(135deg, #cba6f7 0%, #89b4fa 100%);
}

html[data-theme="abyss"] {
  --bg-deep: #000c18;
  --bg-surface: #001628;
  --bg-card: #001f3d;
  --text-primary: #d8e8f5;
  --text-muted: #4a7fa5;
  --border-subtle: rgba(0, 180, 216, 0.2);
  --glass-bg: rgba(0, 22, 40, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(0, 12, 24, 0.85);
  --accent-violet: #00b4d8;
  --accent-cyan: #90e0ef;
  --gradient-main: linear-gradient(135deg, #0096c7 0%, #90e0ef 100%);
}

/* ── Light Themes ────────────────────────────────────────────── */

html[data-theme="light"] {
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #f1f5f9;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --border-subtle: rgba(124, 58, 237, 0.18);
  --glass-bg: rgba(241, 245, 249, 0.85);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(248, 250, 252, 0.85);
  --accent-violet: #7c3aed;
  --accent-cyan: #22d3ee;
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
}

html[data-theme="arctic"] {
  --bg-deep: #eef4fd;
  --bg-surface: #f8fbff;
  --bg-card: #ffffff;
  --text-primary: #0c1f3d;
  --text-muted: #4a72a5;
  --border-subtle: rgba(37, 99, 235, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --shadow-card: 0 8px 32px rgba(14, 40, 90, 0.1);
  --nav-bg: rgba(238, 244, 253, 0.9);
  --accent-violet: #2563eb;
  --accent-cyan: #0ea5e9;
  --gradient-main: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
}

html[data-theme="latte"] {
  --bg-deep: #fdf6ed;
  --bg-surface: #fffdf9;
  --bg-card: #fef4e4;
  --text-primary: #2c1a0a;
  --text-muted: #7a5c3c;
  --border-subtle: rgba(180, 83, 9, 0.15);
  --glass-bg: rgba(254, 244, 228, 0.85);
  --shadow-card: 0 8px 32px rgba(100, 50, 0, 0.12);
  --nav-bg: rgba(253, 246, 237, 0.9);
  --accent-violet: #b45309;
  --accent-cyan: #d97706;
  --gradient-main: linear-gradient(135deg, #92400e 0%, #f59e0b 100%);
}

html[data-theme="spring"] {
  --bg-deep: #edfaf3;
  --bg-surface: #f8fffb;
  --bg-card: #ffffff;
  --text-primary: #092b18;
  --text-muted: #3d7a55;
  --border-subtle: rgba(22, 163, 74, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --shadow-card: 0 8px 32px rgba(0, 70, 30, 0.1);
  --nav-bg: rgba(237, 250, 243, 0.9);
  --accent-violet: #16a34a;
  --accent-cyan: #22c55e;
  --gradient-main: linear-gradient(135deg, #15803d 0%, #4ade80 100%);
}

html[data-theme="rose"] {
  --bg-deep: #fff0f3;
  --bg-surface: #fff8fa;
  --bg-card: #ffffff;
  --text-primary: #2d0a14;
  --text-muted: #9a4465;
  --border-subtle: rgba(225, 29, 72, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --shadow-card: 0 8px 32px rgba(140, 20, 50, 0.1);
  --nav-bg: rgba(255, 240, 243, 0.9);
  --accent-violet: #e11d48;
  --accent-cyan: #f43f5e;
  --gradient-main: linear-gradient(135deg, #be185d 0%, #fb7185 100%);
}

html[data-theme="sunrise"] {
  --bg-deep: #fff8ed;
  --bg-surface: #fffdf9;
  --bg-card: #fff3dc;
  --text-primary: #2d1600;
  --text-muted: #8a5a14;
  --border-subtle: rgba(217, 119, 6, 0.15);
  --glass-bg: rgba(255, 243, 220, 0.85);
  --shadow-card: 0 8px 32px rgba(160, 80, 0, 0.1);
  --nav-bg: rgba(255, 248, 237, 0.9);
  --accent-violet: #d97706;
  --accent-cyan: #fbbf24;
  --gradient-main: linear-gradient(135deg, #b45309 0%, #fcd34d 100%);
}

html[data-theme="lavender"] {
  --bg-deep: #f5f0ff;
  --bg-surface: #faf8ff;
  --bg-card: #ffffff;
  --text-primary: #1e0a3c;
  --text-muted: #6b4ca0;
  --border-subtle: rgba(124, 58, 237, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --shadow-card: 0 8px 32px rgba(80, 0, 180, 0.1);
  --nav-bg: rgba(245, 240, 255, 0.9);
  --accent-violet: #7c3aed;
  --accent-cyan: #a855f7;
  --gradient-main: linear-gradient(135deg, #6d28d9 0%, #c084fc 100%);
}

html[data-theme="sky"] {
  --bg-deep: #eef7ff;
  --bg-surface: #f6fbff;
  --bg-card: #ffffff;
  --text-primary: #0a1f35;
  --text-muted: #3e7ba8;
  --border-subtle: rgba(2, 132, 199, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --shadow-card: 0 8px 32px rgba(0, 80, 160, 0.1);
  --nav-bg: rgba(238, 247, 255, 0.9);
  --accent-violet: #0284c7;
  --accent-cyan: #38bdf8;
  --gradient-main: linear-gradient(135deg, #0369a1 0%, #7dd3fc 100%);
}

/* --- Base Reset -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Suppress focus ring on programmatic focus (Blazor enhanced nav),
   keep it for keyboard navigation. */
:focus:not(:focus-visible) { outline: none; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

a { color: var(--accent-violet); text-decoration: none; }
a:hover { color: var(--accent-cyan); }

/* --- Layout ------------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-py) 0; }
.section-alt { background: var(--bg-surface); }

/* --- Section Labels ---------------------------------------- */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* --- Gradient Text ----------------------------------------- */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Glass Card -------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(124, 58, 237, 0.12), 0 20px 60px rgba(124, 58, 237, 0.14);
}

/* --- Icon Box ---------------------------------------------- */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Buttons ----------------------------------------------- */
.btn-primary-Stryk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--gradient-main);
  color: #fff !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary-Stryk:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.btn-outline-Stryk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-outline-Stryk:hover {
  border-color: var(--accent-violet);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-2px);
}

/* --- Tech Tags --------------------------------------------- */
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
  white-space: nowrap;
}

/* --- Page Hero (service/feature pages) --------------------- */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { max-width: 720px; position: relative; }
.page-hero-content .tech-tags { margin-bottom: 1.5rem; }

.page-hero-content h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  margin: 0.75rem 0 1.25rem;
}

.page-hero-content > p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* --- Two-col layout ---------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* --- Deliver grid ------------------------------------------ */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.deliver-card {
  padding: 2rem;
  transition: transform 0.25s ease;
}

.deliver-card:hover { transform: translateY(-5px); }

.deliver-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.deliver-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.deliver-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Highlights list --------------------------------------- */
.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  margin-top: 1rem;
}

.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.highlights-list li::before {
  content: '→';
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- CTA Strip --------------------------------------------- */
.cta-strip {
  padding: var(--section-py) 0;
  background: var(--bg-surface);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 120% at 50% 110%, rgba(124, 58, 237, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(34, 211, 238, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.4;
  pointer-events: none;
}

.cta-strip > .container { position: relative; }

.cta-strip h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-strip p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Scroll Progress Bar ----------------------------------- */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1002;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.6);
}

/* --- Scroll Reveal ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Motion-enhanced: hand transitions to Motion for stagger targets */
html.motion-enhanced .motion-handled {
  transition: none !important;
}

/* --- Keyframes --------------------------------------------- */
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.5); }
}

@keyframes blink-caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Typed cursor ------------------------------------------ */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--accent-cyan);
  margin-left: 3px;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: blink-caret 1s step-end infinite;
}

/* --- Blazor error UI --------------------------------------- */
#blazor-error-ui {
  color-scheme: light only;
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

/* Blazor component error boundary */
.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}
.blazor-error-boundary::after { content: "An error has occurred." }

/* --- Bootstrap overrides for dark themes ------------------- */
html[data-dark="true"] .form-control,
html[data-dark="true"] .form-select {
  background-color: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

html[data-dark="true"] .form-control:focus,
html[data-dark="true"] .form-select:focus {
  background-color: var(--bg-card);
  border-color: var(--accent-violet);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

html[data-dark="true"] .card {
  background-color: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

html[data-dark="true"] .list-group-item {
  background-color: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

html[data-dark="true"] label,
html[data-dark="true"] .form-label { color: var(--text-primary); }

html[data-dark="true"] .text-muted { color: var(--text-muted) !important; }

html[data-dark="true"] .alert-danger {
  background-color: rgba(185, 28, 28, 0.15);
  border-color: rgba(185, 28, 28, 0.3);
  color: #fca5a5;
}

/* Blazor form validation */
.valid.modified:not([type=checkbox]) { outline: 1px solid #22d3ee; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #f87171; font-size: 0.875rem; margin-top: 0.25rem; }
.darker-border-checkbox.form-check-input { border-color: #929292; }

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder { color: var(--bs-secondary-color); text-align: end; }

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder { text-align: start; }

/* --- Tech Stack Grid --------------------------------------- */
.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-stack-item {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s, color 0.2s;
}

.tech-stack-item:hover {
  border-color: var(--accent-violet);
  color: var(--text-primary);
}

/* --- MCP Explainer + Code Block ---------------------------- */
.mcp-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mcp-code-block {
  border-radius: 14px;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.82rem;
}

.code-block-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-subtle);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.code-dot.red    { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green  { background: #28c840; }

.code-lang {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.code-content {
  padding: 1.5rem;
  margin: 0;
  overflow-x: auto;
  color: var(--text-primary);
  background: transparent;
  line-height: 1.7;
}

.code-content code {
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .mcp-explainer { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
  .page-hero { padding: 7rem 0 3rem; }
  .deliver-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-primary-Stryk,
  .cta-btns .btn-outline-Stryk { justify-content: center; }
}

@media (max-width: 480px) {
  :root { --section-py: 2.5rem; }
  .section-title { font-size: 1.75rem; }
  .page-hero-content h1 { font-size: 2.25rem; }
}

/* =============================================================
   Site Navigation
   ============================================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
}

.site-nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.4;
  pointer-events: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ── Brand ─────────────────────────────────────────────────── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-brand:hover { opacity: 0.8; }

.nav-brand-mark {
  font-size: 1.4rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ── Nav Links ─────────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  color: var(--text-muted) !important;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
  line-height: 1.4;
}

.nav-link-text:hover {
  color: var(--text-primary) !important;
  background: rgba(124, 58, 237, 0.08);
}

.nav-link-text.active {
  color: var(--text-primary) !important;
  background: rgba(124, 58, 237, 0.1);
}

.nav-link-text.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 1px;
}

/* ── Dropdown ──────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown.open .chevron {
  transform: rotate(180deg);
}

.dropdown-toggle::after { display: none; }

.dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(124, 58, 237, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top left;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 100;
  pointer-events: none;
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  color: var(--text-muted) !important;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--text-primary) !important;
}

.dropdown-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--accent-violet);
}

/* ── Language Sheet ──────────────────────────────────────────── */
.lang-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lang-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.lang-sheet {
  position: fixed;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.875rem;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(124, 58, 237, 0.06);
  overscroll-behavior: contain;
}
.lang-sheet.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-sheet-handle { display: none; }

.lang-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.lang-sheet-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.lang-sheet-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  padding: 0;
}
.lang-sheet-close:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
}

.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 40px;
}
.lang-option:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.35);
  color: var(--text-primary) !important;
}
.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .lang-backdrop { display: block; }

  .lang-sheet-handle {
    display: block;
    width: 36px;
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    margin: 0.875rem auto 0;
  }

  .lang-sheet {
    top: auto !important;
    right: 0 !important;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 0 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    opacity: 1;
    visibility: visible;
    transform: translateY(100%);
    transform-origin: bottom center;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.2);
  }
  .lang-sheet.open {
    transform: translateY(0);
  }

  .lang-sheet-header {
    padding: 0.875rem 0;
    margin-bottom: 0.875rem;
  }
  .lang-grid {
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .lang-option {
    padding: 0.75rem 0.875rem;
    min-height: 52px;
    font-size: 0.875rem;
  }
}

/* ── Nav Actions ───────────────────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  padding: 0;
}

.nav-icon-btn:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
  border-color: rgba(124, 58, 237, 0.4);
}

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  flex-shrink: 0;
}

/* ── Hamburger ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem;
    gap: 0.25rem;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 999;
  }

  .nav-links.open {
    max-height: 600px;
    visibility: visible;
  }

  .nav-link-text {
    padding: 0.75rem 1rem;
    width: 100%;
    justify-content: space-between;
    border-radius: 10px;
  }

  .nav-link-text.active::after { display: none; }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
    display: none;
    margin-top: 0.25rem;
    pointer-events: auto;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .nav-container { gap: 1rem; }
  .nav-brand { font-size: 1rem; }
}

/* ── Theme Picker Sheet ──────────────────────────────────────── */
.theme-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.theme-backdrop.open { opacity: 1; visibility: visible; }

.theme-sheet {
  position: fixed;
  width: 344px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.875rem;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(124, 58, 237, 0.06);
  overscroll-behavior: contain;
}
.theme-sheet.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.theme-sheet-handle { display: none; }

.theme-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.375rem;
  border-bottom: 1px solid var(--border-subtle);
}
.theme-sheet-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.theme-sheet-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  padding: 0;
}
.theme-sheet-close:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
}

.theme-section-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.625rem 0.25rem 0.375rem;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.125rem;
}

.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.375rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
.theme-option:hover {
  background: rgba(124, 58, 237, 0.07);
  border-color: rgba(124, 58, 237, 0.28);
}
.theme-option.active {
  border-color: var(--accent-violet);
  background: rgba(124, 58, 237, 0.1);
}
.theme-option.active::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
}

.theme-swatch {
  width: 100%;
  height: 28px;
  border-radius: 6px;
  background: var(--swatch-bg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.15);
  flex-shrink: 0;
}
.theme-swatch::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: var(--swatch-gradient);
}

.theme-name {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1;
}
.theme-option.active .theme-name { color: var(--text-primary); }

@media (max-width: 1023px) {
  .theme-backdrop { display: block; }

  .theme-sheet-handle {
    display: block;
    width: 36px;
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    margin: 0.875rem auto 0;
  }

  .theme-sheet {
    top: auto !important;
    right: 0 !important;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 0 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    opacity: 1;
    visibility: visible;
    transform: translateY(100%);
    transform-origin: bottom center;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.2);
  }
  .theme-sheet.open { transform: translateY(0); }

  .theme-sheet-header {
    padding: 0.875rem 0;
    margin-bottom: 0.875rem;
  }

  .theme-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* =============================================================
   FAQ Accordion
   ============================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12), 0 0 0 1px rgba(124, 58, 237, 0.08);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-item[open] .faq-question {
  color: var(--accent-violet);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin: 0;
}

/* =============================================================
   Trust Bar (global — used on multiple pages)
   ============================================================= */
.trust-bar {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.trust-badge:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.12);
}

/* =============================================================
   Enquire Form — global rules for child-component elements
   (InputText/InputSelect/InputTextArea/ValidationMessage don't
   receive the Blazor CSS scope attribute, so these must be global)
   ============================================================= */

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}

.form-input.has-icon {
  padding-left: 2.6rem;
}

.form-input:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px var(--bg-surface) inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  caret-color: var(--text-primary);
}

.form-select-input {
  cursor: pointer;
  padding-right: 2.5rem;
}

.form-select-input option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.field-error {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 0.1rem;
  flex: 1;
}
