:root {
  --bg: #eef4fb;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-soft: #f5f8ff;
  --border: rgba(66, 92, 146, 0.14);
  --text: #273047;
  --muted: #68728d;
  --primary: #5e7dff;
  --primary-dark: #4566f1;
  --secondary: #ff9a62;
  --accent: #ffcf5a;
  --shadow: 0 14px 34px rgba(46, 67, 117, 0.14);
  --shadow-soft: 0 8px 20px rgba(46, 67, 117, 0.1);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(94, 125, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 154, 98, 0.12), transparent 26%),
    linear-gradient(180deg, #f3f8ff 0%, #eef4fb 100%);
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-family: 'Fredoka', sans-serif;
  margin: 0 0 12px 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(66, 92, 146, 0.08);
  box-shadow: 0 4px 18px rgba(46, 67, 117, 0.05);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-weight: 800;
  font-size: 1rem;
}

.brand-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: none;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nav-button:hover,
.button:hover,
.carousel-btn:hover,
.navicon:hover {
  transform: translateY(-1px);
}

.nav-button,
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(76, 105, 227, 0.24);
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.navicon {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
}

.navicon span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 3px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.navicon span:nth-child(1) {
  top: 14px;
}

.navicon span:nth-child(2) {
  top: 21px;
}

.navicon span:nth-child(3) {
  top: 28px;
}

.navicon.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.navicon.active span:nth-child(2) {
  opacity: 0;
}

.navicon.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(66, 92, 146, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.mobile-menu.open {
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--panel-soft);
  font-weight: 800;
  color: var(--text);
}

.hero {
  padding: 64px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
  font-weight: 800;
  color: #d78921;
}

.hero-text,
.info-card p,
.info-panel p,
.hero-card p,
.cta-text {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-card,
.info-card,
.info-panel,
.cta-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 248, 255, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media-card {
  overflow: hidden;
  padding: 0;
}

.banner-link {
  display: block;
}

.hero-banner {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.hero-card-content {
  padding: 26px;
}

.card-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 207, 90, 0.24);
  color: #9a6800;
  font-size: 0.84rem;
  font-weight: 800;
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 8px;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.section {
  padding: 38px 0;
}

.section-heading {
  margin-bottom: 24px;
}

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

.cards {
  display: grid;
  gap: 18px;
}

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

.info-card {
  padding: 24px;
}

.section-accent {
  padding-top: 46px;
  padding-bottom: 46px;
}

.info-panel {
  padding: 30px;
}

.info-panel p + p {
  margin-top: 16px;
}

.screenshots-section {
  padding-top: 20px;
}

.carousel-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.carousel-window {
  width: min(340px, 100%);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-slide {
  width: min(340px, 100%);
  flex: 0 0 min(340px, 100%);
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #fff;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 1.9rem;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(94, 125, 255, 0.25);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
}

.cta-section {
  padding-bottom: 72px;
}

.cta-panel {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer {
  border-top: 1px solid rgba(66, 92, 146, 0.08);
  background: rgba(39, 48, 71, 0.98);
}

.footer-row {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.footer-row a {
  color: #dbe4ff;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-up,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .desktop-nav {
    display: none;
  }

  .navicon {
    display: inline-block;
  }

  .nav-button {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 700px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button,
  .nav-button {
    width: 100%;
  }

  .hero-card-content,
  .info-card,
  .info-panel,
  .cta-panel {
    padding: 22px;
  }

  .footer-row {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    text-align: center;
  }

  .carousel-shell {
    gap: 8px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}
