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

:root {
  --color-bg: #0A0A0A;
  --color-surface: #171717;
  --color-surface-2: #1F1F1F;
  --color-border: #404040;
  --color-primary: #F59E0B;
  --color-primary-hover: #D97706;
  --color-text: #FAFAFA;
  --color-muted: #A3A3A3;
  --font: 'IBM Plex Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

.site {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-icon { width: 32px; height: 32px; display: block; }
.nav-logo-text span { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
  background: var(--color-primary);
  color: #000 !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--color-primary-hover) !important; }
@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ── HERO ── */
.hero-section {
  background:
    radial-gradient(60% 50% at 50% 12%, rgba(245, 158, 11, 0.10) 0%, transparent 70%);
}
.hero {
  padding: 0.75rem 1.5rem 3.5rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 2.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.hero-desc {
  font-size: 1.0625rem;
  color: var(--color-muted);
  max-width: 620px;
  margin: 0 auto;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.btn-primary {
  background: var(--color-primary);
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--color-muted); }

/* ── SHOWCASE (device composition) ── */
.showcase-stage {
  position: relative;
  max-width: 940px;
  margin: 0 auto 2.5rem;
  padding: 0 60px 40px 0;
}

/* Browser window */
.mock-browser {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  overflow: hidden;
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}
.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.mock-dots { display: flex; gap: 0.45rem; }
.mock-dot { width: 12px; height: 12px; border-radius: 50%; display: block; }
.mock-dot-r { background: #ff5f57; }
.mock-dot-y { background: #febc2e; }
.mock-dot-g { background: #28c840; }
.mock-url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.75rem;
  padding: 0.3rem 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-browser-screen { display: block; font-size: 0; }

/* Phone frame */
.mock-phone {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: 200px;
  padding: 9px;
  border-radius: 34px;
  background: #050505;
  border: 1px solid #2a2a2a;
  box-shadow:
    0 30px 60px -16px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.04);
  animation: showcase-float 6s ease-in-out infinite;
}
.mock-phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: var(--color-bg);
  font-size: 0;
}

.mock-screen-img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes showcase-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 720px) {
  .showcase { padding-bottom: 4rem; }
  .showcase-stage { padding: 0; }
  .mock-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 56%;
    max-width: 220px;
    margin: -14% auto 0;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mock-phone { animation: none; }
}

/* ── SECTION COMMON ── */
.section {
  padding: 5rem 1.5rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
}

/* ── FEATURES FOR MECHANICS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--color-primary); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.app-icon { display: inline-flex; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── FOR OWNERS ── */
.owners-section { background: var(--color-surface); }
.owners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.owner-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 2rem;
}
.owner-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.owner-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.owner-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.step {
  text-align: center;
  padding: 0 1rem;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ── BROWSER EXTENSION ── */
.extension-section { background: var(--color-surface); }
.extension-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

/* Left column — numbered steps */
.extension-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.ext-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ext-step-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ext-step-icon svg { width: 22px; height: 22px; }
.ext-step-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.ext-step-text p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Right column — visual demo (two "screenshots" + a connector) */
.extension-demo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.demo-window {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.demo-window-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.demo-window-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.demo-badge-shop, .demo-badge-app {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.demo-badge-shop { background: #1e40af; color: #fff; }
.demo-badge-app { background: var(--color-primary); color: #000; }

/* Supplier catalog rows */
.demo-shop-rows { display: flex; flex-direction: column; }
.demo-shop-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #eef2f6;
}
.demo-shop-row:last-child { border-bottom: none; }
.demo-shop-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.demo-shop-producer {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e40af;
}
.demo-shop-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}
.demo-shop-sku { font-size: 0.72rem; color: #94a3b8; }
.demo-shop-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.demo-shop-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: none;
  align-items: stretch;
}
.demo-cart-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: #1e40af;
  border-radius: 7px;
  padding: 0.35rem 0.7rem;
  text-align: center;
  white-space: nowrap;
}
/* The button the extension injects — highlighted in the brand amber. */
.demo-ns-btn {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  color: #000;
  background: var(--color-primary);
  border-radius: 7px;
  padding: 0.35rem 0.7rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28);
}

/* Connector between the two windows */
.demo-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 0;
}
.demo-flow-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.demo-flow-icon svg { width: 18px; height: 18px; }
.demo-flow-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* App order line items */
.demo-order-lines { display: flex; flex-direction: column; }
.demo-order-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid #eef2f6;
}
.demo-order-line:last-child { border-bottom: none; }
.demo-order-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.demo-order-icon svg { width: 18px; height: 18px; }
.demo-order-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.demo-order-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.demo-order-meta { font-size: 0.74rem; color: #94a3b8; }
.demo-order-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
}
.demo-order-net { font-size: 0.72rem; color: #94a3b8; }
.demo-order-gross {
  font-size: 0.9rem;
  font-weight: 700;
  color: #b45309;
}

@media (max-width: 820px) {
  .extension-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .extension-demo { max-width: min(460px, 100%); margin: 0 auto; width: 100%; }
}
@media (max-width: 420px) {
  .demo-shop-row { flex-wrap: wrap; }
  .demo-shop-price { order: 3; }
  .demo-shop-actions { order: 4; margin-left: auto; }
}

/* ── DOWNLOAD CTA ── */
.cta-section {
  background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(245,158,11,0.03) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 1.5rem;
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-inner p {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}
.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.store-badge-img {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}
.store-badge-img:hover { opacity: 0.85; }
/* Official store badges include their own clear space; size to match
   visible heights. Google's asset has ~23% vertical padding baked in. */
.badge-app-store { display: block; width: auto; height: 44px; }
.badge-google-play { display: block; width: auto; height: 57px; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  cursor: pointer;
}
.store-badge:hover { border-color: var(--color-primary); }
.store-badge .store-icon { display: inline-flex; color: var(--color-primary); }
.store-badge .store-icon svg { width: 22px; height: 22px; }

/* ── FOOTER ── */
.footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  max-width: 280px;
}
.footer-links-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-text); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom span {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.footer-bottom a {
  font-size: 0.8rem;
  color: var(--color-muted);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--color-text); }

/* ── LEGAL / POLICY PAGE ── */
.legal {
  padding: 4rem 1.5rem 5rem;
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0.5rem 0 0.75rem;
}
.legal-updated {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}
.legal-inner p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.legal-inner strong { color: var(--color-text); }
.legal-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 2.25rem 0 0.75rem;
}
.legal-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.legal-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.legal-inner a { color: var(--color-primary); }
.legal-inner a:hover { color: var(--color-primary-hover); }
.legal-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.legal-back a { font-weight: 500; }

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── PRICING ── */
.pricing-hero {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(245,158,11,0.05) 0%, transparent 100%);
}
.pricing-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.pricing-hero-inner h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 1.25rem 0 1rem;
}
.pricing-hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.pricing-section { padding-top: 4rem; }
.pricing-inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* Card */
.pricing-card-wrap {
  display: flex;
  justify-content: center;
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: 0 0 40px rgba(245,158,11,0.08);
}
.pricing-card-header { display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-badge {
  display: inline-block;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  width: fit-content;
}
.pricing-plan-name {
  font-size: 1.75rem;
  font-weight: 700;
}
.pricing-plan-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Trial banner */
.pricing-trial-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}
.pricing-trial-icon { font-size: 1.5rem; line-height: 1; }
.pricing-trial-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.pricing-trial-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Features list */
.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.pricing-check {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* CTA */
.pricing-cta {
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
}
.pricing-cta-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: -0.75rem;
}

/* FAQ */
.pricing-faq { display: flex; flex-direction: column; gap: 0; }
.pricing-faq .section-title { margin-bottom: 2rem; }
.faq-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }
.faq-question {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.faq-answer {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}
