/* ---------- Base ---------- */
:root {
  --bg: #0a1220;
  --bg-alt: #0e1930;
  --surface: #121e38;
  --surface-2: #16233f;
  --border: #22314f;
  --text: #eef4fb;
  --text-dim: #a9b8cf;
  --accent: #4fd6ff;
  --accent-2: #7ee8c9;
  --accent-soft: rgba(79, 214, 255, 0.12);
  --radius: 16px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { line-height: 1.6; color: var(--text-dim); margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.6em;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); display: flex; }
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-text strong { color: var(--accent); font-weight: 700; }

.tabs {
  position: relative;
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}

.tab {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.tab.active { color: #06121f; }

.tab-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: transform 0.35s cubic-bezier(.65,0,.35,1), width 0.35s cubic-bezier(.65,0,.35,1);
  z-index: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Slider / Pages ---------- */
.viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider {
  display: flex;
  width: 300%;
  transition: transform 0.55s cubic-bezier(.65,0,.35,1);
}

.page {
  width: 33.3333%;
  flex-shrink: 0;
  padding: 0 24px 80px;
  min-height: calc(100vh - 68px);
}

.page-header {
  max-width: 900px;
  margin: 56px auto 40px;
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-header .hero-sub { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  background: linear-gradient(135deg, #ffffff, #b9d9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub { font-size: 1.05rem; max-width: 540px; }

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

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.drone-card {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f;
  box-shadow: 0 8px 24px rgba(79, 214, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); }

.btn-wide { width: 100%; padding: 15px; font-size: 1rem; }

/* ---------- Sections ---------- */
.section-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 0;
}
.section-block.alt {
  background: var(--surface);
  border-radius: 24px;
  padding: 56px 32px;
}
.section-head { text-align: center; max-width: 600px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; }

.service-card, .info-card, .package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover, .package-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.service-icon { font-size: 1.8rem; margin-bottom: 12px; }
.service-card h3, .info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p, .info-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Spec strip ---------- */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 12px;
}
.spec-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
}
.spec-label { display: block; font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  max-width: 1200px;
  margin: 0 auto 64px;
  text-align: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 24px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band .btn { margin-top: 12px; }

/* ---------- About ---------- */
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 20px;
}
.about-copy p { font-size: 1.02rem; }
.about-cards { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Booking / packages ---------- */
.package-card {
  text-align: left;
  position: relative;
}
.package-card.featured { border-color: var(--accent); }
.package-card h3 { margin-bottom: 6px; }
.package-card .price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.package-card ul { margin: 0; padding-left: 20px; color: var(--text-dim); font-size: 0.9rem; }
.package-card li { margin-bottom: 6px; }
.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.note { text-align: center; color: var(--text-dim); font-size: 0.85rem; margin-top: 24px; }

/* ---------- Forms ---------- */
.booking-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.85rem; font-weight: 500; color: var(--text-dim); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-status { text-align: center; font-size: 0.9rem; margin-top: 14px; min-height: 1.2em; color: var(--accent-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}
.site-footer p { font-size: 0.82rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-visual { order: 0; max-width: 260px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .card-grid, .card-grid.three, .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .card-grid.two { max-width: 460px; }
}

@media (max-width: 700px) {
  .tabs { display: none; position: fixed; top: 68px; left: 16px; right: 16px; flex-direction: column; gap: 2px; background: var(--surface); border-radius: 16px; padding: 8px; z-index: 99; box-shadow: 0 12px 32px rgba(0,0,0,0.4); overflow: hidden; box-sizing: border-box; }
  .tabs.open { display: flex; }
  .tab { text-align: left; padding: 12px 16px; border-radius: 10px; white-space: normal; word-break: break-word; width: 100%; }
  .tab.active { color: #06121f; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
  .tab-indicator { display: none; }
  .menu-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .card-grid, .card-grid.three, .card-grid.two, .spec-strip { grid-template-columns: 1fr; }
  .page { padding: 0 16px 60px; }
  .header-inner { padding: 12px 16px; }
}
