@import "_tokens.css";

:root {
  --rt-grad: linear-gradient(135deg, #ff217e 0%, #ff7426 100%);
  --rt-grad-soft: linear-gradient(135deg, rgba(255, 33, 126, 0.08) 0%, rgba(255, 116, 38, 0.08) 100%);
  --rt-ink: #14163a;
  --rt-ink-soft: #545879;
  --rt-bg: #fbfbfe;
  --rt-border: #ecebf5;
  --rt-shadow: 0 18px 40px -20px rgba(10, 42, 131, 0.25);
}

* {
  box-sizing: border-box;
}

body.home {
  background: var(--rt-bg);
  color: var(--rt-ink);
  font-family: "Poppins", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.home .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.home .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff217e;
  background: var(--rt-grad-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.home h1,
.home h2,
.home h3 {
  margin: 0;
  font-weight: 700;
  color: var(--rt-ink);
}

.home p {
  margin: 0;
  color: var(--rt-ink-soft);
}

.home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.home .btn:hover {
  transform: translateY(-2px);
}

.home .btn-primary {
  background: var(--rt-grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(255, 33, 126, 0.55);
}

.home .btn-ghost {
  background: #fff;
  color: var(--rt-ink);
  border: 1px solid var(--rt-border);
}

/* Header */
.home header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 254, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rt-border);
}

.home header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.home header img {
  height: 36px;
  width: auto;
  display: block;
}

.home header .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Hero */
.home .hero {
  padding: 64px 0 56px;
  text-align: center;
}

.home .hero h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto;
}

.home .hero .highlight {
  background: var(--rt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home .hero p.lead {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.home .hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* Section shell */
.home section {
  padding: 56px 0;
}

.home section.alt {
  background: #fff;
  border-top: 1px solid var(--rt-border);
  border-bottom: 1px solid var(--rt-border);
}

.home .section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.home .section-head h2 {
  font-size: 1.65rem;
  margin-top: 10px;
}

.home .section-head p {
  margin-top: 12px;
}

/* Feature grid */
.home .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.home .card {
  background: #fff;
  border: 1px solid var(--rt-border);
  border-radius: 18px;
  padding: 26px;
}

.home .card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--rt-grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.home .card .icon svg {
  width: 24px;
  height: 24px;
  stroke: #ff217e;
}

.home .card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.home .card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Process */
.home .steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

.home .step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--rt-border);
  border-radius: 16px;
  padding: 20px;
}

.home .step .num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rt-grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .step h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.home .step p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Benefits */
.home .benefits {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.home .benefit {
  border-radius: 18px;
  padding: 28px 24px;
  color: #fff;
}

.home .benefit:nth-child(1) {
  background: linear-gradient(160deg, var(--qaroni-primary-600), var(--qaroni-primary-900));
}

.home .benefit:nth-child(2) {
  background: linear-gradient(160deg, #ff7426, #ff217e);
}

.home .benefit:nth-child(3) {
  background: linear-gradient(160deg, var(--qaroni-primary-400), var(--qaroni-primary-700));
}

.home .benefit .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.home .benefit h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 10px 0 10px;
}

.home .benefit p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Cities */
.home .cities {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.home .city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--rt-border);
  border-radius: 16px;
  padding: 20px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home .city-card:hover {
  box-shadow: var(--rt-shadow);
  transform: translateY(-2px);
}

.home .city-card .name {
  font-weight: 700;
  font-size: 1.05rem;
}

.home .city-card .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #16a34a;
  margin-top: 4px;
}

.home .city-card .status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.home .city-card .arrow {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rt-grad-soft);
  color: #ff217e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* FAQ */
.home .faq-item {
  background: #fff;
  border: 1px solid var(--rt-border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.home .faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.home .faq-item p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Final CTA */
.home .cta-final {
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--qaroni-primary-700), var(--qaroni-primary-900));
  color: #fff;
}

.home .cta-final h2 {
  color: #fff;
  font-size: 1.55rem;
}

.home .cta-final p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 14px auto 0;
}

.home .cta-final .cta-row {
  margin-top: 26px;
}

.home .cta-final .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.home .contact-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.home footer {
  padding: 28px 0 40px;
  text-align: center;
}

.home footer p {
  font-size: 0.82rem;
  color: #8b8fae;
}

/* Responsive */
@media (min-width: 640px) {
  .home .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .home .hero h1 {
    font-size: 2.75rem;
  }
  .home .hero p.lead {
    font-size: 1.15rem;
  }
  .home .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .home .cities {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .home .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
