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

:root {
  --orange: #E8490F;
  --orange-dark: #c73d0a;
  --orange-light: #fef0ea;
  --orange-mid: #f97c4e;
  --text: #1a1412;
  --text-muted: #6b5e58;
  --text-light: #9e8e87;
  --surface: #ffffff;
  --border: #f0e6e1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(232, 73, 15, 0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(232, 73, 15, 0.15), 0 2px 8px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fffaf8;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Background blobs ── */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.bg-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #E8490F, transparent 70%);
  top: -200px; right: -150px;
}
.bg-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f97c4e, transparent 70%);
  bottom: 100px; left: -120px;
}
.bg-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #fbbf24, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Layout ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ── Header ── */
.header {
  display: flex;
  justify-content: center;
  padding: 36px 0 0;
}
.logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(232,73,15,0.20));
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 48px 0 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(232, 73, 15, 0.20);
  margin-bottom: 28px;
  animation: fadeUp 0.5s ease both;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.headline {
  font-size: clamp(44px, 9vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.headline-accent {
  color: var(--orange);
  display: block;
}

.subheadline {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeUp 0.5s 0.2s ease both;
}

/* ── Countdown ── */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  animation: fadeUp 0.5s 0.25s ease both;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  min-width: 72px;
  box-shadow: var(--shadow);
}
.countdown-num {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.countdown-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.countdown-sep {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 20px;
}

/* ── Form Card ── */
.form-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 40px 40px 36px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  animation: fadeUp 0.5s 0.3s ease both;
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.form-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.field-row {
  margin-bottom: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.optional {
  font-weight: 400;
  color: var(--text-light);
}
.field input,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fffaf8;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239e8e87' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.field input:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 73, 15, 0.12);
  background: #fff;
}
.field input::placeholder {
  color: #c5b8b2;
}
.field input.invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.10);
}
.field-error {
  font-size: 12px;
  color: #e53e3e;
  font-weight: 500;
  min-height: 16px;
  display: block;
}

/* ── Submit Button ── */
.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(232, 73, 15, 0.35);
  letter-spacing: 0.01em;
}
.submit-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232, 73, 15, 0.45);
}
.submit-btn:active {
  transform: translateY(0);
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn-arrow { transition: transform 0.2s; }
.submit-btn:hover .btn-arrow { transform: translateX(4px); }
.btn-spinner svg {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Success State ── */
.success-state {
  text-align: center;
  padding: 16px 0 8px;
  animation: fadeUp 0.4s ease both;
}
.success-icon {
  font-size: 56px;
  margin-bottom: 16px;
  animation: bounce 0.6s ease both;
}
@keyframes bounce {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.success-state h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.success-state p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.success-sub {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px !important;
}
.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-wa {
  background: #25D366;
  color: #fff;
}
.share-x {
  background: #000;
  color: #fff;
}

/* ── Error Banner ── */
.error-banner {
  background: #fff5f5;
  border: 1.5px solid #fed7d7;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: #c53030;
  text-align: center;
  margin-top: 16px;
}
.error-banner a {
  color: var(--orange);
  font-weight: 600;
}

/* ── Social Proof ── */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  animation: fadeUp 0.5s 0.4s ease both;
}
.social-proof-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* ── Social Strip (below form) ── */
.social-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  animation: fadeUp 0.5s 0.45s ease both;
}
.social-strip-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  letter-spacing: -0.01em;
}
.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.social-ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.30);
}
.social-x {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
}

/* ── Features ── */
.features {
  padding: 0 0 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1.5px solid var(--border);
}
.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
  opacity: 0.85;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.footer-ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  color: #fff;
}
.footer-xt {
  background: #000;
  color: #fff;
}
.footer-email {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-email:hover { text-decoration: underline; }
.footer-copy {
  font-size: 12px;
  color: var(--text-light);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .form-card {
    padding: 28px 20px 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .countdown-item {
    min-width: 60px;
    padding: 10px 12px;
  }
  .headline {
    font-size: 42px;
  }
}

@media (max-width: 360px) {
  .countdown-sep { display: none; }
  .countdown { gap: 6px; }
}
