:root {
  --background: #f7f5fb;
  --panel: #ffffff;
  --panel-muted: #f0e9ff;
  --text: #0c0f1f;
  --text-muted: #4e4f69;
  --accent: #6f4dff;
  --accent-strong: #9b6bff;
  --accent-soft: rgba(111, 77, 255, 0.12);
  --border: rgba(12, 15, 31, 0.08);
  --shadow: 0 25px 80px rgba(15, 3, 52, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(1160px, 92vw);
  margin: 0 auto;
  padding-bottom: 8rem;
}

section {
  margin: 4rem 0;
}

.surface-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(130, 106, 255, 0.35), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(255, 208, 237, 0.5), transparent 50%),
    radial-gradient(circle at bottom, rgba(114, 228, 255, 0.35), transparent 50%);
  filter: blur(50px);
  z-index: -2;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, 92vw);
  margin: 1rem auto 0;
  padding: 0.85rem 1.8rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(111, 77, 255, 0.15);
  box-shadow: 0 20px 50px rgba(111, 77, 255, 0.18);
  backdrop-filter: blur(18px);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(120deg, #a26cff, #f594ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  margin: 0;
  text-decoration: none;
  color: var(--text);
}

.logo-caption {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #6f4dff, #c26bff);
  color: #fff;
  box-shadow: 0 18px 35px rgba(111, 77, 255, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost {
  border: 1px solid rgba(111, 77, 255, 0.25);
  background: transparent;
  color: var(--accent);
}

.btn:hover {
  transform: translateY(-2px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(111, 77, 255, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.section-heading h2 {
  margin: 0.35rem 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.section-heading p {
  color: var(--text-muted);
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin-top: 4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.hero-highlights li {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 15px 30px rgba(76, 64, 143, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-label {
  font-size: 1.4rem;
  font-weight: 700;
}

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

.app-shell {
  width: min(480px, 90vw);
  border-radius: 32px;
  padding: 1.8rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}

.app-shell__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 18, 33, 0.15);
  display: inline-flex;
  margin-right: 0.25rem;
}

.app-card {
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--panel-muted);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.app-card.gradient {
  background: linear-gradient(140deg, rgba(111, 77, 255, 0.15), rgba(255, 255, 255, 0.65));
}

.app-card__title {
  margin: 0;
  font-weight: 600;
}

.app-card__text {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.app-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-bar {
  flex: 1;
  background: rgba(111, 77, 255, 0.08);
  border-radius: 999px;
  height: 8px;
}

.progress-bar span {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(120deg, #6f4dff, #c26bff);
}

.cta-panel {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), rgba(111, 77, 255, 0.08));
  border-radius: 32px;
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}

.cta-panel__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.features .feature-grid,
.usecase-grid,
.integration-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-grid article,
.usecase-grid article,
.integration-grid article,
.pricing-card {
  background: var(--panel);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 40px rgba(19, 20, 52, 0.08);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.comparison-card {
  background: var(--panel);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.comparison-card ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.comparison-card.muted {
  background: rgba(255, 255, 255, 0.75);
  border-style: dashed;
}

.integration-grid article {
  text-align: left;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-label {
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.pricing-card h3 {
  font-size: 2.4rem;
  margin: 0;
}

.pricing-card ul {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.pricing-card .pricing-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.popular-pill {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.pricing-card.popular {
  border: 2px solid rgba(111, 77, 255, 0.3);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: var(--panel);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px rgba(19, 20, 52, 0.08);
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  width: min(1160px, 92vw);
  margin: 0 auto 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(12, 15, 31, 0.12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.footer-actions {
  display: flex;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 500;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  padding: 1.25rem;
  border: 1px solid rgba(111, 77, 255, 0.2);
  box-shadow: 0 25px 55px rgba(14, 9, 40, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 280px;
  z-index: 6;
}

.floating-cta p {
  margin: 0;
  font-weight: 600;
}

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(111, 77, 255, 0.2);
  padding: 0.75rem 1rem;
  display: none;
  gap: 0.5rem;
  z-index: 7;
  backdrop-filter: blur(10px);
}

.mobile-cta-bar .btn {
  flex: 1;
  padding: 0.8rem 1rem;
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .floating-cta {
    display: none;
  }

  .mobile-cta-bar {
    display: flex;
  }
}

@media (max-width: 600px) {
  .site-header {
    border-radius: 28px;
  }

  .cta-panel {
    flex-direction: column;
    text-align: left;
  }
}
