:root {
  --red: #d71920;
  --red-dark: #a90f15;
  --dark: #262626;
  --dark-2: #171717;
  --gray: #f3f4f6;
  --line: #e7e7e7;
  --white: #ffffff;
  --text: #2d2d2d;
  --muted: #747474;
  --green: #1fa55b;
  --px: 1rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ececec;
  color: var(--text);
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }

.app {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--gray);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(0,0,0,.12);
  padding-bottom: 92px;
}

.status-bar {
  height: env(safe-area-inset-top, 0px);
  background: var(--dark-2);
}

.top-app {
  background: var(--dark-2);
  color: var(--white);
  padding: 16px 18px 22px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  position: relative;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.logo {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge {
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.hero-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72)),
    url('/assets/img/background.jpg') center/cover no-repeat;
  border-radius: 22px;
  padding: 24px 18px;
  min-height: 355px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0,0,0,.22);
}

.pill {
  width: fit-content;
  background: var(--red);
  color: var(--white);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

h1 {
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-card p {
  font-size: 15px;
  color: #f3f3f3;
  margin-bottom: 18px;
}

.btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(215,25,32,.28);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.content {
  padding: 18px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: -38px;
  position: relative;
  z-index: 5;
  padding: 0 18px;
}

.quick-card {
  background: var(--white);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.quick-card .icon {
  font-size: 24px;
}

.quick-card .icon svg,
.quick-card .icon i,
.bottom-nav .nav-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-card .icon i {
  font-size: 24px;
  width: auto;
  height: auto;
}

#cta2 {
  margin-top: 20px;
}

.bottom-nav .nav-icon i {
  font-size: 20px;
  width: auto;
  height: auto;
}

.quick-card .icon i {
  font-size: 24px;
}

.quick-card strong {
  font-size: 13px;
  line-height: 1.15;
}

.quick-card span {
  color: var(--muted);
  font-size: 11px;
}

.section-title {
  margin: 26px 0 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.section-title h2 {
  font-size: 22px;
  line-height: 1.15;
  color: var(--dark);
}

.section-title small {
  color: var(--red);
  font-weight: 800;
  white-space: nowrap;
}

.card {
  background: var(--white);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.055);
  border: 1px solid rgba(0,0,0,.035);
  margin-bottom: 14px;
}

.intro-card {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border: 0;
}

.intro-card h2 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.intro-card p {
  color: #fff4f4;
  font-size: 15px;
}

.saving-box {
  margin-top: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 16px;
}

.saving-box small {
  display: block;
  color: #ffe5e5;
  margin-bottom: 4px;
}

.saving-box strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 8px 22px rgba(0,0,0,.045);
}

.num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(215,25,32,.1);
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--dark);
}

.step p {
  font-size: 13px;
  color: var(--muted);
}

.app-preview {
  background: var(--dark-2);
  color: var(--white);
  border-radius: 24px;
  padding: 18px;
  margin-bottom: 14px;
  overflow: hidden;
}

.wallet {
  background: linear-gradient(135deg, #383838, #1f1f1f);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 12px;
}

.wallet small {
  color: #cfcfcf;
}

.wallet strong {
  display: block;
  font-size: 34px;
  margin: 4px 0 12px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini {
  background: rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 13px;
  font-size: 12px;
  color: #e5e5e5;
}

.mini strong {
  display: block;
  color: var(--white);
  margin-top: 4px;
  font-size: 15px;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--white);
  border-radius: 17px;
  padding: 15px;
}

.check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  font-size: 14px;
  font-weight: 900;
}

.feature strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 3px;
}

.feature p {
  color: var(--muted);
  font-size: 13px;
}

.map-card {
  min-height: 260px;
  background:
    radial-gradient(circle at 72% 35%, rgba(215,25,32,.22), transparent 26%),
    radial-gradient(circle at 28% 72%, rgba(215,25,32,.14), transparent 26%),
    linear-gradient(135deg, #ffffff, #f4f4f4);
  position: relative;
  overflow: hidden;
}

.route {
  position: absolute;
  left: 50px;
  top: 60px;
  width: 260px;
  height: 140px;
  border: 4px dashed rgba(215,25,32,.35);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 100px 0 0;
  transform: rotate(8deg);
}

.pin {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--red);
  color: white;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(215,25,32,.3);
}

.pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  width: auto;
  height: auto;
}

.pin.p1 { left: 54px; top: 165px; }
.pin.p2 { left: 170px; top: 118px; }
.pin.p3 { right: 52px; top: 54px; }

.map-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(8px);
}

.map-info strong {
  display: block;
  color: var(--dark);
  margin-bottom: 4px;
}

.map-info p {
  color: var(--muted);
  font-size: 13px;
}

.rules-grid {
  display: grid;
  gap: 10px;
}

.rule {
  background: var(--white);
  border-radius: 17px;
  padding: 15px;
  border-left: 5px solid var(--red);
}

.rule strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dark);
}

.rule p {
  color: var(--muted);
  font-size: 13px;
}

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

.form-card h2 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.form-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

input, select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0 14px;
  font-size: 15px;
  margin-bottom: 10px;
  background: #fff;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(255,255,255,.95);
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 15px 15px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  backdrop-filter: blur(10px);
  z-index: 30;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #6f6f6f;
  font-size: 11px;
  font-weight: 700;
}

.bottom-nav a.active {
  color: var(--red);
}

.bottom-nav .nav-icon {
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav .nav-icon svg,
.bottom-nav .nav-icon i {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #111;
  border-top: 2px solid var(--red);
  padding: 1rem var(--px);
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cookie.show { transform: translateY(0); }
.cookie__row {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-direction: column; gap: .875rem; align-items: flex-start;
}
@media (min-width: 640px) { .cookie__row { flex-direction: row; align-items: center; } }
.cookie__text {
  font-size: 0.7rem;
  color: rgba(255,255,255,.52);
  line-height: 1.6;
  flex: 1;
}
.cookie__text a { color: #f87171; text-decoration: underline; }
.cookie__btns { display: flex; gap: .625rem; width: 100%; }
@media (min-width: 480px) { .cookie__btns { width: auto; flex-shrink: 0; } }
.cookie__ess {
  flex: 1; padding: .625rem 1rem; background: transparent;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.42);
  font-size: .8125rem; border-radius: 20px; cursor: pointer;
  font-family: inherit; font-weight: 500; transition: all var(--t); min-height: 44px;
}
@media (min-width: 480px) { .cookie__ess { flex: none; } }
.cookie__ess:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.cookie .btn-red {
  font-size: .7rem;
  padding: .625rem 1rem;
  min-height: 44px;
  flex: 1;
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
  border-radius: 20px;
  width: 130px;
}
.cookie .btn-red:hover {
  background: var(--red-dk) !important;
  border-color: var(--red-dk) !important;
}
@media (min-width: 480px) { .cookie .btn-red { flex: none; } }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 20px 18px 0;
}

@media (min-width: 700px) {
  .app { margin-top: 24px; margin-bottom: 24px; border-radius: 34px; min-height: calc(100vh - 48px); }
  .bottom-nav { border-radius: 24px 24px 0 0; }
}
