/* ===== Variables ===== */
:root {
  --bg: #070b12;
  --bg-card: #0f1520;
  --bg-elevated: #151c2a;
  --orange: #224e9e;
  --orange-hover: #1a3c7b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: #1e293b;
  --success: #22c55e;
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px;
  font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-text {
  background: transparent; color: var(--text);
  border-bottom: 1.5px solid var(--orange); border-radius: 0; padding: 8px 0;
}
.btn-text:hover { color: var(--orange); }
.btn-nav {
  background: transparent; border: 1px solid var(--border);
  color: var(--text); padding: 10px 18px; font-size: 0.85rem;
}
.btn-nav:hover { border-color: var(--orange); color: var(--orange); }
.btn-full { width: 100%; justify-content: center; }

/* Preloader */
#preloader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loading-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; letter-spacing: 6px; margin-bottom: 20px;
}
.progress-bar { width: 160px; height: 2px; background: var(--border); margin: 0 auto; overflow: hidden; }
.progress { height: 100%; width: 0; background: var(--orange); animation: load 1.6s ease forwards; }
@keyframes load { to { width: 100%; } }

/* Header */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0; transition: var(--transition);
}
.header.scrolled {
  background: rgba(7, 11, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.15rem; letter-spacing: 2px;
}
.logo-text span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active { border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); }

/* HERO */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 32px 80px; position: relative;
  background: radial-gradient(ellipse at 20% 30%, rgba(34,78,158, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(34,78,158, 0.04) 0%, transparent 40%),
              var(--bg);
}
.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
  align-items: center; flex: 1;
}
.hero-title {
  font-size: clamp(3.2rem, 7vw, 5.5rem); font-weight: 600;
  line-height: 0.95; margin-bottom: 24px; letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 380px; margin-bottom: 40px; line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-right { display: flex; justify-content: flex-end; align-items: flex-start; padding-top: 20px; }
.route-badge {
  border: 1px solid var(--border); padding: 16px 20px;
  font-family: 'Space Grotesk', monospace; font-size: 0.75rem;
  letter-spacing: 1px; color: var(--text-dim);
  display: flex; flex-direction: column; gap: 4px;
}
.route-code { color: var(--text-muted); }
.route-id { color: var(--text); font-size: 0.85rem; }
.route-label { color: var(--orange); margin-top: 4px; }

.route-timeline { max-width: 1200px; margin: 60px auto 0; width: 100%; }
.timeline-label {
  font-size: 0.7rem; letter-spacing: 2px; color: var(--text-dim);
  margin-bottom: 20px; text-transform: uppercase;
}
.timeline-track {
  display: flex; align-items: center; justify-content: space-between; position: relative;
}
.timeline-track::before {
  content: ''; position: absolute; top: 6px; left: 0; right: 0;
  height: 1px; background: var(--border); z-index: 0;
}
.timeline-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.step-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border); transition: var(--transition);
}
.timeline-step.active .step-dot {
  background: var(--orange); border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(34,78,158, 0.25);
}
.timeline-step span {
  font-size: 0.7rem; letter-spacing: 1px; color: var(--text-dim); text-transform: uppercase;
}
.timeline-step.active span { color: var(--orange); }

