/* ==========================================================================
   Godi Solution - brand stylesheet
   Palette: ink navy base, electric azure primary, premium gold accent
   Type: Space Grotesk (display) / IBM Plex Sans (body)
   ========================================================================== */

:root {
  --ink: #0a0f1e;
  --ink-2: #111a30;
  --ink-3: #16223f;
  --surface: #f6f8fc;
  --surface-2: #ffffff;
  --line: #e4e9f2;
  --line-dark: #223357;

  --text: #101828;
  --text-muted: #55617a;
  --text-invert: #eef2fb;
  --text-invert-muted: #9fb0d4;

  --azure: #2f6bff;
  --azure-soft: #6f97ff;
  --gold: #f2b338;
  --gold-deep: #d99516;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 44px -20px rgba(12, 24, 56, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(12, 24, 56, 0.28);

  --maxw: 1160px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--azure); text-decoration: none; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 600;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.2rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-gold { background: var(--gold); color: #2a1c00; box-shadow: 0 12px 26px -12px rgba(217, 149, 22, 0.7); }
.btn-gold:hover { background: var(--gold-deep); color: #2a1c00; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-invert); border-color: rgba(159, 176, 212, 0.4); }
.btn-ghost:hover { color: var(--text-invert); border-color: var(--azure-soft); background: rgba(47, 107, 255, 0.12); transform: translateY(-2px); }
.btn-solid { background: var(--azure); color: #fff; box-shadow: 0 12px 26px -14px rgba(47, 107, 255, 0.75); }
.btn-solid:hover { background: #1f57e6; color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--text-invert); }
.brand:hover { color: var(--text-invert); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--gold); font-weight: 500; font-family: var(--font-body); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a { color: var(--text-invert-muted); font-weight: 500; font-size: 0.97rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text-invert); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--gold);
}
.nav-cta { margin-left: 0.4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-invert); margin: 5px 0; transition: 0.25s; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 600px at 78% -10%, #1c2e57 0%, var(--ink) 60%); color: var(--text-invert); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(159,176,212,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(159,176,212,0.06) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask-image: radial-gradient(700px 400px at 80% 0%, #000, transparent 80%); mask-image: radial-gradient(700px 400px at 80% 0%, #000, transparent 80%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.2rem, 7vw, 5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 0.85rem; color: var(--gold); border: 1px solid rgba(242,179,56,0.4); background: rgba(242,179,56,0.08); padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.4rem; font-weight: 500; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.75rem); margin-bottom: 1.2rem; }
.hero h1 .grad { background: linear-gradient(100deg, var(--azure-soft), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--text-invert-muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); max-width: 33ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.cred-strip { display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.cred { display: flex; flex-direction: column; }
.cred b { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.cred span { font-size: 0.82rem; color: var(--text-invert-muted); }

.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, rgba(28,46,87,0.9), rgba(16,26,50,0.92));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.hero-card h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-card h4 .badge-live { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.06em; color: var(--gold); border: 1px solid rgba(242,179,56,0.5); border-radius: 999px; padding: 0.12rem 0.55rem; }

/* delivery-model panel (business-value hero visual) */
.model { display: grid; gap: 0.55rem; margin-top: 0.4rem; }
.model .chip-lg { text-align: center; font-family: var(--font-display); font-weight: 600; color: #fff; background: linear-gradient(150deg, var(--azure), #1f57e6); border-radius: 12px; padding: 0.85rem 1rem; font-size: 1rem; }
.model .arrow-d { text-align: center; color: var(--gold); font-size: 1.05rem; line-height: 1; }
.model .pod { border: 1px solid var(--line-dark); background: rgba(15, 24, 46, 0.6); border-radius: 14px; padding: 1.1rem; text-align: center; }
.model .pod-label { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 0.98rem; }
.model .avatars { display: flex; justify-content: center; gap: 0.5rem; margin: 0.8rem 0 0.6rem; }
.model .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; background: rgba(47, 107, 255, 0.18); color: var(--azure-soft); border: 1px solid rgba(111, 151, 255, 0.35); }
.model .av.lead { background: linear-gradient(150deg, var(--azure), var(--gold)); color: #0a0f1e; border: 0; }
.model .av.plus { background: transparent; color: var(--text-invert-muted); border: 1px dashed var(--line-dark); }
.model .pod-sub { color: var(--text-invert-muted); font-size: 0.85rem; }
.model .outcomes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.model .outcomes span { font-size: 0.82rem; color: var(--text-invert); border: 1px solid rgba(242, 179, 56, 0.4); background: rgba(242, 179, 56, 0.09); border-radius: 999px; padding: 0.4rem 0.85rem; }

/* ---------- generic section ---------- */
.section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.section.alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .kicker { font-family: var(--font-display); color: var(--azure); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.7rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.svc:hover { border-color: var(--azure); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.svc .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, var(--ink-3), var(--ink)); margin-bottom: 1.1rem; }
.svc .ic svg { width: 24px; height: 24px; stroke: var(--gold); }
.svc h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.svc p { color: var(--text-muted); font-size: 0.97rem; }
.svc.feature { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; background: linear-gradient(150deg, var(--ink-2), var(--ink)); border-color: var(--line-dark); }
.svc.feature h3, .svc.feature p { color: var(--text-invert); }
.svc.feature p { color: var(--text-invert-muted); }
.svc.feature .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.svc.feature .tags span { font-size: 0.8rem; color: var(--text-invert-muted); border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.25rem 0.7rem; }

/* ---------- stat band ---------- */
.stat-band { background: var(--ink); color: var(--text-invert); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: left; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); display: block; line-height: 1; }
.stat span { color: var(--text-invert-muted); font-size: 0.95rem; }

/* ---------- feature list / approach ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.check-list { list-style: none; display: grid; gap: 1rem; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 0.85rem; align-items: start; }
.check-list li .tick { width: 26px; height: 26px; border-radius: 8px; background: rgba(47,107,255,0.12); display: grid; place-items: center; color: var(--azure); font-weight: 700; }
.check-list li b { font-family: var(--font-display); display: block; }
.check-list li span { color: var(--text-muted); font-size: 0.96rem; }

.panel { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--text-invert); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.panel h3 { color: #fff; margin-bottom: 1.1rem; }
.panel .row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); }
.panel .row:last-child { border-bottom: 0; }
.panel .row span { color: var(--text-invert-muted); }
.panel .row b { color: #fff; font-family: var(--font-display); font-weight: 500; }

/* ---------- resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.res {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.res:hover { border-color: var(--azure); transform: translateY(-3px); }
.res .num { font-family: var(--font-display); color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.res h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.res p { color: var(--text-muted); font-size: 0.92rem; }
.res a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(900px 400px at 20% 0%, #1c2e57, var(--ink)); color: var(--text-invert); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-band p { color: var(--text-invert-muted); max-width: 48ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(47,107,255,0.14); }
.field textarea { resize: vertical; min-height: 130px; }
.hidden-hp { position: absolute; left: -9999px; }
.contact-detail { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: 0; }
.contact-detail .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: rgba(47,107,255,0.1); display: grid; place-items: center; color: var(--azure); }
.contact-detail b { font-family: var(--font-display); display: block; }
.contact-detail a, .contact-detail span { color: var(--text-muted); }

/* ---------- page hero (interior) ---------- */
.page-hero { background: radial-gradient(1000px 500px at 80% -20%, #1c2e57, var(--ink)); color: var(--text-invert); padding: clamp(3rem, 6vw, 4.6rem) 0 clamp(2.5rem, 5vw, 3.4rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: 0.9rem; }
.page-hero p { color: var(--text-invert-muted); font-size: 1.12rem; max-width: 58ch; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.profile-card { background: linear-gradient(160deg, var(--ink-2), var(--ink)); border-radius: var(--radius-lg); padding: 2rem; color: var(--text-invert); box-shadow: var(--shadow); text-align: center; }
.profile-card .avatar { width: 96px; height: 96px; margin: 0 auto 1.1rem; border-radius: 50%; background: linear-gradient(150deg, var(--azure), var(--gold)); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink); }
.profile-card h3 { color: #fff; margin-bottom: 0.2rem; }
.profile-card .role { color: var(--gold); font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 1.3rem; }
.profile-card .meta { text-align: left; display: grid; gap: 0.7rem; }
.profile-card .meta div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; border-bottom: 1px solid var(--line-dark); padding-bottom: 0.6rem; }
.profile-card .meta div span { color: var(--text-invert-muted); }
.profile-card .meta div b { color: #fff; font-weight: 500; }
.prose p { color: var(--text-muted); margin-bottom: 1.1rem; font-size: 1.05rem; }
.prose h3 { margin: 1.8rem 0 0.8rem; }

.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-top: 1rem; }
.cert { display: flex; gap: 0.75rem; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1.1rem; background: var(--surface-2); }
.cert .ic { width: 34px; height: 34px; flex: none; border-radius: 9px; background: rgba(242,179,56,0.14); display: grid; place-items: center; color: var(--gold-deep); }
.cert b { font-family: var(--font-display); font-size: 0.95rem; display: block; }
.cert span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--text-invert-muted); padding: clamp(2.6rem, 5vw, 3.6rem) 0 1.8rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.2rem; }
.footer .brand { margin-bottom: 1rem; }
.footer p { max-width: 34ch; font-size: 0.95rem; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer ul a { color: var(--text-invert-muted); font-size: 0.95rem; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.86rem; }

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .about-grid, .svc.feature { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc.feature { grid-column: span 2; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid, .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { border-top: 1px solid var(--line-dark); }
  .nav-links a { display: block; padding: 1rem clamp(1.1rem, 4vw, 2.2rem); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 0.8rem clamp(1.1rem, 4vw, 2.2rem) 1rem; justify-content: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc.feature { grid-column: span 1; }
  .stat-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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