/* ==========================================================================
   Hivive — Point of Sale
   ========================================================================== */

:root {
  --ink: #10131f;
  --ink-soft: #1b2032;
  --ink-mute: #565d73;
  --paper: #ffffff;
  --cream: #faf7f0;
  --line: #e8e4da;
  --amber: #f5a623;
  --amber-deep: #e08c00;
  --amber-soft: #fdeecd;
  --green: #1e9e6a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 31, 0.06), 0 2px 8px rgba(16, 19, 31, 0.05);
  --shadow-md: 0 4px 12px rgba(16, 19, 31, 0.08), 0 12px 32px rgba(16, 19, 31, 0.08);
  --shadow-lg: 0 8px 24px rgba(16, 19, 31, 0.12), 0 24px 64px rgba(16, 19, 31, 0.14);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.35);
}
.btn-primary:hover {
  background: var(--amber-deep);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.45);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-lg { padding: 16px 34px; font-size: 16px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(16, 19, 31, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

/* the wordmark is dark — render it white on the dark footer */
.site-footer .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-mute);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--ink); }

/* Products dropdown */

.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 72px;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-mute);
  transition: color 0.15s ease;
}

.dropdown-trigger:hover,
.dropdown-trigger.is-active { color: var(--ink); }

.dropdown-trigger .chev {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.has-dropdown.is-open .dropdown-trigger .chev { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 580px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.has-dropdown.is-open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (min-width: 1001px) {
  .has-dropdown:hover .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .has-dropdown:hover .dropdown-trigger { color: var(--ink); }
  .has-dropdown:hover .dropdown-trigger .chev { transform: rotate(180deg); }
}

.main-nav .dropdown-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.main-nav .dropdown-panel a:hover { background: var(--cream); }

.dropdown-panel a strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.dropdown-panel a span {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 400;
}

.dropdown-panel .dropdown-all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  margin-top: 6px;
  padding-top: 12px;
  text-align: center;
}

.dropdown-panel .dropdown-all strong {
  color: var(--amber-deep);
  margin-bottom: 0;
  font-size: 14px;
}

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--amber-soft) 0%, transparent 60%),
    var(--cream);
  padding: 88px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 88px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-deep);
  position: relative;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-mute);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-proof {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.proof-item span { font-size: 13px; color: var(--ink-mute); }

.hero-visual { position: relative; }

.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(16, 19, 31, 0.18));
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Logo strip
   -------------------------------------------------------------------------- */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-inner p {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.trust-logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #b9b3a6;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}

.section-head p { color: var(--ink-mute); font-size: 17px; }
.section-dark .section-head p { color: #a8adbd; }

/* --------------------------------------------------------------------------
   Product grid
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--amber-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.product-icon svg { width: 26px; height: 26px; }

.product-card h3 { font-size: 19px; margin-bottom: 10px; }

.product-card p { font-size: 15px; color: var(--ink-mute); margin-bottom: 16px; }

.product-card .learn {
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Feature split rows
   -------------------------------------------------------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row + .feature-row { margin-top: 96px; }

.feature-row.is-flipped .feature-copy { order: 2; }

.feature-copy h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.feature-copy > p { color: var(--ink-mute); margin-bottom: 24px; }

.feature-list { list-style: none; }

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 15px;
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08c00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.feature-art {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.feature-art svg { width: 100%; height: auto; }

/* photo / video artwork fills the panel edge-to-edge */
.feature-art:has(> img),
.feature-art:has(> video) {
  padding: 0;
  overflow: hidden;
}

.feature-art img,
.feature-art video {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.step .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 20px;
}

.step h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.step p { font-size: 15px; color: #a8adbd; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: var(--amber); }

.testimonial blockquote {
  font-size: 15px;
  color: var(--ink-soft);
  flex: 1;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.who strong { display: block; font-size: 14px; }
.who span { font-size: 13px; color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}

.plan.is-featured {
  border: 2px solid var(--amber);
  box-shadow: var(--shadow-md);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 16px;
  border-radius: 999px;
}

.plan h3 { font-size: 21px; margin-bottom: 6px; }

.plan .plan-desc { font-size: 14px; color: var(--ink-mute); margin-bottom: 24px; }

.plan .price {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.plan .price small {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0;
}

.plan .billing-note { font-size: 13px; color: var(--ink-mute); margin-bottom: 28px; }

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
  align-items: flex-start;
}

.plan-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08c00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.plan-features li.is-limit::before {
  background: #eef0f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565d73' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Add-ons + hardware */

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.addon {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.addon h4 { font-size: 17px; margin-bottom: 8px; }
.addon .addon-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 8px;
}
.addon .addon-price small { font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.addon p { font-size: 14px; color: var(--ink-mute); }

/* FAQ */

.faq { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.faq-q .chev {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(245, 166, 35, 0.22) 0%, transparent 60%),
    var(--ink);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
}

.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-band p { color: #a8adbd; font-size: 17px; max-width: 520px; margin: 0 auto 32px; }

.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(800px 400px at 80% -20%, var(--amber-soft) 0%, transparent 60%),
    var(--cream);
  padding: 72px 0 64px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 14px; }
.page-hero p { color: var(--ink-mute); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { font-size: 26px; margin-bottom: 12px; }
.contact-info > p { color: var(--ink-mute); margin-bottom: 32px; }

.contact-channels { display: grid; gap: 16px; }

.channel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.channel-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-soft);
  display: grid;
  place-items: center;
}

.channel-icon svg { width: 20px; height: 20px; }

.channel strong { display: block; font-size: 15px; margin-bottom: 2px; }
.channel a, .channel span { font-size: 14px; color: var(--ink-mute); }
.channel a:hover { color: var(--amber-deep); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

.form-group .field-error {
  display: none;
  font-size: 13px;
  color: #c0392b;
  margin-top: 5px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select { border-color: #c0392b; }

.form-group.has-error .field-error { display: block; }

.form-success {
  display: none;
  background: #e8f7f0;
  border: 1px solid #bfe8d6;
  color: #14724c;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 18px;
}

.form-success.is-visible { display: block; }

.form-failure {
  display: none;
  background: #fbe9e7;
  border: 1px solid #f2c3bd;
  color: #a03024;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 18px;
}

.form-failure.is-visible { display: block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #a8adbd;
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 280px; margin-bottom: 20px; }

.store-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.store-badges img {
  height: 40px;
  width: auto;
}

.social-links { display: flex; gap: 10px; }

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.social-links a:hover { background: var(--amber); }
.social-links a:hover svg { fill: var(--ink); }
.social-links svg { width: 17px; height: 17px; fill: #a8adbd; transition: fill 0.15s ease; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 14px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero-visual { max-width: 560px; }
  .product-grid, .steps, .testimonial-grid, .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.is-flipped .feature-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .product-grid, .steps, .testimonial-grid, .addon-grid, .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 24px; }
}

/* Tighten header spacing just above the hamburger breakpoint */
@media (max-width: 1200px) and (min-width: 1001px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 20px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 11px 18px; font-size: 14px; }
}

/* Nav collapses to the hamburger below 1000px — seven items don't fit inline */
@media (max-width: 1000px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .main-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a { padding: 14px 24px; font-size: 16px; }

  .has-dropdown {
    height: auto;
    display: block;
  }

  .dropdown-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 16px;
  }

  .dropdown-panel {
    position: static;
    transform: none;
    width: auto;
    grid-template-columns: 1fr;
    gap: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--cream);
    padding: 0;
    opacity: 1;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .has-dropdown.is-open .dropdown-panel {
    transform: none;
    pointer-events: auto;
    max-height: 480px;
  }

  .main-nav .dropdown-panel a {
    padding: 12px 32px;
    border-radius: 0;
  }

  .dropdown-panel a span { display: none; }

  .dropdown-panel .dropdown-all {
    margin-top: 0;
    padding-top: 12px;
    padding-bottom: 16px;
    text-align: left;
  }

  .nav-toggle { display: block; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-cta .btn-ghost { display: none; }
}
