/* ============================================================
   Samahro — premium dark-luxury, AI-futuristic stylesheet
   Single file, vanilla CSS, no preprocessor.
   ============================================================ */

:root {
  --bg: #020617;
  --bg-secondary: #071a3d;
  --primary: #0a5bff;
  --cyan: #00d4ff;
  --champagne: #d6b56d;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-glow: 0 0 40px -10px rgba(0, 212, 255, 0.35);
  --shadow-soft: 0 30px 80px -40px rgba(10, 91, 255, 0.4);

  --container: 1200px;
  --header-h: 80px;

  --font-sans:
    "Inter", "Manrope", "Sora", "Plus Jakarta Sans",
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  font-weight: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(0, 212, 255, 0.35);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- ambient backgrounds ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(10, 91, 255, 0.35), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(0, 212, 255, 0.18), transparent 55%),
    radial-gradient(700px 400px at 10% 30%, rgba(214, 181, 109, 0.08), transparent 60%);
}

.site-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

main {
  padding-top: var(--header-h);
}

.section {
  padding: 64px 0;
}

@media (min-width: 1024px) {
  .section { padding: 96px 0; }
}

.section-tight {
  padding: 40px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- typography utilities ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.85);
  margin: 0 0 12px;
}

.eyebrow.champagne { color: rgba(214, 181, 109, 0.85); }

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.section-heading.left {
  text-align: left;
  margin: 0;
}

.section-title {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 3rem);
  line-height: 1.1;
}

.section-desc {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .section-desc { font-size: 1.0625rem; }
}

.gradient-text {
  background: linear-gradient(90deg, #f8fafc 0%, #e2e8f0 40%, #00d4ff 70%, #d6b56d 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.gradient-champagne {
  background: linear-gradient(135deg, #d6b56d 0%, #f1e3b8 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.muted-small {
  font-size: 12px;
  color: rgba(203, 213, 225, 0.7);
  line-height: 1.6;
}

/* ---------- cards / glass ---------- */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--card);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  padding: 28px;
  transition: border-color 200ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.card.lift:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.card-pad-lg { padding: 36px; }

@media (min-width: 640px) {
  .card { padding: 32px; }
  .card-pad-lg { padding: 44px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px -5px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.4);
}

.btn-ghost {
  color: var(--muted);
  padding: 13px 16px;
}
.btn-ghost:hover { color: var(--ink); }

.btn-champagne {
  color: var(--champagne);
  border: 1px solid rgba(214, 181, 109, 0.4);
  background: transparent;
}
.btn-champagne:hover { background: rgba(214, 181, 109, 0.1); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.btn-row.start { justify-content: flex-start; }
.btn-col { display: flex; flex-direction: column; gap: 12px; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}

.site-header.scrolled {
  background: rgba(2, 6, 23, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 0 24px -8px rgba(0, 212, 255, 0.35);
}

.brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }

.nav-main {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1024px) { .nav-main { display: flex; } }

.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 200ms ease, background 200ms ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }

.nav-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 1024px) { .nav-actions { display: flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  color: var(--ink);
}

@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* programs dropdown (desktop) */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  width: 280px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
}

.dropdown-inner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: rgba(7, 26, 61, 0.95);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  padding: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.dropdown-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  transition: background 180ms ease, color 180ms ease;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

/* mobile menu panel */
.mobile-panel {
  display: none;
  padding: 0 0 20px;
}

.mobile-panel.open { display: block; }

@media (min-width: 1024px) { .mobile-panel { display: none !important; } }

.mobile-panel-inner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  padding: 16px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.mobile-link:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }

.mobile-section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.75);
  padding: 14px 14px 6px;
}

.mobile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 64px;
}

@media (min-width: 1024px) {
  .hero { padding: 80px 0 96px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.9);
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(0, 212, 255, 0.7);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1.05;
}

.hero-sub {
  max-width: 660px;
  margin: 22px auto 0;
  font-size: 1rem;
  color: var(--muted);
}

@media (min-width: 640px) { .hero-sub { font-size: 1.0625rem; } }

.hero-trust {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(203, 213, 225, 0.8);
}

.hero-mockup {
  margin: 56px auto 0;
  max-width: 960px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  box-shadow: var(--shadow-soft);
}

.hero-mockup-inner {
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(7, 26, 61, 0.85), var(--bg) 80%);
}

@media (min-width: 640px) { .hero-mockup-inner { padding: 40px; } }

.hero-mockup-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .hero-mockup-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hero-tile {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  text-align: center;
}

.hero-tile-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.hero-tile-sub { margin-top: 4px; font-size: 12px; color: rgba(203, 213, 225, 0.8); }

/* ---------- page hero ---------- */
.page-hero {
  padding: 56px 0 48px;
  text-align: center;
}

@media (min-width: 1024px) {
  .page-hero { padding: 72px 0 64px; }
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 660px;
  margin: 24px auto 0;
}

