/* =========================================================
   Alfa Hoki Digital — Design System
   Modern SaaS Dashboard 2026 · Light, clean, premium
   ========================================================= */

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

:root {
  /* Brand palette (as specified in brief) */
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --cyan: #06b6d4;
  --lime: #84cc16;
  --navy: #0f172a;
  --text: #111827;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;

  /* Derived tokens */
  --primary-soft: rgba(37, 99, 235, 0.08);
  --cyan-soft: rgba(6, 182, 212, 0.10);
  --lime-soft: rgba(132, 204, 22, 0.12);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --sidebar-w: 280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 7px 14px;
  border-radius: 999px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-soft);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   Background mesh
   ========================================================= */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 480px at 82% -8%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(640px 420px at 100% 30%, rgba(6,182,212,0.10), transparent 60%),
    radial-gradient(560px 400px at 60% 100%, rgba(132,204,22,0.08), transparent 60%),
    var(--bg);
}

/* =========================================================
   Sidebar
   ========================================================= */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-w);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  z-index: 1000;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 26px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.sidebar-brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.sidebar-brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
  line-height: 1.2;
}

.sidebar-brand .name span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
}

.sidebar-nav .nav-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 12px;
  margin-bottom: 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}

.sidebar-link i { font-size: 16px; width: 18px; text-align: center; }

.sidebar-link:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.sidebar-link.active {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.sidebar-cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.sidebar-toggle {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1100;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--navy);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.35);
  z-index: 999;
}

/* =========================================================
   Main layout
   ========================================================= */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

.container-fluid.app-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 110px 0; }
section:first-of-type { padding-top: 60px; }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-top: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 16.5px;
  margin-top: 14px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-ahd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-ahd-primary {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,99,235,0.28);
}
.btn-ahd-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 32px rgba(37,99,235,0.34); }

.btn-ahd-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ahd-ghost:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }

/* =========================================================
   Hero / Overview
   ========================================================= */
.hero-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-top: 18px;
}

.hero-copy p.lead {
  color: var(--muted);
  font-size: 18px;
  margin-top: 20px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 460px;
}

.dash-card {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.dash-main {
  top: 0;
  left: 0;
  width: 100%;
  height: 320px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.dash-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-main-head .dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  margin-right: 5px;
}

.dash-main-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-graph {
  height: 130px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--primary-soft), transparent);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.dash-graph svg { width: 100%; height: 100%; display: block; }

.dash-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-mini-stats .mini {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.dash-mini-stats .mini .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
}

.dash-mini-stats .mini .lbl {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.metric-float {
  width: 208px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.metric-float .icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.metric-float .num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  counter-reset: num;
}

.metric-float .lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}

.metric-1 { top: 40px; right: -10px; }
.metric-1 .icon-wrap { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

.metric-2 { top: 210px; right: 30px; }
.metric-2 .icon-wrap { background: linear-gradient(135deg, var(--cyan), var(--primary)); }

.metric-3 { bottom: 30px; left: -20px; }
.metric-3 .icon-wrap { background: linear-gradient(135deg, var(--lime), var(--cyan)); }

.metric-4 { bottom: -14px; left: 150px; }
.metric-4 .icon-wrap { background: linear-gradient(135deg, var(--primary-dark), var(--navy)); }

/* =========================================================
   Company Story
   ========================================================= */
.story-section { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }

.story-copy .section-tag { margin-bottom: 14px; display: block; }
.story-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 22px; }
.story-copy p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }

.value-stack { display: flex; flex-direction: column; gap: 16px; }

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.25);
}

.value-card .icn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.value-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.value-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* =========================================================
   Ecosystem
   ========================================================= */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.eco-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.eco-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--eco-glow, var(--primary-soft)), transparent 70%);
}

.eco-card.c1 { --eco-glow: rgba(37,99,235,0.14); }
.eco-card.c2 { --eco-glow: rgba(6,182,212,0.16); }
.eco-card.c3 { --eco-glow: rgba(132,204,22,0.16); }
.eco-card.c4 { --eco-glow: rgba(100,116,139,0.14); background: var(--bg); }

.eco-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.eco-card.c1 .eco-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.eco-card.c2 .eco-icon { background: linear-gradient(135deg, var(--cyan), var(--primary)); }
.eco-card.c3 .eco-icon { background: linear-gradient(135deg, var(--lime), var(--cyan)); }
.eco-card.c4 .eco-icon { background: var(--muted); }

.eco-card h3 { font-size: 18px; margin-bottom: 8px; position: relative; z-index: 1; }
.eco-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; position: relative; z-index: 1; }

.eco-nodes {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.eco-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.eco-node:first-child { border-top: none; }

.eco-node .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
}

.eco-node .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.eco-card.c1 .eco-node .dot { background: var(--primary); }
.eco-card.c2 .eco-node .dot { background: var(--cyan); }
.eco-card.c3 .eco-node .dot { background: var(--lime); }
.eco-card.c4 .eco-node .dot { background: var(--muted); }

