:root {
  color-scheme: light;
  --background: 30 25% 97%;
  --foreground: 20 30% 13%;
  --muted: 25 15% 93%;
  --muted-foreground: 20 10% 46%;
  --card: 0 0% 100%;
  --border: 25 18% 89%;
  --primary: 29 99% 49%;
  --primary-foreground: 0 0% 100%;
  --secondary: 25 25% 92%;
  --secondary-foreground: 20 40% 25%;
  --accent: 17 64% 28%;
  --accent-foreground: 0 0% 100%;
  --radius: 12px;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, hsl(30 25% 97%) 0%, hsl(0 0% 100%) 42%, hsl(30 25% 97%) 100%);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(14px);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(21 99% 48%) 100%);
  box-shadow: 0 0 20px hsl(var(--primary) / 0.3);
}

.logo-mark img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.logo-copy strong {
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-copy span {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 500;
}

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

.desktop-nav a,
.footer nav a {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.footer nav a:hover {
  color: hsl(var(--foreground));
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.small {
  min-height: 36px;
  font-size: 0.9rem;
}

.button.large {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1rem;
}

.button.full {
  width: 100%;
}

.button.primary {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(21 99% 48%) 100%);
  color: hsl(var(--primary-foreground));
  box-shadow: 0 14px 30px hsl(var(--primary) / 0.28);
}

.button.primary:hover {
  background: linear-gradient(135deg, hsl(29 99% 45%) 0%, hsl(17 90% 43%) 100%);
}

.button.outline {
  border-color: hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.button.outline:hover {
  background: hsl(var(--muted));
}

.button.ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.button.ghost:hover {
  background: hsl(var(--muted));
}

.button.light {
  background: white;
  color: hsl(var(--accent));
  box-shadow: 0 16px 32px hsl(20 30% 13% / 0.16);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
}

.mobile-menu {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  padding: 16px;
}

.mobile-menu a:not(.button) {
  display: block;
  padding: 8px 0;
  color: hsl(var(--muted-foreground));
  font-weight: 650;
}

.mobile-menu .button {
  margin-top: 8px;
}

.mobile-menu.open {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 88px 0 112px;
  background:
    linear-gradient(135deg, hsl(29 99% 49% / 0.1) 0%, hsl(17 64% 28% / 0.05) 100%),
    hsl(var(--background));
}

.blob {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.blob-main {
  top: -160px;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  opacity: 0.2;
  background: radial-gradient(ellipse at center, hsl(var(--primary) / 0.4) 0%, transparent 70%);
}

.blob-side {
  top: 80px;
  right: 0;
  width: 288px;
  height: 288px;
  opacity: 0.1;
  background: radial-gradient(ellipse at center, hsl(var(--accent) / 0.35) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-copy {
  flex: 0 1 60%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 999px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.badge.subtle {
  margin-bottom: 16px;
}

.hero-badge {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.82);
  color: hsl(var(--secondary-foreground));
  box-shadow: 0 10px 24px hsl(20 30% 13% / 0.06);
}

.hero h1 {
  max-width: 620px;
  margin: 24px 0 0;
  color: hsl(var(--foreground));
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
  font-weight: 700;
}

.hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75;
}

.hero p strong {
  color: hsl(var(--foreground));
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero .button.outline {
  border-color: hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.hero .button.outline:hover {
  background: hsl(var(--muted));
}

.hero-note {
  margin-top: 16px !important;
  font-size: 0.9rem !important;
}

.hero-visual {
  position: relative;
  flex: 0 1 40%;
  min-width: 0;
  min-height: 500px;
  overflow: visible;
}

.reports-window {
  position: relative;
  width: 760px;
  max-width: none;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  background: hsl(var(--card));
  box-shadow:
    0 28px 72px hsl(20 30% 13% / 0.16),
    0 8px 20px hsl(20 30% 13% / 0.08);
  transform: translateX(-130px) rotate(-1.2deg) scale(0.82);
  transform-origin: center left;
}

.preview-sidebar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 148px;
  border-right: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 16px 14px;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.preview-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(21 99% 48%) 100%);
  box-shadow: 0 10px 20px hsl(var(--primary) / 0.24);
}

.preview-mark img {
  width: 23px;
  height: 23px;
}

.preview-brand strong,
.preview-brand small {
  display: block;
  line-height: 1.05;
}

.preview-brand strong {
  font-size: 0.82rem;
}

.preview-brand small {
  color: hsl(var(--muted-foreground));
  font-size: 0.58rem;
}

.preview-menu-title {
  display: block;
  margin: 28px 0 12px;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
}

.preview-menu {
  display: grid;
  gap: 7px;
}

.preview-menu span {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: hsl(var(--muted-foreground));
  padding: 7px 9px;
  font-size: 0.68rem;
}

.preview-menu svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.preview-menu .active {
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}

.reports-screen {
  min-height: 500px;
  margin-left: 148px;
  background: hsl(var(--background));
}

.reports-header,
.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 0 18px;
  color: hsl(var(--foreground));
  font-size: 0.68rem;
  font-weight: 700;
}

.preview-topbar div {
  display: flex;
  gap: 14px;
}

.preview-topbar div span {
  width: 9px;
  height: 9px;
  border: 1px solid hsl(var(--foreground));
  border-radius: 999px;
  opacity: 0.7;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.store-chip svg {
  width: 13px;
  height: 13px;
  color: hsl(var(--primary));
}

.reports-main {
  padding: 22px;
}

.reports-header h2 {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 1.35rem;
}

.screen-controls {
  display: flex;
  gap: 8px;
}

.screen-controls span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  padding: 0 12px;
  font-size: 0.62rem;
  white-space: nowrap;
}

.reports-tabs {
  width: max-content;
  max-width: 100%;
  display: flex;
  gap: 4px;
  overflow: hidden;
  border-radius: 8px;
  background: hsl(var(--muted));
  margin-top: 20px;
  padding: 4px;
}

.reports-tabs span {
  border-radius: 6px;
  color: hsl(var(--muted-foreground));
  padding: 7px 10px;
  font-size: 0.62rem;
  white-space: nowrap;
}

.reports-tabs .active {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: 0 1px 2px hsl(20 30% 13% / 0.08);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.metric-card,
.report-panel,
.payment-card,
.side-kpis > div {
  border: 1px solid hsl(var(--border));
  border-radius: 9px;
  background: hsl(var(--card));
  box-shadow: 0 8px 18px hsl(20 30% 13% / 0.05);
}

.metric-card {
  min-height: 70px;
  padding: 14px 12px 12px 48px;
  position: relative;
}

.metric-icon {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: hsl(var(--primary) / 0.12);
}

.metric-icon svg {
  width: 15px;
  height: 15px;
}

.metric-icon.money {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
}

.metric-icon.sales {
  color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.1);
}

.metric-icon.ticket {
  color: hsl(142 70% 30%);
  background: hsl(142 76% 36% / 0.12);
}

.metric-icon.profit {
  color: hsl(38 92% 42%);
  background: hsl(38 92% 50% / 0.16);
}

.metric-card > span:not(.metric-icon) {
  color: hsl(var(--muted-foreground));
  font-size: 0.62rem;
}

.metric-card strong {
  display: block;
  margin-top: 3px;
  color: hsl(var(--foreground));
  font-size: 0.8rem;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
  margin-top: 14px;
}

.report-panel {
  padding: 16px;
}

.panel-title-row span {
  color: hsl(var(--foreground));
  font-size: 1.05rem;
  font-weight: 800;
}

.chart-area {
  position: relative;
  height: 192px;
  margin-top: 16px;
  padding: 8px 0 0 44px;
}

.chart-grid {
  position: absolute;
  inset: 8px 0 22px 44px;
  background-image:
    linear-gradient(to bottom, hsl(var(--border)) 1px, transparent 1px),
    linear-gradient(to right, hsl(var(--border)) 1px, transparent 1px);
  background-size: 100% 25%, 16.66% 100%;
  opacity: 0.82;
}

.bar-chart {
  position: relative;
  z-index: 1;
  height: 156px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 18px;
  border-left: 1px solid hsl(20 10% 46% / 0.7);
  border-bottom: 1px solid hsl(20 10% 46% / 0.7);
  padding: 0 12px 0 18px;
}

.bar-chart span {
  border-radius: 3px 3px 0 0;
  background: #3b82f6;
}

.chart-y {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: hsl(var(--muted-foreground));
  font-size: 0.58rem;
}

.report-side {
  display: grid;
  gap: 12px;
}

.side-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.side-kpis > div,
.payment-card {
  padding: 12px;
  text-align: center;
}

.side-kpis span,
.payment-card span {
  display: block;
  color: hsl(142 70% 30%);
  font-size: 0.62rem;
}

.side-kpis > div:nth-child(2) span {
  color: hsl(0 72% 51%);
}

.side-kpis strong,
.payment-card strong {
  display: block;
  margin-top: 5px;
  color: hsl(var(--foreground));
  font-size: 0.9rem;
}

.side-kpis small,
.payment-card small {
  color: hsl(var(--muted-foreground));
  font-size: 0.56rem;
}

.payment-card {
  text-align: left;
}

.payment-card span {
  color: hsl(var(--foreground));
}

.payment-card strong {
  color: hsl(var(--primary));
}

.payment-card div {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: hsl(var(--muted));
  margin: 9px 0 7px;
}

.payment-card div span {
  width: 53%;
  height: 100%;
  border-radius: inherit;
  background: hsl(var(--primary));
}

.trust {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.72);
  padding: 32px 0;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 64px;
}

.trust-grid div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-grid svg {
  width: 18px;
  height: 18px;
  color: hsl(var(--primary));
}

.section {
  padding: 96px 0;
}

.section.muted {
  background: hsl(var(--muted) / 0.3);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 700px;
  margin: 16px auto 0;
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  background: hsl(var(--card));
  padding: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px hsl(20 30% 13% / 0.1);
  border-color: hsl(var(--primary) / 0.5);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.blue { background: hsl(29 99% 49% / 0.12); color: hsl(29 99% 42%); }
.emerald { background: hsl(17 64% 28% / 0.1); color: hsl(17 64% 28%); }
.violet { background: hsl(25 25% 92%); color: hsl(20 40% 25%); }
.orange { background: hsl(21 99% 48% / 0.12); color: hsl(21 99% 42%); }
.cyan { background: hsl(30 25% 97%); color: hsl(17 64% 28%); }
.amber { background: hsl(38 92% 50% / 0.16); color: hsl(29 99% 38%); }
.lime { background: hsl(142 76% 36% / 0.12); color: hsl(142 70% 30%); }
.slate { background: hsl(20 10% 46% / 0.12); color: hsl(20 30% 24%); }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.65;
}

.steps-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.step-card {
  position: relative;
  text-align: center;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 1px;
  background: hsl(var(--border));
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  color: white;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  box-shadow: 0 16px 32px hsl(var(--primary) / 0.2);
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-card strong {
  display: block;
  color: hsl(var(--primary));
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.pricing-heading {
  margin-bottom: 48px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card));
  padding: 4px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.billing-toggle button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: hsl(var(--muted-foreground));
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.billing-toggle button.active {
  background: hsl(var(--primary));
  color: white;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.billing-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  margin-left: 6px;
  padding: 0 8px;
  background: #dcfce7;
  color: #047857;
  font-size: 0.68rem;
}

.billing-toggle button.active span {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.plan-wrap {
  display: flex;
  justify-content: center;
}

.plan-card {
  width: min(100%, 448px);
  overflow: hidden;
  border: 2px solid hsl(var(--primary));
  border-radius: 28px;
  background: hsl(var(--card));
  box-shadow: 0 20px 50px -10px hsl(var(--primary) / 0.3);
}

.plan-stripe {
  height: 8px;
  background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
}

.plan-content {
  padding: 32px;
}

.plan-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.plan-title-row h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 900;
}

.plan-title-row p,
.card-note,
.pricing-contact,
.billing-note {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.5;
}

.popular {
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.price-row strong {
  font-size: 2.5rem;
  line-height: 1;
}

.price-row span {
  color: hsl(var(--muted-foreground));
  margin-bottom: 4px;
}

.billing-note {
  margin-top: 8px;
  margin-bottom: 10px;
}

.card-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
}

.divider {
  height: 1px;
  background: hsl(var(--border));
  margin: 24px 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: hsl(var(--primary));
  font-weight: 900;
}

.pricing-contact {
  margin-top: 32px;
  text-align: center;
}

.pricing-contact a {
  color: hsl(var(--primary));
  font-weight: 750;
}

.narrow {
  max-width: 820px;
}

.faq-list {
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  background: hsl(var(--card));
}

.faq-item + .faq-item {
  border-top: 1px solid hsl(var(--border));
}

.faq-item button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  padding: 0 24px;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-item button:hover {
  background: hsl(var(--muted) / 0.5);
}

.chevron {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--background));
  color: hsl(var(--primary));
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.chevron::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.faq-item button:hover .chevron {
  border-color: hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.08);
}

.faq-item.open .chevron {
  transform: rotate(180deg);
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.final-section {
  background: hsl(var(--background));
}

.final-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  color: white;
  padding: 64px 40px;
  text-align: center;
}

.final-bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    radial-gradient(circle at 20% 80%, white 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, white 0%, transparent 50%);
}

.final-content {
  position: relative;
  z-index: 1;
}

.final-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 24px;
  background: hsl(0 0% 100% / 0.92);
  backdrop-filter: blur(8px);
}

