/* ================================================
   Atiragram — Shared Styles v2
   Improved readability: contrast, fonts, spacing
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

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

:root {
  --bg:      #05111f;
  --bg2:     #091c30;
  --bg3:     #0e2540;
  --bg4:     #133050;
  --accent:  #4a9eff;
  --alight:  #7db9ff;
  --cyan:    #38d9f5;
  --glow:    rgba(74,158,255,0.2);
  --glowbg:  rgba(74,158,255,0.08);
  --text:    #f0f5ff;
  --muted:   #9ab8d8;
  --dim:     #4d6e8c;
  --border:  rgba(74,158,255,0.18);
  --bordbr:  rgba(74,158,255,0.4);
  --r:       8px;
  --rlg:     12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: #ffffff;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
h4 { font-size: 0.92rem; font-weight: 600; }

em { color: var(--alight); font-style: normal; }
p { color: var(--muted); }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,17,31,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 54px;
  display: flex; align-items: center;
  padding: 0 clamp(1rem, 5vw, 3rem);
  justify-content: space-between;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%; max-width: 1100px; margin: 0 auto;
}
.brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.2rem;
  letter-spacing: -0.02em; color: #fff;
}
.brand em { color: var(--alight); }
nav ul {
  list-style: none; display: flex; gap: 0.15rem;
  align-items: center;
}
nav ul a {
  font-size: 0.84rem; font-weight: 500;
  color: var(--muted);
  padding: 0.38rem 0.72rem; border-radius: var(--r);
  transition: color 0.18s, background 0.18s;
}
nav ul a:hover, nav ul a.active {
  color: #fff; background: var(--bg3);
}
nav ul .nav-cta {
  background: var(--accent); color: #fff;
  font-weight: 600; margin-left: 0.25rem;
}
nav ul .nav-cta:hover {
  background: var(--alight); color: var(--bg);
}
.menu-btn {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--text); padding: 0.25rem;
}

/* ── Wrapper ── */
.wrap {
  max-width: 1100px; margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

/* ── Sections ── */
section { padding: 52px 0; }
section + section { border-top: 1px solid var(--border); }

.section-tag {
  display: inline-block;
  font-size: 0.71rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--alight);
  background: var(--glowbg);
  border: 1px solid rgba(74,158,255,0.25);
  padding: 0.25rem 0.65rem; border-radius: 4px;
  margin-bottom: 0.6rem;
}
.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin-top: 0.45rem; max-width: 540px; }

/* ── Hero ── */
.hero { padding: 60px 0 44px; }
.hero-eyebrow {
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--alight); margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero-lead {
  color: var(--muted); font-size: 1.05rem;
  max-width: 520px; margin-bottom: 1.8rem;
}
.hero-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

/* ── Page hero ── */
.page-hero { padding: 46px 0 34px; }
.page-hero h1 { margin: 0.5rem 0 0.65rem; }
.page-hero > p { color: var(--muted); max-width: 540px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 1.25rem; border-radius: var(--r);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.18s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #6aadff; color: #05111f; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--bordbr);
}
.btn-outline:hover { border-color: var(--alight); color: var(--alight); transform: translateY(-1px); }

/* ── Stats strip ── */
.stats-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.stat-item {
  flex: 1; min-width: 140px;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: #fff;
}
.stat-lbl {
  font-size: 0.73rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

/* ── Cards ── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rlg); padding: 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--bordbr);
  box-shadow: 0 4px 24px var(--glow);
}
.card-icon { font-size: 1.3rem; margin-bottom: 0.65rem; }
.card h3 { margin-bottom: 0.35rem; color: #fff; }
.card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--alight); margin-top: 0.9rem;
  transition: gap 0.15s;
}
.card-link:hover { gap: 0.45rem; }

/* ── Grids ── */
.g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.9rem; }
.g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0.9rem; }
.g4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }

/* ── Numbered badge ── */
.num-badge {
  font-family: 'Outfit', sans-serif; font-size: 0.68rem;
  font-weight: 800; color: var(--accent);
  background: var(--glowbg); border: 1px solid var(--border);
  border-radius: 4px; padding: 0.15rem 0.38rem;
  text-align: center;
}

