/* =========================================================
   Zoftcares — Campaign landing page template
   Brand tokens taken from zoftcares-logo.svg and main/zoft.css
   ========================================================= */

:root {
  /* Brand */
  --brand-navy: #2F2E79;   /* logo wordmark */
  --brand-blue: #0064E1;   /* primary brand blue */
  --brand-blue-2: #2284FF; /* lighter blue for gradients */
  --brand-deep: #02316B;   /* dark blue */
  --accent: #F49819;       /* orange accent */

  /* Neutrals */
  --ink: #161616;
  --text: #2B3140;
  --muted: #5B6475;
  --line: #E3E7EF;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;

  /* Type */
  --font: "Banter Grotesk", "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(2, 49, 107, .10);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.hl { color: var(--brand-blue); }
.eyebrow {
  display: inline-block; margin-bottom: .75rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--brand-blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 100, 225, .28); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-accent { background: #FF9900; color: #0B1F3A; } /* AWS-style orange from the campaign poster */
.btn-accent:hover { background: #F08A00; }
.btn-ghost { border-color: var(--line); color: var(--brand-navy); background: #fff; }
.btn-ghost:hover { border-color: var(--brand-blue); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brand-blue); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(34, 132, 255, .14), transparent 70%),
    radial-gradient(700px 380px at 0% 100%, rgba(47, 46, 121, .08), transparent 70%),
    var(--bg-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/70% no-repeat;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Lead form ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; scroll-margin-top: 90px;
}
.form-card h2 { font-size: 1.4rem; margin-bottom: .25rem; }
.lead-form { display: grid; gap: 14px; margin-top: 1rem; }
.lead-form label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; row-gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.lead-form label > input, .lead-form label > select, .lead-form label > textarea { flex: 1 1 100%; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 400 1rem var(--font); color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form textarea { resize: vertical; }
.lead-form select {
  width: 100%; padding: .75rem 2.4rem .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 400 1rem var(--font); color: var(--ink); appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235B6475' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center/18px no-repeat;
}
.lead-form select:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(0, 100, 225, .15); }
.lead-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label.consent { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.lead-form label.consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--brand-blue); }
.lead-form label.consent.invalid-wrap, .lead-form label.consent:has(.invalid) { color: #D93025; }
.req { color: #D93025; }
.lead-form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-done { text-align: center; padding: 12px 0; }
.form-done .done-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: #E7F7EE; color: #128C4A; font-size: 2rem;
}
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1DA851; }
.lead-form input:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(0, 100, 225, .15);
}
.lead-form .invalid { border-color: #D93025; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #137333; }
.form-status.err { color: #D93025; }

/* ---------- Stats ---------- */
.stats { background: var(--brand-navy); color: #fff; padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats strong { display: block; font-size: 1.6rem; font-weight: 700; }
.stats span { font-size: .9rem; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; scroll-margin-top: 72px; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand-blue-2), var(--brand-blue));
  color: #fff; font-weight: 700;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px;
  font-size: 2rem; font-weight: 700; color: var(--accent);
}
.steps p { color: var(--muted); margin: 0; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 12px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand-blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-deep), var(--brand-blue)); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .25rem; }
.cta-band p { margin: 0; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0 96px;border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 36px; width: auto; }
.site-footer p { margin: 0; }
.site-footer nav { margin-left: auto; display: flex; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand-blue); }

