/* Dropioo Autopilot — shared marketing site styles */

:root {
  --brand-orange: #F58220;
  --brand-orange-600: #D86F12;
  --brand-orange-400: #F8A04E;
  --brand-orange-100: #FCE9D5;
  --ink-950: #0A0A0A;
  --ink-900: #111111;
  --ink-800: #1F1F1F;
  --ink-700: #404040;
  --ink-500: #737373;
  --ink-300: #D4D4D4;
  --ink-100: #F5F5F5;
  --success: #0F766E;
  --warning: #B45309;
  --error: #B91C1C;
  --info: #1D4ED8;
  --max-width: 1200px;
  --section-pad: 128px;
  --section-pad-mobile: 80px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--ink-950);
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  font-feature-settings: 'cv11', 'ss01';
}

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

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

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--brand-orange); color: var(--ink-950); }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--ink-800);
}

@media (max-width: 720px) {
  section { padding: var(--section-pad-mobile) 0; }
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 12px var(--brand-orange);
}

/* Typography */
h1, h2, h3, h4 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p {
  color: var(--ink-300);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

p.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-300);
  max-width: 720px;
  letter-spacing: -0.005em;
}

.muted { color: var(--ink-500); }

.tnum { font-variant-numeric: tabular-nums; }

/* Brand-orange highlight word inside any heading */
h1 .accent, h2 .accent, h3 .accent, .display .accent {
  color: var(--brand-orange);
  font-style: italic;
  font-weight: 600;
}

/* Subtle pixel-grid map background — used on all page heroes */
.hero-map-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    /* Vertical streets */
    linear-gradient(90deg, transparent 0, transparent 49.7%, rgba(245, 130, 32, 0.10) 49.7%, rgba(245, 130, 32, 0.10) 50.3%, transparent 50.3%),
    /* Horizontal streets */
    linear-gradient(0deg,  transparent 0, transparent 49.7%, rgba(245, 130, 32, 0.10) 49.7%, rgba(245, 130, 32, 0.10) 50.3%, transparent 50.3%),
    /* Sparse minor grid */
    linear-gradient(90deg, transparent 0, transparent 49.85%, rgba(255, 255, 255, 0.04) 49.85%, rgba(255, 255, 255, 0.04) 50.15%, transparent 50.15%),
    linear-gradient(0deg,  transparent 0, transparent 49.85%, rgba(255, 255, 255, 0.04) 49.85%, rgba(255, 255, 255, 0.04) 50.15%, transparent 50.15%);
  background-size: 240px 240px, 240px 240px, 80px 80px, 80px 80px;
  background-position: 0 0, 0 0, 40px 20px, 40px 20px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 80%);
  opacity: 0.55;
}
.hero-map-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 320px at 78% 38%, rgba(245, 130, 32, 0.18), transparent 70%),
    radial-gradient(circle 260px at 22% 70%, rgba(245, 130, 32, 0.10), transparent 70%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--ink-950);
}
.btn-primary:hover {
  background: var(--brand-orange-600);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--ink-700);
}
.btn-secondary:hover {
  border-color: var(--ink-500);
  background: var(--ink-900);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-300);
  padding: 14px 0;
}
.btn-ghost:hover { color: var(--brand-orange); }

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.15s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-800);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-horizontal {
  height: 40px;
  width: auto;
}

.logo-icon-only { display: none; }

@media (max-width: 600px) {
  .logo-horizontal { display: none; }
  .logo-icon-only { display: block; height: 36px; width: 36px; }
}

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

.nav a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-300);
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a.active {
  color: var(--brand-orange);
  font-weight: 600;
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0px;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(245, 130, 32, 0.6);
}

.nav .btn {
  margin-left: 12px;
  padding: 9px 16px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .nav a.nav-mobile-keep { display: inline-block; }
}

/* Footer */
.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--ink-800);
  background: var(--ink-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand p {
  color: var(--ink-500);
  font-size: 14px;
  margin-top: 18px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-300);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--brand-orange); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--ink-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--ink-500);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-300);
  padding: 6px 12px;
  border: 1px solid var(--ink-800);
  border-radius: 100px;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(15, 118, 110, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Cards */
.card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.card:hover {
  border-color: var(--ink-700);
  transform: translateY(-2px);
}

/* Divider with brand dot */
.dot-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.dot-divider::before, .dot-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-800);
}
.dot-divider span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* Generic grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Scroll-margin so anchors clear sticky header */
section[id] { scroll-margin-top: 80px; }
