:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #4a4a4a;
  --accent-soft: #f5ebff;
  --accent: #48165e;
  --border: #ececec;
  --shadow-soft: 0 10px 30px rgba(72, 22, 94, 0.08);
  --shadow-hover: 0 16px 36px rgba(72, 22, 94, 0.14);
  --radius: 16px;
  --container: 1160px;
  --section-gap: clamp(3.5rem, 8vw, 7rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaff 35%, #ffffff 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.82rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(72, 22, 94, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(72, 22, 94, 0.28);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: rgba(72, 22, 94, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(72, 22, 94, 0.45);
  box-shadow: var(--shadow-soft);
}

main > section {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--border);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(1.65rem, 3.3vw, 2.3rem);
  margin-bottom: 1rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  max-width: 820px;
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding: clamp(5rem, 11vw, 8rem) 0;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(72, 22, 94, 0.15);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 2rem;
}

.hero p {
  margin: 1.1rem auto 0;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  white-space: pre-line;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(72, 22, 94, 0.2);
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.card p,
.why-list li,
.use-cases li,
.pricing-list li {
  color: var(--muted);
}

.features .card {
  min-height: 210px;
}

.why-use-cases {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--border);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.split-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.split-panel-accent {
  background: var(--accent-soft);
  border-color: rgba(72, 22, 94, 0.12);
}

.panel-heading {
  text-align: left;
  margin-bottom: 1.3rem;
}

.why-list,
.use-cases,
.pricing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.why-list li,
.use-cases li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(72, 22, 94, 0.12);
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

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

.pricing-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: transform 0.22s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pricing-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.price {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.pricing-list {
  margin-top: 1rem;
  gap: 0.7rem;
  flex: 1;
}

.pricing-list li {
  padding-left: 1.1rem;
  position: relative;
}

.pricing-list li::before {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.58rem;
}

.pricing-card.pro {
  background: linear-gradient(165deg, #48165e 0%, #63217d 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(72, 22, 94, 0.38);
  transform: scale(1.02);
}

.pricing-card.pro .price,
.pricing-card.pro p,
.pricing-card.pro li {
  color: rgba(255, 255, 255, 0.96);
}

.pricing-card.pro .pricing-list li::before {
  background: #ffffff;
}

.pricing-card.pro .btn-secondary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--accent);
}

.pricing-card .btn {
  margin-top: 1.4rem;
  width: 100%;
}

footer {
  padding: 2.3rem 0 3.2rem;
  border-top: 1px solid var(--border);
}

.footer-text {
  margin: 0;
  color: #5e5e5e;
  font-size: 0.86rem;
  line-height: 1.8;
  text-align: center;
  white-space: pre-line;
}

@media (max-width: 980px) {
  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .pricing-card.pro {
    transform: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 1.4rem));
  }

  .header-inner {
    min-height: 64px;
    align-items: center;
  }

  .nav {
    gap: 0.8rem;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

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

  .card,
  .pricing-card {
    padding: 1.2rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
