/* ===== Variables ===== */
:root {
  --primary: #EAB308;
  --primary-dark: #CA8A04;
  --primary-light: #FDE047;
  --primary-glow: rgba(234, 179, 8, 0.35);
  --secondary: #FACC15;
  --dark: #0a0f1a;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f9fafb;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Estedad', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.has-smooth-scroll {
  scroll-behavior: auto;
}

body {
  font-family: var(--font);
  font-weight: 600;
  background: var(--light);
  color: var(--dark);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

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

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

.lazy-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

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

/* ===== Typography ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(234, 179, 8, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--dark);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark-3);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 6px 28px -14px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.header.scrolled::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.07) 20%,
    rgba(0, 0, 0, 0.07) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.header.scrolled::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.header-dark {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-dark.scrolled {
  background: rgba(10, 15, 26, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 6px 28px -14px rgba(0, 0, 0, 0.35);
  padding: 10px 0;
}

.header-dark.scrolled::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.header-dark.scrolled::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(10, 15, 26, 0.45), transparent);
  pointer-events: none;
}

.header-dark .nav-link { color: rgba(255,255,255,0.8); }
.header-dark .nav-link:hover,
.header-dark .nav-link.active { color: var(--primary-light); }
.header-dark .logo-text { color: var(--white); }
.header-dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }
.header-dark .menu-toggle span { background: var(--white); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--dark);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}

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

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
  background: rgba(234, 179, 8, 0.08);
}

.nav-link-app {
  background: rgba(234, 179, 8, 0.1);
  color: var(--primary-dark) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dark-3);
  background: transparent;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

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

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fafb 18%, #fffbeb 42%, #fef9c3 58%, #ffffff 100%),
    linear-gradient(135deg, transparent 0%, rgba(254, 249, 195, 0.35) 45%, transparent 75%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 2;
}

.hero-orb-1 {
  width: 460px;
  height: 460px;
  background: var(--primary-light);
  top: 42%;
  right: max(-220px, -14vw);
  left: auto;
  opacity: 0.38;
  animation: float-orb-1 9s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: 4%;
  left: max(-200px, -12vw);
  right: auto;
  opacity: 0.35;
  animation: float-orb-2 10s ease-in-out infinite reverse;
}

@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 10px); }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  align-content: center;
}

@media (min-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 40px 64px;
    align-items: center;
  }

  .hero-visual {
    justify-content: flex-end;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

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

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-3);
  opacity: 0.2;
}

/* Hero app screenshot */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-app-shot-link {
  display: block;
  transition: var(--transition);
}

.hero-app-shot-link:hover {
  transform: scale(1.02);
}

.hero-app-shot {
  display: block;
  width: min(280px, 78vw);
  height: auto;
  max-height: 580px;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.2));
  animation: app-shot-float 6s ease-in-out infinite;
}

.hero-app-shot-link picture,
.app-phone-showcase picture {
  display: block;
  line-height: 0;
}

@keyframes app-shot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Hero — glass bottom box (hero colors show through) ===== */
.hero-bottom-box {
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  min-height: 148px;
  margin-top: 48px;
  padding: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 251, 235, 0.42) 38%,
    rgba(254, 249, 195, 0.48) 100%
  );
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-top: 1px solid rgba(234, 179, 8, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 -12px 40px rgba(234, 179, 8, 0.08);
}

.hero-bottom-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.85;
}

.hero-bottom-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(254, 249, 195, 0.22) 45%, transparent 75%);
  pointer-events: none;
}

.hero-flights-inner {
  position: relative;
  z-index: 1;
  padding: 14px 0 10px;
}

.hero-flights-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 0 20px 10px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.16);
}

.hero-flights-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.hero-flights-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: flights-live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes flights-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-flights-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dark);
}

.hero-flights-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  color: var(--primary-dark);
}

.hero-flights-status--loading { background: rgba(107, 114, 128, 0.12); color: var(--gray); }
.hero-flights-status--err { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.hero-flights-status--empty { background: rgba(107, 114, 128, 0.1); color: var(--gray); }

.hero-flights-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-flights-updated {
  font-size: 0.72rem;
  color: var(--gray);
  margin-right: auto;
}

.hero-flights-track-wrap {
  direction: rtl;
  overflow: hidden;
  mask-image: linear-gradient(270deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 3%, #000 97%, transparent);
}

.hero-flights-track {
  --flights-marquee-duration: 220s;
  --flights-marquee-end: -50%;
  direction: ltr;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  padding: 12px 20px 6px;
  will-change: transform;
  backface-visibility: hidden;
  animation: flights-marquee var(--flights-marquee-duration) linear infinite;
}

.hero-flights-track:hover {
  animation-play-state: paused;
}

@keyframes flights-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(var(--flights-marquee-end), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flights-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}

.hero-flight-card {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 240px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.08);
}

.hero-flight-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
  padding: 2px;
}

