/* PraRak TechSol — design system (2026) */
:root {
  --ink: #0a1628;
  --ink-soft: #1a2942;
  --paper: #ffffff;
  --surface: #f4f7fb;
  --surface-2: #e9eef6;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #dbeafe;
  --success: #0f766e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(10, 22, 40, 0.08);
  --shadow-sm: 0 8px 24px rgba(10, 22, 40, 0.06);
  --wrap: min(1160px, calc(100% - 48px));
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: var(--wrap); margin: 0 auto; }

/* —— Sister-company lockup —— */
.prarak-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.azing-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.azing-lockup--compact img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.azing-lockup:hover { opacity: 0.88; }
.prarak-brand-product {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.prarak-brand-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.prarak-brand-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.prarak-brand--hero .prarak-brand-text {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}
.prarak-brand--hero .azing-lockup--compact img {
  width: clamp(38px, 5vw, 48px);
  height: clamp(38px, 5vw, 48px);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.site-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.site-nav a:hover,
.site-nav a.is-on { color: var(--ink); }
.site-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-menu { display: none; position: relative; }
.site-menu summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.site-menu-panel a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.site-menu-panel a:hover { background: var(--surface); color: var(--ink); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.18); }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1628 0%, #122240 48%, #1a3a6e 100%);
  color: #fff;
  padding: 72px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 40%, black, transparent 70%);
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 68%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.hero-eyebrow .prarak-brand-product { border-left-color: rgba(255,255,255,0.2); }
.hero-eyebrow .prarak-brand-text { color: #fff; }
.hero-eyebrow .prarak-brand-tag { color: rgba(255,255,255,0.55); }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero-lede {
  margin: 0 0 28px;
  max-width: 52ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.hero-panel h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-panel p { margin: 0 0 20px; color: rgba(255,255,255,0.82); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.stat-v {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* —— Sections —— */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* —— Grids & cards —— */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 99, 235, 0.22);
}
.card h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.card p, .card li { margin: 0; color: var(--muted); font-size: 0.94rem; }
.card ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.card .more {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.pill.dark { background: var(--ink); color: #fff; }

/* —— Bento platform —— */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.bento-item {
  grid-column: span 4;
  min-height: 220px;
  padding: 28px;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.bento-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bento-item.wide { grid-column: span 8; background: linear-gradient(135deg, #0a1628, #1e3a6a); color: #fff; border: none; }
.bento-item.wide .lead { color: rgba(255,255,255,0.72); }
.bento-item.wide .pill { background: rgba(255,255,255,0.12); color: #fff; }
.bento-item h3 { margin: 12px 0 8px; font-size: 1.35rem; }
.bento-item p { margin: 0; color: var(--muted); max-width: 42ch; }
.bento-item.wide p { color: rgba(255,255,255,0.75); }
.bento-platform .bento-item.wide {
  grid-column: span 12;
  min-height: 220px;
}
.bento-platform .bento-item:not(.wide) {
  grid-column: span 6;
}

/* —— Services strip —— */
.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}
.service-cell {
  background: var(--paper);
  padding: 28px 24px;
}
.service-cell h3 { margin: 0 0 8px; font-size: 1.05rem; }
.service-cell p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* —— Industry chips —— */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.industry-chip {
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.industry-chip:hover {
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.25);
}
.industry-chip h3 { margin: 0 0 6px; font-size: 0.98rem; }
.industry-chip p { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* —— CTA band —— */
.cta-band {
  margin: 0 24px 80px;
  padding: 48px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(120deg, var(--ink) 0%, #1e3a6a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.72); max-width: 48ch; }

/* —— Inner pages —— */
.page-hero {
  padding: 56px 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.page-body { padding: 48px 0 80px; }

/* —— Forms —— */
.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  font: inherit;
}
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.muted { color: var(--muted); }
.muted a { color: var(--accent); font-weight: 700; }

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}
.site-footer .prarak-brand-text { color: #fff; }
.site-footer .prarak-brand-product { border-left-color: rgba(255,255,255,0.16); }
.site-footer .prarak-brand-tag { color: rgba(255,255,255,0.45); }
.site-footer .azing-lockup img { filter: brightness(0) invert(1); opacity: 0.92; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}
.footer-grid a:hover { color: #fff; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-legal a { color: rgba(255, 255, 255, 0.55); }
.footer-legal a:hover { color: #fff; }

/* —— Legacy aliases (API Hub + inner pages) —— */
.top, .site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}
.top-inner, .site-header-inner {
  display: flex; align-items: center; gap: 24px; min-height: 68px;
}
.nav, .site-nav {
  display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--muted);
}
.nav a:hover, .nav a.is-on, .site-nav a:hover, .site-nav a.is-on { color: var(--ink); }
.top-end, .site-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu, .site-menu { display: none; position: relative; }
.menu summary, .site-menu summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 14px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.menu summary::-webkit-details-marker, .site-menu summary::-webkit-details-marker { display: none; }
.menu-list, .site-menu-panel {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; display: grid; gap: 6px; box-shadow: var(--shadow-sm);
}
.menu-list a, .site-menu-panel a {
  padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted);
}
.foot, .site-footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px;
}
.foot-grid, .footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px;
}
.foot h4, .footer-grid h4 {
  margin: 0 0 14px; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.foot a, .foot p, .footer-grid a, .footer-grid p {
  display: block; margin: 0 0 8px; font-size: 14px;
  color: rgba(255, 255, 255, 0.72); line-height: 1.5;
}
.legal, .footer-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px; color: rgba(255, 255, 255, 0.45);
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-brand { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25); }
.page-head, .page-hero { padding: 56px 0 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1, .page-hero h1 {
  margin: 0 0 10px; font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em; color: var(--ink);
}
.foot-powered { margin-top: 14px; font-size: 14px; line-height: 1.6; }
.foot-brand-lockup { margin-bottom: 16px; }
.hero-sister { font-size: 13px; color: rgba(255,255,255,0.62); margin-top: 8px; }

@media (max-width: 960px) {
  .site-nav, .nav { display: none; }
  .site-menu, .menu { display: block; }
  .hero-grid,
  .g-2, .g-3, .g-4,
  .footer-grid,
  .service-row,
  .industry-grid { grid-template-columns: 1fr; }
  .bento-item, .bento-item.wide { grid-column: span 12; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 56px 0; }
  .cta-band { margin: 0 16px 56px; padding: 32px 24px; }
}
