/* Divi Solution — site styles */

:root {
  --ink: #0e0b2e;
  --ink-2: #1b1660;
  --text: #1d1b3a;
  --muted: #55537a;
  --bg: #ffffff;
  --bg-soft: #f6f5ff;
  --line: #e4e1f5;
  --brand: #6d3cf0;
  --brand-dark: #5426d6;
  --brand-2: #2f6bf2;
  --accent: #0fb98a;
  --warm: #ffb020;
  --danger: #d6334a;
  --grad: linear-gradient(135deg, #8b3cf6 0%, #5b46e5 50%, #2f6bf2 100%);
  --grad-dark: radial-gradient(1200px 600px at 85% -10%, rgba(79, 70, 229, .55), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(139, 60, 246, .45), transparent 60%),
    #0e0b2e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(30, 20, 90, .25);
  --shadow-lg: 0 30px 60px -20px rgba(30, 20, 90, .35);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 70, 229, .8); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(91, 70, 229, .9); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { color: var(--ink); border-color: var(--brand); }
.btn svg { width: 1.1em; height: 1.1em; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-size: .64rem; letter-spacing: .14em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--bg-soft); }
.site-nav .nav-cta a { background: var(--grad); color: #fff; margin-left: 6px; }
.site-nav .nav-cta a:hover { color: #fff; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .site-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .site-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

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

.hero { background: var(--grad-dark); color: #d9d6ff; padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; max-width: 40em; color: #c9c5f5; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); }
.hero-stack { position: relative; padding-bottom: 22%; }
.hero-stack img:first-child { width: 88%; }
.hero-stack img:last-child { position: absolute; right: 0; bottom: 0; width: 62%; border: 4px solid #1b1660; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.text-grad { background: linear-gradient(90deg, #b794ff, #7aa7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-accent { color: #34e0b0; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .92rem; color: #b8b4ea; list-style: none; padding: 0; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: #34e0b0; flex: none; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

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

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--grad-dark); color: #d0ccf7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #c3bff0; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-dark .kicker { color: #a78bfa; }

@media (max-width: 700px) { .section { padding: 60px 0; } }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(20, 10, 60, .04);
}
.card p { color: var(--muted); margin-bottom: 0; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.green { background: #e3faf3; color: #0a8f6b; }
.feature-icon.yellow { background: #fff4dc; color: #b36b00; }
.feature-icon.blue { background: #e6eeff; color: #2457d6; }
.feature-icon.pink { background: #ffe8f0; color: #c2185b; }

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card img { aspect-ratio: 1400 / 781; object-fit: cover; width: 100%; }
.product-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-card-body p { color: var(--muted); }
.product-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.tags li { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--brand-dark); }

/* ---------- Lists, checks ---------- */

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .3em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e3faf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a8f6b' 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;
}
.section-dark .check-list li::before { background-color: rgba(52, 224, 176, .15); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }

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

.price-box {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  text-align: center;
}
.price-box .price { font-size: 3.2rem; line-height: 1; margin: 8px 0 6px; }
.price-box .check-list { text-align: left; margin: 26px 0 30px; }
.price-box .btn { width: 100%; }
.price-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

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

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 600;
  color: var(--brand);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

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

.cta-band {
  background: var(--grad);
  border-radius: 28px;
  padding: 56px;
  color: #ece9ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
@media (max-width: 640px) { .cta-band { padding: 36px 26px; } }

/* ---------- Forms ---------- */

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; background: #fff; padding: 32px; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #cfcbe8;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(109, 60, 240, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 6px; font-weight: 600; }
.field-hint { font-size: .85rem; color: var(--muted); }
.hp-field { display: none !important; }

.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e3faf3; color: #066b50; }
.form-status.is-error { background: #fdeaed; color: #a01d31; }

.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .feature-icon { margin: 0; flex: none; width: 42px; height: 42px; }
.contact-points strong { display: block; color: var(--ink); }
.contact-points span, .contact-points a { color: var(--muted); }

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

.page-head { background: var(--grad-dark); color: #c9c5f5; padding: 64px 0 56px; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-head p { max-width: 44em; margin: 0; }
.breadcrumbs { font-size: .88rem; margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #8d88c9; }
.breadcrumbs a { color: #c9c5f5; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- Docs & legal ---------- */

.docs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.docs-layout > * { min-width: 0; }
.docs-toc { position: sticky; top: 96px; font-size: .92rem; }
.docs-toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.docs-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.docs-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.docs-toc a:hover, .docs-toc a.is-active { color: var(--brand); border-left-color: var(--brand); }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
  .docs-toc { position: static; background: var(--bg-soft); padding: 20px; border-radius: var(--radius); }
}

.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; padding-top: .4em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose code { background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--bg-soft); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 1.4em; }
.callout p:last-child { margin: 0; }
.callout.warn { border-left-color: var(--warm); background: #fff8e8; }
.updated { font-size: .9rem; color: var(--muted); }

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

.site-footer { background: var(--ink); color: #aaa6d6; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #cfcbf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: #8d88c9; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: rgba(255, 255, 255, .16); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: #8d88c9; }

/* ---------- Demo frames ---------- */

.demo-frame {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f3f2fb; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.demo-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ddd9f2; display: block; }
.demo-bar i:nth-child(1) { background: #ff6b6b; }
.demo-bar i:nth-child(2) { background: #ffc145; }
.demo-bar i:nth-child(3) { background: #3ed598; }
.demo-bar span { margin-left: 10px; }

.demo-controls { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); background: #faf9ff; font-size: .92rem; }
.demo-controls fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.demo-controls legend { float: left; font-weight: 700; color: var(--ink); margin-right: 6px; }

.seg { display: inline-flex; background: #ecebf8; border-radius: 999px; padding: 3px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 6px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg input:checked + label { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(20, 10, 60, .15); }
.seg input:focus-visible + label { outline: 3px solid var(--warm); outline-offset: 1px; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--ink); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 44px; height: 24px; border-radius: 999px; background: #cfcbe8; position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--warm); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
