:root {
  --background: 0 0% 100%;
  --foreground: 217 33% 17%;
  --card: 0 0% 100%;
  --card-foreground: 217 33% 17%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 217 33% 17%;
  --muted: 217 20% 95%;
  --muted-foreground: 217 10% 50%;
  --accent: 217 91% 95%;
  --accent-foreground: 217 91% 60%;
  --border: 217 20% 90%;
  --border-soft: 217 20% 88%;
  --shadow-soft: 0 4px 12px rgba(37, 99, 235, 0.08);
  --shadow-medium: 0 8px 24px rgba(37, 99, 235, 0.12);
  --shadow-hover: 0 12px 32px rgba(37, 99, 235, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --basic-bg: 217 100% 97%;
  --shopify-bg: 195 100% 96%;
  --advanced-bg: 240 33% 99%;
  --highlight: #94ffd8;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

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

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

strong {
  font-weight: 600;
}

.font-sans {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.min-h-screen {
  min-height: 100vh;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.z-10 {
  z-index: 10;
}

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

.overflow-hidden {
  overflow: hidden;
}

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

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-tight {
  line-height: 1.1;
}

.leading-loose {
  line-height: 1.45;
}

.leading-relaxed {
  line-height: 1.65;
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.bg-background {
  background-color: hsl(var(--background));
}

.bg-white {
  background-color: #fff;
}

.bg-card {
  background-color: hsl(var(--card));
}

.bg-highlight {
  background-color: var(--highlight);
}

.bg-muted-30 {
  background-color: hsla(217, 20%, 95%, 0.3);
}

.bg-basic {
  background-color: hsl(var(--basic-bg));
}

.bg-shopify {
  background-color: hsl(var(--shopify-bg));
}

.bg-advanced {
  background-color: hsl(var(--advanced-bg));
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-border {
  border-color: hsl(var(--border));
}

.border-border-50 {
  border-color: hsl(var(--border-soft));
}

.rounded-lg {
  border-radius: 0.75rem;
}

.rounded-xl {
  border-radius: 1rem;
}

.rounded-2xl {
  border-radius: 1.25rem;
}

.rounded-full {
  border-radius: 999px;
}

.shadow-medium {
  box-shadow: var(--shadow-medium);
}

.hover\:shadow-hover:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.transition-all {
  transition: var(--transition);
}

.duration-300 {
  transition-duration: 300ms;
}

.grid {
  display: grid;
}

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

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.w-full {
  width: 100%;
}

.h-auto {
  height: auto;
}

.h-11 {
  height: 2.75rem;
}

.h-12 {
  height: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.p-8 {
  padding: 2rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-4 {
  padding: 1rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.hidden {
  display: none !important;
}

.opacity-5 {
  opacity: 0.05;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.group:hover .arrow-icon svg {
  transform: translateX(4px);
}

.bg-grid-pattern {
  background-image: linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 0),
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 0);
  background-size: 36px 36px;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  font-size: 1.05rem;
  transition: var(--transition);
  background-color: #fff;
  color: hsl(var(--foreground));
}

.input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.input:disabled {
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 3.5rem;
  height: 1.75rem;
  background-color: hsl(var(--border));
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background-color: transparent;
  transition: var(--transition);
}

.switch-slider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0.3rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transform: translate(0, -50%);
  transition: var(--transition);
}

.switch input:checked + .switch-slider {
  background-color: hsl(var(--primary));
}

.switch input:checked + .switch-slider::before {
  transform: translate(1.75rem, -50%);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.badge {
  background-color: rgba(34, 197, 94, 0.15);
  color: #15803d;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.inline-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
}

.inline-field input {
  width: 80px;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: hsl(var(--foreground));
}

.inline-field input:focus {
  outline: none;
}

.inline-suffix {
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.9rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.primary-button:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.cta-button {
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
}

.cta-button .arrow-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.arrow-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.arrow-icon svg {
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

.plan-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background-color: hsl(var(--card));
}

.plan-card:hover {
  transform: translateY(-4px);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.08);
  color: hsl(var(--muted-foreground));
  margin-left: 0.4rem;
  position: relative;
  cursor: default;
}

.info-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(15, 23, 42, 0.95);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  width: max-content;
  max-width: 220px;
  pointer-events: none;
  text-align: center;
}

.info-icon:hover::after {
  opacity: 1;
  visibility: visible;
}

.card-step {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

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

.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  flex-shrink: 0;
}

.step-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.feature-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

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

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.feature-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.trial-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.trial-image {
  display: block;
}

.trial-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.trial-image:hover img {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.trial-copy p {
  margin: 0.5rem 0 1.25rem;
}

.metrics-table {
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background-color: hsl(var(--card));
}

.metrics-table table {
  width: 100%;
  border-collapse: collapse;
}

.metrics-table th,
.metrics-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.metrics-table thead {
  background-color: rgba(37, 99, 235, 0.08);
}

.metrics-table tbody tr:nth-child(even) {
  background-color: rgba(37, 99, 235, 0.04);
}

.metrics-table tbody tr:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

.metrics-example {
  margin-top: 2rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

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

.faq-item {
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  background-color: hsl(var(--card));
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.faq-item[open] {
  box-shadow: var(--shadow-hover);
}

.faq-summary {
  cursor: pointer;
  position: relative;
  list-style: none;
  padding-right: 1.5rem;
}

.faq-summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-content {
  margin-top: 0.75rem;
}

.animate-fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.6s ease forwards;
  animation-delay: 0.15s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .md\:text-2xl {
    font-size: 1.5rem;
  }

  .md\:text-4xl {
    font-size: 2rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
  }

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

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

  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
