:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8f9fb;
  --text: #1f1f1f;
  --muted: #5f6368;
  --line: #e8eaed;
  --accent: #2e5bff; /* Webkul logo blue */
  --accent-ink: #1e46d6;
  --radius: 12px;
  --shadow-1: 0 1px 2px rgba(60, 64, 67, 0.14), 0 1px 3px 1px rgba(60, 64, 67, 0.08);
  --shadow-2: 0 1px 3px rgba(60, 64, 67, 0.18), 0 6px 16px 2px rgba(60, 64, 67, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Google Sans Text", Roboto, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 30px;
  height: auto;
}

.brand-name {
  font-family: "Google Sans", "Google Sans Text", Roboto, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.brand-context {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.header-nav a:hover {
  background: rgba(60, 64, 67, 0.07);
  color: var(--text);
}

.header-nav .nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-1);
}

.header-nav .nav-cta:hover {
  background: var(--accent-ink);
  color: #fff;
  box-shadow: var(--shadow-2);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 76px;
  background:
    linear-gradient(118deg, rgba(46, 91, 255, 0.07) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #ffffff 0%, #fbfdff 58%, #eef4ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(46, 91, 255, 0.22) 1px, transparent 1px);
  background-position: 52% 46%;
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, transparent 62%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  top: -34%;
  width: 58vw;
  height: 112%;
  border-left: 1px solid rgba(46, 91, 255, 0.13);
  background: linear-gradient(135deg, rgba(46, 91, 255, 0.08), rgba(255, 255, 255, 0));
  transform: skewX(-24deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  align-items: center;
  gap: 82px;
}

.hero-copy {
  min-width: 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 16px;
  padding: 4px 9px;
  border: 1px solid rgba(46, 91, 255, 0.14);
  border-radius: 4px;
  background: rgba(46, 91, 255, 0.07);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 680px;
  font-family: "Google Sans", "Google Sans Text", Roboto, Inter, system-ui, sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 590px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  outline: 0;
  transform: translateY(-1px);
}

.hero-button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(46, 91, 255, 0.24);
}

.hero-button-primary:hover,
.hero-button-primary:focus-visible {
  background: var(--accent-ink);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(30, 70, 214, 0.28);
}

.hero-button-secondary {
  border-color: #dbe5ff;
  background: #ffffff;
  color: var(--accent-ink);
}

.hero-button-secondary:hover,
.hero-button-secondary:focus-visible {
  border-color: #bfcfff;
  background: #f7faff;
  color: var(--accent-ink);
}

.button-icon {
  font-weight: 800;
  line-height: 1;
}

.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
}

.hero-stars {
  color: #f6a723;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
}

.hero-doc-panel {
  width: 100%;
  min-height: 304px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 58px rgba(28, 48, 100, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.hero-search-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 16px;
  color: #64748b;
}

.hero-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 62px 0 11px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 13px;
  outline: 0;
}

.hero-search input::placeholder {
  color: #6b7280;
}

.hero-shortcut {
  position: absolute;
  right: 10px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-50%);
}

.hero-categories > p {
  margin: 0 0 9px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.hero-category {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 7px 10px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.hero-category + .hero-category {
  margin-top: 8px;
}

.hero-category:hover,
.hero-category:focus-visible {
  border-color: #cbd5e1;
  background: #fbfdff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  outline: 0;
  transform: translateY(-1px);
}

.hero-category span:not(.category-icon) {
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.category-icon svg {
  width: 18px;
  height: 18px;
}

.category-icon svg path,
.category-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-icon-blue {
  background: #eaf1ff;
  color: #1e46d6;
}

.category-icon-purple {
  background: #f0eaff;
  color: #6d3de8;
}

.category-icon-green {
  background: #e8f8ef;
  color: #13834f;
}

.category-icon-orange {
  background: #fff1e7;
  color: #e36f1e;
}

.hero-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin-top: 12px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hero-panel-link:hover,
.hero-panel-link:focus-visible {
  color: var(--accent-ink);
  outline: 0;
}

/* ---------- Products ---------- */

.products { padding: 56px 0 88px; }

.products-head { margin-bottom: 30px; }

.products-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.products-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  padding: 26px;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.card .eyebrow {
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card strong {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.card .card-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.card .card-cta {
  margin-top: auto;
  padding-top: 12px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
}

.card:hover .card-cta { text-decoration: underline; }

/* ---------- Trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-inner {
  padding: 48px 0 52px;
}

.trust-title {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.trust-item:hover,
a.trust-item:focus-visible {
  border-color: #d1d5db;
  color: var(--text);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  outline: 0;
  transform: translateY(-1px);
}

a.trust-item:focus-visible {
  box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.18), 0 10px 28px rgba(17, 24, 39, 0.08);
}

.trust-item img {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: #0f172a;
  object-fit: contain;
  box-shadow: none;
}

.trust-item .trust-rating-logo {
  border: 1px solid #eef0f3;
  background: #ffffff;
  padding: 8px;
}

.trust-text {
  display: block;
  min-width: 0;
  color: #374151;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
}

.trust-text strong {
  color: #0a0a0a;
  font-weight: 700;
}

a.trust-item:hover .trust-text strong,
a.trust-item:focus-visible .trust-text strong {
  color: var(--accent-ink);
}

.rating-line {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.rating-score {
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 700;
}

.stars {
  color: #f6a723;
  font-size: 13px;
  letter-spacing: 0;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-inner p { margin: 0; }

.footer-inner nav {
  display: flex;
  gap: 20px;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover { color: var(--text); }

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .hero {
    padding: 56px 0 48px;
  }
  .hero::before {
    background-position: 80% 64%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 82%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 82%);
  }
  .hero::after {
    right: -62vw;
    width: 120vw;
    opacity: 0.58;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-label {
    margin-bottom: 14px;
  }
  .hero h1 {
    max-width: 350px;
    margin-bottom: 16px;
    font-size: 38px;
    line-height: 1.12;
  }
  .hero-sub {
    max-width: 350px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    max-width: 290px;
  }
  .hero-button {
    width: 100%;
    min-height: 44px;
  }
  .hero-proof {
    max-width: 320px;
    font-size: 12.5px;
  }
  .hero-doc-panel {
    min-height: 0;
    padding: 14px;
    border-radius: 10px;
  }
  .hero-search {
    height: 44px;
    margin-bottom: 14px;
  }
  .hero-shortcut {
    display: none;
  }
  .hero-search input {
    padding-right: 12px;
  }
  .hero-category {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 48px;
  }
  .hero-category span:not(.category-icon) {
    font-size: 13px;
  }
  .brand-divider, .brand-context { display: none; }
  .header-nav { gap: 4px; }
  .header-nav a:not(.nav-cta) { display: none; }
  .trust-inner { padding: 38px 0 42px; }
  .trust-title {
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 0;
  }
  .trust-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .trust-item {
    min-height: 76px;
    padding: 14px 16px;
  }
  .trust-item img {
    width: 42px;
    height: 42px;
  }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 561px) and (max-width: 920px) {
  .hero {
    padding: 68px 0 62px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero h1 {
    max-width: 650px;
    font-size: 52px;
  }
  .hero-doc-panel {
    max-width: 520px;
  }
  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 46px;
  }
  .hero h1 {
    font-size: 52px;
  }
}
