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

:root {
  --bg-outer: #1e293b;
  --bg-phone: #fafafa;
  --orange: #f97316;
  --orange-btn: #ff9e3d;
  --orange-btn-hover: #ff8f1c;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --yellow: #facc15;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg-outer);
  color: var(--slate-900);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

.hidden {
  display: none !important;
}

.accent {
  color: var(--orange);
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.phone {
  width: 100%;
  max-width: 28rem;
  background: var(--bg-phone);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-bottom: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

@media (min-width: 640px) {
  .page {
    padding: 2rem 0;
  }

  .phone {
    min-height: auto;
    border-radius: 40px;
  }
}

/* Header */
.header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  padding: 1rem 1.5rem 2rem;
  position: relative;
}

.hero-copy {
  width: 66%;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin-top: 0.75rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
  max-width: 200px;
  line-height: 1.3;
}

.hero-mascot {
  position: absolute;
  right: 0;
  top: -1rem;
  width: 190px;
  height: 190px;
  z-index: 1;
}

.hero-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.pill {
  background: var(--white);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--slate-700);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid #f1f5f9;
}

.pill-icon {
  color: var(--orange);
}

/* Form */
.form-section {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.form-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.form-sub {
  color: var(--slate-500);
  font-size: 13px;
  margin-top: 0.125rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.success {
  background: #f0fdf4;
  color: #15803d;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #bbf7d0;
}

.success .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #22c55e;
  flex-shrink: 0;
}

.success p {
  font-size: 0.875rem;
  font-weight: 500;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-row {
  display: flex;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input-row:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.input-row.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.country {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 0.75rem;
  border-right: 1px solid #e2e8f0;
  background: var(--white);
  cursor: default;
  user-select: none;
}

.flag {
  font-size: 1.125rem;
}

#country-code {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
}

.chevron {
  width: 1rem;
  height: 1rem;
  color: var(--slate-400);
  flex-shrink: 0;
}

.chevron.muted {
  width: 1.25rem;
  height: 1.25rem;
}

#mobile-number {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.875rem 1rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-900);
  background: transparent;
  width: 100%;
  min-width: 0;
}

#mobile-number::placeholder {
  color: var(--slate-400);
}

#submit-btn {
  width: 100%;
  background: var(--orange-btn);
  color: var(--white);
  font-weight: 700;
  padding: 0.875rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 15px;
  margin-top: 0.25rem;
  box-shadow: 0 4px 12px rgba(255, 158, 61, 0.3);
  transition: background 0.15s, opacity 0.15s;
}

#submit-btn:hover:not(:disabled) {
  background: var(--orange-btn-hover);
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#submit-btn .chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}

.secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
  margin-top: 0.5rem;
}

.secure svg {
  width: 1rem;
  height: 1rem;
  color: #10b981;
}

/* Promos */
.promos {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.promo {
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  gap: 0.75rem;
}

.promo-bonus {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  cursor: pointer;
  transition: background 0.15s;
}

.promo-bonus:hover {
  background: #ffedd5;
}

.promo-app {
  background: var(--white);
  border: 1px solid #f1f5f9;
}

.promo-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.promo-img {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.promo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-text {
  font-size: 14px;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.25;
}

.promo-text .bonus {
  font-weight: 700;
  color: #ea580c;
}

.tc {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 0.25rem;
  font-weight: 500;
}

.app-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--orange);
}

.app-copy {
  max-width: 140px;
}

.app-title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
}

.app-sub {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 0.125rem;
  line-height: 1.25;
  font-weight: 500;
}

.download-btn {
  background: var(--yellow);
  border: none;
  color: var(--slate-900);
  font-size: 12px;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background 0.15s;
  flex-shrink: 0;
}

.download-btn:hover {
  background: #eab308;
}

.download-btn svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* Why */
.why {
  margin: 2rem 1rem 1rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 1.5rem;
  border: 1px solid #f1f5f9;
}

.why h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.why-body {
  display: flex;
  margin-top: 1.25rem;
  gap: 0.5rem;
}

.features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}

.check {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-badge {
  display: inline-block;
  margin-top: 0.75rem;
  background: #000;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  width: max-content;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.15s;
}

.play-badge:hover {
  background: var(--slate-800);
}

.play-badge img {
  height: 1.5rem;
  width: auto;
}

.rating {
  margin-top: 0.5rem;
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: #fb923c;
  font-size: 0.9rem;
}

.stars strong {
  color: var(--slate-800);
  margin-left: 0.25rem;
  font-size: 13px;
}

.rating p {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 0.25rem;
  font-weight: 500;
}

.phone-mockup {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phone-mockup img {
  width: 130px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.2));
}
