/* SafetyPass — Modern SaaS design system */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #3a3a35;
  --muted: #5a5a55;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);

  --brand: #0F6E56;
  --brand-dark: #085041;
  --brand-soft: rgba(15, 110, 86, 0.08);

  --green: #97C459;
  --orange: #EF9F27;
  --red: #E24B4A;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* NAV */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 0 24px;
  margin-top: 16px;
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}
.nav-logo {
  height: 28px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lang {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}
.lang:hover { background: rgba(0,0,0,0.04); }
.lang.active { color: var(--ink); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(0,0,0,0.04); }
.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-block { width: 100%; justify-content: center; }

/* HERO */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}
h1.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.9px;
  font-weight: 500;
  margin: 0 auto 20px;
  max-width: 720px;
}
h1.hero-title .accent { color: var(--brand); }
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* SECTIONS */
section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-label {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 0 auto 14px;
  max-width: 640px;
}
.section-head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

/* PRODUCT CARDS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.card-chip {
  width: 52px;
  height: 34px;
  border-radius: 6px;
  margin-bottom: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 6px;
}
.card-chip::before {
  content: "";
  width: 11px;
  height: 8px;
  background: rgba(255,255,255,0.55);
  border-radius: 1.5px;
}
.chip-green { background: var(--green); }
.chip-orange { background: var(--orange); }
.chip-red { background: var(--red); }
.chip-bundle {
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 50%, var(--orange) 50%, var(--orange) 100%);
}

.product-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 8px;
}
.product-card .lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 20px;
  flex-grow: 1;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 0.5px solid var(--line);
}
.price {
  font-size: 20px;
  font-weight: 500;
}
.price-was {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 6px;
}
.price-discount {
  font-size: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}
.card-link {
  font-size: 14px;
  color: var(--brand);
  font-weight: 500;
}
.card-link:hover { color: var(--brand-dark); }

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 8px 4px;
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 500;
}
.feature h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* INFO BANDS */
.info-band {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.info-band .kicker {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 10px;
}
.info-band h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}
.info-band p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.7;
}
.info-band .illus {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.info-band .illus .card-mock {
  width: 120px; height: 76px;
  border-radius: 10px;
  position: relative;
  transform: rotate(-6deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.info-band .illus .card-mock.m2 { transform: rotate(0deg) translateY(-10px); }
.info-band .illus .card-mock.m3 { transform: rotate(6deg); }
.info-band .illus .card-mock::before {
  content: "";
  position: absolute; top: 14px; left: 12px;
  width: 18px; height: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}

/* PARTNERS */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  height: 56px;
  width: auto;
  max-width: 160px;
  opacity: 0.72;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.partner-logo.on-dark {
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.8;
}

/* IMAGE-BASED SMART CARDS */
.card-image {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}
.product-card {
  align-items: flex-start;
}

/* HERO IMAGE */
.hero-figure {
  margin: 40px auto 0;
  max-width: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* SECTION WITH IMAGE */
.media-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.media-band img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.media-band h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}
.media-band p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

/* WALLET IMAGE */
.wallet-figure {
  text-align: center;
  padding: 20px 0;
}
.wallet-figure img {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* FOOTER */
footer {
  margin-top: 60px;
  padding: 40px 0 24px;
  border-top: 0.5px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 12px;
}
.footer-grid ul {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 20px;
  border-top: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* PRODUCT DETAIL PAGE */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  padding: 40px 0 20px;
}
.product-visual {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.big-card {
  width: 240px; height: 150px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.big-card::before {
  content: "";
  position: absolute; top: 22px; left: 22px;
  width: 36px; height: 26px;
  background: rgba(255,255,255,0.55);
  border-radius: 4px;
}
.big-card .bc-logo {
  position: absolute; bottom: 20px; right: 22px;
  font-size: 11px; color: rgba(255,255,255,0.9);
  font-weight: 500; letter-spacing: 1px;
}
.product-body h1 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  line-height: 1.1;
}
.product-price {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
}
.product-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 20px;
}
.product-lead strong { color: var(--ink); }
.access-note {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: inline-block;
}

/* TABS */
.tabs {
  margin-top: 48px;
  border-top: 0.5px solid var(--line);
  padding-top: 40px;
}
.tab-content h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}
.tab-content h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 24px 0 10px;
}
.tab-content ul {
  padding-left: 20px;
  color: var(--muted);
}
.tab-content li { margin-bottom: 6px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.spec-table tr { border-bottom: 0.5px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 14px 0;
  font-size: 14px;
  vertical-align: top;
}
.spec-table td:first-child {
  color: var(--muted);
  width: 200px;
  padding-right: 20px;
}

/* FORM */
.form-card {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}
.form-row { margin-bottom: 16px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 0.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.order-summary {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.order-summary strong { font-weight: 500; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 0.5px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--muted);
  font-weight: 300;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info .info-block {
  margin-bottom: 28px;
}
.contact-info h4 {
  font-size: 12px;
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.8px;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.contact-info p { margin: 0; font-size: 15px; }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 40px 0;
}
.cta-band h2 {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.cta-band p {
  font-size: 16px;
  opacity: 0.8;
  margin: 0 0 22px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-brand { background: var(--green); color: var(--ink); border-color: var(--green); }
.cta-band .btn-brand:hover { background: #b2d677; }

/* LEGAL pages */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.legal-body h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.legal-body .updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.legal-body h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 32px 0 10px;
}
.legal-body p, .legal-body li {
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Alert / message */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 0.5px solid rgba(15, 110, 86, 0.2);
}
.alert-error {
  background: rgba(226, 75, 74, 0.08);
  color: #A32D2D;
  border: 0.5px solid rgba(226, 75, 74, 0.2);
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .info-band { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 32px; }
  section { padding: 40px 0; }
  .media-band { grid-template-columns: 1fr; gap: 24px; }
  .partners { gap: 32px; }
  .partner-logo { height: 44px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav { padding: 8px 12px; }
  .nav-brand span { display: none; }
}
