/* ==========================================================================
   JetLog — Aviation Software Studio Stylesheet
   Unified dark cockpit/avionics theme across all pages
   ========================================================================== */

:root {
  --bg: #060b14;
  --bg-elevated: #0b1220;
  --panel: #10192b;
  --panel-hover: #152138;
  --panel-alt: #09101d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef3fa;
  --text-soft: #c9d5e6;
  --muted: #8f9fb8;

  /* Brand Accents */
  --brand: #2ecc71;         /* JetLog Radar Emerald */
  --brand-glow: rgba(46, 204, 113, 0.22);
  --pbp: #2dd4bf;           /* Pilot Brief Pro Cockpit Teal */
  --pbp-glow: rgba(45, 212, 191, 0.22);
  --sky: #38bdf8;           /* Aviation API Sky Blue */
  --sky-glow: rgba(56, 189, 248, 0.2);
  --amber: #f59e0b;         /* Avionics Amber */

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.32);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; transition: color 0.18s ease, opacity 0.18s ease; }
a:hover { color: #7dd3fc; }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 5px;
  color: #7dd3fc;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}
.container-narrow {
  width: min(880px, 92%);
  margin: 0 auto;
}

.section { padding: 84px 0; position: relative; }
.section.alt {
  background: var(--panel-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(46, 204, 113, 0.32);
  background: rgba(46, 204, 113, 0.1);
  color: #6ee7b7;
  margin-bottom: 16px;
}
.eyebrow.pbp {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.1);
  color: #5eead4;
}
.eyebrow.sky {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
}
.eyebrow .dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}
.eyebrow.pbp .dot-live { background: var(--pbp); box-shadow: 0 0 10px var(--pbp); }

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 14px;
}
.section-lead {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: rgba(6, 11, 20, 0.84);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand:hover { color: #fff; opacity: 0.94; }
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 9px;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav a.active {
  color: #fff;
  background: rgba(46, 204, 113, 0.14);
  box-shadow: inset 0 0 0 1px rgba(46, 204, 113, 0.3);
}
.theme-pbp .nav a.active {
  background: rgba(45, 212, 191, 0.14);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.32);
}
.nav a.nav-cta {
  margin-left: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-strong);
}
.nav a.nav-cta:hover {
  background: rgba(255, 255, 255, 0.13);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #05120a;
  box-shadow: 0 8px 24px var(--brand-glow);
}
.btn-primary:hover { background: #38d97c; color: #05120a; }

.btn-pbp {
  background: var(--pbp);
  color: #041513;
  box-shadow: 0 8px 24px var(--pbp-glow);
}
.btn-pbp:hover { background: #5eead4; color: #041513; }

.btn-sky {
  background: var(--sky);
  color: #04131d;
  box-shadow: 0 8px 24px var(--sky-glow);
}
.btn-sky:hover { background: #7dd3fc; color: #04131d; }

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: var(--border-strong);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border-color: var(--border);
  cursor: default;
  pointer-events: none;
}

.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 9px; }

.play-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.play-badge img {
  height: 54px;
  width: auto;
  border-radius: 8px;
}
.play-badge:hover { transform: translateY(-2px); opacity: 0.94; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}
.pill.live {
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(46, 204, 113, 0.35);
  color: #6ee7b7;
}
.pill.soon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
.pill.pbp {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.35);
  color: #5eead4;
}
.pill.sky {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  position: relative;
  padding: 92px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(46, 204, 113, 0.16), transparent 65%),
    linear-gradient(to bottom, rgba(6, 11, 20, 0.62), rgba(6, 11, 20, 0.94) 85%, var(--bg)),
    url('backdrop.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero.hero-pbp .hero-bg {
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(45, 212, 191, 0.18), transparent 65%),
    linear-gradient(to bottom, rgba(6, 11, 20, 0.72), rgba(6, 11, 20, 0.96) 85%, var(--bg)),
    url('backdrop.png');
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 20%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  max-width: 860px;
  margin: 0 auto 18px;
}
.hero .lead {
  max-width: 700px;
  margin: 0 auto 32px;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.platform-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
}
.platform-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* App Hero Icon */
.app-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.app-hero-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

/* ==========================================================================
   Company Hub: Product Showcase Cards
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.product-card {
  position: relative;
  background: linear-gradient(180deg, #111b2e 0%, #0b1220 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}
.product-card.accent-emerald::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--sky));
}
.product-card.accent-teal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--pbp), var(--amber));
}

.product-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.product-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.product-title-wrap h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.product-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.product-desc {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0 0 22px;
}

.product-preview {
  position: relative;
  height: 250px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.06), rgba(6, 11, 20, 0.9));
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 18px 0;
  gap: 14px;
}
.preview-phone {
  height: 225px;
  width: auto;
  border-radius: 14px 14px 0 0;
  border: 3px solid #1e293b;
  border-bottom: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  object-position: top;
}
.preview-phone.secondary {
  height: 195px;
  opacity: 0.92;
}
.preview-tablet {
  width: 92%;
  max-height: 224px;
  border-radius: 12px 12px 0 0;
  border: 3px solid #1e293b;
  border-bottom: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  object-position: top;
}

.product-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 9px;
}
.product-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}
.product-bullets li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand);
}
.accent-teal .product-bullets li svg { color: var(--pbp); }

.product-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Aviation API Showcase Section
   ========================================================================== */
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 36px;
  align-items: center;
}
.api-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
}
.api-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.api-mini strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}
.api-mini span {
  font-size: 13px;
  color: var(--muted);
}

