
/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --bg-dark:    #111111;
  --bg-forest:  #1a2e1a;
  --bg-warm:    #f5f2eb;
  --amber:      #e9a23b;
  --amber-dark: #c6851e;
  --green:      #588157;
  --green-light:#6a9b5e;
  --text-white:  #f1f5f9;
  --text-light:  #cbd5e1;
  --text-muted:  #94a3b8;
  --text-dark:   #1e293b;
  --border:      rgba(255,255,255,0.08);
  --border-warm: rgba(0,0,0,0.08);
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head:  'Space Grotesk', 'Inter', sans-serif;
  --radius:     10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(17,17,17,0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  color: #fff; letter-spacing: 2px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  font-size: 0.88rem; font-weight: 400; color: var(--text-light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--amber); }
.nav-portal {
  font-size: 0.85rem !important; font-weight: 500 !important;
  padding: 0.4rem 1rem; border-radius: 5px;
  border: 1px solid var(--green); color: var(--green) !important;
  transition: all var(--transition) !important;
}
.nav-portal:hover {
  background: var(--green); color: #fff !important;
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; transition: all var(--transition);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.75rem; border-radius: 6px; font-weight: 600;
  font-size: 0.95rem; font-family: var(--font-body);
  transition: all var(--transition); cursor: pointer; border: none;
  text-decoration: none;
}
.btn-amber {
  background: var(--amber); color: #111;
}
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(233,162,59,0.25); }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-green {
  background: var(--green); color: #fff;
}
.btn-green:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-dark {
  background: var(--bg-forest); color: #fff;
}
.btn-dark:hover { background: #243a24; }

/* =========================================================
   SECTION UTILITIES
   ========================================================= */
section { padding: 6rem 0; }
.sec-header { text-align: center; max-width: 780px; margin: 0 auto 4rem; }
.sec-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 1rem; }
.sec-header p  { color: var(--text-muted); font-size: 1.1rem; }
.bg-dark    { background: var(--bg-dark); }
.bg-forest  { background: var(--bg-forest); }
.bg-warm    { background: var(--bg-warm); color: var(--text-dark); }
.bg-warm .sec-header h2 { color: var(--text-dark); }
.bg-warm .sec-header p  { color: #475569; }

/* =========================================================
   SECTION 1 — HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 64px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/assets/images/hero_field_heatmap.png') center/cover no-repeat;
}
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(17,17,17,0.88) 0%, rgba(26,46,26,0.72) 50%, rgba(17,17,17,0.92) 100%);
}
/* Animated grid */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0; animation: gridFade 3.5s 0.8s forwards;
  background:
    linear-gradient(rgba(88,129,87,0.12) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(88,129,87,0.12) 1px, transparent 1px) 0 0 / 60px 60px;
}
@keyframes gridFade { to { opacity: 1; } }

.hero-content { position: relative; z-index: 10; max-width: 780px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: #fff;
  margin-bottom: 1.5rem; font-weight: 700; letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-light);
  margin-bottom: 2.5rem; max-width: 680px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-muted);
}
.trust-item span { font-size: 1.1rem; }

/* =========================================================
   SECTION 2 — PROBLEM
   ========================================================= */
