/* Murrasena AI — styles.css */
/* ---------- Design tokens ---------- */
:root {
  --navy: #1F3A5F;
  --navy-deep: #16293f;
  --accent: #2F7E8C;
  --accent-soft: #E3EEF0;
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --text: #26303B;
  --muted: #5B6875;
  --border: #E4E9F0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(31, 58, 95, 0.08);
  --shadow-sm: 0 4px 14px rgba(31, 58, 95, 0.06);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
}
.nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav a {
  color: var(--text);
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.98rem;
}
.nav a:hover { background: var(--accent-soft); color: var(--navy); text-decoration: none; }
.nav a.active { color: var(--navy); background: var(--accent-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(47, 126, 140, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 2.85rem;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 40ch;
}
.hero-media {
  position: relative;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  height: 420px;
}
.hero-media .float-panel {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  max-width: 230px;
}
.hero-media .float-panel strong { color: var(--navy); display: block; }
.hero-media .float-panel span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); margin-left: 10px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.panel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.panel .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.panel .icon svg { width: 24px; height: 24px; }
.panel h3 { color: var(--navy); font-size: 1.18rem; margin-bottom: 10px; }
.panel p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Split / asymmetric ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-media img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-body h2 { font-size: 1.85rem; color: var(--navy); margin-bottom: 16px; }
.split-body p { color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 8px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 32px;
  color: #fff;
}
.stat h3 { font-size: 2.1rem; color: #fff; margin-bottom: 4px; }
.stat p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* ---------- Alt background band ---------- */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.step .num {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.step h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.info-block { margin-bottom: 26px; }
.info-block h4 { color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.info-block p { color: var(--muted); }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
}
.cta h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 0 auto 26px; }
.cta .btn-primary { background: #fff; color: var(--navy); }
.cta .btn-primary:hover { background: var(--accent-soft); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: 2.4rem; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.4px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { color: var(--navy); font-size: 1.4rem; margin: 34px 0 12px; }
.prose h3 { color: var(--navy); font-size: 1.1rem; margin: 22px 0 8px; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { color: var(--muted); margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }

/* ---------- Table (details) ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.data-table th { background: var(--accent-soft); color: var(--navy); font-weight: 600; width: 40%; }
.data-table td { color: var(--muted); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-brand .logo {
  width: 34px; height: 34px; border-radius: 9px; background: var(--accent);
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.site-footer p { font-size: 0.95rem; max-width: 34ch; }
.footer-col h5 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}
.footer-bottom a { color: rgba(255,255,255,0.75); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media img { height: 340px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2.15rem; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 12px; gap: 4px; }
  .nav a { display: block; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2, .stats, .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .hero-media .float-panel { left: 0; }
}
