:root {
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --accent-soft: #f4f7ff;
  --soft-bg: #f6f8ff;
  --ink: #020617;
  --text: #0f172a;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --border: #e5e7eb;
  --border-soft: #e2e8f0;
  --shadow-card: 0 14px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.04);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background-color: #ffffff;
}

/* Layout helpers */

.page-main {
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-soft {
  background-color: #f5f7ff;
}

.section-title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 32px;
}

.section-title.center {
  text-align: center;
}

.section-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
}

/* Hero */

.hero {
  padding: 72px 0 64px;
  background: #f5f7ff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-500);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
}

.hero-title-accent {
  color: var(--brand-500);
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* search bar */

.hero-search {
  margin-bottom: 20px;
}

.hero-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--brand-500);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.18);
}

.hero-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
}

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

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
}

.hero-search-input::placeholder {
  color: var(--muted-light);
}

.hero-search-button {
  white-space: nowrap;
}

/* hero examples */

.hero-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 8px;
}

.hero-examples-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted-light);
  letter-spacing: 0.08em;
}

.hero-example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-example {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 5px 10px;
  background: #ffffff;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease,
    background-color 0.15s ease;
}

.chip-example:hover {
  border-color: var(--brand-500);
  color: var(--brand-500);
  background: #f4f7ff;
}

/* hero CTAs */

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    background-color 0.1s ease, border-color 0.1s ease, color 0.1s ease;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background-color: var(--brand-500);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: var(--brand-600);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background-color: #f9fafb;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-500);
  background-color: #f5f7ff;
}

.btn.block {
  width: 100%;
}

/* hero panel */

.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-panel-inner {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #020617 0%, #111827 60%, #020617 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
}

.hero-panel-inner::before,
.hero-panel-inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.7;
}

.hero-panel-inner::before {
  width: 120px;
  height: 120px;
  top: -40px;
  right: -30px;
  background: rgba(37, 99, 235, 0.45);
}

.hero-panel-inner::after {
  width: 120px;
  height: 120px;
  bottom: -40px;
  left: -20px;
  background: rgba(16, 185, 129, 0.4);
}

.hero-panel-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
}

.hero-panel-row-border {
  border-bottom: 1px dotted rgba(148, 163, 184, 0.9);
}

.hero-panel-symbol {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.hero-panel-label {
  font-size: 11px;
  color: #9ca3af;
}

.hero-panel-label-green {
  color: #bbf7d0;
}

/* Cards & grids */

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card.center {
  text-align: center;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

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

.card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.card-text {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}

.card-emoji {
  font-size: 30px;
  margin-bottom: 10px;
}

/* Card list */

.card-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.card-bullet-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e9f9ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.card-bullet-icon svg {
  width: 10px;
  height: 10px;
  color: #10b981;
}

/* Tabs */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tab-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.tab.active {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--brand-500);
}

.hidden {
  display: none;
}

/* Badges */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
}

.badge-pill {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.24);
  color: var(--brand-500);
}

/* Pricing */

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.pricing-left {
  max-width: 520px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}

.pricing-bullet {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e9f9ef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-bullet svg {
  width: 12px;
  height: 12px;
  color: #10b981;
}

.pricing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 22px 20px 22px;
  box-shadow: var(--shadow-card);
}

.pricing-ribbon {
  position: absolute;
  right: 18px;
  top: -10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #e9f9ef;
  border: 1px solid #c7f1d7;
  color: #166534;
}

.pricing-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.pricing-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-500);
  margin: 0 0 4px;
}

.pricing-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.pricing-period {
  font-size: 14px;
  color: var(--muted);
}

.pricing-billing {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* FAQ + disclaimer */

.disclaimer {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fffaf0;
  padding: 16px 18px;
}

.disclaimer-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.disclaimer-text strong {
  color: var(--ink);
}

/* Responsive */

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

  .hero-panel {
    order: -1;
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: 32px;
  }

  .section {
    padding: 56px 0;
  }

  .card-grid-4,
  .card-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search-button {
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-ctas {
    flex-direction: column;
    align-items: stretch;
  }
}
