@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --navy: #0D1B4B;
  --navy-light: #162450;
  --navy-dark: #0A1229;
  --gold: #C8962E;
  --gold-light: #E8B84A;
  --gold-dark: #A67A1E;
  --gold-pale: #F5E6C8;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --gray-100: #F0EDE8;
  --gray-200: #D8D4CD;
  --gray-400: #9A9590;
  --gray-600: #6B6560;
  --dark: #1A1715;
  --success: #2ECC71;
  --success-dark: #27AE60;
  --warning: #F39C12;
  --danger: #E74C3C;
  --shopee: #EE4D2D;
  --mercadolivre: #FFE600;
  --ml-blue: #2D3277;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(15,27,61,0.08);
  --shadow-md: 0 8px 32px rgba(15,27,61,0.12);
  --shadow-lg: 0 16px 48px rgba(15,27,61,0.18);
  --shadow-gold: 0 4px 24px rgba(200,150,46,0.25);
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(200,150,46,0.15);
  padding: 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 50px;
  width: auto;
  border-radius: 6px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.1;
}
.nav-logo-text .sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 1 !important;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.mobile-toggle span {
  width: 24px; height: 2px; background: var(--gold); border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,150,46,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200,150,46,0.05) 0%, transparent 50%);
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 100px,
    rgba(200,150,46,0.02) 100px,
    rgba(200,150,46,0.02) 101px
  );
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,150,46,0.1);
  border: 1px solid rgba(200,150,46,0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .gold { color: var(--gold); }
.hero-text {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  font-family: inherit;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200,150,46,0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* Partners strip */
.hero-partners {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-partners span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.partner-logo {
  height: 32px;
  width: auto;
  border-radius: 6px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.partner-logo:hover { opacity: 1; }

/* Hero visual - tracking card */
.hero-visual {
  animation: fadeInUp 1s ease-out 0.2s both;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  max-height: 700px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ========== FORM CARD ========== */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.form-card-header {
  background: var(--navy);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}
.form-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.form-card-header .status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,204,113,0.15);
  color: var(--success);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.form-card-header .status-badge .dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
.form-card-body {
  padding: 32px;
}

/* ========== FORM ELEMENTS ========== */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.form-group label .required {
  color: var(--danger);
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,150,46,0.1);
}
.form-input::placeholder {
  color: var(--gray-400);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
textarea.form-input {
  resize: vertical;
  min-height: 80px;
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6560' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Platform selector */
.platform-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.platform-option {
  position: relative;
}
.platform-option input[type="checkbox"],
.platform-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.platform-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.platform-label:hover {
  border-color: var(--gold);
  background: rgba(200,150,46,0.03);
}
.platform-option input:checked + .platform-label {
  border-color: var(--gold);
  background: rgba(200,150,46,0.08);
  box-shadow: 0 0 0 3px rgba(200,150,46,0.15);
}
.platform-label img {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.platform-label .pl-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: var(--gray-100);
}
.platform-label span {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.3px;
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  padding: 0 8px;
}
.step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--gray-200);
  color: var(--gray-600);
  flex-shrink: 0;
  transition: var(--transition);
  font-family: 'JetBrains Mono', monospace;
}
.step-dot.active {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.step-dot.done {
  background: var(--success);
  color: white;
}
.step-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  transition: var(--transition);
}
.step-line.active {
  background: var(--gold);
}
.step-line.done {
  background: var(--success);
}

/* Form navigation buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gray-600);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-back:hover {
  border-color: var(--gray-400);
  color: var(--dark);
}
.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  box-shadow: var(--shadow-gold);
}
.btn-next:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-submit {
  background: var(--success);
  color: white;
  box-shadow: 0 4px 16px rgba(46,204,113,0.3);
}
.btn-submit:hover {
  background: var(--success-dark);
}

/* ========== TRACKING RESULT ========== */
.tracking-result {
  display: none;
}
.tracking-result.show {
  display: block;
  animation: fadeInUp 0.6s ease-out;
}
.tracking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tracking-header {
  background: var(--navy);
  padding: 28px 32px;
  border-bottom: 2px solid var(--gold);
}
.tracking-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tracking-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
}
.tracking-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--gold);
  background: rgba(200,150,46,0.1);
  padding: 6px 14px;
  border-radius: 8px;
}
.tracking-status-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 4px;
}
.ts-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: var(--transition);
}
.ts-dot.done {
  background: var(--success);
  color: white;
}
.ts-dot.active {
  background: var(--gold);
  color: var(--navy);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(200,150,46,0.4); }
  70% { box-shadow: 0 0 0 8px rgba(200,150,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,150,46,0); }
}
.ts-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.1);
}
.ts-line.done { background: var(--success); }
.ts-line.active { background: var(--gold); }

.tracking-body { padding: 32px; }

.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.tl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px; top: 54px;
  width: 2px; height: calc(100% - 36px);
  background: var(--gray-200);
}
.tl-step.done:not(:last-child)::after { background: var(--success); }
.tl-step.active:not(:last-child)::after {
  background: linear-gradient(to bottom, var(--gold), var(--gray-200));
}
.tl-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: var(--gray-100);
  color: var(--gray-400);
}
.tl-step.done .tl-icon {
  background: rgba(46,204,113,0.12);
  color: var(--success);
}
.tl-step.active .tl-icon {
  background: rgba(200,150,46,0.12);
  color: var(--gold);
  animation: pulse-ring 2s infinite;
}
.tl-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.tl-step.pending .tl-info h4 { color: var(--gray-400); }
.tl-info p {
  font-size: 13px;
  color: var(--gray-400);
}
.tl-step.done .tl-info p,
.tl-step.active .tl-info p { color: var(--gray-600); }

.tracking-eta {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tracking-eta .label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.tracking-eta .driver {
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
  margin-top: 4px;
}
.tracking-eta .time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-tag::before, .section-tag::after {
  content: '';
  width: 20px; height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--dark);
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Dark section */
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.55); }

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: rgba(200,150,46,0.08);
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: white;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 44px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .platform-selector { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-partners { flex-wrap: wrap; }
  .tracking-eta { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-card-header { flex-direction: column; gap: 12px; }
}
