/**
 * PayLock PK — Google Product Design System
 * Clean Android Enterprise & Workspace inspired UI/UX
 * Brand Palette: Midnight Navy (#0A1628), PayLock Emerald (#059669), Slate Surface (#F8FAFC)
 * Domain: paylock.pk
 */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --brand-emerald: #059669;
  --brand-emerald-dark: #047857;
  --brand-emerald-bright: #10B981;
  --brand-emerald-soft: #ECFDF5;
  --brand-emerald-border: #A7F3D0;
  --brand-emerald-ink: #064E3B;

  --brand-navy: #0A1628;
  --brand-navy-mid: #132238;
  --brand-blue: #1A73E8;
  --brand-blue-soft: #E8F0FE;

  --status-danger: #DC2626;
  --status-danger-soft: #FEF2F2;
  --status-danger-ink: #7F1D1D;
  --status-amber: #D97706;
  --status-amber-soft: #FFFBEB;
  --status-amber-ink: #78350F;

  --surface-white: #FFFFFF;
  --surface-subtle: #F8FAFC;
  --surface-tint: #F3F6FA;
  --border-hairline: #E2E8F0;
  --border-strong: #CBD5E1;

  --ink-primary: #0F172A;
  --ink-secondary: #475569;
  --ink-muted: #64748B;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -8px rgba(10, 22, 40, 0.12), 0 4px 12px -2px rgba(10, 22, 40, 0.06);

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --max-w: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--surface-white);
  color: var(--ink-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand-emerald);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--brand-emerald-dark);
}

code, pre, .mono {
  font-family: var(--font-mono);
}

code {
  background: var(--surface-tint);
  color: var(--brand-navy);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  border: 1px solid var(--border-hairline);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= Utility Bar (Google Product Strip) ================= */
.top-bar {
  background: var(--brand-navy);
  color: #CBD5E1;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald-bright);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-links a {
  color: #E2E8F0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-links a:hover {
  color: #34D399;
}

/* ================= Navigation Header ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-primary);
}

.nav-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.nav-brand-name span {
  color: var(--brand-emerald);
}

.nav-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 8px 2px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--brand-emerald);
  border-radius: 2px 2px 0 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--ink-primary);
}

/* ================= Buttons & Chips ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-emerald);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background: var(--brand-emerald-dark);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.btn-dark:hover {
  background: var(--brand-navy-mid);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  background: #FFFFFF;
  border-color: var(--border-strong);
  color: var(--ink-primary);
}

.btn-outline:hover {
  border-color: var(--brand-emerald);
  color: var(--brand-emerald);
  background: var(--brand-emerald-soft);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.96rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-emerald {
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald-ink);
  border: 1px solid var(--brand-emerald-border);
}

.badge-navy {
  background: var(--surface-tint);
  color: var(--brand-navy);
  border: 1px solid var(--border-hairline);
}

.badge-danger {
  background: var(--status-danger-soft);
  color: var(--status-danger-ink);
  border: 1px solid #FECACA;
}

.badge-amber {
  background: var(--status-amber-soft);
  color: var(--status-amber-ink);
  border: 1px solid #FDE68A;
}

/* ================= Google Product Hero ================= */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin: 18px 0;
}

.hero-content h1 .accent {
  color: var(--brand-emerald);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
}

.hero-metric h4 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.1;
}

.hero-metric p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ================= Interactive Pixel Phone Frame Showcase ================= */
.showcase-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  background: var(--surface-tint);
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  margin-bottom: 20px;
}

