/* ==========================================================================
   GoTong — Premium 3D Design System & Stylesheet
   Inspired by gotong-premium.html with advanced 3D perspective & animations
   ========================================================================== */

:root {
  --ink: #1f0b15;
  --wine: #60102c;
  --wine-dark: #3b081b;
  --berry: #b52651;
  --crimson: #dc2626;
  --crimson-glow: rgba(220, 38, 38, 0.45);
  --pink: #f8d9e0;
  --pink-light: #fff0f3;
  --cream: #fffaf7;
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --green: #10b981;
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(41, 19, 28, 0.06);
  --shadow-md: 0 12px 28px rgba(96, 16, 44, 0.12);
  --shadow-lg: 0 24px 50px rgba(41, 19, 28, 0.22);
  --shadow-3d: 26px 40px 60px rgba(32, 4, 22, 0.55), 0 0 0 2px rgba(255, 180, 193, 0.3);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand, .kicker, .btn, .eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

::selection {
  background: #ff9bb6;
  color: #4a1024;
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   1. NAVBAR WITH BLUR & BRAND LOGO
   ========================================================================== */
.nav {
  height: 84px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  background: rgba(255, 250, 247, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 36, 53, 0.1);
  transition: all 0.35s ease;
}

.nav.scrolled {
  height: 74px;
  background: rgba(255, 250, 247, 0.96);
  box-shadow: 0 10px 30px rgba(41, 19, 28, 0.07);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--ink);
}

.brand-badge {
  background: linear-gradient(135deg, var(--berry), var(--crimson));
  color: white;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 9px;
  border-radius: 9px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px var(--crimson-glow);
}

.brand img,
.brand-logo-img,
img.brand-logo-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(87, 12, 39, 0.22);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.brand i {
  color: var(--crimson);
  font-style: normal;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 700;
  color: #5c3e4b;
}

.navlinks a {
  position: relative;
  padding: 6px 0;
}

.navlinks a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--berry);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.navlinks a:hover {
  color: var(--berry);
}

.navlinks a:hover::after {
  width: 100%;
}

.navlinks .nav-web-link {
  color: var(--berry);
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-full);
  padding: 14px 24px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(76, 11, 43, 0.24);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--wine);
  color: white;
  box-shadow: 0 8px 20px rgba(96, 16, 44, 0.25);
}

.btn-dark:hover {
  background: var(--crimson);
}

.btn-white {
  background: #ffffff;
  color: var(--wine);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: var(--pink-light);
  color: var(--crimson);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-nav {
  padding: 8px 16px;
  font-size: 12px;
  border: 1px solid rgba(96, 16, 44, 0.2);
  color: var(--wine);
  background: transparent;
  border-radius: var(--radius-full);
}

.btn-outline-nav:hover {
  border-color: var(--wine);
  background: rgba(96, 16, 44, 0.05);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffccd7;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.btn-gold {
  background: var(--gold);
  color: #1a0812;
  box-shadow: 0 8px 25px var(--gold-glow);
}

.btn-gold:hover {
  background: #fbbf24;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--wine);
  border-radius: 2px;
  transition: 0.3s;
}

/* ==========================================================================
   2. HERO SECTION WITH 3D INTERACTIVE SMARTPHONE & ORBS
   ========================================================================== */
.hero {
  position: relative;
  min-height: 840px;
  padding: 170px 0 110px;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 80% 38%, #c02b58 0%, #8c1a41 28%, #570c27 68%, #360a1e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: 0.18;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(220, 38, 38, 0.35);
  top: 15%;
  right: 10%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(181, 38, 81, 0.3);
  bottom: 10%;
  left: 5%;
}

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

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffccd7;
}

.spark {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--gold);
  animation: pulse 2s infinite ease-in-out;
}

.hero h1 {
  font-size: clamp(52px, 5.8vw, 86px);
  line-height: 1.05;
  letter-spacing: -3.5px;
  margin: 24px 0;
  font-weight: 900;
}

.hero h1 em {
  font-style: normal;
  color: #ffb4c6;
  text-shadow: 0 0 40px rgba(255, 180, 198, 0.4);
}

.hero p {
  font-size: 17.5px;
  line-height: 1.85;
  color: #f7dbe3;
  max-width: 510px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  font-size: 13px;
  color: #f4d9e2;
}

.avatars {
  display: flex;
  padding-left: 8px;
}

.avatars span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #791737;
  margin-left: -10px;
  background: #f6c8a4;
  font-size: 19px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.avatars .avatar-plus {
  background: var(--crimson);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.proof-text strong {
  display: block;
  color: white;
  font-size: 13.5px;
}

.proof-text small {
  color: #f9c2d1;
  font-size: 12px;
}

/* ==========================================================================
   3D HERO ART STAGE & SMARTPHONE
   ========================================================================== */
.hero-art-wrapper {
  position: relative;
  height: 620px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.3, 1);
}

