:root {
  --bg-canvas: #f4f6fa;
  --bg-surface: #ffffff;
  --bg-dark: #020b2b;
  --bg-dark-soft: #0b1538;
  --brand: #2563eb;
  --brand-deep: #1e3a8a;
  --brand-soft: #eff6ff;
  --brand-border: #bfdbfe;
  --text-primary: #0b1120;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #059669;
  --success-bg: #ecfdf5;
  --radius-lg: 20px;
  --radius-md: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 246, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none !important;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--brand);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Phone Mockup Card */
.mock-card {
  background: linear-gradient(155deg, var(--brand-deep), var(--brand));
  color: #ffffff;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.28);
}

.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 14px;
}

.mock-badge {
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 99px;
}

.mock-profit-lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  font-weight: 700;
}

.mock-profit {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4px 0 18px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mock-stat {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 10px 12px;
}

.mock-stat small {
  display: block;
  font-size: 10.5px;
  opacity: 0.78;
  font-weight: 700;
}

.mock-stat strong {
  font-size: 15px;
  font-weight: 800;
}

.mock-entry {
  background: #ffffff;
  color: var(--text-primary);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mock-entry strong {
  display: block;
  font-size: 14px;
}

.mock-entry small {
  color: var(--text-muted);
  font-size: 12px;
}

.mock-pill-ok {
  background: var(--success-bg);
  color: var(--success);
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 15.5px;
}

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

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

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.vehicle-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.v-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Studio Banner (Unniva Labs) */
.studio-banner {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(99, 102, 241, 0.22);
}

.studio-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.studio-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.studio-banner h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.studio-banner p {
  color: #cbd5e1;
  font-size: 14.5px;
  max-width: 520px;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Legal / Document Pages */
.doc-wrap {
  max-width: 780px;
  margin: 40px auto 64px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
}

.doc-wrap h1 {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.doc-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 26px;
}

.doc-wrap h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 26px 0 10px;
  color: var(--text-primary);
}

.doc-wrap p,
.doc-wrap li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.doc-wrap ul,
.doc-wrap ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.callout {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 18px 0;
  color: var(--brand-deep);
  font-size: 14.5px;
  font-weight: 600;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 34px 0;
  margin-top: 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.footer-links a {
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .studio-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links .hide-sm {
    display: none;
  }

  .doc-wrap {
    margin: 20px 16px 48px;
    padding: 26px 20px;
  }
}
