:root {
  --primary: #155EEF;
  --primary-dark: #0B3FB3;
  --navy: #07132D;
  --text: #172033;
  --muted: #667085;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --soft: #EEF4FF;
  --border: #E5E7EB;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #d97706;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -5%, rgba(21, 94, 239, .12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, var(--bg) 42rem);
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--navy); line-height: 1.05; margin: 0 0 14px; letter-spacing: 0; }
h1 { font-size: clamp(38px, 5.8vw, 72px); }
h2 { font-size: clamp(28px, 3.5vw, 46px); }
h3 { font-size: 19px; }
p { line-height: 1.65; margin: 0 0 14px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 42px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(229,231,235,.78);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  color: var(--navy);
}
.brand::before {
  content: "T";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  box-shadow: 0 12px 30px rgba(21,94,239,.25);
}
.topnav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topnav a {
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 14px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.topnav a:hover { background: var(--soft); color: var(--primary); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 3px auto; border-radius: 99px; }

.container { width: min(1180px, calc(100% - 32px)); margin: 28px auto 88px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px rgba(21,94,239,.12); }

.premium-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 118px);
  padding: clamp(30px, 6vw, 70px);
  border: 1px solid rgba(229,231,235,.85);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(238,244,255,.78)),
    radial-gradient(circle at 78% 16%, rgba(21,94,239,.20), transparent 20rem);
  box-shadow: var(--shadow);
}
.hero-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(60px); opacity: .38; pointer-events: none; }
.hero-glow-a { right: -100px; top: -110px; background: #60a5fa; }
.hero-glow-b { left: 38%; bottom: -150px; background: #c7d2fe; }
.landing-copy { position: relative; z-index: 1; }
.hero-subtitle { max-width: 680px; color: #475467; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { margin: 26px 0 10px; }
.micro-note { color: var(--muted); font-size: 14px; }
.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.trust-chips span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(229,231,235,.88);
  color: #344054;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}

.hero-dashboard {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 30px 90px rgba(7,19,45,.18);
  backdrop-filter: blur(18px);
  transform: rotate(1deg);
}
.mockup-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 16px; }
.mockup-dot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: #cbd5e1; }
.mockup-dot:first-child { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }
.mockup-pill, .mockup-store-card em {
  padding: 7px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  font-style: normal;
}
.mockup-store-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy), #123fbd);
  color: #fff;
}
.mockup-store-card strong { display: block; }
.mockup-store-card span { display: block; color: #bfdbfe; font-size: 13px; margin-top: 4px; }
.mockup-avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: #fff; color: var(--primary); font-weight: 900; }
.mockup-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; margin-top: 14px; }
.mockup-category-tabs { display: flex; gap: 8px; overflow: hidden; margin: 14px 0 0; }
.mockup-category-tabs span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}
.mockup-product, .mockup-lead, .mockup-report, .mockup-stats div {
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(229,231,235,.88);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.mockup-product { padding: 14px; display: grid; gap: 8px; }
.mockup-product-art { height: 130px; border-radius: 18px; background: linear-gradient(135deg, #dbeafe, #bfdbfe 45%, #eff6ff); }
.mockup-product span { color: var(--primary); font-weight: 900; }
.mockup-product small, .mockup-lead small { color: var(--muted); }
.mockup-side { display: grid; gap: 14px; }
.mockup-lead { display: flex; gap: 12px; align-items: center; padding: 14px; }
.icon-bubble { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; background: #fef3c7; color: #92400e; font-weight: 900; }
.mockup-report { padding: 16px; }
.mockup-report span { color: var(--muted); font-size: 13px; }
.mockup-report strong { display: block; color: var(--navy); font-size: 26px; margin: 8px 0; }
.report-bars { display: flex; align-items: end; gap: 8px; height: 64px; }
.report-bars i { flex: 1; border-radius: 999px; background: linear-gradient(180deg, var(--primary), #93c5fd); }
.report-bars i:nth-child(1) { height: 42%; }
.report-bars i:nth-child(2) { height: 72%; }
.report-bars i:nth-child(3) { height: 100%; }
.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.mockup-stats div { padding: 14px; }
.mockup-stats strong { display: block; color: var(--navy); font-size: 24px; }
.mockup-stats span { color: var(--muted); font-size: 12px; font-weight: 800; }

.section-band { padding: clamp(48px, 7vw, 90px) 0; }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.section-copy p { color: var(--muted); max-width: 520px; }
.problem-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.problem-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-card { min-height: 150px; }
.problem-card span { color: var(--primary); font-weight: 900; }

.section-band.soft {
  margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
  padding-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / 2);
  background: linear-gradient(180deg, rgba(238,244,255,.62), rgba(255,255,255,.82));
  border-block: 1px solid rgba(229,231,235,.78);
}
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid rgba(229,231,235,.9);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 40px rgba(15,23,42,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(21,94,239,.22); }
.feature-card { min-height: 190px; }
.feature-card p { color: var(--muted); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
}

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps div {
  display: grid;
  gap: 13px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15,23,42,.05);
}
.steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 16px;
}
.steps span { font-weight: 850; color: var(--navy); }

.demo-preview-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; align-items: stretch; }
.shop-preview-cover { height: 190px; border-radius: 20px; background: linear-gradient(135deg, #07132D, #155EEF); }
.shop-preview-profile { display: flex; gap: 14px; align-items: center; margin: -28px 16px 18px; }
.shop-preview-profile span { width: 64px; height: 64px; border: 5px solid #fff; border-radius: 20px; background: #dbeafe; box-shadow: 0 12px 26px rgba(15,23,42,.14); }
.shop-preview-profile small { display: block; color: var(--muted); }
.shop-preview-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shop-preview-products i, .seller-preview-list i {
  display: block;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fafc, #dbeafe);
  border: 1px solid var(--border);
}
.shop-preview-products i { height: 112px; }
.seller-preview-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.seller-preview-stats span { padding: 14px; border-radius: 18px; background: var(--soft); color: var(--primary); font-weight: 900; }
.seller-preview-list { display: grid; gap: 10px; }
.seller-preview-list i { height: 42px; }
.report-preview strong { display: block; font-size: 34px; color: var(--navy); margin: 12px 0; }
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 14%, rgba(96,165,250,.34), transparent 18rem),
    linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: #dbeafe;
  box-shadow: 0 28px 70px rgba(7,19,45,.22);
}
.final-cta h2 { color: #fff; }
.final-cta .btn.secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.landing-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px 0 0;
  color: var(--muted);
}
.landing-footer strong { color: var(--navy); }
.landing-footer a:last-child { color: #98a2b3; font-size: 12px; margin-left: auto; }

.page-head { margin-bottom: 24px; }
.container > h1, .page-head h1, .card h1 { font-size: clamp(28px, 3vw, 42px); }
.stat { font-size: 38px; font-weight: 900; margin: 8px 0 0; color: var(--navy); }
.muted { color: var(--muted); }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.btn, button {
  border: 0;
  border-radius: 16px;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-shadow: 0 14px 30px rgba(21,94,239,.20);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover, button:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 18px 34px rgba(21,94,239,.25); }
.btn.secondary { background: #eef2f7; color: var(--navy); box-shadow: none; }
.btn.danger { background: var(--danger); }
.btn.small { padding: 8px 12px; min-height: 34px; font-size: 13px; border-radius: 12px; }
button:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; box-shadow: none; transform: none; }
input, textarea, select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 11px 13px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: 4px solid rgba(21,94,239,.10); border-color: var(--primary); }
textarea { min-height: 116px; resize: vertical; }
label { display: grid; gap: 7px; font-weight: 850; font-size: 14px; color: #344054; }
form { display: grid; gap: 14px; }
.compact-form { min-width: 240px; gap: 8px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.auth-card { width: min(620px, 100%); margin: 52px auto; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 15px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { font-size: 12px; color: var(--muted); background: #f8fafc; text-transform: uppercase; }
.badge { display: inline-flex; border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 900; background: #e2e8f0; color: var(--text); }
.badge.available, .badge.completed, .badge.active { background: #dcfce7; color: #166534; }
.badge.out_of_stock, .badge.cancelled, .badge.inactive { background: #fee2e2; color: #991b1b; }
.badge.hidden, .badge.contacted { background: #fef3c7; color: #92400e; }
.alert { padding: 13px 15px; border-radius: 16px; margin-bottom: 16px; background: #dbeafe; color: #1e40af; }
.alert.error { background: #fee2e2; color: #991b1b; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.shop-shell { display: grid; gap: 18px; }
.shop-hero-card {
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.menu-toolbar {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(229,231,235,.92);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 38px rgba(15,23,42,.07);
}
.menu-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.category-tabs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.category-tabs a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: #344054;
  font-weight: 900;
  font-size: 13px;
}
.category-tabs a.active, .category-tabs a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-card { overflow: hidden; padding: 0; }
.product-card img { width: 100%; height: 198px; object-fit: cover; background: #e2e8f0; }
.menu-product-card { break-inside: avoid; }
.menu-product-image { position: relative; min-height: 198px; background: #e2e8f0; }
.menu-product-image .badge {
  position: absolute;
  left: 12px;
  top: 12px;
  box-shadow: 0 10px 22px rgba(15,23,42,.10);
}
.product-price-row { display: flex; justify-content: space-between; gap: 8px; align-items: end; }
.product-price-row small { color: var(--muted); font-weight: 800; }
.product-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.demo-product-art { height: 198px; background: linear-gradient(135deg, #eef4ff, #dbeafe); }
.demo-product-art-2 { background: linear-gradient(135deg, #f8fafc, #c7d2fe); }
.demo-product-art-3 { background: linear-gradient(135deg, #fff7ed, #dbeafe); }
.product-card .body { padding: 18px; display: grid; gap: 10px; }
.price { color: var(--primary); font-weight: 900; font-size: 20px; }
.shop-cover { height: 280px; border-radius: var(--radius); object-fit: cover; background: linear-gradient(135deg, var(--navy), var(--primary)); width: 100%; }
.shop-profile { display: flex; align-items: end; gap: 18px; margin-top: -52px; padding: 0 26px 26px; }
.logo { width: 104px; height: 104px; border-radius: 24px; object-fit: cover; border: 6px solid #fff; background: #fff; box-shadow: 0 16px 34px rgba(15,23,42,.16); }
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .60);
  padding: 18px;
  z-index: 80;
  overflow: auto;
}
.modal.open { display: grid; place-items: center; }
.modal-panel { width: min(720px, 100%); background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.image-strip { display: flex; gap: 10px; overflow-x: auto; }
.image-strip img { width: 116px; height: 94px; object-fit: cover; border-radius: 18px; }
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.product-gallery button, .image-lightbox-trigger {
  padding: 0;
  min-height: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 18px;
  overflow: hidden;
}
.product-gallery button:hover, .image-lightbox-trigger:hover { transform: translateY(-2px); background: transparent; box-shadow: 0 12px 28px rgba(15,23,42,.12); }
.product-gallery img, .image-lightbox-trigger img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}
.upload-preview, .report-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.upload-preview img, .report-image-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.report-card { display: grid; gap: 18px; }
.report-image-tile { display: grid; gap: 8px; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(7,19,45,.78);
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(980px, 96vw);
  max-height: 88vh;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.empty-state { grid-column: 1 / -1; }

@media (max-width: 1020px) {
  .premium-hero, .problem-layout, .demo-preview-grid { grid-template-columns: 1fr; }
  .hero-dashboard { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar { align-items: center; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .topnav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .topnav.open { display: flex; }
  .topnav a { width: 100%; }
  .container { width: min(100% - 24px, 1180px); margin-top: 16px; }
  .premium-hero { min-height: auto; padding: 26px; border-radius: 24px; }
  .hero-dashboard { padding: 12px; }
  .mockup-grid, .mockup-stats, .problem-cards, .grid.two, .grid.three, .form-row, .steps, .shop-preview-products, .seller-preview-stats { grid-template-columns: 1fr; }
  .menu-toolbar { top: 72px; }
  .menu-search, .product-card-actions { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .shop-profile { align-items: flex-start; flex-direction: column; margin-top: -40px; }
  .landing-footer a:last-child { margin-left: 0; }
}