/* 3D Orbiting Rings */
.orbit-3d {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-3d.ring-1 {
  width: 540px;
  height: 540px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  animation: rotateSlow 40s linear infinite;
}

.orbit-3d.ring-2 {
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: rotateSlow 25s linear infinite reverse;
}

/* 3D Glowing Spheres */
.orb-3d {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  box-shadow: 0 20px 70px rgba(252, 145, 172, 0.5);
  pointer-events: none;
}

.orb-3d.orb-a {
  width: 90px;
  height: 90px;
  right: 25px;
  top: 30px;
  background: linear-gradient(130deg, #ff9eb7, #b52651);
  animation: floatOrb 5s ease-in-out infinite;
}

.orb-3d.orb-b {
  width: 44px;
  height: 44px;
  left: 45px;
  bottom: 80px;
  background: linear-gradient(130deg, #ffc4d4, #dc2626);
  animation: floatOrb 4.5s ease-in-out infinite reverse;
}

.orb-3d.orb-c {
  width: 28px;
  height: 28px;
  right: 100px;
  bottom: 40px;
  background: var(--gold);
  box-shadow: 0 0 30px var(--gold);
  animation: floatOrb 6s ease-in-out infinite;
}

/* The 3D Smartphone Device */
.phone-3d {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 294px;
  height: 570px;
  border: 10px solid #230d17;
  border-radius: 48px;
  background: #ffffff;
  box-shadow: var(--shadow-3d);
  transform: translate(-50%, -50%) rotate(-10deg) translateZ(30px);
  overflow: hidden;
  color: #341825;
  transition: transform 0.3s ease;
  animation: phoneHover 7s ease-in-out infinite;
}

.phone-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 45%);
  z-index: 10;
}

.notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #230d17;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.camera-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0f050b;
  border: 1px solid #4d1c31;
}

.speaker-grill {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: #3a1525;
}

/* Smartphone Screen UI */
.screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
}

.screen-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 24px 4px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #a61d49, #6b1230);
}

.status-icons {
  display: flex;
  gap: 6px;
}