.hero-flight-logo--ph {
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: rgba(234, 179, 8, 0.12);
}

.hero-flight-body {
  flex: 1;
  min-width: 0;
}

.hero-flight-route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

.hero-flight-arrow {
  color: var(--primary-dark);
  font-size: 0.75rem;
}

.hero-flight-airline {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.hero-flight-time {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary-dark);
  direction: ltr;
}

.hero-flight-no {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  direction: ltr;
  padding: 2px 6px;
  background: rgba(234, 179, 8, 0.1);
  border-radius: 6px;
}

.hero-flight-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
  direction: ltr;
  white-space: nowrap;
}

.hero-flight-price small {
  font-size: 0.68rem;
  color: var(--gray);
  font-weight: 600;
}

.hero-flights-empty {
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  width: 100%;
}

.hero-flights-empty--err {
  color: #b91c1c;
}

.hero-flights-source {
  margin: 4px 20px 0;
  font-size: 0.65rem;
  color: var(--gray);
  text-align: left;
  direction: ltr;
}

.hero-flights-source a {
  color: var(--primary-dark);
  text-decoration: none;
}

.hero-flights-source a:hover {
  text-decoration: underline;
}

.download-app-mobile {
  display: none;
  max-width: min(220px, 70vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12));
}

/* ===== Features ===== */
.features {
  position: relative;
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.features > .container {
  position: relative;
  z-index: 1;
}

/* Soft yellow orbs — smaller & more blurred than hero */
.features-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.features-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.features-orb--right {
  width: 280px;
  height: 280px;
  background: var(--primary-light);
  top: 16%;
  right: 3%;
  left: auto;
  opacity: 0.4;
  animation: float-orb-1 9s ease-in-out infinite;
}

.features-orb--left {
  width: 240px;
  height: 240px;
  background: var(--secondary);
  bottom: 8%;
  left: 3%;
  right: auto;
  opacity: 0.38;
  animation: float-orb-2 10s ease-in-out infinite reverse;
}

@media (max-width: 992px) {
  .features-orb {
    filter: blur(86px);
  }

  .features-orb--right {
    width: 230px;
    height: 230px;
    right: 1%;
    opacity: 0.36;
  }

  .features-orb--left {
    width: 200px;
    height: 200px;
    left: 1%;
    opacity: 0.34;
  }
}

@media (max-width: 768px) {
  .features-orb {
    filter: blur(72px);
  }

  .features-orb--right {
    width: 190px;
    height: 190px;
    top: 6%;
    right: 0;
    opacity: 0.34;
  }

  .features-orb--left {
    width: 170px;
    height: 170px;
    bottom: 4%;
    left: 0;
    opacity: 0.32;
  }
}

@media (max-width: 480px) {
  .features-orb--right {
    width: 155px;
    height: 155px;
    opacity: 0.3;
  }

  .features-orb--left {
    width: 140px;
    height: 140px;
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-orb--right,
  .features-orb--left {
    animation: none;
  }
}

/* feature boxes → css/feature-boxes.css */

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  width: 100%;
}

.about-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  padding: 16px 10px;
  background: var(--white);
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark-3);
  text-align: center;
  line-height: 1.35;
  transition: var(--transition);
}

.about-service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(234, 179, 8, 0.18);
}

.about-service-item--soon {
  opacity: 0.88;
}

.about-service-item--soon small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gray);
  margin-top: 2px;
}

.about-service-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(234, 179, 8, 0.45);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 249, 195, 0.45);
  overflow: hidden;
}

.about-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-service-icon img[src*="/icons/"] {
  filter: drop-shadow(0 0 3px rgba(234, 179, 8, 0.65));
}

.about-service-item--soon .about-service-icon img[src*="/icons/"] {
  opacity: 0.75;
  filter: grayscale(0.2) drop-shadow(0 0 2px rgba(234, 179, 8, 0.4));
}

.about-text .btn-primary {
  margin-top: 8px;
}

/* ===== Currency ===== */
.currency {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}

.currency-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.currency .section-tag {
  background: rgba(234, 179, 8, 0.15);
  color: var(--primary-light);
}

a.section-tag-quiet {
  text-decoration: none;
  cursor: default;
}

a.section-tag-quiet,
a.section-tag-quiet:hover,
a.section-tag-quiet:focus,
a.section-tag-quiet:visited,
a.section-tag-quiet:active {
  color: var(--primary-light);
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.currency-info p {
  color: var(--gray-light);
  margin-top: 12px;
}

.currency-updated {
  font-size: 0.8rem !important;
  color: var(--gray) !important;
  margin-top: 8px !important;
}

.currency-converter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
}

