/* ═══════════════════════════════════════════════════
   INSECE PRO — Landing Design System
   Inspired by DJI Enterprise + EVION aesthetics
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-deep: #020617;
  --bg-surface: #0a0f1e;
  --bg-card: rgba(15, 23, 42, 0.6);
  --border: rgba(102, 204, 255, 0.08);
  --border-hover: rgba(102, 204, 255, 0.2);
  --primary: #66ccff;
  --primary-dim: rgba(102, 204, 255, 0.15);
  --accent-green: #16d187;
  --accent-amber: #ffc857;
  --accent-red: #ff4d6a;
  --text-main: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --glass: rgba(15, 23, 42, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: #99ddff; }

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

/* ── NAVBAR ────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.nav.scrolled { background: rgba(2, 6, 23, 0.95); height: 60px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  font-size: 22px; font-weight: 900; letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary), #99ddff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-tag { font-size: 10px; font-weight: 700; color: var(--primary); letter-spacing: 0.15em;
  border: 1px solid var(--primary-dim); padding: 2px 8px; border-radius: 4px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.02em; transition: color var(--transition); }
.nav-links a:hover { color: var(--text-main); }
.nav-cta {
  padding: 10px 24px; background: var(--primary); color: #020617;
  font-size: 13px; font-weight: 700; border-radius: var(--radius-sm);
  border: none; cursor: pointer; letter-spacing: 0.02em;
  transition: all var(--transition);
}
.nav-cta:hover { background: #99ddff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(102, 204, 255, 0.25); }

/* ── HERO ──────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 48px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero.png') center/cover no-repeat;
  opacity: 0.35; filter: saturate(0.8);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.7) 0%, rgba(2,6,23,0.4) 40%, rgba(2,6,23,0.85) 80%, var(--bg-deep) 100%);
}
.hero-content { position: relative; z-index: 10; text-align: center; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: var(--primary-dim); border: 1px solid rgba(102,204,255,0.2);
  font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900;
  line-height: 1.1; margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px; background: var(--primary); color: #020617;
  font-size: 14px; font-weight: 700; border-radius: var(--radius-sm);
  border: none; cursor: pointer; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #99ddff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(102,204,255,0.3); }
.btn-outline {
  padding: 14px 32px; background: transparent;
  border: 1px solid rgba(255,255,255,0.15); color: var(--text-main);
  font-size: 14px; font-weight: 600; border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-dim); }

/* ── SECTIONS ──────────────────────────── */
section { padding: 120px 48px; position: relative; }
.section-label {
  font-size: 11px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 16px; max-width: 700px;
}
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 600px; line-height: 1.7; margin-bottom: 48px; }

/* ── ECOSYSTEM GRID ────────────────────── */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.eco-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: all var(--transition); position: relative; overflow: hidden;
}
.eco-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.eco-card:hover { border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.eco-card:hover::before { opacity: 1; }
.eco-icon { font-size: 36px; margin-bottom: 16px; }
.eco-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.eco-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── FEATURE SECTIONS ──────────────────── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.feature-img img { width: 100%; display: block; transition: transform 0.6s ease; }
.feature-img:hover img { transform: scale(1.03); }
.feature-text { display: flex; flex-direction: column; gap: 24px; }

/* ── SPEC PILLS ────────────────────────── */
.specs { display: flex; flex-wrap: wrap; gap: 10px; }
.spec {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--text-secondary);
  transition: all var(--transition);
}
.spec:hover { border-color: var(--primary); color: var(--primary); }
.spec-dot { width: 6px; height: 6px; border-radius: 50%; }
.spec-dot.green { background: var(--accent-green); }
.spec-dot.blue { background: var(--primary); }
.spec-dot.amber { background: var(--accent-amber); }

/* ── SENTINEL SECTION ──────────────────── */
.sentinel-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0a1a0f 50%, var(--bg-deep) 100%);
  border-top: 1px solid rgba(22, 209, 135, 0.1);
  border-bottom: 1px solid rgba(22, 209, 135, 0.1);
}

/* ── FLOW STEPS ────────────────────────── */
.flow { display: flex; gap: 0; align-items: center; margin: 32px 0; }
.flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1;
}
.flow-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-dim); border: 1px solid rgba(102,204,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--primary);
}
.flow-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-align: center; }
.flow-arrow { color: var(--text-muted); font-size: 18px; margin: 0 4px; padding-bottom: 20px; }

/* ── CLOUD SECTION ─────────────────────── */
.cloud-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1000px; margin: 40px auto 0;
}
.cloud-feat {
  padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: all var(--transition);
}
.cloud-feat:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.cloud-feat h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cloud-feat p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ── CTA FINAL ─────────────────────────── */
.cta-final {
  text-align: center; padding: 120px 48px;
  background: linear-gradient(180deg, var(--bg-deep), #0a0f1e);
}
.cta-final h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-final p { color: var(--text-secondary); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ────────────────────────────── */
.footer {
  padding: 48px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-muted);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 12px; }
.footer-links a:hover { color: var(--text-secondary); }

/* ── SCROLL REVEAL ─────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ────────────────────────── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(102,204,255,0); } 50% { box-shadow: 0 0 20px rgba(102,204,255,0.15); } }

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .cloud-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 80px 20px; }
  .hero { padding: 100px 20px 60px; }
  .eco-grid { grid-template-columns: 1fr; }
  .cloud-features { grid-template-columns: 1fr; }
  .flow { flex-direction: column; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); padding: 0; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
}