/* Journey */
.journey-section { padding: 140px 0; border-top: 1px solid var(--border); }
.journey-section.alt { background: #0a0f18; }
.journey-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.journey-grid.reverse { direction: rtl; }
.journey-grid.reverse > * { direction: ltr; }
.section-num {
  display: block; font-size: 0.75rem; letter-spacing: 2px;
  color: var(--orange); margin-bottom: 20px; text-transform: uppercase;
}
.journey-text h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 20px; }
.journey-text p {
  color: var(--text-muted); max-width: 420px; margin-bottom: 28px; font-size: 1.05rem;
}
.journey-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; transition: var(--transition);
}
.journey-card:hover { border-color: rgba(34,78,158, 0.4); transform: translateY(-4px); }
.card-icon {
  width: 48px; height: 48px; background: rgba(34,78,158, 0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1.2rem; margin-bottom: 20px;
}
.card-label {
  font-size: 0.7rem; letter-spacing: 1.5px; color: var(--text-dim);
  display: block; margin-bottom: 12px;
}
.journey-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.journey-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card-tags span {
  font-size: 0.7rem; letter-spacing: 0.5px; color: var(--orange);
  border: 1px solid rgba(34,78,158, 0.3); padding: 4px 10px; border-radius: 4px;
}

/* Services */
.services-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.service-item {
  background: var(--bg-card); padding: 40px 28px; transition: var(--transition);
}
.service-item:hover { background: var(--bg-elevated); }
.service-num {
  font-size: 0.75rem; color: var(--orange); letter-spacing: 1px;
  display: block; margin-bottom: 16px;
}
.service-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-item p { font-size: 0.875rem; color: var(--text-muted); }

/* Network */
.network-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.network-item {
  border: 1px solid var(--border); padding: 28px 24px;
  border-radius: var(--radius); transition: var(--transition);
}
.network-item:hover { border-color: var(--orange); }
.network-item h4 {
  font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 8px; color: var(--orange);
}
.network-item p { font-size: 0.85rem; color: var(--text-muted); }

/* Tracking */
.tracking-box {
  max-width: 640px; margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 36px;
}
.tracking-form .input-group { display: flex; gap: 12px; }
.tracking-form input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 14px 16px; color: var(--text);
  font-size: 0.95rem; outline: none;
}
.tracking-form input:focus { border-color: var(--orange); }
.tracking-result { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.tracking-result.hidden { display: none; }
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.status-badge {
  background: rgba(34,78,158, 0.15); color: var(--orange);
  padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.result-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.detail span { display: block; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 4px; }
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 1px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item .dot {
  position: absolute; left: -24px; top: 4px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--border); border: 2px solid var(--bg-card);
}
.timeline-item.completed .dot { background: var(--success); }
.timeline-item.active .dot {
  background: var(--orange); box-shadow: 0 0 0 3px rgba(34,78,158, 0.25);
}
.timeline-item h4 { font-size: 0.9rem; margin-bottom: 2px; }
.timeline-item p { font-size: 0.8rem; color: var(--text-dim); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { border-left: 2px solid var(--border); padding-left: 20px; }
.process-step .step-num {
  font-size: 0.75rem; color: var(--orange); letter-spacing: 1px;
  display: block; margin-bottom: 12px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); }

/* Contact */
.cta-block { max-width: 560px; margin: 0 auto; text-align: center; }
.cta-block h2 { font-size: clamp(2.8rem, 6vw, 4rem); margin-bottom: 16px; }
.cta-block > p { color: var(--text-muted); margin-bottom: 40px; }
.contact-form {
  text-align: left; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { margin-bottom: 12px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 13px 14px; color: var(--text);
  font-family: inherit; font-size: 0.9rem; outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--orange);
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 80px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 50px 0 30px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px; flex-wrap: wrap; gap: 24px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; max-width: 260px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-dim);
}
.social-links { display: flex; gap: 16px; }
.social-links a:hover { color: var(--orange); }

/* Floating */
.whatsapp-float {
  position: fixed; bottom: 100px; right: 24px; width: 52px; height: 52px;
  background: #25d366; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem;
  color: #fff; z-index: 900; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}
.whatsapp-float:hover { transform: scale(1.08); }
.chatbot-toggle {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
  background: var(--orange); border: none; border-radius: 50%;
  color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 950;
  box-shadow: 0 4px 20px rgba(34,78,158, 0.4);
}
.chatbot-toggle:hover { transform: scale(1.06); }
.chatbot {
  position: fixed; bottom: 90px; right: 24px; width: 340px; max-height: 480px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  display: flex; flex-direction: column; z-index: 960;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.96);
  transition: all 0.3s ease;
}
.chatbot.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chatbot-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: var(--orange); border-radius: 14px 14px 0 0;
  font-weight: 600; font-size: 0.9rem;
}
.chatbot-close { background: none; border: none; color: #fff; cursor: pointer; font-size: 1rem; }
.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; max-height: 300px;
}
.message {
  max-width: 85%; padding: 10px 13px; border-radius: 10px;
  font-size: 0.85rem; line-height: 1.45;
}
.message.bot { background: var(--bg); border: 1px solid var(--border); align-self: flex-start; }
.message.user { background: var(--orange); color: #fff; align-self: flex-end; }
.chatbot-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chatbot-input input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 12px; color: var(--text); outline: none; font-size: 0.85rem;
}
.chatbot-input button {
  width: 40px; height: 40px; background: var(--orange); border: none;
  border-radius: 6px; color: #fff; cursor: pointer;
}

.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.section-header h2 em { font-style: italic; color: var(--text-muted); }
.section-header p { color: var(--text-muted); max-width: 480px; }

/* Responsive */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .journey-grid { grid-template-columns: 1fr; gap: 40px; }
  .journey-grid.reverse { direction: ltr; }
  .services-row { grid-template-columns: 1fr 1fr; }
  .network-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-card); flex-direction: column;
    padding: 80px 28px 40px; gap: 24px; transition: right 0.35s;
  }
  .nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 18px; }
  .nav-toggle { display: flex; z-index: 1001; }
  .hero-title { font-size: 2.8rem; }
  .services-row, .network-grid, .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-track { flex-wrap: wrap; gap: 16px; }
  .timeline-track::before { display: none; }
  .chatbot { width: calc(100% - 32px); right: 16px; }
  .whatsapp-float { right: 16px; bottom: 90px; }
  .chatbot-toggle { right: 16px; bottom: 20px; }
}
