/* ============================================
   Nexora Landing — Design System
   Navy + Emerald/Teal brand
   ============================================ */

:root {
  --navy-900: #0b1a30;
  --navy-800: #0e1f3a;
  --navy-700: #14294a;
  --navy-600: #1e3a5f;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --teal: #2dd4bf;

  --bg: #ffffff;
  --bg-soft: #f5f8fb;

  --text: #0e1f3a;
  --text-muted: #5b6b82;
  --text-light: #8a97a8;

  --border: #e6ecf3;
  --border-strong: #d4deea;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(14, 31, 58, 0.06),
    0 2px 8px rgba(14, 31, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 31, 58, 0.1);
  --shadow-lg: 0 24px 60px rgba(14, 31, 58, 0.16);

  --grad: linear-gradient(135deg, var(--emerald), var(--teal));
  --grad-navy: linear-gradient(160deg, var(--navy-800), var(--navy-900));

  --maxw: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ============================================
   Sections & headers
   ============================================ */

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--grad-navy);
  color: #fff;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-800);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-grad {
  background: var(--grad);
  color: #fff;
}

.btn-grad:hover {
  background: var(--grad);
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.32);
}

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

.btn-secondary:hover {
  border-color: var(--navy-800);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
}

.btn-ghost:hover {
  color: var(--emerald-dark);
}

.section-dark .btn-secondary,
.hero .btn-secondary,
.cta .btn-secondary,
.page-hero .btn-secondary,
.contact-panel .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.cta .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.contact-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  font-size: 16px;
  padding: 16px 28px;
}

.btn-sm {
  font-size: 14px;
  padding: 10px 16px;
}

/* ============================================
   Badges
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  line-height: 1;
}

.badge-live {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-dark);
}

.badge-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.badge-new {
  background: rgba(45, 212, 191, 0.14);
  color: #0d8f81;
}

.badge-cat {
  background: rgba(14, 31, 58, 0.06);
  color: var(--text-muted);
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 26px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.navbar-links a:hover {
  color: var(--text);
}

.navbar-links a.active {
  color: var(--emerald-dark);
  font-weight: 600;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.navbar-toggle span,
.navbar-toggle span::before,
.navbar-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: 0.2s ease;
}

.navbar-toggle span::before {
  transform: translate(-50%, -8px);
}

.navbar-toggle span::after {
  transform: translate(-50%, 6px);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
  padding: 84px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.28),
    transparent 65%
  );
  filter: blur(10px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.18),
    transparent 65%
  );
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
}

.hero-badge-tag {
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
  max-width: 520px;
}

.hero-subtitle strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust-stars {
  color: #ffd166;
  letter-spacing: 2px;
  font-size: 15px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-trust-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-trust-text strong {
  color: #fff;
}

.hero-visual {
  position: relative;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.35));
}

/* ============================================
   Stats
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.stat {
  text-align: center;
  padding: 40px 22px;
  border-left: 1px solid var(--border);
  transition: background 0.18s ease;
}

.stat:first-child {
  border-left: none;
}

.stat:hover {
  background: var(--bg-soft);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.22);
}

.stat-value {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.stat-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================
   App cards / grid
   ============================================ */

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

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

.app-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.app-card-icon img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.app-card-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Title link + stretched overlay: whole card is clickable */
.app-card-title-link {
  color: inherit;
  transition: color 0.15s ease;
}

.app-card-title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}

.app-card:hover .app-card-title-link,
.app-card-title-link:hover {
  color: var(--emerald-dark);
}

.app-card-cat {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald-dark);
}

.app-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.app-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.app-card-rating-stars {
  color: var(--emerald-dark);
  font-weight: 700;
}

.app-card-price {
  font-weight: 600;
  color: var(--text-muted);
}

.app-card-link {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-dark);
}

.app-card-link:hover {
  text-decoration: underline;
}

/* ============================================
   Features
   ============================================ */

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   Category filter chips
   ============================================ */

.roadmap-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-chip {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: 0.15s ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--navy-600);
}

.filter-chip.active {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}

/* ============================================
   CTA band
   ============================================ */

