:root {
  color-scheme: light;
  --bg: #f6f4ff;
  --bg-soft: #ffffff;
  --bg-tinted: #efeaff;
  --ink: #1d1b39;
  --ink-soft: #44446b;
  --muted: #6e6c93;
  --line: #e3deff;
  --line-strong: #cdc5ff;
  --accent: #6c4dff;
  --accent-dark: #5135d6;
  --accent-soft: rgba(108, 77, 255, 0.12);
  --secondary: #ff8fab;
  --success: #2bb673;
  --warn: #ffba6b;
  --error: #d94c4c;
  --highlight-add: #d6f5e3;
  --highlight-remove: #fff1c2;
  --shadow-md: 0 18px 48px rgba(54, 38, 132, 0.08);
  --shadow-lg: 0 28px 80px rgba(54, 38, 132, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -10%, rgba(108, 77, 255, 0.16), transparent 38rem),
    radial-gradient(circle at 92% 0%, rgba(255, 143, 171, 0.14), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 12px;
  font-family: "Spectral", "Manrope", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: rgba(246, 244, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(205, 197, 255, 0.45);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #b07bff);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(108, 77, 255, 0.35);
}

.logo-text {
  font-size: 20px;
}

.logo-accent {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 6px;
  margin-left: 32px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-cta {
  margin-left: 0;
}

.user-pill {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.user-pill-balance {
  padding: 8px 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.user-pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.user-pill-toggle:hover {
  background: var(--bg-tinted);
}

.user-pill-phone {
  letter-spacing: 0.01em;
}

.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}

.user-menu a,
.user-menu button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  font: inherit;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.user-menu a:hover,
.user-menu button:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 27, 57, 0.45);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 32px 80px rgba(29, 27, 57, 0.28);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-card-wide {
  width: min(820px, 100%);
}

.modal-card h3 {
  margin: 0;
  font-family: "Spectral", "Manrope", serif;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.modal-card p {
  margin: 0;
  color: var(--muted);
}

.modal-card label {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}

.modal-card input[type="tel"],
.modal-card input[type="text"] {
  font: inherit;
  font-size: 17px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  outline: 0;
  transition: border-color 160ms ease, background 160ms ease;
  letter-spacing: 0.04em;
}

.modal-card input[type="tel"]:focus,
.modal-card input[type="text"]:focus {
  border-color: var(--accent);
  background: var(--bg-soft);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--bg);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal-close:hover {
  background: var(--bg-tinted);
}

.modal-status {
  min-height: 18px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.modal-status.error {
  color: var(--error);
}

.modal-status.success {
  color: var(--success);
}

.modal-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Paywall */
.paywall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.paywall-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  text-align: left;
}

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

.paywall-card[data-popular="true"] {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(108, 77, 255, 0.18);
}

.paywall-card-title {
  font-family: "Spectral", "Manrope", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.paywall-card-desc {
  color: var(--muted);
  font-size: 14px;
}

.paywall-card-price {
  margin-top: auto;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.paywall-card-note {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .paywall-grid {
    grid-template-columns: 1fr;
  }
  .modal-card {
    padding: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  color: var(--ink);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8b5dff);
  color: #fff;
  box-shadow: 0 14px 30px rgba(108, 77, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(108, 77, 255, 0.42);
}

.btn-ghost {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent);
}

.btn-large {
  padding: 14px 24px;
  font-size: 16px;
}

.btn-small {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-link {
  background: transparent;
  color: var(--accent);
  padding: 8px 4px;
  font-weight: 700;
}

.btn-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

/* Hero */
.hero {
  padding: 64px 0 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(43, 182, 115, 0.18);
}

.hero-title {
  margin: 0;
  font-family: "Spectral", "Manrope", serif;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-lead {
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-badges li {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.hero-badges strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-card {
  position: absolute;
  width: 78%;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(205, 197, 255, 0.4);
}

.hero-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.hero-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card-source {
  top: 0;
  left: 0;
  transform: rotate(-3deg);
}

.hero-card-source .hero-card-tag {
  background: rgba(255, 186, 107, 0.2);
  color: #b56a18;
}

.hero-card-result {
  bottom: 0;
  right: 0;
  transform: rotate(2deg);
}

.hero-card-meta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 182, 115, 0.1);
  color: #157a4d;
  font-size: 13px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.2);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  z-index: -1;
}

.hero-blob-1 {
  width: 220px;
  height: 220px;
  top: -40px;
  right: 30px;
  background: radial-gradient(circle, rgba(176, 123, 255, 0.45), transparent 70%);
}

.hero-blob-2 {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: -10px;
  background: radial-gradient(circle, rgba(255, 143, 171, 0.4), transparent 70%);
}

/* Counters */
.counters {
  padding: 32px 0 16px;
}

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

.counter-card {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-md);
}

.counter-value {
  font-family: "Spectral", "Manrope", serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.counter-suffix {
  color: var(--muted);
  font-size: 22px;
  margin-left: 4px;
  font-weight: 500;
}

.counter-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* Tool */
.tool-section {
  padding: 64px 0 48px;
}

.tool {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.tool-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--line);
  min-height: 460px;
}

.tool-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tool-panel-head label {
  font-weight: 700;
  color: var(--ink-soft);
}

.counter-pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.tool-panel textarea {
  flex: 1;
  width: 100%;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  min-height: 320px;
}

.tool-panel textarea::placeholder {
  color: #a8a5c4;
}

.tool-panel-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.tool-panel-foot-result {
  flex-wrap: wrap;
  row-gap: 12px;
}

.hint {
  font-size: 13px;
  color: var(--muted);
}

.tool-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-divider-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 800;
}

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

.status {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  flex: 1;
  text-align: right;
  min-height: 20px;
}

.status.error {
  color: var(--error);
}

.status.success {
  color: var(--success);
}

.uniqueness {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 220px;
}

.uniqueness-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uniqueness-bar {
  position: relative;
  flex: 1;
  height: 8px;
  background: var(--bg-tinted);
  border-radius: 999px;
  overflow: hidden;
}

.uniqueness-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 999px;
  transition: width 600ms ease;
}

.uniqueness-value {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  min-width: 50px;
  text-align: right;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

/* Compare */
.compare {
  margin-top: 24px;
  padding: 22px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.compare-head h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

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

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.compare-card {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 16px;
}

.compare-card header {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.compare-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
}

.compare-add {
  background: var(--highlight-add);
  border-radius: 4px;
  padding: 0 3px;
  color: #145c34;
}

.compare-remove {
  background: var(--highlight-remove);
  border-radius: 4px;
  padding: 0 3px;
  color: #8a5b00;
  text-decoration: line-through;
  text-decoration-color: rgba(138, 91, 0, 0.45);
}

/* History */
.history {
  margin-top: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.history > summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.history > summary::-webkit-details-marker {
  display: none;
}

.history > summary::after {
  content: "›";
  font-size: 22px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.history[open] > summary::after {
  transform: rotate(90deg);
}

.history-count {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
}

.history-note {
  padding: 0 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.history-list {
  list-style: none;
  padding: 12px 22px 4px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.history-item:hover {
  border-color: var(--line-strong);
}

.history-item-text {
  flex: 1;
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item-meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.history-item-actions {
  display: flex;
  gap: 6px;
}

.history-empty {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
}

.history-footer {
  padding: 8px 22px 16px;
  display: flex;
  justify-content: flex-end;
}

/* Features */
.features {
  padding: 64px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--accent-soft);
}

.feature-card h3 {
  margin: 0;
  font-size: 19px;
}

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

/* How */
.how {
  padding: 32px 0 64px;
}

.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: how;
}

.how-steps li {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 26px;
  position: relative;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(108, 77, 255, 0.32);
}

.how-steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.how-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Examples */
.examples {
  padding: 64px 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6));
}

.examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.example-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.example-card header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.example-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.example-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.example-cols h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.example-cols div:first-child {
  background: rgba(255, 186, 107, 0.08);
  border-left: 3px solid rgba(255, 186, 107, 0.6);
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

.example-cols div:last-child {
  background: rgba(43, 182, 115, 0.08);
  border-left: 3px solid rgba(43, 182, 115, 0.6);
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

.example-cols p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.example-card footer {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.example-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Reviews */
.reviews {
  padding: 64px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-head > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.review-head strong {
  font-size: 15px;
  color: var(--ink);
}

.review-head span {
  font-size: 13px;
  color: var(--muted);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--ink);
  font-size: 18px;
}

.rating {
  color: #f1b211;
  font-size: 14px;
  letter-spacing: 1px;
}

.review-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.review-date {
  color: var(--muted);
  font-size: 13px;
}

/* Pricing */
.pricing {
  padding: 64px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.plan h3 {
  margin: 0;
  font-size: 22px;
  font-family: "Spectral", "Manrope", serif;
}

.plan-price {
  margin: 8px 0 0;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.plan-price span {
  margin-left: 4px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

.plan-tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(43, 182, 115, 0.18);
  color: #1f7d52;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.plan-popular {
  border-color: var(--accent);
  box-shadow: 0 24px 56px rgba(108, 77, 255, 0.18);
  transform: translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.pricing-note {
  margin: 24px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  max-width: 540px;
}

/* FAQ */
.faq {
  padding: 64px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
}

.faq details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: border-color 160ms ease;
}

.faq details[open] {
  border-color: var(--accent);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  transition: transform 160ms ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* CTA */
.cta {
  padding: 56px 0 72px;
}

.cta-inner {
  background: linear-gradient(135deg, #6c4dff 0%, #8b5dff 50%, #ff8fab 120%);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  color: #fff;
  box-shadow: 0 28px 72px rgba(108, 77, 255, 0.4);
}

.cta-inner h2 {
  margin: 0;
  font-family: "Spectral", "Manrope", serif;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 12px auto 22px;
  max-width: 540px;
  font-size: 17px;
  opacity: 0.9;
}

.cta-inner .btn-primary {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.cta-inner .btn-primary:hover {
  background: #f7f4ff;
}

/* Footer */
.footer {
  padding: 48px 0 32px;
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 36px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 320px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-cols h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.footer-cols a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 14.5px;
  transition: color 160ms ease;
}

.footer-cols a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13.5px;
}

/* Responsive */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .topbar-cta {
    margin-left: auto;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .reviews-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-divider {
    transform: rotate(90deg);
  }

  .compare-grid,
  .example-cols {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .features-grid,
  .reviews-grid,
  .pricing-grid,
  .how-steps,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .plan-popular {
    transform: none;
  }

  .tool {
    padding: 18px;
  }

  .tool-panel {
    padding: 14px;
    min-height: 320px;
  }

  .cta-inner {
    padding: 36px 22px;
  }
}
