/* ===========================================================
   WebsitesFactory.in — Promo Microsite
   Green / light-green brand theme
   =========================================================== */

:root {
  --dark-green: #0b3d1e;
  --brand-green: #178a3e;
  --brand-green-2: #1fa84c;
  --light-green: #e6f7ea;
  --light-green-2: #d3f0da;
  --pale-green-bg: #f4fbf6;
  --ink: #10241a;
  --muted: #4d6b57;
  --white: #ffffff;
  --danger: #c62828;
  --shadow: 0 10px 30px rgba(11, 61, 30, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--pale-green-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green-2), var(--brand-green));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(23, 138, 62, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(23, 138, 62, 0.45); transform: translateY(-1px); }

.btn-secondary {
  background: var(--white);
  color: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-secondary:hover { background: var(--light-green); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--light-green-2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.logo .leaf {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--dark-green);
  border-radius: 9px;
  padding: 6px;
  box-sizing: border-box;
}
.site-footer .logo .leaf {
  background: rgb(12, 111, 60);
}
.logo span.brand-dark { color: var(--ink); }
.logo span.brand-green { color: var(--brand-green); }
.logo-tagline {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--dark-green);
  font-size: 0.92rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 30px;
  background: radial-gradient(ellipse at top right, var(--light-green) 0%, var(--pale-green-bg) 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.badges-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.badge-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-green);
}
.badge-pill svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand-green); }

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--brand-green); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 55ch;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.hero-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* mockup graphic */
.hero-visual { position: relative; padding-bottom: 46px; }
.mock-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--dark-green), var(--brand-green));
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: visible;
}
.mock-browser {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}
.mock-browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f1f5f2;
}
.mock-browser-bar span {
  width: 9px; height: 9px; border-radius: 50%; background: #cfd8d2;
}
.mock-browser-body { padding: 18px; }
.mock-browser-body .mock-logo {
  font-weight: 800; color: var(--brand-green); font-size: 0.9rem; margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
}
.mock-browser-body .mock-headline { font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.mock-browser-body .mock-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.mock-browser-body .mock-lines span { height: 7px; border-radius: 4px; background: var(--light-green-2); }
.mock-browser-body .mock-lines span:nth-child(2) { width: 70%; }
.mock-browser-body .mock-btn {
  display: inline-block; background: var(--brand-green); color: #fff; font-size: 0.72rem;
  font-weight: 700; padding: 7px 16px; border-radius: 999px; margin-bottom: 14px;
}
.mock-browser-body .mock-photo {
  height: 70px; border-radius: 8px;
  background: linear-gradient(135deg, var(--light-green-2), #bfe6c9);
}
.mock-phone {
  position: absolute;
  right: -14px;
  bottom: -26px;
  width: 34%;
  background: var(--ink);
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}
.mock-phone-screen { background: var(--white); border-radius: 13px; padding: 12px 10px; }
.mock-phone-screen .mock-logo { font-size: 0.6rem; margin-bottom: 8px; }
.mock-phone-screen .mock-headline { font-size: 0.68rem; margin-bottom: 6px; }
.mock-phone-screen .mock-lines span { height: 4px; }
.mock-phone-screen .mock-btn { font-size: 0.55rem; padding: 5px 10px; }
.mock-time-badge {
  position: absolute;
  top: -18px;
  left: -14px;
  background: var(--white);
  color: var(--dark-green);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--light-green-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-time-badge b { color: var(--brand-green); font-size: 0.95rem; }

/* ---------- Section heading ---------- */
.section { padding: 54px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block;
  color: var(--brand-green);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Pricing card ---------- */
.price-card {
  background: linear-gradient(150deg, var(--dark-green), var(--brand-green) 70%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.price-card::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -80px; right: -80px;
}
.price-tag-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 1.1rem; font-weight: 600; opacity: 0.85; }
.price-includes { opacity: 0.92; margin-bottom: 20px; font-size: 0.95rem; }
.price-email-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.price-email-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}
.step-item { text-align: center; }
.step-circle {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--light-green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-circle svg { width: 34px; height: 34px; color: var(--brand-green); }
.step-item h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; }
.step-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.step-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* ---------- Feature grid (why us) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--pale-green-bg);
  border: 1px solid var(--light-green-2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.feature-card svg { width: 30px; height: 30px; color: var(--brand-green); margin-bottom: 10px; }
.feature-card h4 { margin: 0; font-size: 0.92rem; font-weight: 700; }

/* ---------- Add-ons ---------- */
.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.addon-card {
  background: var(--white);
  border: 1px solid var(--light-green-2);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.addon-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--light-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.addon-card svg { width: 22px; height: 22px; color: var(--brand-green); }
.addon-card h4 { margin: 0 0 4px; font-size: 0.98rem; font-weight: 800; }
.addon-card .addon-price { color: var(--brand-green); font-weight: 800; font-size: 0.95rem; margin: 2px 0 4px; }
.addon-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Terms ---------- */
.terms-box {
  background: var(--pale-green-bg);
  border: 1px solid var(--light-green-2);
  border-radius: var(--radius);
  padding: 26px 26px 26px 22px;
  max-width: 820px;
  margin: 0 auto;
}
.terms-box ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 0.92rem; }
.terms-box li { margin-bottom: 10px; }
.terms-box li:last-child { margin-bottom: 0; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--dark-green), var(--brand-green));
  color: var(--white);
  border-radius: var(--radius);
  padding: 42px 28px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { margin: 0 0 24px; opacity: 0.9; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-green);
  color: rgba(255,255,255,0.85);
  padding: 30px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.footer-links a { display: flex; align-items: center; gap: 6px; }
.footer-links svg { width: 16px; height: 16px; }
.footer-copy { opacity: 0.65; font-size: 0.8rem; }

/* ---------- Order / Form page ---------- */
.form-page-wrap { padding: 40px 0 70px; }
.form-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 780px;
  margin: 0 auto;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--light-green-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}
.form-intro h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 8px; font-weight: 800; }
.form-intro p { color: var(--muted); margin: 0; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--dark-green);
}
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid #cfe3d5;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.96rem;
  font-family: inherit;
  background: var(--pale-green-bg);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(23,138,62,0.15);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 100px; }

