/* ============================================================
   Webynite.com — global stylesheet
   Self-contained static site. No build step.
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f6f9;
  --bg-dark:   #0e1018;
  --ink:       #0e1116;
  --muted:     #5b6472;
  --line:      #e5e7ec;
  --brand:     #5b3df5;
  --brand-2:   #15c8e0;
  --brand-ink: #2a1aa8;
  --ok:        #16a34a;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 8px 30px rgba(16, 18, 30, .08);
  --shadow-lg: 0 24px 60px rgba(16, 18, 30, .14);
  --maxw:      1140px;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display:   'Sora', var(--font);
}

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

html { scroll-behavior: smooth; }

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

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

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

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: 88px; }

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

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

section { padding: clamp(56px, 8vw, 104px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(91, 61, 245, .32);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(91, 61, 245, .42); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.logo-word { display: inline-flex; }
.logo-word i { font-style: normal; color: var(--brand); }
.nav {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}
.nav a { color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(21, 200, 224, .16), transparent),
    radial-gradient(800px 420px at 5% 0%, rgba(91, 61, 245, .14), transparent),
    var(--bg);
  padding: clamp(60px, 9vw, 120px) 0 clamp(56px, 8vw, 100px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 22px 0 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 34px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust div { font-size: 14px; color: var(--muted); }
.hero-trust strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Hero visual card */
.hero-card {
  background:
    radial-gradient(420px 200px at 80% 0%, rgba(91,61,245,.35), transparent),
    var(--bg-dark);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-card .hc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-card .hc-row:last-child { border-bottom: none; }
.hero-card .hc-label { color: #9aa3b2; font-size: 14px; }
.hero-card .hc-val {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hero-card .hc-val.up { color: #4ade80; }
.hc-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hc-head span { font-size: 13px; color: #9aa3b2; }
.hc-dot { color: #4ade80; }
.hc-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin: 16px 0 8px;
}
.hc-bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  border-radius: 4px 4px 0 0;
}

/* ---------- Logos strip ---------- */
.logos {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.logos p {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.logos-row {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  color: #aab0bd;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(91,61,245,.14), rgba(21,200,224,.14));
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.alt { background: var(--bg-alt); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.toggle-tabs {
  display: inline-flex;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 44px;
}
.toggle-tabs button {
  border: none;
  background: none;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  color: var(--muted);
}
.toggle-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 20px 50px rgba(91, 61, 245, .16);
  position: relative;
}
.price-card .tag {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
}
.price-card h3 { font-size: 20px; }
.price-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.price-card .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price-card .price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card ul {
  list-style: none;
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.price-card li {
  font-size: 14.5px;
  padding-left: 26px;
  position: relative;
  color: #3a4150;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.price-card .btn { margin-top: auto; }

.pricing-pane { display: none; }
.pricing-pane.active { display: grid; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.quote p { font-size: 15.5px; }
.quote footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--display);
}
.quote footer b { display: block; font-size: 14px; }
.quote footer small { color: var(--muted); }
.stars { color: #f5b400; letter-spacing: 2px; margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(21,200,224,.22), transparent),
    var(--bg-dark);
  color: #fff;
  border-radius: 22px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); }
.cta-band p { color: #aab2c0; margin: 14px auto 28px; max-width: 480px; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 22px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 20px; font-size: 15px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 90% -20%, rgba(91,61,245,.12), transparent),
    var(--bg-alt);
  padding: clamp(48px, 7vw, 86px) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(30px, 5vw, 50px); }
.page-hero p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 600px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--brand); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  transition: border-color .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ---------- Checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.summary {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.summary h3 { font-size: 18px; margin-bottom: 18px; }
.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.sum-row.total {
  border-bottom: none;
  border-top: 2px solid var(--ink);
  margin-top: 6px;
  padding-top: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.sum-row .v { font-variant-numeric: tabular-nums; font-weight: 600; }
.badge-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.success {
  display: none;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow);
}
.success.show { display: block; }
.success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 32px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.success h2 { font-size: 26px; margin-bottom: 10px; }
.order-id {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  display: inline-block;
  margin: 14px 0 24px;
}
.notice {
  background: rgba(91,61,245,.06);
  border: 1px solid rgba(91,61,245,.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--brand-ink);
  margin-bottom: 22px;
}

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: #3a4150; margin-bottom: 12px; font-size: 15.5px; }
.prose ul { padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #c4cad6;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid p { font-size: 14px; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #c4cad6; }
.footer-links a:hover { color: #fff; }
.legal-entity {
  font-size: 12.5px;
  line-height: 1.8;
  color: #8b93a3;
}
.legal-entity strong { color: #c4cad6; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8b93a3;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav-toggle { display: block; }
  .header-cta .btn:not(.nav-toggle) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2,
  .pricing-pane.active { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
}