/* Code Terminal Card */
.code-window {
  background: #070d18;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.code-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #0d1626;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #334155;
}
.window-dots span:nth-child(1) { background: #ef4444; opacity: 0.75; }
.window-dots span:nth-child(2) { background: #f59e0b; opacity: 0.75; }
.window-dots span:nth-child(3) { background: #22c55e; opacity: 0.75; }

.code-tabs {
  display: flex;
  gap: 6px;
}
.code-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.code-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.code-tab.active {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

.code-endpoint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #0a1220;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #93c5fd;
  overflow-x: auto;
}
.method-badge {
  background: rgba(46, 204, 113, 0.16);
  color: #6ee7b7;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}
.endpoint-url {
  white-space: nowrap;
  overflow-x: auto;
  flex: 1;
}
.copy-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  flex-shrink: 0;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.code-body {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.8px;
  line-height: 1.65;
  color: #cbd5e1;
  overflow-x: auto;
  max-height: 340px;
}
.json-key { color: #7dd3fc; }
.json-str { color: #6ee7b7; }
.json-num { color: #fcd34d; }

/* ==========================================================================
   Feature Cards Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}
.feature-card {
  background: linear-gradient(180deg, var(--panel), #0c1424);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(46, 204, 113, 0.11);
  border: 1px solid rgba(46, 204, 113, 0.25);
  color: var(--brand);
  margin-bottom: 14px;
}
.feature-icon.pbp {
  background: rgba(45, 212, 191, 0.11);
  border-color: rgba(45, 212, 191, 0.25);
  color: var(--pbp);
}
.feature-icon.sky {
  background: rgba(56, 189, 248, 0.11);
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--sky);
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ==========================================================================
   Screenshot Galleries & Filters
   ========================================================================== */
.gallery-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.filter-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #05120a;
}
.theme-pbp .filter-btn.active {
  background: var(--pbp);
  border-color: var(--pbp);
  color: #041513;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tablet-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.shot-card {
  background: linear-gradient(180deg, var(--panel), #0b1220);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-md);
}
.shot-card.hidden { display: none; }

.shot-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #050911;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.shot-frame.phone-ratio { aspect-ratio: 9 / 19.2; }
.shot-frame.tablet-ratio { aspect-ratio: 16 / 10; }
.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.28s ease;
}
.shot-card:hover .shot-frame img { transform: scale(1.02); }

.shot-caption {
  padding: 12px 4px 4px;
  text-align: center;
}
.shot-caption strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}
.shot-caption span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   Platform / Pricing Cards
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.pricing-card {
  background: linear-gradient(180deg, #111c30, #0b1220);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 18px 44px rgba(45, 212, 191, 0.1);
}
.pricing-card.featured-emerald {
  border-color: rgba(46, 204, 113, 0.42);
  box-shadow: 0 18px 44px rgba(46, 204, 113, 0.1);
}
.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.pricing-head h3 { font-size: 22px; }
.price-tag {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-tag span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.pricing-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.pricing-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--pbp);
}
.featured-emerald .pricing-list li svg,
.emerald-checks .pricing-list li svg { color: var(--brand); }
.pricing-action { margin-top: auto; }

/* Disclaimer Banner */
.disclaimer-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 920px;
  margin: 0 auto;
}
.disclaimer-box svg {
  flex-shrink: 0;
  color: var(--amber);
  margin-top: 2px;
}
.disclaimer-box h4 {
  font-size: 16px;
  color: #fcd34d;
  margin-bottom: 6px;
}
.disclaimer-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* ==========================================================================
   Contact Band
   ========================================================================== */
.contact-box {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.09), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 46px 32px;
  text-align: center;
}
.contact-box h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}
.contact-box p {
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto 24px;
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */
.legal-hero {
  position: relative;
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.legal-hero .hero-bg { opacity: 0.7; }
.legal-hero-inner { position: relative; z-index: 2; }
.legal-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 16px 0 10px;
}
.legal-hero .lead {
  color: var(--text-soft);
  margin: 0;
  max-width: 680px;
}

.legal-card {
  background: linear-gradient(180deg, var(--panel), #0b1220);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: var(--shadow-md);
}
.legal-meta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.legal-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-soft);
}
.legal-card h2 {
  font-size: 21px;
  color: var(--brand);
  margin: 30px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.theme-pbp .legal-card h2 { color: var(--pbp); }
.legal-card h2:first-of-type { margin-top: 8px; }
.legal-card p { margin: 0 0 14px; color: var(--text-soft); font-size: 15.5px; }
.legal-card ul { margin: 8px 0 18px 20px; padding: 0; }
.legal-card li { margin-bottom: 8px; color: var(--text-soft); font-size: 15.5px; }
.legal-card strong { color: #fff; }

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(3, 6, 12, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: min(1000px, 88vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-figure img {
  max-height: 76vh;
  max-width: 100%;
  width: auto;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}
.lightbox-figure figcaption {
  color: var(--text-soft);
  font-size: 15px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #040810;
  border-top: 1px solid var(--border);
  padding: 58px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
  max-width: 310px;
}
.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.footer-col a {
  color: var(--muted);
  font-size: 14px;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-bottom-links a { color: var(--muted); }
.footer-bottom-links a:hover { color: #fff; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .products-grid,
  .api-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .phone-gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 68px 0 56px; }
  .menu-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(8, 14, 26, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 6px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 14px; font-size: 15px; }
  .nav a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }

  .phone-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tablet-gallery { grid-template-columns: 1fr; }
  .api-features { grid-template-columns: 1fr; }
  .legal-card { padding: 26px 22px; }
  .product-card, .pricing-card { padding: 24px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 16px; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .preview-phone.secondary { display: none; }
  .play-badge img { height: 48px; }
  .disclaimer-box { flex-direction: column; }
}