/* ── Check list ── */
.check-list { display: flex; flex-direction: column; gap: 0.8rem; }
.check-item { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-item::before {
  content: '✓'; color: var(--alight);
  font-weight: 700; flex-shrink: 0; margin-top: 0.1rem;
  font-size: 0.85rem;
}
.check-item h4 { font-size: 0.9rem; margin-bottom: 0.12rem; color: #fff; }
.check-item p { color: var(--muted); font-size: 0.86rem; }

/* ── Info row ── */
.info-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding: 1.25rem 1.5rem; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r);
}
.info-cell { display: flex; gap: 0.65rem; align-items: flex-start; }
.info-cell h5 {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.18rem;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
}
.info-cell p { font-size: 0.88rem; color: var(--text); }

/* ── CTA banner ── */
.cta-bar {
  background: var(--bg2); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--rlg); padding: 1.6rem 2rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta-bar-tag {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--alight); margin-bottom: 0.25rem;
}
.cta-bar h3 { font-size: 1.1rem; color: #fff; }
.cta-bar p { color: var(--muted); font-size: 0.88rem; margin-top: 0.25rem; max-width: 460px; }

/* ── Tech tags ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.65rem; }
.tech-tag {
  background: var(--bg3); color: var(--muted);
  font-size: 0.74rem; padding: 0.22rem 0.58rem;
  border-radius: 4px; border: 1px solid var(--border);
}

/* ── Alert ── */
.alert {
  background: rgba(74,158,255,0.1);
  border: 1px solid rgba(74,158,255,0.3);
  border-radius: var(--r);
  padding: 0.75rem 1rem; font-size: 0.85rem;
  color: var(--alight); margin-bottom: 1.25rem;
  line-height: 1.5;
}
.alert strong { color: #fff; }

/* ── BFSG data table ── */
.data-row {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; margin-top: 1.5rem;
}
.data-cell {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.data-cell:nth-child(odd) {
  color: var(--muted); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600;
}
.data-cell:nth-child(even) { color: var(--text); font-weight: 500; }
.data-cell:nth-last-child(-n+2) { border-bottom: none; }

/* ── Value cards ── */
.value-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--rlg); padding: 1.25rem;
}
.value-card h3 { margin-bottom: 0.35rem; font-size: 0.97rem; color: #fff; }
.value-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ── Service number ── */
.svc-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; font-weight: 800;
  color: var(--accent); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}

/* ── Forms ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.32rem; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
}
input, textarea, select {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 0.6rem 0.9rem;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; transition: border-color 0.18s;
  outline: none; width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: var(--bg3);
}
textarea { min-height: 112px; resize: vertical; }
select option { background: var(--bg2); color: var(--text); }
input::placeholder, textarea::placeholder { color: var(--dim); }

/* ── Success message ── */
.form-success {
  background: rgba(56,217,245,0.1);
  border: 1px solid rgba(56,217,245,0.3);
  border-radius: var(--r); padding: 1rem 1.25rem;
  color: var(--cyan); font-size: 0.92rem; display: none;
  margin-bottom: 1rem;
}

/* ── Footer ── */
.footer-wrap {
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1rem, 5vw, 2.5rem) 0;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2rem;
}
.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: #fff; margin-bottom: 0.35rem;
}
.footer-brand-name em { color: var(--alight); }
.footer-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.55; max-width: 240px; }
.footer-col h5 {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 0.65rem;
  font-family: 'DM Sans', sans-serif;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: var(--muted);
  padding: 0.2rem 0; transition: color 0.18s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1100px; margin: 0 auto;
  padding: 1rem clamp(1rem, 5vw, 2.5rem);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.77rem; color: var(--dim); }

/* ── HR divider ── */
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-btn { display: flex; }
  nav ul {
    display: none; position: absolute;
    top: 54px; left: 0; right: 0;
    background: rgba(5,17,31,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 0.5rem;
  }
  nav ul.open { display: flex; }
  nav ul a { padding: 0.6rem 1rem; display: block; }
  nav ul .nav-cta { margin-left: 0; margin-top: 0.25rem; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .data-row { grid-template-columns: 1fr; }
  .data-cell:nth-child(odd) { padding-bottom: 0.2rem; border-bottom: none; }
  .cta-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .g3, .g2, .g4 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .stats-strip { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}
