/* Directed-AI Styles */

:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --paper-soft: #fbfdff;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --surface-3: #e7edf5;
  --ink: #152235;
  --ink-2: #2b3f57;
  --soft: #344054;
  --muted: #5d7188;
  --line: #dbe4ee;
  --line-strong: #c4d0dd;
  --brand: #2b6ef2;
  --brand-dark: #1147b8;
  --accent: #2563eb;
  --accent-dark: #1147b8;
  --accent-soft: #eaf1ff;
  --accent-2: #0ea5e9;
  --gold: #b7791f;
  --green: #168658;
  --amber: #a15c07;
  --shadow-sm: 0 10px 30px rgba(21, 34, 53, 0.06);
  --shadow-md: 0 16px 44px rgba(21, 34, 53, 0.08);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 24px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1280px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8fbfe 0%, #f3f7fb 100%);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 228, 238, 0.9);
}

.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e5fe0 0%, #5c8dff 100%);
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.55), 0 10px 24px rgba(43, 110, 242, 0.22);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 10px;
  transform: skew(-10deg);
}

.brand-mark::after {
  inset: auto 7px 7px auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.6);
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.brand-text span {
  display: block;
  font-size: 1rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.nav a {
  color: var(--ink-2);
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 12px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--ink-2);
}

.mobile-nav a:hover { background: var(--surface-2); color: var(--ink); }
.mobile-nav.is-open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible { background: var(--brand-dark); }

.btn-secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.btn-link {
  padding: 0;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Main: shared ---------- */
.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow,
.card-kicker,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 850;
}

/* ---------- Main: hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  align-items: center;
  padding: 88px 0 64px;
}

.hero h1,
.section-heading h2,
.contact-section h2 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: .96;
  letter-spacing: -.065em;
  margin: 0 0 22px;
}

.lead {
  font-size: 20px;
  color: var(--soft);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  color: var(--soft);
  background: var(--paper);
}

.capability-strip,
.tag-row,
.mini-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.capability-strip span,
.tag-row span,
.mini-grid span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .74);
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.hero-panel,
.spotlight-card,
.service-card,
.product-card,
.flagship-card,
.partner-card,
.approach-grid article,
.process-card,
.steps-grid article,
.contact-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(251, 253, 255, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 34px;
}

.hero-panel h2 {
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 14px;
}

.hero-panel p {
  color: var(--muted);
}

.mini-grid {
  margin-top: 28px;
}

.mini-grid span {
  width: calc(50% - 5px);
  border-radius: 16px;
  background: var(--accent-soft);
  color: #21436f;
  border-color: #dbe8ff;
}

/* ---------- Main: spotlight ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.spotlight h2 {
  font-size: 38px;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 0 0 14px;
}

.spotlight p {
  color: var(--muted);
  max-width: 710px;
}

.image-tile {
  display: grid;
  place-items: center;
  min-height: 190px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(37, 99, 235, .10), rgba(255, 255, 255, .82));
  border: 1px solid var(--line);
  overflow: hidden;
}

.image-tile img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.image-tile.large {
  min-height: 280px;
}

.image-tile.large img {
  max-height: 250px;
}

.image-tile.medium {
  max-width: 350px;
  background: none;
  border: 0;
}

/* ---------- Main: section blocks ---------- */
.section-block {
  padding: 86px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(36px, 4vw, 54px);
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Main: services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.product-card {
  padding: 24px;
}

.service-card h3,
.product-card h3,
.flagship-card h3,
.approach-grid h3,
.steps-grid h3,
.partner-card h3 {
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}


.service-card p,
.product-card p,
.flagship-card p,
.approach-grid p,
.steps-grid p,
.partner-card p {
  color: var(--muted);
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Main: products ---------- */
.products-section {
  padding-top: 40px;
}

.flagship-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: center;
  padding: 30px;
  margin-bottom: 20px;
}

.flagship-card h3 {
  font-size: 34px;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid #efd9af;
  border-radius: 999px;
  color: var(--gold);
  background: #fff8eb;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.status-pill.live {
  color: var(--green);
  background: #ecfdf5;
  border-color: #c8f1dc;
}

.status-pill.dev {
  color: var(--amber);
  background: #fff7ed;
  border-color: #fed7aa;
}

.status-pill.soon {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: #dbe8ff;
}

.card-actions {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.card-actions a,
.product-card a {
  color: var(--accent);
  font-weight: 800;
}

.product-card a:hover,
.card-actions a:hover,
.email-line a:hover {
  color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-media {
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .09), rgba(255, 255, 255, .84));
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.product-media.gandhi-mark {
  font-size: 68px;
  font-weight: 900;
  color: #422006;
  background: linear-gradient(135deg, #fff2cc, #f4bf55);
}

.partner-card {
  margin-top: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.partner-card h3 {
  font-size: 28px;
}

.partner-card p {
  max-width: 600px;
}

/* ---------- Main: approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.approach-grid article {
  padding: 24px;
}

.process-card {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  padding: 30px;
  align-items: start;
}


.process-card h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.04;
  letter-spacing: -.05em;
  margin: 0 0 14px;
}

.process-card p {
  color: var(--muted);
}

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

.steps-grid article {
  padding: 22px;
  box-shadow: none;
}

.steps-grid span {
  display: block;
  color: var(--accent);
  font-weight: 950;
  margin-bottom: 18px;
}

/* ---------- Main: contact ---------- */
.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  padding: 78px 0;
}

.contact-section p {
  color: var(--muted);
  font-size: 18px;
}

.email-line a {
  color: var(--accent);
  font-weight: 800;
}

.contact-facts {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact-facts p {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  font-size: 15px;
}

.contact-facts strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #9bbcff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.contact-form button {
  width: max-content;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 34px 0 42px;
}

.footer-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.footer-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Utilities ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero,
  .spotlight,
  .flagship-card,
  .process-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .product-grid,
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-cta .btn-secondary { display: none; }
  .menu-toggle { display: inline-flex; }

  .form-row,
  .footer-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 20px), var(--max)); }
  .btn { width: 100%; }
  .header-cta .btn-primary { display: none; }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .lead {
    font-size: 17px;
  }

  .card-grid,
  .product-grid,
  .approach-grid,
  .steps-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .spotlight,
  .flagship-card,
  .process-card,
  .partner-card {
    padding: 20px;
  }

  .partner-card {
    display: block;
  }
}