.screenhead {
  background: linear-gradient(135deg, #a61d49, #6b1230);
  color: white;
  padding: 12px 20px 20px;
}

.user-greeting small {
  font-size: 11px;
  opacity: 0.85;
}

.user-greeting h3 {
  font-size: 24px;
  margin: 2px 0 14px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.user-greeting h3 i {
  color: #ff9fb8;
  font-style: normal;
}

.search-bar-mock {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.screenbody {
  padding: 16px;
  flex: 1;
}

.appicons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}

.appicon-item span {
  font-size: 10px;
  font-weight: 800;
  color: #4a2133;
}

.ico-box {
  display: grid;
  place-items: center;
  border-radius: 14px;
  height: 48px;
  font-size: 24px;
  margin-bottom: 5px;
  background: var(--pink-light);
  box-shadow: 0 4px 10px rgba(181, 38, 81, 0.08);
  transition: transform 0.2s;
}

/* Live Active Ride Card on Screen */
.live-ride-card {
  margin-top: 16px;
  background: #ffffff;
  border: 1px solid #f1dfe3;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(96, 16, 44, 0.08);
}

.ride-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.5s infinite;
}

.ride-card-title {
  font-size: 11px;
  color: #270f1b;
  flex: 1;
}

.eta-pill {
  background: #e6f9f0;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
}

.ride-card-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.driver-avatar-mini {
  width: 32px;
  height: 32px;
  background: var(--pink-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.driver-info-mini strong {
  display: block;
  font-size: 11px;
  color: #1e0912;
}

.driver-info-mini small {
  font-size: 9px;
  color: #8c737d;
}

.route-pill {
  margin-top: 8px;
  padding: 6px 8px;
  background: #fdf5f7;
  border-radius: 8px;
  font-size: 9px;
  color: var(--berry);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbanner {
  background: linear-gradient(135deg, #ffe5ea, #fff1f4);
  border: 1px solid #ffd0dc;
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.appbanner strong {
  font-size: 12px;
  color: var(--wine);
}

.appbanner p {
  font-size: 9.5px;
  color: #884b5e;
  margin: 2px 0 0;
}

.banner-emoji {
  font-size: 26px;
}

.appfoot {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #f3e6e9;
  padding: 12px 0;
  font-size: 10px;
  font-weight: 700;
  color: #927e87;
  background: white;
}

.foot-item.active {
  color: var(--berry);
}

/* Floating 3D Parallax Badges */
.floatcard {
  position: absolute;
  z-index: 20;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #ffffff;
  color: #391927;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(32, 7, 31, 0.35);
  animation: floatCard 5s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.floatcard strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
}

.floatcard small {
  font-size: 10.5px;
  color: #8c7781;
}

.floatcard .ico {
  font-size: 26px;
}

.fc1 {
  right: -10px;
  top: 90px;
  transform: translateZ(60px) rotate(4deg);
}

.fc2 {
  left: -35px;
  bottom: 110px;
  animation-delay: -2s;
  transform: translateZ(100px) rotate(-3deg);
}

.fc3 {
  right: -25px;
  bottom: 50px;
  animation-delay: -3.5s;
  transform: translateZ(80px) rotate(3deg);
}

/* Slanted Divider */
.hero-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--cream);
  clip-path: polygon(0 85%, 100% 0, 100% 100%, 0 100%);
  z-index: 10;
}

/* ==========================================================================
   3. ANIMATED MARQUEE TICKER
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding: 24px 0;
  border-bottom: 1px solid #eadbdf;
  background: #ffffff;
  position: relative;
  z-index: 11;
}

.marquee-inner {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: marqueeScroll 32s linear infinite;
  align-items: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--berry);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.marquee-inner span.dot {
  color: #d6abb9;
}

/* ==========================================================================
   4. SERVICES SECTION WITH 3D TILT CARDS
   ========================================================================== */
.section {
  padding: 110px 0;
}

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--berry);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 16px 0 20px;
  font-weight: 900;
}

.text-ruby {
  color: var(--berry);
}

.text-pink {
  color: #ffb0c5 !important;
}

.text-gold {
  color: var(--gold) !important;
}

.muted {
  color: #7d6771;
  line-height: 1.8;
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 55px;
}

.service-card {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background: #ffffff;
  border: 1px solid #ebdbe0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(96, 16, 44, 0.14);
  border-color: #f7aabf;
}

.service-card:nth-child(1) { background: #fdf0f3; }
.service-card:nth-child(2) { background: #fff5e6; }
.service-card:nth-child(3) { background: #eef8f3; }
.service-card:nth-child(4) { background: #f0f0fd; }

.service-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  color: var(--wine);
}

.icon-3d {
  font-size: 78px;
  display: block;
  text-align: center;
  margin: 28px 0 24px;
  filter: drop-shadow(6px 12px 10px rgba(76, 18, 35, 0.15));
  transition: transform 0.4s ease;
}

.service-card:hover .icon-3d {
  transform: translateY(-8px) scale(1.12) rotate(-6deg);
}

.service-card h3 {
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.8px;
}

.service-card p {
  font-size: 12.5px;
  color: #79626b;
  line-height: 1.7;
  flex: 1;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(125, 40, 65, 0.15);
}

.fare-info {
  font-size: 12px;
  font-weight: 800;
  color: var(--wine);
}

.arrow-3d {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  font-size: 18px;
  color: var(--wine);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: 0.25s;
}

.service-card:hover .arrow-3d {
  background: var(--wine);
  color: white;
  transform: rotate(45deg);
}

/* ==========================================================================
   5. EXPERIENCE SECTION (3D STAGE & FEATURE PILLARS)
   ========================================================================== */
.experience {
  background: var(--wine-dark);
  color: white;
  overflow: hidden;
  position: relative;
}

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

.experience .muted {
  color: #d8bfc9;
  margin: 0 0 20px;
}

.feature-item {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  align-items: flex-start;
}

.feature-item b {
  display: block;
  font-size: 16.5px;
  margin-bottom: 4px;
  color: white;
}

.feature-item p {
  color: #cdb4be;
  font-size: 13.5px;
  line-height: 1.7;
}

.fi-icon {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  flex-shrink: 0;
  font-size: 24px;
}

/* 3D Visual Stage */
.visual {
  height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--crimson);
  filter: blur(90px);
  opacity: 0.6;
}

.ring-3d {
  position: absolute;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.ring-3d.r1 {
  width: 440px;
  height: 240px;
  transform: rotate(-24deg);
  animation: rotateSlow 30s linear infinite;
}

.ring-3d.r2 {
  width: 360px;
  height: 360px;
  border-style: dotted;
  transform: rotate(45deg);
  animation: rotateSlow 45s linear infinite reverse;
}

.center-sphere-3d {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff7b9f, #b52651 50%, #4a0d22);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset -10px -10px 30px rgba(0, 0, 0, 0.5), inset 10px 10px 30px rgba(255, 255, 255, 0.4);
  animation: floatSphere 6s ease-in-out infinite;
}

.center-sphere-3d .big-icon {
  font-size: 110px;
  filter: drop-shadow(10px 20px 15px rgba(0, 0, 0, 0.4));
}

.bubble {
  position: absolute;
  z-index: 3;
  background: #ffffff;
  color: #48152b;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: floatCard 5s ease-in-out infinite;
}

.bubble.one {
  top: 50px;
  left: 10px;
}

.bubble.two {
  right: 15px;
  bottom: 80px;
  animation-delay: -2s;
}

.bubble.three {
  left: 20px;
  bottom: 40px;
  animation-delay: -3.5s;
}

/* ==========================================================================
   6. INTERACTIVE FARE SIMULATOR
   ========================================================================== */
.calc-card {
  max-width: 860px;
  margin: 48px auto 0;
  background: #ffffff;
  border: 1px solid #ebdbe0;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(96, 16, 44, 0.08);
}

.calc-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #ebdbe0;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.calc-tab {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--pink-light);
  color: var(--wine);
  font-weight: 800;
  font-size: 14px;
  transition: all 0.25s ease;
}

.calc-tab.active {
  background: var(--wine);
  color: white;
  box-shadow: 0 8px 20px rgba(96, 16, 44, 0.25);
}

.slider-wrapper {
  margin-bottom: 35px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
}

.slider-labels strong {
  font-size: 22px;
  color: var(--berry);
}

input[type="range"] {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #ebdbe0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 16px var(--crimson-glow);
  cursor: pointer;
  border: 3px solid #ffffff;
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #927e87;
  margin-top: 8px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  align-items: center;
  background: #fdf7f8;
  border: 1px solid #ebdbe0;
  border-radius: 24px;
  padding: 28px;
}

.calc-total-box {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eadbdf;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.calc-total-box small {
  font-size: 13px;
  color: #8c737d;
  font-weight: 700;
}

.calc-total-box h3 {
  font-size: 38px;
  color: var(--wine);
  margin: 8px 0 12px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.tag-cash {
  display: inline-block;
  background: #e6f9f0;
  color: #059669;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #6d5761;
}

.breakdown-divider {
  height: 1px;
  background: #ebdbe0;
  margin: 4px 0;
}

.breakdown-row.highlight {
  color: #059669;
  font-weight: 800;
  font-size: 14.5px;
}

.breakdown-row.sub {
  color: var(--berry);
  font-size: 13px;
}

/* ==========================================================================
   7. STEPS (CARA KERJA)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 55px;
}

.step-card {
  padding: 38px 32px;
  border: 1px solid #ebdbe0;
  border-radius: 28px;
  background: #ffffff;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(96, 16, 44, 0.09);
  border-color: #f7aabf;
}

.step-num {
  font-size: 52px;
  color: #f0d5dd;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
}

.step-emoji {
  font-size: 48px;
  margin: 18px 0 14px;
}

.step-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  color: #79626b;
  font-size: 13.5px;
  line-height: 1.8;
}

/* ==========================================================================
   8. MITRA DRIVER BANNER
   ========================================================================== */
.mitra-banner {
  background: radial-gradient(circle at 15% 30%, #570c27 0%, #320716 100%);
  color: white;
  border-radius: 36px;
  padding: 60px 55px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(41, 19, 28, 0.2);
}

.mitra-banner::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  right: -80px;
  bottom: -100px;
  pointer-events: none;
}

.mitra-copy h2 {
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 14px 0 16px;
  font-weight: 900;
}

.mitra-copy p {
  color: #f3d4de;
  font-size: 16px;
  line-height: 1.8;
  max-width: 500px;
}

.mitra-perks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}

.perk-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 800;
  color: #ffd8a8;
}

.driver-mockup-badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 320px;
  margin: 0 auto;
  animation: floatCard 6s ease-in-out infinite;
}

.driver-mockup-badge .ico {
  font-size: 42px;
}

.driver-mockup-badge strong {
  display: block;
  font-size: 17px;
  color: var(--wine);
}

.driver-mockup-badge small {
  color: #059669;
  font-weight: 700;
}

/* ==========================================================================
   9. DOWNLOAD CTA SECTION
   ========================================================================== */
.download-wrap {
  margin-top: 40px;
  margin-bottom: 90px;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 85px 75px;
  background: radial-gradient(circle at 85% 35%, #d83d69, #831b40 48%, #4d0d27);
  color: white;
  box-shadow: 0 30px 70px rgba(96, 16, 44, 0.3);
}

.cta-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border: 70px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -90px;
  top: -150px;
  pointer-events: none;
}

.cta h2 {
  max-width: 650px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -3px;
  margin: 16px 0 20px;
  font-weight: 900;
}

.cta p {
  color: #f7dbe3;
  max-width: 520px;
  line-height: 1.8;
  font-size: 17px;
}

.download-grid-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin-top: 40px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 20px;
  color: var(--ink);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.dl-icon {
  font-size: 34px;
  background: var(--pink-light);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  flex-shrink: 0;
}

.dl-info {
  flex: 1;
}

.dl-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--berry);
  letter-spacing: 0.8px;
}

.dl-info strong {
  display: block;
  font-size: 15px;
  color: var(--wine);
  margin: 2px 0;
}

.dl-info small {
  font-size: 11px;
  color: #7d6771;
}

.dl-arrow {
  font-size: 20px;
  color: var(--berry);
  transition: transform 0.25s;
}

.download-card:hover .dl-arrow {
  transform: translateY(4px);
}

.web-access-row {
  margin-top: 28px;
  font-size: 13.5px;
  color: #ffccd7;
}

.web-access-row a {
  color: white;
  font-weight: 800;
  text-decoration: underline;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
footer {
  padding: 70px 0 35px;
  background: #ffffff;
  border-top: 1px solid #ebdbe0;
}

.footgrid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  border-bottom: 1px solid #ebdbe0;
  padding-bottom: 50px;
}

.footbrand-col p {
  color: #79626b;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.8;
  margin: 16px 0 20px;
}

.server-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdf5f7;
  border: 1px solid #f2dbe1;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--berry);
}