/* ---------- Badges, tiers, fine print ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--brand-navy);
  margin-bottom: 1rem;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tier .amount { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--brand-blue); line-height: 1.1; margin: .25rem 0 .5rem; }
.tier .amount small { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.tier h3 { margin: 0; }
.tier ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.tier li { margin-bottom: .35rem; }
.tier-featured { border-color: var(--brand-blue); box-shadow: var(--shadow); }
.eligibility { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.eligibility span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: var(--ink); }
.fineprint { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 20px; }
.hero .fineprint { text-align: left; margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 24px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-line:hover { background: var(--bg-soft); color: var(--brand-blue); }
.contact-line svg { flex: 0 0 40px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #E8F0FD; color: var(--brand-blue); }
.contact-line small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 10px 0; margin-top: 6px; border-top: 1px solid var(--line); }
.social-row a { font-size: .85rem; font-weight: 600; color: var(--brand-blue); text-decoration: none; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.social-row a:hover { border-color: var(--brand-blue); }
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.office h3 { margin: 0 0 6px; font-size: 1rem; color: var(--brand-navy); }
.office p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }

/* ---------- Dark hero (matches campaign posters) ---------- */
.hero-dark {
  --poster-bg: #00187D;          /* royal-blue poster (og-aws-startup-credits.webp) */
  --poster-blue: #0131B7;
  --poster-orange: #FF9900;
  background:
    linear-gradient(160deg, transparent 58%, rgba(10, 8, 6, .55) 74%, #0A0806 100%),
    radial-gradient(900px 640px at 62% 28%, var(--poster-blue), rgba(1, 49, 183, .55) 45%, transparent 78%),
    linear-gradient(180deg, #0024A0 0%, var(--poster-bg) 55%, #001763 100%);
  color: #C9D4F0;
}
.hero-dark h1 { color: #fff; }
.hero-dark .lead { color: #B4C2EE; }
.hero-dark .fineprint { color: #9FAEDB; }
.hero-dark a:not(.btn) { color: #fff; }
.hl-accent { color: var(--poster-orange, var(--accent)); }
.accent-bar { display: block; width: 72px; height: 5px; border-radius: 3px; background: var(--poster-orange, var(--accent)); margin: 0 0 22px; }
.partner-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: .85rem; font-weight: 600; color: #fff; line-height: 1.3; }
.aws-badge { width: 84px; height: 84px; }
.credit-q {
  border: 2px solid var(--poster-orange, var(--accent)); border-radius: 22px; padding: 20px 22px;
  background: rgba(0, 24, 125, .55); margin: 8px 0 14px;
}
.credit-q-title { margin: 0 0 14px; font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; color: #fff; line-height: 1.2; }
.credit-q-title span { color: var(--poster-orange, var(--accent)); }
.credit-q-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.credit-amount {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff; color: #0B1F3A; border-radius: 16px; padding: 14px 22px;
}
.credit-amount strong { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; padding-right: 16px; border-right: 2px solid #0B1F3A; }
.credit-amount span { font-weight: 500; font-size: .95rem; line-height: 1.3; }
.hero-note { margin: 14px 0 0; font-size: .92rem; color: #C9D4F0; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* Radio "choice" buttons in forms */
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 8px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lead-form label.choice { display: block; position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 100%;
  min-height: 52px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .86rem; font-weight: 600; color: var(--ink); line-height: 1.25; background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover span { border-color: var(--brand-blue); }
.choice input:checked + span { border-color: #FF9900; background: #FFF4E2; color: #0B1F3A; box-shadow: inset 0 0 0 1px #FF9900; }
.choice input:focus-visible + span { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.choice input.invalid + span { border-color: #D93025; }
.form-card.highlight { animation: pulse-ring 1.2s ease 1; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 153, 0, 0); } }

/* ---------- Hub (campaign home) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.offer {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.offer:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer-top { padding: 22px 24px; background: linear-gradient(120deg, var(--brand-deep), var(--brand-blue)); color: #fff; }
.offer-top .tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.offer-top h3 { color: #fff; margin: .35rem 0 0; font-size: 1.3rem; }
.offer-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.offer-body p { margin: 0; color: var(--muted); }
.offer-body .more { margin-top: auto; font-weight: 600; color: var(--brand-blue); }
.offer.soon { opacity: .7; pointer-events: none; }
.offer.soon .offer-top { background: linear-gradient(120deg, #7C8597, #A3AAB8); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .office-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-inner { height: 64px; justify-content: space-between; }
  .logo img { height: 38px; }
  .hero { padding: 40px 0 48px; }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .lead-form .row-2 { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .choice span { min-height: 46px; }
  .credit-q-actions .btn { flex: 1 1 100%; }
  .credit-amount strong { border-right: 0; padding-right: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .site-footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
