/* =============================================
   Flying Agents — Styles
   ============================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --border: #2A2A2A;
  --primary: #E8872A;
  --primary-hover: #F5A623;
  --text: #F0F0F0;
  --text-muted: #8A8A8A;
  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.938rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 12px 28px;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--primary);
  color: #0A0A0A;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(232, 135, 42, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.813rem;
  border-radius: 100px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.063rem;
}

/* ---------- Section Heading ---------- */
.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  text-align: center;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

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

.navbar-logo img {
  height: 22px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
.navbar-links a:hover {
  color: var(--text);
}

.navbar-cta-wrapper a {
  color: #0A0A0A;
}
.navbar-cta-wrapper a:hover {
  color: #0A0A0A;
}

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  max-width: 700px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =============================================
   VALUE PROPOSITION STRIP
   ============================================= */
.value-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.value-strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.value-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-desc {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.value-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* =============================================
   PRODUCT OVERVIEW
   ============================================= */
.product {
  padding: 140px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-image img {
  border-radius: 8px;
}

.product-text h2 {
  text-align: left;
  margin-bottom: 24px;
}

.product-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.product-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.938rem;
  color: var(--text);
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* =============================================
   CAPABILITIES
   ============================================= */
.capabilities {
  padding: 140px 0;
  background: var(--surface);
}

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

.cap-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cap-card:hover {
  border-color: #3a3a3a;
  transform: translateY(-4px);
}

.cap-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}
.cap-icon svg {
  width: 100%;
  height: 100%;
}

.cap-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cap-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 140px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  max-width: 280px;
  padding: 0 24px;
}

.step-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--mono);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
}

/* =============================================
   CTA / CONTACT
   ============================================= */
.cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 135, 42, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.cta-email {
  display: block;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.cta-email:hover {
  color: var(--primary);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 20px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.anim-delay-1 { transition-delay: 0.15s; }
.anim-delay-2 { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section-heading {
    font-size: 2rem;
  }
}

@media (max-width: 680px) {
  /* Navbar mobile */
  .navbar-toggle {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .navbar-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-links a {
    font-size: 1.125rem;
  }

  /* Value strip stacks */
  .value-strip-grid {
    flex-direction: column;
    gap: 24px;
  }
  .value-divider {
    width: 48px;
    height: 1px;
  }

  /* Capabilities single column */
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  /* Steps stack */
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step-connector {
    width: 1px;
    height: 40px;
    margin-top: 0;
  }

  /* Footer single col */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* CTA */
  .cta h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding-top: 80px;
  }
}