.showcase-tab {
  background: transparent;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.showcase-tab.active {
  background: #FFFFFF;
  color: var(--brand-navy);
  box-shadow: var(--shadow-xs);
}

.pixel-frame {
  width: 316px;
  background: #14171C;
  border-radius: 38px;
  padding: 10px;
  border: 2px solid #334155;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pixel-screen {
  background: #F3F6FA;
  border-radius: 29px;
  overflow: hidden;
  height: 604px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pixel-camera {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #090B0E;
  z-index: 20;
  border: 1px solid #334155;
}

.showcase-slide {
  display: none;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.showcase-slide.active {
  display: flex;
}

.showcase-caption {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-align: center;
}

/* Replicated Native Android UI Screens inside Pixel Frame */
.app-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px 4px;
  font-size: 0.68rem;
  font-weight: 700;
}

.app-topbar {
  padding: 8px 14px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-wallet-card {
  background: linear-gradient(135deg, #064E3B 0%, #0A1628 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 10px 12px 8px;
}

.app-device-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 12px;
  margin: 0 12px 8px;
}

.kiosk-screen {
  background: linear-gradient(180deg, #3F070E 0%, #140914 55%, #070B14 100%);
  color: #FFFFFF;
  height: 100%;
  padding: 26px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

/* ================= Brand Compatibility Strip ================= */
.trust-strip {
  background: var(--surface-white);
  padding: 28px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.trust-label {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.trust-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-pill {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: var(--surface-subtle);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-secondary);
}

/* ================= Page Headers & Sections ================= */
.page-hero {
  background: var(--surface-subtle);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border-hairline);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
  color: var(--ink-primary);
}

.page-hero p {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  max-width: 720px;
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  margin: 12px 0 12px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.04rem;
  color: var(--ink-secondary);
}

/* ================= Grids & Cards ================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-box.navy {
  background: var(--surface-tint);
  color: var(--brand-navy);
}

.icon-box.danger {
  background: var(--status-danger-soft);
  color: var(--status-danger);
}

.icon-box.amber {
  background: var(--status-amber-soft);
  color: var(--status-amber);
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.93rem;
  color: var(--ink-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--ink-secondary);
}

.check-list li svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================= Editorial Media Frame ================= */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.media-frame img {
  width: 100%;
  object-fit: cover;
}

/* ================= Infographic Stepper ================= */
.stepper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card.highlight .step-num {
  background: var(--brand-emerald);
}

/* ================= Calculator ================= */
.calculator-box {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.range-slider {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--border-hairline);
  outline: none;
  -webkit-appearance: none;
  margin: 10px 0;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-emerald);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
  cursor: pointer;
}

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

.btn-tenure {
  padding: 10px 8px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
}

.btn-tenure.active {
  background: var(--brand-emerald-soft);
  border-color: var(--brand-emerald);
  color: var(--brand-emerald-ink);
}

.calc-output {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.calc-output .emi-val {
  font-size: 2.3rem;
  font-weight: 800;
  color: #34D399;
  letter-spacing: -0.02em;
  margin: 6px 0 20px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}

/* ================= Comparison Table ================= */
.table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th, .data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hairline);
}

.data-table th {
  background: var(--surface-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
}

.data-table .col-highlight {
  background: #F0FDF9;
}

/* ================= Pricing ================= */
.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--brand-emerald);
  box-shadow: var(--shadow-lg);
}

.pricing-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--brand-emerald);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.pricing-amount {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  margin: 14px 0 4px;
}

.pricing-amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ================= FAQ ================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink-primary);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question .faq-plus {
  transform: rotate(45deg);
}

/* ================= Blog ================= */
.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--surface-tint);
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 10px 0;
}

.blog-body h3 a {
  color: var(--ink-primary);
}

.blog-body h3 a:hover {
  color: var(--brand-emerald);
}

.post-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.post-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 36px 0 14px;
  color: var(--ink-primary);
}

.post-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--ink-primary);
}

.post-content p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 18px;
}

.post-content ul, .post-content ol {
  margin: 14px 0 24px 24px;
  color: #334155;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content blockquote {
  border-left: 3px solid var(--brand-emerald);
  background: var(--brand-emerald-soft);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--brand-emerald-ink);
  margin: 22px 0;
}

/* ================= Forms & Modal ================= */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.94rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--ink-primary);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
textarea.form-control { min-height: 110px; resize: vertical; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--surface-tint);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-secondary);
}

/* ================= Footer ================= */
.footer {
  background: var(--brand-navy);
  color: #94A3B8;
  padding: 68px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #34D399;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .hero-grid, .calc-grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-metrics { justify-content: center; }
  .stepper-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-md);
    gap: 14px;
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4, .stepper-grid, .footer-grid { grid-template-columns: 1fr; }
}