/* =========================================================
   Recognition / Proof tiles
   ========================================================= */
.proof-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.proof-tile {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proof-tile:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.proof-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  background: var(--primary-soft);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.proof-body h4 { font-size: 15.5px; margin-bottom: 4px; }
.proof-body p { font-size: 13.5px; color: var(--muted); }

.proof-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  background: var(--cyan-soft);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* =========================================================
   Services / Capabilities
   ========================================================= */
.services-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.services-intro { position: sticky; top: 40px; }
.services-intro h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 14px; }
.services-intro p { color: var(--muted); margin-top: 16px; font-size: 15.5px; }

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

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.25);
}

.service-card:nth-child(3n+1) { grid-column: span 2; display: flex; align-items: center; gap: 22px; }
.service-card:nth-child(3n+1) .svc-body { flex: 1; }

.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-soft), var(--cyan-soft));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.service-card:nth-child(3n+1) .svc-icon { margin-bottom: 0; }

.service-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); }

/* =========================================================
   Process timeline
   ========================================================= */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--lime));
  opacity: 0.35;
}

.process-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.process-step .step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.process-step .step-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.process-step h4 { font-size: 17px; margin: 6px 0 8px; }
.process-step p { font-size: 13.5px; color: var(--muted); }

/* =========================================================
   Vision / Mission / Values
   ========================================================= */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vision-card {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 42px 44px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.vision-card::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.35), transparent 70%);
  top: -140px;
  right: -100px;
}

.vision-card .section-tag { color: rgba(255,255,255,0.75); position: relative; z-index: 1; }
.vision-card h3 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin: 12px 0; position: relative; z-index: 1; max-width: 640px; }

.mission-card, .values-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.mission-card h4, .values-card h4 { font-size: 16px; margin-bottom: 18px; }

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
}
.mission-list li:first-child { border-top: none; padding-top: 0; }

.mission-list li i { color: var(--lime); font-size: 16px; margin-top: 2px; }

.values-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-chip {
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
}

/* =========================================================
   Closing CTA + Contact form
   ========================================================= */
.closing-section { padding-bottom: 60px; }

.closing-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.closing-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(37,99,235,0.35), transparent 60%),
    radial-gradient(400px 260px at 0% 100%, rgba(132,204,22,0.18), transparent 60%);
}

.closing-copy { position: relative; z-index: 1; }
.closing-copy .section-tag { color: rgba(255,255,255,0.6); }
.closing-copy h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 14px 0 16px; }
.closing-copy p { color: rgba(255,255,255,0.72); font-size: 16px; margin-bottom: 30px; max-width: 460px; }

.closing-panel .btn-ahd-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.18); }
.closing-panel .btn-ahd-ghost:hover { border-color: rgba(255,255,255,0.4); }

.contact-form {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.contact-form .form-label {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14.5px;
}

.contact-form .form-control::placeholder { color: rgba(255,255,255,0.35); }
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.25);
  color: #fff;
}

.contact-form select.form-select option { color: #111827; }

.contact-form .btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6,182,212,0.35); }
.contact-form .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 40px 0 50px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--muted); }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 13px; color: var(--muted); width: 100%; margin-top: 10px; }

/* =========================================================
   Toast
   ========================================================= */
.ahd-toast-wrap {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ahd-toast {
  min-width: 280px;
  max-width: 360px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ahd-toast.show { transform: translateX(0); }

.ahd-toast .icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 14px;
}

.ahd-toast.success .icon { background: var(--lime); }
.ahd-toast.error .icon { background: #ef4444; }

.ahd-toast .msg { font-size: 13.5px; color: var(--text); line-height: 1.4; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .services-section { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .sidebar-toggle { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.show { display: block; }
  .main-content { margin-left: 0; }
  .container-fluid.app-container { padding: 0 24px; }

  .hero-section { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 20px; }
  .story-section { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .process-timeline::before { display: none; }
  .vision-grid { grid-template-columns: 1fr; }
  .vision-card { grid-column: span 1; }
  .closing-panel { grid-template-columns: 1fr; padding: 36px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(3n+1) { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .proof-tile { grid-template-columns: 44px 1fr; }
  .proof-label { grid-column: span 2; justify-self: start; margin-top: 4px; }
  section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .app-container { padding: 0 18px !important; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .metric-float { width: 168px; padding: 14px; }
  .metric-1 { top: 16px; right: -6px; }
  .metric-2 { top: 190px; right: 4px; }
  .metric-3 { bottom: 60px; left: -10px; }
  .metric-4 { display: none; }
  .hero-visual { height: 420px; }
}

/* =========================================================
   Image logo support
   Logo path: assets/img/logo.png
   Favicon path: assets/img/favicon.png
   ========================================================= */
.sidebar-brand .logo-mark {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(37, 99, 235, 0.10);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.sidebar-brand .logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