.cta {
  padding: 28px 0 96px;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  padding: 72px 32px;
  text-align: center;
  color: #fff;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.3),
    transparent 65%
  );
}

.cta-inner::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.2),
    transparent 65%
  );
}

.cta-content {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  margin-top: 16px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

/* ============================================
   Page hero (inner pages)
   ============================================ */

.page-hero {
  background: var(--grad-navy);
  color: #fff;
  padding: 72px 0 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.22),
    transparent 65%
  );
}

.page-hero .container {
  position: relative;
}

.page-hero .section-eyebrow {
  color: var(--teal);
}

.page-hero-title {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.page-hero-subtitle {
  margin: 20px auto 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

/* ============================================
   App detail page
   ============================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  padding-top: 28px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 40px 24px 72px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.detail-hero-icon img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}

.detail-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.detail-hero-tagline {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}

.detail-hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.detail-hero-rating .stars {
  color: var(--emerald-dark);
  font-weight: 700;
}

.detail-hero-visual {
  position: relative;
}

.detail-hero-visual svg {
  width: 100%;
  height: auto;
}

.detail-overview {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.feature-list-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.feature-list-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.feature-list-text {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}

/* ---- Live demo cards (app pages) ---- */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.demo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

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

.demo-card-media {
  aspect-ratio: 2 / 1;
  background: var(--bg-soft);
  overflow: hidden;
}

.demo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px;
}

.demo-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.demo-card-text {
  margin-top: 8px;
  flex: 1;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.demo-card-link {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-dark);
}

.demo-card:hover .demo-card-link {
  text-decoration: underline;
}

/* ---- v4 roadmap cards (app pages) ---- */
.v4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.v4-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.v4-card-art {
  height: 116px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.v4-card-art svg {
  width: auto;
  height: 92px;
}

.v4-card .badge {
  margin-bottom: 12px;
}

.v4-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.v4-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .v4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .demo-grid,
  .v4-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Mission / Vision / Values (About)
   ============================================ */

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

.mv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.mv-card-icon {
  font-size: 34px;
  margin-bottom: 18px;
}

.mv-card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.mv-card-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

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

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.value-icon {
  font-size: 26px;
  margin-bottom: 14px;
}

.value-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
}

.prose p {
  margin-bottom: 20px;
}

.prose a {
  color: var(--emerald-dark);
  font-weight: 600;
}

.prose h2 {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  margin: 26px 0 10px;
}

.prose ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
}

.legal-updated {
  display: inline-block;
  font-size: 13px;
  color: var(--text-light);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
}

/* ============================================
   Contact
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-intro-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.contact-intro-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-info-label {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact-info-value a:hover {
  color: var(--emerald-dark);
}

.contact-panel {
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  text-align: center;
  align-self: start;
  overflow: hidden;
}

.contact-panel-art {
  max-width: 240px;
  margin: 0 auto 24px;
}

.contact-panel-art svg {
  width: 100%;
  height: auto;
}

.contact-panel-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-panel-text {
  margin: 12px auto 28px;
  max-width: 380px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel-btn {
  width: 100%;
}

.contact-panel-btn + .contact-panel-btn {
  margin-top: 12px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}

.form-success.show {
  display: block;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .navbar-brand {
  margin-bottom: 18px;
}

.footer-brand img {
  height: 26px;
  /* logo is dark navy; lift it to white on the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 340px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

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

.footer-links a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: 0.15s ease;
}

.footer-social a:hover {
  background: var(--emerald);
  color: #fff;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: var(--teal);
}

/* ============================================
   Scroll reveal
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 980px) {
  .hero-inner,
  .detail-hero,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-hero {
    text-align: left;
  }

  .hero-visual,
  .detail-hero-visual {
    max-width: 460px;
  }

  .features-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .navbar-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links li {
    width: 100%;
  }

  .navbar-links a {
    display: block;
    padding: 12px 0;
    width: 100%;
  }

  .navbar-cta .btn-sm {
    display: none;
  }

  .navbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-left: none;
    padding: 30px 16px;
  }

  .stat:nth-child(2n) {
    border-left: 1px solid var(--border);
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .features-grid,
  .values-grid,
  .mv-grid,
  .feature-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .cta-inner {
    padding: 56px 22px;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