.domain-row {
  display: flex;
  gap: 8px;
}
.domain-row input { flex: 1 1 auto; min-width: 0; }
.domain-row select {
  flex: 0 0 auto;
  width: auto;
  font-weight: 700;
  color: var(--brand-green);
  background: var(--light-green);
  border-color: var(--brand-green);
}
.domain-preview {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--brand-green);
  font-weight: 700;
  min-height: 18px;
}
.spelling-warning {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #fff8e1;
  border: 1px solid #ffe08a;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #8a6d00;
  margin-top: 10px;
}
.spelling-warning svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* file upload */
.file-drop {
  border: 2px dashed #b9dcc2;
  border-radius: var(--radius-sm);
  background: var(--pale-green-bg);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--brand-green); background: var(--light-green); }
.file-drop input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.file-drop svg { width: 28px; height: 28px; color: var(--brand-green); margin-bottom: 6px; }
.file-drop p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.file-drop p b { color: var(--dark-green); }
.file-types { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--light-green); border-radius: var(--radius-sm);
  padding: 8px 12px; font-size: 0.82rem; color: var(--dark-green);
}
.file-list li span.fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li button {
  background: none; border: none; color: var(--danger); cursor: pointer; font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0;
}

/* addon checkboxes in form */
.addon-check-list { display: flex; flex-direction: column; gap: 10px; }
.addon-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #cfe3d5;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  background: var(--pale-green-bg);
}
.addon-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand-green); flex-shrink: 0; }
.addon-check .addon-check-text { font-size: 0.88rem; }
.addon-check .addon-check-text b { display: block; color: var(--dark-green); font-size: 0.92rem; }
.addon-check .addon-check-text span { color: var(--muted); }
.addon-check .addon-check-price { margin-left: auto; font-weight: 800; color: var(--brand-green); white-space: nowrap; font-size: 0.9rem; }

.total-box {
  background: var(--light-green);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.total-box .total-label { font-weight: 700; color: var(--dark-green); font-size: 0.92rem; }
.total-box .total-amount { font-weight: 800; color: var(--brand-green); font-size: 1.4rem; }

/* payment box */
.payment-box {
  background: linear-gradient(135deg, var(--dark-green), var(--brand-green));
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
}
.payment-box h3 { margin: 0 0 8px; font-size: 1.02rem; }
.payment-mode-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.18);
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; margin-bottom: 10px;
}
.upi-id-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.upi-id-row b { font-family: "Courier New", monospace; font-size: 0.95rem; }
.payment-box p.note { font-size: 0.82rem; opacity: 0.9; margin: 8px 0 0; }

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.checkbox-line input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand-green); flex-shrink: 0; }

.form-actions { margin-top: 6px; }
.form-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--brand-green); font-weight: 700; margin-bottom: 18px; }
.form-back-link svg { width: 16px; height: 16px; }

.form-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); background: #fff5f5; }
.field.has-error .form-error { display: block; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; margin-top: 18px; }
.trust-strip .item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.trust-strip svg { width: 16px; height: 16px; color: var(--brand-green); }

/* thank you page */
.thankyou-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.thankyou-card {
  text-align: center;
  max-width: 520px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 46px 30px;
}
.thankyou-card .check-circle {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--light-green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.thankyou-card .check-circle svg { width: 38px; height: 38px; color: var(--brand-green); }
.thankyou-card h1 { font-size: 1.5rem; margin: 0 0 10px; }
.thankyou-card p { color: var(--muted); margin: 0 0 26px; }

/* ---------- Tablet & up ---------- */
@media (min-width: 640px) {
  .badges-row { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
  .header-phone { display: flex; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .form-shell { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .form-shell .payment-col { position: sticky; top: 90px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; }
  .logo { font-size: 1.05rem; }
  .logo .leaf { width: 32px; height: 32px; padding: 5px; border-radius: 8px; }
  .logo-tagline { font-size: 0.62rem; }
  .header-actions .btn { padding: 10px 18px; font-size: 0.88rem; }
  .hero-cta-row .btn { width: 100%; }
  .badges-row { grid-template-columns: 1fr 1fr; }
}