.converter-row {
  margin-bottom: 20px;
}

.converter-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.converter-row select,
.converter-row input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.converter-row select:focus,
.converter-row input:focus {
  border-color: var(--primary);
}

.converter-row select option {
  background: var(--dark-2);
}

.converter-result {
  text-align: center;
  padding: 24px;
  background: rgba(234, 179, 8, 0.1);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.result-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.result-unit {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-right: 4px;
}

.currency-rates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.currency-rates--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin-inline: auto;
}

.rate-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.rate-card:hover {
  border-color: rgba(234, 179, 8, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.rate-flag { font-size: 1.5rem; }
.rate-name { font-weight: 600; flex: 1; }
.rate-price { font-weight: 700; color: var(--primary-light); }

/* ===== Download CTA ===== */
.download-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #fef9c3 0%, #fffbeb 50%, #ffffff 100%);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.download-text p {
  color: var(--gray);
  margin-bottom: 28px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* App Store button — yellow theme (Uiverse.io by vinodjangid07) */
.appstore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 3px solid var(--primary-dark);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 15px;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(234, 179, 8, 0.35);
}

.appstore-button svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.appstore-button svg path {
  fill: var(--dark);
  transition: var(--transition);
}

.appstore-button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
  line-height: 1.15;
}

.appstore-button-top {
  font-size: 0.8rem;
  font-weight: 600;
}

.appstore-button-bottom {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.appstore-button:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(234, 179, 8, 0.45);
}

.appstore-button:hover .appstore-button-text {
  color: var(--dark);
}

.appstore-button:hover svg path {
  fill: var(--primary-dark);
}

/* Google Play button — yellow theme (Uiverse.io by Yaya12085) */
.playstore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 3px solid var(--primary-dark);
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 10px 22px;
  text-align: center;
  color: var(--dark);
  outline: 0;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(234, 179, 8, 0.35);
}

.playstore-button:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(234, 179, 8, 0.45);
}

.playstore-button-icon {
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
}

.playstore-button-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.playstore-button-top {
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.playstore-button-bottom {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Direct download button — green phosphorescent (Uiverse.io by adamgiebl) */
.download-io-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.8em 1.5em 0.8em 1.2em;
  color: #fff;
  background: linear-gradient(0deg, #059669 0%, #34d399 55%, #6ee7b7 100%);
  border: none;
  box-shadow:
    0 0.7em 1.5em -0.5em rgba(16, 185, 129, 0.55),
    0 0 24px rgba(52, 211, 153, 0.35);
  letter-spacing: 0.03em;
  border-radius: 20em;
  text-decoration: none;
  transition: var(--transition);
}

.download-io-button svg {
  flex-shrink: 0;
}

.download-io-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0.5em 1.5em -0.5em rgba(16, 185, 129, 0.65),
    0 0 32px rgba(110, 231, 183, 0.5);
}

.download-io-button:active {
  transform: translateY(0);
  box-shadow:
    0 0.3em 1em -0.5em rgba(16, 185, 129, 0.55),
    0 0 18px rgba(52, 211, 153, 0.4);
}

.download-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 24px rgba(234, 179, 8, 0.35));
  animation: logo-spin 20s linear infinite;
  will-change: transform;
}

@keyframes logo-spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.download-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

/* ===== Scroll to top — left corner (Uiverse.io by vinodjangid07) ===== */
.scroll-top-btn {
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--dark);
  border: none;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.28);
  cursor: pointer;
  transition: width 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.scroll-top-btn.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn-icon {
  width: 14px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.scroll-top-btn-icon path {
  fill: var(--white);
  transition: fill 0.3s ease;
}

.scroll-top-btn::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: var(--dark);
  font-size: 0;
  opacity: 0;
  white-space: nowrap;
  transition: font-size 0.3s ease, opacity 0.3s ease, bottom 0.3s ease;
}

.scroll-top-btn:hover {
  width: 148px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.4), 0 8px 24px rgba(234, 179, 8, 0.35);
}

.scroll-top-btn:hover .scroll-top-btn-icon {
  transform: translateY(-200%);
}

.scroll-top-btn:hover::before {
  font-size: 0.78rem;
  opacity: 1;
  bottom: unset;
}

.scroll-top-btn:hover .scroll-top-btn-icon path {
  fill: var(--dark);
}

.scroll-top-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--gray-light);
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.footer-links a {
  display: block;
  padding: 6px 0;
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content,
  .about-inner,
  .currency-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc,
  .section-header .section-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }

  .about-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 360px;
    margin-inline: auto;
  }

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

  .download-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
}