.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.footlinks {
  display: flex;
  gap: 80px;
}

.footlinks div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: #735d67;
}

.footlinks b {
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}

.footlinks a:hover {
  color: var(--berry);
}

.copyright {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 12.5px;
  color: #8c737d;
}

/* ==========================================================================
   11. CUSTOM MODAL / DIALOG
   ========================================================================== */
.custom-dialog {
  border: 0;
  border-radius: 28px;
  max-width: 480px;
  width: calc(100% - 40px);
  padding: 0;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 25px 90px rgba(50, 16, 30, 0.45);
  margin: auto;
}

.custom-dialog::backdrop {
  background: rgba(30, 9, 20, 0.65);
  backdrop-filter: blur(8px);
}

.dialog-content {
  padding: 34px;
  position: relative;
}

.dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--wine);
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.dialog-head {
  text-align: center;
  margin-bottom: 24px;
}

.dialog-emoji {
  font-size: 46px;
  margin-bottom: 8px;
  display: block;
}

.dialog-head h3 {
  font-size: 24px;
  color: var(--wine);
  letter-spacing: -0.5px;
}

.dialog-head p {
  font-size: 13px;
  color: #79626b;
  margin-top: 6px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #4f3340;
}

.form-group input, .form-group select {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ebdbe0;
  font-family: inherit;
  font-size: 13.5px;
  background: #fdfafb;
  color: var(--ink);
  outline: none;
  transition: 0.2s;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(181, 38, 81, 0.15);
  background: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-full {
  width: 100%;
  padding: 15px;
  font-size: 14px;
  margin-top: 8px;
}

.form-alert {
  padding: 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
}

.form-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   12. KEYFRAME ANIMATIONS & REVEALS
   ========================================================================== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes phoneHover {
  0%, 100% { transform: translate(-50%, -50%) rotate(-10deg) translateZ(30px); }
  50% { transform: translate(-50%, -54%) rotate(-7deg) translateZ(45px); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes floatSphere {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(4deg); }
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero p {
    margin: 0 auto;
  }

  .actions {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-art-wrapper {
    height: 520px;
    margin-top: 20px;
  }

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

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

  .visual {
    order: -1;
    height: 380px;
  }

  .mitra-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 45px 30px;
  }

  .mitra-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mitra-copy p {
    margin: 0 auto;
  }

  .mitra-perks {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .navlinks {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 26px 30px;
    background: #fffaf7;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(51, 16, 28, 0.15);
    border-bottom: 1px solid #ebdbe0;
  }

  .navlinks.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero h1 {
    font-size: 54px;
    letter-spacing: -2.5px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .download-grid-actions {
    grid-template-columns: 1fr;
  }

  .footgrid {
    flex-direction: column;
    gap: 40px;
  }

  .footlinks {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 580px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .hero-art-wrapper {
    height: 440px;
    transform: scale(0.85);
  }

  .fc1 { right: -20px; }
  .fc2 { left: -30px; }
  .fc3 { display: none; }

  .services {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 50px 26px;
    border-radius: 28px;
  }

  .copyright {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
