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

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-dark: #111827;
  --teal: #00b4d8;
  --teal-light: #48cae4;
  --teal-dark: #0096b7;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --green: #22c55e;
  --yellow: #eab308;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 8px 40px rgba(0,0,0,0.16);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

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

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 35, 50, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.btn-nav {
  padding: 12px 28px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.3);
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
  box-shadow: 0 4px 18px rgba(0, 180, 216, 0.45);
  transform: translateY(-1px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-light);
  background: rgba(0, 180, 216, 0.08);
}

.btn-lg {
  padding: 20px 44px;
  font-size: 1.125rem;
  border-radius: var(--radius);
  letter-spacing: 0.01em;
}

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Pilot Banner */
.pilot-banner {
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 520px;
}

.pilot-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.pilot-text {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pilot-text strong {
  color: var(--teal-light);
}

/* Dashboard Mock */
.dashboard-mock {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(0, 180, 216, 0.06);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mock-dots span:first-child { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:last-child { background: #28c840; }

.mock-title {
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 500;
}

.mock-body {
  padding: 24px 20px;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mock-stat {
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}

.mock-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.mock-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-tray-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-tray-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}

.mock-tray-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-tray-dot.green { background: var(--green); }
.mock-tray-dot.yellow { background: var(--yellow); }
.mock-tray-dot.blue { background: var(--teal); }

.mock-tray-name {
  flex: 1;
  color: var(--gray-300);
  font-size: 0.875rem;
  font-weight: 500;
}

.mock-tray-status {
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--gray-50);
}

.section-dark {
  background: var(--navy);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-light .section-title {
  color: var(--navy);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-light .section-subtitle {
  color: var(--gray-600);
}

.section-dark .section-subtitle {
  color: var(--gray-400);
}

/* ===== OVERVIEW GRID ===== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.overview-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.overview-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
  transform: translateY(-4px);
}

.overview-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}

.overview-icon svg {
  width: 24px;
  height: 24px;
}

.overview-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.overview-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--navy-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.08);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(0, 180, 216, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal);
}

.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: var(--gray-200);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--teal);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== CTA SECTION ===== */
.section-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-subtitle strong {
  color: var(--teal-light);
}

.cta-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 40px;
}

.cta-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-300);
  font-size: 0.95rem;
}

.cta-detail svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  padding: 48px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo {
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-contact p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--teal);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--teal-light);
}

.footer-contact strong {
  color: var(--gray-300);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .pilot-banner {
    max-width: 100%;
  }

  .dashboard-mock {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 72px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .overview-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid::before {
    display: none;
  }

  .mock-stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mock-stat-num {
    font-size: 1.35rem;
  }

  .mock-stat-label {
    font-size: 0.6rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-lg {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .nav-inner {
    height: 60px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .container {
    padding: 0 16px;
  }

  .mock-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA BUTTON PULSE ===== */
.section-cta .btn-primary {
  padding: 22px 52px;
  font-size: 1.2rem;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 180, 216, 0.35); }
  50% { box-shadow: 0 4px 32px rgba(0, 180, 216, 0.55), 0 0 60px rgba(0, 180, 216, 0.15); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