.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.pain-card {
  background: rgba(0,0,0,0.25); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pain-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.pain-icon { font-size: 2.2rem; margin-bottom: 1.25rem; }
.pain-card h3 { font-size: 1.25rem; color: #fff; margin-bottom: 0.75rem; }
.pain-card p  { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================
   SECTION 3 — HOW IT WORKS
   ========================================================= */
.steps { display: flex; flex-direction: column; gap: 5rem; counter-reset: step; }
.step  { display: flex; align-items: center; gap: 4rem; }
.step:nth-child(even) { flex-direction: row-reverse; }
.step-text { flex: 1; }
.step-label {
  display: inline-block; font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700; color: var(--green);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 0.75rem;
}
.step-text h3 { font-size: 1.8rem; color: #fff; margin-bottom: 1rem; }
.step-text p  { color: var(--text-muted); font-size: 1.05rem; }
.step-visual {
  flex: 1; aspect-ratio: 4/3; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.02);
}
.step-visual img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   SECTION 4 — CAPABILITIES
   ========================================================= */
.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.cap-item { display: flex; gap: 1.25rem; }
.cap-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px;
  background: rgba(233,162,59,0.08); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.cap-item h4 { font-size: 1.1rem; color: #fff; margin-bottom: 0.4rem; }
.cap-item p  { color: var(--text-muted); font-size: 0.92rem; }

/* =========================================================
   SECTION 5 — DRONES
   ========================================================= */
.drone-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.drone-card {
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3rem 2.5rem; text-align: center;
  transition: transform var(--transition);
}
.drone-card:hover { transform: translateY(-4px); }
.drone-card h3 { font-size: 1.7rem; color: #fff; margin-bottom: 1.25rem; }
.drone-specs { list-style: none; margin-bottom: 1.5rem; }
.drone-specs li {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 500;
  color: var(--green); margin-bottom: 0.5rem;
}
.drone-card .drone-desc { color: var(--text-muted); font-style: italic; font-size: 0.95rem; }
.drone-note { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-top: 1.5rem; }

/* =========================================================
   SECTION 6 — CONTRIBUTOR
   ========================================================= */
.contrib-body {
  max-width: 780px; margin: 0 auto 3.5rem; text-align: center;
  font-size: 1.05rem; color: #475569; line-height: 1.75;
}
.contrib-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem; margin-bottom: 3rem;
}
.cc {
  background: #fff; padding: 2rem 1.75rem; border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform var(--transition);
}
.cc:hover { transform: translateY(-4px); }
.cc-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.cc h4 { color: var(--bg-forest); margin-bottom: 0.6rem; font-size: 1.05rem; }
.cc p  { color: #64748b; font-size: 0.92rem; }

/* =========================================================
   SECTION 7 — PRICING
   ========================================================= */
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem; margin-bottom: 2rem;
}
.price-card {
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.75rem 2.25rem;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 16px 50px rgba(0,0,0,0.25); }
.price-card.featured {
  border-color: var(--amber); background: rgba(233,162,59,0.04);
  box-shadow: 0 0 0 1px var(--amber);
}
.price-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--amber); background: rgba(233,162,59,0.12);
  padding: 0.25rem 0.75rem; border-radius: 4px; margin-bottom: 1rem; width: fit-content;
}
.price-card h3 { font-size: 1.25rem; color: #fff; margin-bottom: 1rem; }
.price-amount {
  font-family: var(--font-head); font-size: 3rem; font-weight: 700;
  color: #fff; margin-bottom: 0.5rem;
}
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.price-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }
.price-list { list-style: none; flex-grow: 1; margin-bottom: 2.5rem; }
.price-list li {
  margin-bottom: 0.85rem; color: var(--text-muted); font-size: 0.92rem;
  display: flex; gap: 0.65rem; align-items: baseline;
}
.price-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.price-card .btn { width: 100%; text-align: center; }

/* =========================================================
   SECTION 8 — SOCIAL PROOF
   ========================================================= */
.proof { text-align: center; padding: 5rem 0; }
.proof blockquote {
  font-family: var(--font-head); font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  color: #fff; font-weight: 500; max-width: 800px; margin: 0 auto;
  line-height: 1.5; font-style: normal;
}
.proof-sub {
  margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted);
}

/* =========================================================
   SECTION 9 — FAQ
   ========================================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; text-align: left;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 500;
  color: #fff;
}
.faq-q::after {
  content: '+'; font-size: 1.5rem; color: var(--amber);
  transition: transform var(--transition); flex-shrink: 0; margin-left: 1rem;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.5rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0a0a0a; padding: 6rem 0 2.5rem; text-align: center;
}
.site-footer h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem); color: #fff; margin-bottom: 2rem;
}
.footer-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.footer-links {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-copy {
  margin-top: 2rem; font-size: 0.78rem; color: #475569;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: none;
}
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.cookie-inner p { color: var(--text-muted); font-size: 0.85rem; flex: 1; }
.cookie-inner p a { color: var(--amber); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btns .btn { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* =========================================================
   UK IPM SECTION
   ========================================================= */
.uk-ipm {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background:
    linear-gradient(170deg, #0d1f0d 0%, #1a2e1a 35%, #111 100%);
}
.uk-ipm::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--green), var(--amber));
}

/* Flag accent */
.uk-ipm-flag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.25rem;
}
.uk-ipm-flag span {
  font-size: 1.3rem;
}

.uk-ipm .sec-header {
  text-align: left; max-width: 860px; margin: 0 0 3rem;
}
.uk-ipm .sec-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0;
}

.uk-ipm-lede {
  max-width: 820px;
  font-size: 1.1rem; line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 3.5rem;
}
.uk-ipm-lede p {
  margin-bottom: 1.25rem;
}
.uk-ipm-lede strong {
  color: var(--amber);
}
.uk-ipm-enter {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 1.75rem 0 0.5rem;
}

/* Benefit cards */
.uk-ipm-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}
.uk-benefit {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.uk-benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.35);
  border-color: rgba(233,162,59,0.25);
}
.uk-benefit-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: rgba(233,162,59,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.uk-benefit h3 {
  font-size: 1.15rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.uk-benefit p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Take Control CTA block */
.uk-ipm-cta-block {
  background: rgba(233,162,59,0.06);
  border: 1px solid rgba(233,162,59,0.2);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  max-width: 860px;
  text-align: center;
}
.uk-ipm-cta-block h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}
.uk-ipm-cta-block p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.uk-ipm-cta-block .btn {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .step { flex-direction: column !important; gap: 2rem; }
  .step-visual { aspect-ratio: 16/9; }
  .cap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(17,17,17,0.98); padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .hero h1 { font-size: 2.2rem; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .drone-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
