/* ============================================
   ShipSafe SDK — Design System
   ============================================ */

:root {
  --navy: #0C2340;
  --ocean: #0077B6;
  --teal: #00B4D8;
  --teal-dark: #0096B7;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-hero: #F0F9FF;
  --text-primary: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

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

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

body {
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 18px;
  background: var(--white);
}

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

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

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-light);
}

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

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.15;
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  font-size: 18px;
  padding: 16px 36px;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  font-size: 14px;
  padding: 10px 24px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-hero) 100%);
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  padding-top: 80px;
}

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

.hero h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

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

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Hero Phone Mockup */
.hero-animation {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-phone {
  width: 260px;
  height: 540px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-animation.animated .hero-phone {
  opacity: 1;
  transform: translateY(0);
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}

.hero-status-bar {
  height: 36px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  z-index: 10;
  font-family: 'Inter', sans-serif;
}
.hero-sb-time { font-weight: 700; }
.hero-sb-label { font-weight: 500; font-size: 9px; color: #64748b; }
.hero-sb-icons { display: flex; gap: 3px; align-items: center; }
.hero-sb-icons svg { width: 13px; height: 13px; }

.hero-map-area {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #eef2f7;
  overflow: hidden;
}
.hero-map-area svg { width: 100%; }

.hero-bottom-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px 16px 0 0;
  padding: 14px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 20;
  transition: background 0.5s ease;
  font-family: 'Inter', sans-serif;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero-eta-label {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-eta-time {
  font-size: 28px;
  font-weight: 800;
  color: #0C2340;
  line-height: 1;
  transition: color 0.5s ease;
}
.hero-eta-time span {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 3px;
}

.hero-ship-name {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.hero-alert-banner {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.5s ease;
}

.hero-alert-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.hero-alert-title {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 1px;
}

.hero-alert-desc {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.3;
}

.hero-progress-track {
  margin-top: 10px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}
.hero-progress-fill {
  height: 100%;
  border-radius: 2px;
  width: 5%;
  transition: width 0.5s ease, background 0.5s ease;
}

/* Hero phone alert states */
.hero-phone-screen.alert-green .hero-alert-banner { background: #f0fdf4; }
.hero-phone-screen.alert-green .hero-alert-icon { background: #22c55e; color: white; }
.hero-phone-screen.alert-green .hero-alert-title { color: #15803d; }
.hero-phone-screen.alert-green .hero-alert-desc { color: #166534; }
.hero-phone-screen.alert-green .hero-progress-fill { background: #22c55e; }

.hero-phone-screen.alert-yellow .hero-alert-banner { background: #fefce8; }
.hero-phone-screen.alert-yellow .hero-alert-icon { background: #f59e0b; color: white; }
.hero-phone-screen.alert-yellow .hero-alert-title { color: #b45309; }
.hero-phone-screen.alert-yellow .hero-alert-desc { color: #92400e; }
.hero-phone-screen.alert-yellow .hero-progress-fill { background: #f59e0b; }
.hero-phone-screen.alert-yellow .hero-eta-time { color: #b45309; }

.hero-phone-screen.alert-orange .hero-alert-banner { background: #fff7ed; }
.hero-phone-screen.alert-orange .hero-alert-icon { background: #f97316; color: white; }
.hero-phone-screen.alert-orange .hero-alert-title { color: #c2410c; }
.hero-phone-screen.alert-orange .hero-alert-desc { color: #9a3412; }
.hero-phone-screen.alert-orange .hero-progress-fill { background: #f97316; }
.hero-phone-screen.alert-orange .hero-eta-time { color: #c2410c; }

.hero-phone-screen.alert-red .hero-alert-banner { background: #fef2f2; animation: heroUrgentPulse 0.8s ease-in-out infinite; }
.hero-phone-screen.alert-red .hero-alert-icon { background: #ef4444; color: white; animation: heroIconPulse 0.6s ease-in-out infinite; }
.hero-phone-screen.alert-red .hero-alert-title { color: #dc2626; }
.hero-phone-screen.alert-red .hero-alert-desc { color: #991b1b; }
.hero-phone-screen.alert-red .hero-progress-fill { background: #ef4444; }
.hero-phone-screen.alert-red .hero-eta-time { color: #dc2626; }

.hero-phone-screen.alert-safe .hero-bottom-card { background: #0C2340; }
.hero-phone-screen.alert-safe .hero-eta-label { color: rgba(255,255,255,0.5); }
.hero-phone-screen.alert-safe .hero-eta-time { color: #00B4D8; }
.hero-phone-screen.alert-safe .hero-eta-time span { color: rgba(255,255,255,0.4); }
.hero-phone-screen.alert-safe .hero-ship-name { color: rgba(255,255,255,0.5); }
.hero-phone-screen.alert-safe .hero-alert-banner { background: rgba(0,180,216,0.15); }
.hero-phone-screen.alert-safe .hero-alert-icon { background: #00B4D8; color: white; }
.hero-phone-screen.alert-safe .hero-alert-title { color: #00B4D8; }
.hero-phone-screen.alert-safe .hero-alert-desc { color: rgba(255,255,255,0.7); }
.hero-phone-screen.alert-safe .hero-progress-fill { background: #00B4D8; }
.hero-phone-screen.alert-safe .hero-progress-track { background: rgba(255,255,255,0.1); }

.hero-alert-flash { animation: heroAlertFlash 0.4s ease-out; }

@keyframes heroAlertFlash {
  0% { transform: scale(0.97); opacity: 0.7; }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes heroUrgentPulse {
  0%, 100% { background: #fef2f2; }
  50% { background: #fee2e2; }
}
@keyframes heroIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================
   Stats / Problem
   ============================================ */

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

.stats-grid .stat-card:last-child:nth-child(4n + 1) {
  grid-column: 2 / 4;
}

/* 5-card stats: center 5th on 2-col tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .stats-grid .stat-card:last-child:nth-child(4n + 1) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* 5-card stats: full width on mobile */
@media (max-width: 768px) {
  .stats-grid .stat-card:last-child:nth-child(4n + 1) {
    grid-column: auto;
  }
}

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
  line-height: 1.1;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   Features / Solution
   ============================================ */

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

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.feature-icon {
  color: var(--teal);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Steps / How It Works
   ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 24px;
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Pricing
   ============================================ */

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

.pricing-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.pricing-featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  line-height: 1.2;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-features li {
  font-size: 15px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 28px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.15;
}

.pricing-features li::after {
  content: '\2713';
  position: absolute;
  left: 3px;
  top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}

.pricing-card .btn {
  width: 100%;
}

.badge-new {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* Navigator Plus — GoTime highlight */
.pricing-gotime {
  border: 2px solid var(--ocean);
  background: linear-gradient(180deg, #f0f9ff 0%, var(--white) 40%);
  position: relative;
}

.pricing-gotime-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.pricing-gotime-block {
  background: rgba(0, 119, 182, 0.06);
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.pricing-gotime-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 12px;
}

.pricing-gotime-label svg {
  flex-shrink: 0;
  stroke: var(--teal);
}

.pricing-gotime-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-gotime-features li {
  font-size: 14px;
  color: var(--text-primary);
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}

.pricing-gotime-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.15;
}

.pricing-gotime-features li::after {
  content: '\2713';
  position: absolute;
  left: 3px;
  top: 1px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
}

.pricing-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 32px;
  font-style: italic;
}

.plans-cta {
  text-align: center;
  margin-top: 48px;
}

.plans-cta .pricing-note {
  margin-bottom: 24px;
  font-style: normal;
  font-size: 17px;
  color: var(--text-secondary);
}

/* ============================================
   GoTime
   ============================================ */

.gotime-header {
  text-align: center;
  margin-bottom: 56px;
}

.gotime-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0, 180, 216, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.gotime-features {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.gotime-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.gotime-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.08);
  border-radius: 12px;
  padding: 4px;
}

.gotime-feature h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.gotime-feature p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* GoTime phone mockup */
.gotime-visual {
  display: flex;
  justify-content: center;
}

.gotime-phone {
  width: 280px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.gotime-phone-screen {
  background: #f8fafc;
  border-radius: 28px;
  overflow: hidden;
  padding: 16px 14px;
}

.gotime-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.gotime-screen-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.gotime-screen-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gotime-status-card {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  background: var(--white);
}

.gotime-card-bar {
  width: 4px;
  flex-shrink: 0;
}

.gotime-card-green .gotime-card-bar { background: #22c55e; }
.gotime-card-amber .gotime-card-bar { background: #f59e0b; }
.gotime-card-red .gotime-card-bar { background: #ef4444; }

.gotime-card-content {
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
}

.gotime-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.gotime-card-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.gotime-badge-green {
  background: #f0fdf4;
  color: #15803d;
}

.gotime-badge-amber {
  background: #fefce8;
  color: #b45309;
}

.gotime-badge-red {
  background: #fef2f2;
  color: #dc2626;
}

.gotime-card-eta {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.gotime-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.gotime-card-detail {
  font-size: 10px;
  color: var(--text-muted);
}

.gotime-screen-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding-top: 10px;
  color: var(--text-muted);
}

.gotime-screen-footer span {
  font-size: 10px;
}

.gotime-screen-footer svg {
  width: 12px;
  height: 12px;
}

/* GoTime animation stagger */
.gotime-features .gotime-feature:nth-child(2) [data-animate],
.gotime-features [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.gotime-features [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.gotime-features [data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Field Test
   ============================================ */

.ft-hero {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.ft-hero-img {
  margin-bottom: 40px;
}

.ft-hero-img img {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ft-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.ft-stat {
  text-align: center;
}

.ft-stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.ft-stat-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.ft-stat-number span {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 4px;
}

.ft-stat-highlight .ft-stat-number {
  color: var(--teal);
}

.ft-stat-highlight .ft-stat-number span {
  color: rgba(0, 180, 216, 0.5);
}

.ft-stat-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.ft-stat-highlight .ft-stat-note {
  color: var(--teal);
  font-weight: 500;
}

.ft-stat-vs {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ft-hero-explain {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.ft-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.ft-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.ft-card-img {
  margin-bottom: 20px;
}

.ft-card-img img {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  max-height: 360px;
  width: auto;
  max-width: 100%;
}

.ft-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 12px;
}

.ft-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.ft-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.ft-gallery-item {
  text-align: center;
}

.ft-gallery-item img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-height: 300px;
  width: auto;
  max-width: 100%;
  margin-bottom: 8px;
}

.ft-gallery-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.ft-cta {
  text-align: center;
  margin-top: 32px;
}

.ft-cards [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.ft-cards [data-animate]:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-logo {
  opacity: 0.8;
  max-width: 200px;
  height: auto;
}

.footer-contact a {
  color: var(--teal);
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.2s;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
}

.footer-founder {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

.footer-founder a {
  color: var(--teal);
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer-founder a:hover {
  opacity: 0.8;
}

.footer-patent {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.patent-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ocean);
  background: rgba(0, 119, 182, 0.08);
  border: 1px solid rgba(0, 119, 182, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
  vertical-align: middle;
  margin-left: 12px;
  position: relative;
  top: -2px;
}

/* ============================================
   Animations
   ============================================ */

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.stats-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.stats-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.stats-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.stats-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }

.features-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.features-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.features-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.features-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.features-grid [data-animate]:nth-child(6) { transition-delay: 0.5s; }

.steps-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.steps-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.steps-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.pricing-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   Responsive — Tablet
   ============================================ */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }

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

  .section-title {
    font-size: 32px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .ft-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 48px;
  }

  .ft-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-featured {
    transform: none;
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
    color: var(--navy);
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1002;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

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

  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 17px;
  }

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

  .hero-phone {
    width: 240px;
    height: 500px;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 0;
  }

  /* Grids to single column */
  .stats-grid,
  .features-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-featured {
    transform: none;
  }

  .stat-number {
    font-size: 32px;
  }

  /* Pricing mobile */
  .pricing-price {
    font-size: 36px;
  }

  .seatrade-content h2 {
    font-size: 28px;
  }

  .ft-hero-stats {
    gap: 20px;
  }

  .ft-stat-number {
    font-size: 40px;
  }

  .ft-stat-number span {
    font-size: 16px;
  }

  .gotime-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gotime-phone {
    width: 260px;
  }

  .ft-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 48px;
  }

  .ft-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Footer mobile */
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
