/* ============================================================
   Sanuragam Info Solutions — stylesheet
   ============================================================ */

:root {
  --bg: #fbfcfe;
  --bg-soft: #f4f7fb;
  --bg-alt: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --line: #dfe5ee;
  --line-soft: #e8edf4;
  --text: #0f1b32;
  --text-soft: #46546c;
  --text-mute: #76839a;
  --brand: #1d56d6;
  --brand-ink: #15409e;
  --brand-2: #0e7c86;
  --accent: #5b3fd6;
  --grad: linear-gradient(100deg, #1d56d6 0%, #0e7c86 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 48px -28px rgba(15, 27, 50, 0.35);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, .brand__text { font-family: "Sora", "Inter", sans-serif; }

a { color: inherit; text-decoration: none; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 14px 30px -12px rgba(29, 86, 214, 0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(29, 86, 214, 0.55); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: #ffffff;
}
.btn--ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 252, 254, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { color: var(--brand); display: flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.brand__text em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.92rem; color: var(--text-soft); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: rgba(29, 86, 214, 0.12);
  border: 1px solid rgba(29, 86, 214, 0.35);
  color: var(--text) !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav__cta:hover { background: rgba(29, 86, 214, 0.22); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29, 86, 214, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 86, 214, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero__glow--1 { width: 540px; height: 540px; background: radial-gradient(circle, rgba(29, 86, 214, 0.18), transparent 70%); top: -160px; right: -120px; }
.hero__glow--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(14, 124, 134, 0.14), transparent 70%); top: 60px; left: -160px; }
.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 26px; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); max-width: 660px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; max-width: 760px; }
.hero__stats li { border-top: 1px solid var(--line); padding-top: 18px; }
.hero__stats strong { display: block; font-family: "Sora"; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 8px; }
.hero__stats span { font-size: 0.88rem; color: var(--text-mute); }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 38px 0; background: var(--bg-alt); }
.trustbar__label { text-align: center; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--text-mute); margin-bottom: 22px; }
.trustbar__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; list-style: none; }
.trustbar__logos li { font-family: "Sora"; font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.3rem); color: var(--text-soft); opacity: 0.72; transition: opacity 0.25s, color 0.25s; letter-spacing: -0.01em; }
.trustbar__logos li:hover { opacity: 1; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 18px; }
.section__sub { font-size: 1.08rem; color: var(--text-soft); }

/* ---------- Domains ---------- */
.domain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.domain-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 27, 50, 0.04), 0 10px 30px -22px rgba(15, 27, 50, 0.28);
}
.domain-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(29, 86, 214, 0.1), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.domain-card:hover { transform: translateY(-5px); border-color: rgba(29, 86, 214, 0.4); box-shadow: 0 24px 50px -28px rgba(15, 27, 50, 0.4); }
.domain-card:hover::before { opacity: 1; }
.domain-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29, 86, 214, 0.1); color: var(--brand);
  margin-bottom: 22px;
}
.domain-card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.domain-card p { font-size: 0.96rem; color: var(--text-soft); margin-bottom: 18px; }
.domain-card__client { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-2); text-transform: none; }
.domain-card--accent { background: linear-gradient(160deg, rgba(29, 86, 214, 0.12), rgba(91, 63, 214, 0.08)); border-color: rgba(91, 63, 214, 0.3); }
.domain-card--accent .domain-card__icon { background: rgba(91, 63, 214, 0.16); color: var(--accent); }
.domain-card__link { font-size: 0.9rem; font-weight: 600; color: var(--brand); }
.domain-card__link:hover { color: var(--brand-2); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.client {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  box-shadow: 0 1px 2px rgba(15, 27, 50, 0.04), 0 10px 30px -22px rgba(15, 27, 50, 0.28);
}
.client:hover { transform: translateY(-4px); border-color: rgba(29, 86, 214, 0.35); box-shadow: 0 24px 50px -28px rgba(15, 27, 50, 0.4); }
.client__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.client__head h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 6px; }
.client__role { font-size: 0.86rem; color: var(--text-mute); }
.client__tag {
  flex-shrink: 0;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(14, 124, 134, 0.1); color: var(--brand-2);
  border: 1px solid rgba(14, 124, 134, 0.25);
}
.client__points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.client__points li { position: relative; padding-left: 24px; font-size: 0.95rem; color: var(--text-soft); }
.client__points li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}

