:root {
  --color-background: #f7f8fb;
  --color-surface: #ffffff;
  --color-primary: #3f37c9;
  --color-primary-dark: #3a0ca3;
  --color-accent: #4cc9f0;
  --color-text: #1f1f33;
  --color-muted: #5e5f72;
  --color-border: rgba(31, 31, 51, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 12px 30px rgba(25, 25, 45, 0.12);
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.55;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
}

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

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

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

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

.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(63, 55, 201, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-text);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--color-text);
  margin-inline: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 72px 1.25rem auto;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1rem;
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  font-weight: 500;
  color: var(--color-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: var(--color-primary-dark);
}

.button-ghost {
  background: rgba(63, 55, 201, 0.1);
  color: var(--color-primary);
}

.button-ghost:hover {
  background: rgba(63, 55, 201, 0.2);
}

.button-outline {
  background: transparent;
  border: 1px solid rgba(63, 55, 201, 0.2);
  color: var(--color-primary);
}

.button-outline:hover {
  background: rgba(63, 55, 201, 0.08);
}

.hero {
  padding: 4.5rem 0 3rem;
  background: radial-gradient(circle at top left, rgba(76, 201, 240, 0.15), transparent 55%),
    radial-gradient(circle at top right, rgba(63, 55, 201, 0.12), transparent 45%);
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-copy p {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(63, 55, 201, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-preview {
  display: grid;
  gap: 2rem;
}

.phone {
  width: min(320px, 100%);
  margin-inline: auto;
  padding: 0.85rem;
  background: linear-gradient(160deg, rgba(63, 55, 201, 0.08), rgba(76, 201, 240, 0.15));
  border-radius: 32px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  background: #dfe2f4;
  border-radius: 12px;
}

.phone-screen {
  border-radius: 20px;
  background: var(--color-surface);
  padding: 1.5rem 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.screen-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 18px;
  padding: 1rem;
  color: #fff;
  display: grid;
  gap: 0.4rem;
}

.screen-card .screen-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.screen-card .screen-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.screen-card .screen-chip {
  display: inline-flex;
  width: fit-content;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

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

.screen-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(63, 55, 201, 0.05);
}

.screen-list-item span {
  font-weight: 600;
  color: var(--color-text);
  display: block;
}

.screen-list-item small {
  color: var(--color-muted);
}

.hero-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.screenshot-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.slider-window {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--color-surface);
  width: min(100%, 320px);
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slider-track img {
  width: 100%;
  flex: 0 0 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}

.slider-control {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.slider-control:hover {
  background: var(--color-primary);
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(63, 55, 201, 0.05), transparent 70%);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem;
  display: grid;
  gap: 1rem;
}

.section-heading.left {
  text-align: left;
  margin: 0 0 2.4rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(63, 55, 201, 0.12);
}

.steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(63, 55, 201, 0.12);
  color: var(--color-primary);
  font-weight: 700;
}

.callout {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(63, 55, 201, 0.12), rgba(76, 201, 240, 0.15));
  text-align: center;
  display: grid;
  gap: 0.75rem;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.2rem;
  position: relative;
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.5rem;
}

.pricing-card .price {
  font-size: 2.4rem;
  color: var(--color-primary);
}

.pricing-card .price-caption {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.faq-grid {
  display: grid;
  gap: 2.5rem;
}

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

details {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
}

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

details p {
  margin-top: 0.75rem;
}

.cta {
  padding-bottom: 6rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: #fff;
  display: grid;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: grid;
  gap: 1rem;
}

.cta .button {
  background: #fff;
  color: var(--color-primary);
}

.cta .button-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.cta .button:hover {
  background: #f6f7ff;
}

.site-footer {
  padding: 3rem 0 0;
  background: #111122;
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand .brand-text {
  color: #fff;
}

.footer-copy {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner div {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-inner a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner a:hover {
  color: #fff;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slider-window {
    width: min(100%, 400px);
  }

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

@media (min-width: 768px) {
  .header-bar {
    padding: 1.5rem 0;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .button-ghost {
    background: rgba(63, 55, 201, 0.12);
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .hero-preview {
    justify-items: center;
  }

  .hero-card {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

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

  .faq-grid {
    grid-template-columns: 320px 1fr;
    gap: 3rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  .section {
    padding: 5.5rem 0;
  }

  .hero-card {
    position: relative;
    top: 20px;
  }

  .hero-preview {
    gap: 2.5rem;
  }

  .slider-window {
    width: min(100%, 520px);
  }
}