/* ---------- grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mt-14 { margin-top: 56px; }
.mt-10 { margin-top: 40px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.text-center { text-align: center; }

/* ---------- metric cards ---------- */
.metric-value {
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #d6b56d 0%, #f1e3b8 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.metric-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- who-we-help / pillar cards ---------- */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cyan);
  margin-bottom: 16px;
}

.who-title {
  font-size: 1.0625rem;
  color: var(--ink);
}

.who-body {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- program card ---------- */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card .icon-chip { margin-bottom: 20px; height: 44px; width: 44px; border-radius: 12px; }

.program-card h3 {
  font-size: 1.25rem;
  color: var(--ink);
}

.program-card p {
  margin-top: 12px;
  flex: 1;
  font-size: 14px;
}

.program-card-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 212, 255, 0.9);
}

.program-card-cta svg { transition: transform 200ms ease; }
.program-card:hover .program-card-cta svg { transform: translateX(4px); }

/* ---------- founder card ---------- */
.founder-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

@media (min-width: 768px) {
  .founder-card { flex-direction: row; }
}

.founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

.founder-name {
  font-size: 1.5rem;
  color: var(--ink);
}

.founder-title {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 212, 255, 0.9);
}

.founder-bio {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 200ms ease, color 200ms ease;
}

.chip-link:hover { border-color: rgba(0, 212, 255, 0.4); color: var(--cyan); }
.chip-link.gold:hover { border-color: rgba(214, 181, 109, 0.5); color: var(--champagne); }

/* ---------- trust chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  font-size: 14px;
  color: var(--muted);
  transition: color 200ms ease, border-color 200ms ease;
}

.chip:hover { color: var(--ink); border-color: rgba(0, 212, 255, 0.3); }

.trust-caveat {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 12px;
  color: rgba(203, 213, 225, 0.7);
}

/* ---------- final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) { .final-cta { padding: 56px; } }

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.final-cta::before {
  width: 320px; height: 320px;
  top: -130px; right: -130px;
  background: rgba(10, 91, 255, 0.3);
}

.final-cta::after {
  width: 320px; height: 320px;
  bottom: -130px; left: -100px;
  background: rgba(0, 212, 255, 0.2);
}

.final-cta-inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .final-cta-inner { grid-template-columns: 1.4fr 1fr; }
}

.final-cta-title {
  margin-top: 12px;
  font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.6rem);
  line-height: 1.1;
}

/* ---------- insight cards ---------- */
.insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insight-tag {
  align-self: flex-start;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.85);
}

.insight-title {
  margin-top: 20px;
  font-size: 1.0625rem;
  color: var(--ink);
}

.insight-excerpt {
  margin-top: 12px;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
}

.insight-meta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 212, 255, 0.85);
}

/* ---------- program detail panels ---------- */
.panel-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.85);
}

.panel-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.6;
}

.panel-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--cyan);
  flex-shrink: 0;
}

.modules-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  font-size: 14px;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.55;
}

.module-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
}

/* ---------- contact form ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; }
}

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field { display: block; }
.field-full { grid-column: 1 / -1; }

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.85);
}

.field-required { color: var(--cyan); margin-left: 4px; }

.field-input,
.field-select,
.field-textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(2, 6, 23, 0.5);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color 200ms ease, background 200ms ease;
}

.field-textarea { resize: vertical; min-height: 120px; }

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(2, 6, 23, 0.7);
}

.field-input::placeholder,
.field-textarea::placeholder { color: rgba(203, 213, 225, 0.45); }

.field.has-error .field-input,
.field.has-error .field-select,
.field.has-error .field-textarea {
  border-color: rgba(251, 113, 133, 0.6);
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #fda4af;
}

.field.has-error .field-error { display: block; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show { display: block; }
form.submitted { display: none; }

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  box-shadow: var(--shadow-glow);
  margin: 0 auto;
}

.success-title {
  margin-top: 20px;
  font-size: 1.5rem;
  color: var(--ink);
}

.success-body {
  margin: 12px auto 0;
  max-width: 380px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(2, 6, 23, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
}

.footer-inner {
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 24px -8px rgba(0, 212, 255, 0.35);
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.footer-row { display: inline-flex; align-items: center; gap: 12px; }

.footer-desc {
  margin-top: 16px;
  max-width: 480px;
  font-size: 14px;
  color: var(--muted);
}

.footer-contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.footer-contact a:hover { color: var(--cyan); }

.footer-heading {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.85);
}

.footer-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

.footer-disclaimer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: rgba(203, 213, 225, 0.7);
  line-height: 1.65;
}

.footer-copyright {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(203, 213, 225, 0.6);
}

/* ---------- 404 ---------- */
.not-found {
  text-align: center;
  padding: 96px 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.not-found h1 {
  margin-top: 12px;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3rem);
}

/* ---------- small SVG icons ---------- */
.icon { display: inline-block; vertical-align: middle; }

/* ---------- print ---------- */
@media print {
  .site-header,
  .site-footer,
  .site-bg,
  .site-grid { display: none !important; }
  main { padding-top: 0 !important; }
  body { background: #fff; color: #000; }
}