.final-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.final-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.final-card p {
  max-width: 620px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.65;
}

.final-card .button {
  margin-top: 40px;
}

.final-card .final-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo .logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-logo .logo-mark img {
  width: 27px;
  height: 27px;
}

.footer-logo .logo-copy strong {
  font-size: 1.1rem;
}

.footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

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

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    flex-basis: auto;
    max-width: 760px;
  }

  .hero-visual {
    flex-basis: auto;
    align-self: stretch;
    min-height: auto;
  }

  .reports-window {
    width: 100%;
    max-width: 760px;
    transform: none;
  }

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

@media (max-width: 768px) {
  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 80px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 340px;
  }

  .hero-visual {
    width: 100%;
  }

  .reports-window {
    width: 100%;
    max-width: none;
  }

  .preview-sidebar,
  .screen-controls,
  .report-side {
    display: none;
  }

  .reports-screen {
    min-height: auto;
    margin-left: 0;
  }

  .reports-screen {
    padding: 0;
  }

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

  .metric-card:nth-child(n + 3) {
    display: none;
  }

  .report-layout {
    grid-template-columns: 1fr;
  }

  .reports-main {
    padding: 18px;
  }

  .reports-tabs {
    width: 100%;
  }

  .reports-tabs span:nth-child(n + 4) {
    display: none;
  }

  .chart-area {
    height: 160px;
  }

  .bar-chart {
    height: 124px;
    gap: 10px;
  }

  .trust-grid {
    gap: 20px;
  }

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

  .step-card:not(:last-child)::after {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .section {
    padding: 72px 0;
  }

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

  .feature-card,
  .plan-content {
    padding: 24px;
  }

  .plan-title-row {
    flex-direction: column;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
    padding: 0 12px;
  }

  .final-card {
    padding: 48px 20px;
  }

  .hero-note {
    max-width: 340px;
  }
}