/* ---------- Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.cap {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  box-shadow: 0 1px 2px rgba(15, 27, 50, 0.04);
}
.cap:hover { border-color: rgba(29, 86, 214, 0.35); transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(15, 27, 50, 0.35); }
.cap h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.cap h3::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 16px; }
.cap p { font-size: 0.94rem; color: var(--text-soft); }

/* ---------- Stack ---------- */
.stack { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 38px; background: var(--bg-soft); }
.stack__title { font-size: 1.3rem; font-weight: 600; margin-bottom: 28px; letter-spacing: -0.01em; }
.stack__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; }
.stack__group h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.stack__group ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.stack__group li { font-size: 0.92rem; color: var(--text-soft); }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.approach__list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.approach__list li { position: relative; padding-left: 30px; font-size: 0.98rem; color: var(--text-soft); }
.approach__list li strong { color: var(--text); }
.approach__list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 5px;
  background: rgba(14, 124, 134, 0.14);
  border: 1px solid rgba(14, 124, 134, 0.4);
}
.approach__list li::after {
  content: ""; position: absolute; left: 5px; top: 11px;
  width: 5px; height: 8px; border: solid var(--brand-2); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.approach__timeline { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px; position: sticky; top: 100px; box-shadow: 0 1px 2px rgba(15, 27, 50, 0.04), 0 16px 40px -30px rgba(15, 27, 50, 0.3); }
.approach__timeline-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 24px; }
.timeline { list-style: none; position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 22px; display: grid; grid-template-columns: 1fr; gap: 1px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -22px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--brand);
}
.timeline li:first-child::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(29, 86, 214, 0.18); }
.timeline__year { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; color: var(--brand-2); }
.timeline__org { font-size: 0.98rem; font-weight: 600; color: var(--text); }
.timeline__role { font-size: 0.82rem; color: var(--text-mute); }

/* ---------- Capability groups ---------- */
.cap-group__title { font-family: "Sora", sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.cap-grid + .cap-group__title { margin-top: 48px; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 40px; }
.partner {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(15, 27, 50, 0.04), 0 16px 40px -30px rgba(15, 27, 50, 0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.partner:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(15, 27, 50, 0.4); }
.partner__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.partner__avatar {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
  color: #fff; background: linear-gradient(135deg, #1d56d6, #0e7c86);
}
.partner__avatar--2 { background: linear-gradient(135deg, #0e7c86, #5b3fd6); }
.partner__head h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
.partner__title { font-size: 0.85rem; color: var(--brand); font-weight: 600; }
.partner__bio { font-size: 0.96rem; color: var(--text-soft); margin-bottom: 18px; }
.partner__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.partner__tags li { font-size: 0.74rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(29, 86, 214, 0.08); color: var(--brand-ink); border: 1px solid rgba(29, 86, 214, 0.16); }
.partner__exp { border-top: 1px solid var(--line-soft); padding-top: 18px; }
.partner__exp h4 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 12px; }
.partner__exp ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.partner__exp li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--text-soft); }
.partner__exp li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* ---------- Why wrap ---------- */
.why-wrap { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px 36px; box-shadow: 0 1px 2px rgba(15, 27, 50, 0.04); }
.why-wrap__title { font-size: 1.15rem; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.01em; }
.why-wrap .approach__list { margin-top: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; }

/* ---------- CTA ---------- */
.cta { padding: 110px 0; }
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 760px; margin: 0 auto;
  background: linear-gradient(160deg, #ffffff 0%, #eef3fc 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 64px 48px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(15, 27, 50, 0.4);
}
.cta__glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 420px; height: 420px; background: radial-gradient(circle, rgba(29, 86, 214, 0.14), transparent 65%); filter: blur(70px); }
.cta__inner > * { position: relative; z-index: 1; }
.cta__inner .eyebrow { display: inline-block; }
.cta__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.cta__sub { font-size: 1.08rem; color: var(--text-soft); max-width: 560px; margin: 0 auto 36px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.cta__meta { font-size: 0.88rem; color: var(--text-mute); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 50px 0 40px; background: var(--bg-alt); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 30px; align-items: center; }
.footer__brand .brand__text { flex-direction: row; gap: 6px; align-items: baseline; margin-bottom: 8px; }
.footer__brand em { font-size: 0.8rem; letter-spacing: 0.1em; }
.footer__brand p { font-size: 0.88rem; color: var(--text-mute); max-width: 320px; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.9rem; color: var(--text-soft); transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { font-size: 0.82rem; color: var(--text-mute); text-align: right; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .domain-grid, .cap-grid, .stack__groups { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; gap: 40px; }
  .approach__timeline { position: static; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; gap: 24px; }
  .footer__copy { text-align: left; }
}

@media (max-width: 680px) {
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px); padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform 0.35s var(--ease); align-items: stretch; }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: flex; }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 130px 0 80px; }
  .hero__stats { grid-template-columns: 1fr; gap: 16px; }
  .domain-grid, .cap-grid, .stack__groups { grid-template-columns: 1fr; }
  .why-wrap .approach__list { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta__inner { padding: 48px 26px; }
  .client__head { flex-direction: column; }
}

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