:root {
  --brand:      #2563eb;
  --brand-dark: #1d4ed8;
  --accent:     #0ea5e9;
  --success:    #16a34a;
  --soon:       #7c3aed;
  --danger:     #dc2626;
  --text:       #0f172a;
  --muted:      #64748b;
  --surface:    #f8fafc;
  --border:     #e2e8f0;
  --white:      #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.15rem; color: var(--brand);
}

.nav-logo svg { width: 32px; height: 32px; }

.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { font-size: .9rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }

.nav-cta {
  background: var(--brand); color: var(--white) !important;
  padding: .45rem 1.1rem; border-radius: 8px;
  font-size: .88rem !important; font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #faf5ff 100%);
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: #dbeafe; color: var(--brand);
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 99px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  max-width: 720px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem; color: var(--muted);
  max-width: 560px; margin: 0 auto 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: var(--white);
  padding: .75rem 1.75rem; border-radius: 10px;
  border: none; cursor: pointer;
  font-weight: 600; font-size: 1rem;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.4); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid var(--border); color: var(--text);
  padding: .75rem 1.75rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ── SECTION WRAPPER ── */
section { padding: 5rem 2rem; }
/* :not(.cta-section) — the pseudo-class would otherwise out-rank .cta-section's gradient */
section:nth-of-type(even):not(.cta-section) { background: var(--surface); }

.section-label {
  text-align: center;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .6rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  margin-bottom: .75rem;
}

.section-sub {
  text-align: center; color: var(--muted);
  max-width: 520px; margin: 0 auto 3.5rem;
}

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; max-width: 1200px; margin: 0 auto;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }

.product-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 8px 30px rgba(37,99,235,.12);
}

.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.25rem; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}

.icon-blue  { background: #dbeafe; }
.icon-pink  { background: #fce7f3; }
.icon-amber { background: #fef3c7; }
.icon-green { background: #dcfce7; }

/* Real product artwork (self-contained tile) — no tinted backplate */
.card-icon-img { background: transparent; padding: 0; overflow: hidden; }
.card-icon-img img { width: 52px; height: 52px; border-radius: 14px; display: block; }

.status-badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 99px;
}
.badge-live   { background: #dcfce7; color: var(--success); }
.badge-soon   { background: #ede9fe; color: var(--soon); }

.product-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.product-card p  { color: var(--muted); font-size: .93rem; flex: 1; margin-bottom: 1.5rem; }

.card-features { list-style: none; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: .5rem; }
.card-features li { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; color: var(--text); }
.card-features li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

.card-action {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.25rem; border-radius: 9px;
  font-weight: 600; font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s;
  align-self: flex-start;
}

.action-live {
  background: var(--brand); color: var(--white);
  box-shadow: 0 3px 10px rgba(37,99,235,.3);
}
.action-live:hover { background: var(--brand-dark); }

.action-soon {
  border: 1.5px solid var(--border); color: var(--muted);
  background: transparent;
}
.action-soon:hover { border-color: var(--brand); color: var(--brand); }

/* ── MISSION / WHY ── */
.mission-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; max-width: 900px; margin: 0 auto;
}

.mission-item { text-align: center; padding: 1.5rem; }
.mission-item .icon { font-size: 2rem; margin-bottom: .75rem; }
.mission-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.mission-item p { font-size: .88rem; color: var(--muted); }

/* ── CONTACT & SUGGESTIONS FORM ── */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field { margin-bottom: 1.25rem; }

.form-field label {
  display: block;
  font-size: .85rem; font-weight: 600; color: var(--text);
  margin-bottom: .35rem;
}
.form-field label .optional { color: var(--muted); font-weight: 400; }
.form-field label .required { color: var(--danger); }
.form-field .field-hint { display: block; color: var(--muted); font-size: .78rem; margin-top: .3rem; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit; font-size: .95rem; color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: .6rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-field .invalid { border-color: var(--danger); }
.form-field textarea { resize: vertical; min-height: 120px; }

.form-msg {
  border-radius: 9px;
  padding: .7rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
}
.form-msg.error   { background: #fef2f2; color: var(--danger);  border: 1px solid #fecaca; }
.form-msg.success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }

.contact-success { text-align: center; padding: 2rem 1rem; }
.contact-success .icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.contact-success p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, #1e40af 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .75rem; }
.cta-section p  { opacity: .85; max-width: 480px; margin: 0 auto 2rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-white {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); color: var(--brand);
  padding: .75rem 1.75rem; border-radius: 10px;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  border: 2px solid rgba(255,255,255,.4); color: var(--white);
  transition: border-color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.85); }

/* ── FOOTER ── */
footer {
  background: #0f172a; color: #94a3b8;
  padding: 3rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand-block { display: flex; flex-direction: column; gap: .3rem; }
.footer-brand { font-weight: 700; color: var(--white); font-size: 1.05rem; }
.footer-slogan { font-weight: 600; color: #cbd5e1; font-size: .9rem; letter-spacing: .01em; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: .8rem; width: 100%; text-align: center; margin-top: .5rem; border-top: 1px solid #1e293b; padding-top: 1.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  section { padding: 3.5rem 1.25rem; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
