/* =========================================================
   PREMYA — Sovereign AI. On your premises.
   Brand: Sovereign Ink #0B1F3A · Premya Pulse #3DDC97
          Signal Cyan #21A0D6 · Platinum #E8ECF1 · Slate #5A6B82
   Fonts: Space Grotesk (display) · Inter (body)
   ========================================================= */

:root {
  --ink: #0B1F3A;
  --ink-deep: #081730;
  --ink-2: #0F2747;
  --pulse: #3DDC97;
  --cyan: #21A0D6;
  --platinum: #E8ECF1;
  --slate: #5A6B82;
  --slate-light: #8a99ad;
  --white: #ffffff;
  --line: rgba(232, 236, 241, 0.10);
  --line-strong: rgba(232, 236, 241, 0.16);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--platinum);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
}

p { margin: 0; }

.accent-text { color: var(--cyan); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pulse);
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 11px 20px; font-size: 15px; }

.btn-primary {
  background: var(--cyan);
  color: var(--ink-deep);
  box-shadow: 0 6px 24px rgba(33, 160, 214, 0.28);
}
.btn-primary:hover { background: #2db0e6; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(33,160,214,0.36); }

.btn-ghost { background: transparent; color: var(--platinum); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--pulse); border-color: rgba(61,220,151,0.45); }
.btn-outline:hover { background: rgba(61,220,151,0.10); border-color: var(--pulse); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 23, 48, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: auto; height: 38px; flex: none; display: block; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-light);
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--platinum); }
.header-cta { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero-bg.png');
  background-size: cover;
  background-position: center right;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink-deep) 14%, rgba(8,23,48,0.82) 42%, rgba(8,23,48,0.28) 70%, rgba(8,23,48,0.10) 100%);
  z-index: -1;
}
.hero-inner { padding: 116px 0 128px; }
.hero-content { max-width: 660px; }
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: 19px;
  color: #c4ccd8;
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; max-width: 200px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--pulse);
  letter-spacing: -0.01em;
}
.hero-stats span { font-size: 14px; color: var(--slate-light); line-height: 1.4; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 36px;
  padding: 22px 28px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: #b9c2cf;
}
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pulse); flex: none; box-shadow: 0 0 10px rgba(61,220,151,0.7); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--ink-deep); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.section-lead { font-size: 18px; color: #b9c2cf; }

/* ---------- Cards (approach) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: linear-gradient(160deg, var(--ink-2), rgba(15,39,71,0.4));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { font-size: 16px; color: #aab4c2; }

/* ---------- Two-track ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.track {
  border-radius: var(--radius);
  padding: 44px 40px;
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}
.track-enterprise {
  background: linear-gradient(165deg, #0e2c52, #0a2142);
  border-color: rgba(33,160,214,0.30);
}
.track-sme {
  background: linear-gradient(165deg, #0c2740, #0a1f38);
  border-color: rgba(61,220,151,0.26);
}
.track-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(33,160,214,0.12);
  border: 1px solid rgba(33,160,214,0.30);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.track-tag-accent { color: var(--pulse); background: rgba(61,220,151,0.10); border-color: rgba(61,220,151,0.32); }
.track h3 { font-size: 25px; margin-bottom: 14px; }
.track-lead { font-size: 16.5px; color: #b9c2cf; margin-bottom: 26px; }
.track-list { list-style: none; margin: 0 0 32px; padding: 0; }
.track-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: #c4ccd8;
}
.track-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--cyan);
}
.track-sme .track-list li::before { border-color: var(--pulse); }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: rgba(15,39,71,0.30);
}
.why-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--cyan);
}
.why-card p { font-size: 15.5px; color: #aab4c2; }
.why-card strong { color: var(--pulse); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 360px at 50% -10%, rgba(33,160,214,0.18), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink-deep));
  border-top: 1px solid var(--line);
  padding: 96px 0;
}
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 18px; }
.cta-band p { font-size: 18px; color: #c4ccd8; margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.footer-tag { font-family: var(--font-display); color: var(--slate-light); margin-top: 12px; font-size: 15px; }
.footer-meta { text-align: right; }
.footer-meta p { font-size: 14.5px; color: var(--slate-light); margin-bottom: 6px; }
.footer-meta a { color: #b9c2cf; }
.footer-meta a:hover { color: var(--cyan); }
.footer-fine { margin-top: 14px; font-size: 13px; color: var(--slate); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards-3 { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(8,23,48,0.55) 0%, rgba(8,23,48,0.88) 60%, var(--ink-deep) 100%); }
  .hero-bg { background-position: center top; opacity: 0.6; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero-inner { padding: 72px 0 76px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero-sub { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 24px; }
  .section { padding: 72px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .track { padding: 32px 26px; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
  .header-cta { display: none; }
}
