/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0b1220;
  background: #F7FAFC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --primary-500: #2563EB;
  --primary-400: #3B82F6;
  --primary-300: #93C5FD;
  --accent-500: #F59E0B;
  --blue-500: #0EA5E9;
  --bg-50: #F7FAFC;
  --bg-100: #F1F5F9;
  --bg-200: #E5E7EB;
  --text-900: #0b1220;
  --text-700: #334155;
  --text-500: #64748B;
  --card-bg: #ffffff;
  --card-stroke: #e5e7eb;
  --shadow-1: 0 10px 24px rgba(2,6,23,0.08);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: #fff;
  color: #111827;
  border-radius: 8px;
  z-index: 1000;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon { width: 22px; height: 22px; border-radius: 4px; display: block; }
.brand-name {
  color: var(--text-900);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #0b1220;
}

.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary-nav a {
  color: var(--text-700);
  text-decoration: none;
}
.primary-nav a:hover { color: var(--text-900); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: transform 0.05s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-1);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, var(--primary-500), var(--blue-500)); }
.btn-primary, .btn-primary:visited, .btn-primary:hover, .btn-primary:active, .btn-primary:focus { color: #ffffff !important; }
.btn.btn-primary.btn-lg {
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(37,99,235,0.22);
}
.btn-outline {
  background: transparent;
  color: var(--text-900);
  border-color: #cbd5e1;
}
.btn-ghost {
  background: #ffffff;
  color: var(--text-900);
  border-color: #e2e8f0;
}
.btn-lg { padding: 14px 22px; border-radius: 12px; font-size: 18px; line-height: 1.2; }

.install-desktop .btn { padding: 8px 12px; box-shadow: none; }

/* Hero */
.hero {
  padding: 80px 0 40px;
  color: var(--text-900);
  background:
    radial-gradient(1200px 400px at 20% -10%, rgba(37,99,235,0.16), transparent 60%),
    radial-gradient(800px 320px at 80% 0%, rgba(245,158,11,0.14), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  justify-items: stretch;
  gap: 40px;
  text-align: left;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px;
}
.subtitle {
  color: var(--text-700);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  margin: 0 0 24px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start;}
.hero-art { display: grid; place-items: center; }
.hero-svg { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 12px 24px rgba(2,6,23,0.08)); }
.hero-img { width: 100%; max-width: 520px; height: auto; border-radius: 18px; box-shadow: 0 12px 28px rgba(2,6,23,0.12); }

.product-preview {
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15,23,42,0.16);
}
.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}
.preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}
.preview-toolbar span:first-child { background: #f87171; }
.preview-toolbar span:nth-child(2) { background: #fbbf24; }
.preview-toolbar span:nth-child(3) { background: #34d399; }
.preview-toolbar strong {
  margin-left: 8px;
  color: var(--text-700);
  font-size: 14px;
}
.preview-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 360px;
}
.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: #eef2ff;
}
.preview-sidebar div {
  height: 58px;
  border-radius: 8px;
  background: #ffffff;
  border-left: 4px solid var(--accent-500);
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}
.preview-page {
  margin: 22px;
  padding: 38px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(37,99,235,0.04) 48% 52%, transparent 52%),
    #ffffff;
}
.preview-line,
.preview-highlight {
  height: 12px;
  border-radius: 999px;
  margin: 0 0 18px;
  background: #cbd5e1;
}
.preview-line.wide { width: 92%; }
.preview-line { width: 76%; }
.preview-line.short { width: 54%; }
.preview-highlight {
  width: 86%;
  height: 18px;
  background: rgba(250,204,21,0.6);
}
.preview-note {
  display: inline-flex;
  margin: 22px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: #92400e;
  background: #fef3c7;
  font-weight: 700;
  font-size: 14px;
}

/* Sections */
section { padding: 70px 0; }

/* Slider */
.slider-section {
  padding: 60px 0;
  background: var(--bg-50);
}
.slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}
.slider-track {
  position: relative;
  width: 100%;
  height: 500px;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  border-radius: 16px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--text-500);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.dot:hover {
  transform: scale(1.1);
}
.dot.active {
  background: var(--primary-500);
}
.pricing h2, .feedback h2, .benefits h2 { color: var(--text-900); margin: 0 0 6px; }
.section-sub { color: var(--text-500); margin: 0 0 22px; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.benefit-card {
  border: 1px solid var(--card-stroke);
  background: var(--card-bg);
  border-radius: 16px;
  padding: 22px;
  min-height: 200px;
  box-shadow: var(--shadow-1);
}
.benefit-icon {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
  font-weight: 800;
}
.benefit-card h3 { margin: 10px 0 14px; color: var(--text-900); }
.benefit-card p { margin: 0; color: var(--text-700); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pricing-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}
.card {
  position: relative;
  border: 1px solid var(--card-stroke);
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.card-body { padding: 22px; }
.plan { color: var(--text-900); margin-top: 0; font-size: 24px; font-weight: 800; }
.price { color: var(--text-900); margin: 8px 0 16px; display: flex; align-items: baseline; gap: 8px; }
.amount { font-size: 44px; font-weight: 800; margin-right: 6px; }
.cycle { color: var(--text-500); }
.features { color: var(--text-700); padding-left: 18px; margin: 0 0 18px; }

/* Pricing visual tweaks */
.pricing-card { border-radius: 14px; }
.pricing-card.emphasized { outline: 2px solid var(--primary-300); box-shadow: 0 10px 32px rgba(37,99,235,0.15); }
.pricing-card .ribbon {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 44px;
  background: var(--primary-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.pricing-card.emphasized .card-body { padding-top: 70px; }

/* Align pricing buttons to the same baseline */
.pricing-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card .features,
.pricing-card .features-check {
  flex: 1 1 auto;
}

/* Check list */
.features-check { list-style: none; padding-left: 0; }
.features-check li { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.features-check li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 999px;
  display: inline-block;
  background:
    linear-gradient(180deg, var(--primary-300), var(--primary-500));
}

/* Trial highlight */
.trial-highlight {
  color: var(--primary-500);
  font-weight: 600;
}

/* FAQ */
.faq {
  background: var(--bg-100);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-stroke);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-900);
  line-height: 1.4;
  transition: background-color 0.2s ease;
}
.faq-question:hover {
  /*background-color: var(--bg-50);*/
}
.faq-question:focus {
  /*outline: 2px solid var(--primary-300);*/
  /*outline-offset: -2px;*/
}
.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--primary-500);
  transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;
  padding: 0 24px;
  opacity: 0;
}
.faq-answer.open {
  max-height: 500px;
  padding: 0 24px 24px;
  opacity: 1;
}
.faq-answer p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.6;
}

/* Pricing buttons */
.btn-price-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--primary-500);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--primary-500);
}
.btn-price-primary:hover { filter: brightness(1.05); }
.btn-price-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: transparent;
  color: var(--primary-500);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--primary-300);
}
.btn-price-outline:hover { background: rgba(37,99,235,0.08); }

/* Form */
.form { max-width: 720px; }
.form-row { display: grid; gap: 8px; margin-bottom: 14px; }
.form-row label { color: var(--text-700); font-weight: 600; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--text-900);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #94a3b8; }
.error { color: #fca5a5; font-size: 13px; min-height: 18px; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-note { color: var(--text-500); margin: 0; }

.form-embed iframe {
  display: block;
  width: min(100%, 640px);
  margin: 0 auto;
  border: 0;
  background: transparent;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: var(--bg-100);
}
.footer-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 40px 0;
}
.footer-left h4, .footer-right h4 { color: var(--text-900); margin: 0 0 12px; font-size: 22px; font-weight: 700; }
.footer-left ul, .footer-right ul { list-style: none; padding: 0; margin: 0; color: var(--text-700); }
.footer-left ul li, .footer-right ul li { line-height: 1.9; }
.footer-right a { color: var(--text-900); text-decoration: none; }
.footer-right a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #e5e7eb; padding: 12px 0 20px; color: var(--text-700); }
.contact-strip { background: var(--bg-100); border-top: 1px solid #e5e7eb; padding: 14px 0; color: var(--text-700); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  background: #0b1220;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(2,6,23,0.25);
  opacity: 0;
  transition: transform 300ms ease, opacity 300ms ease;
  z-index: 70;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Legal pages */
.legal-hero {
  padding: 40px 0 0;
}
.legal-hero h1 { margin: 0; color: var(--text-900); font-size: clamp(28px, 4vw, 40px); }
.legal-main { padding: 24px 0 80px; }
.legal-content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-1);
}
.legal-meta { color: var(--text-500); margin: 0 0 12px; }
.legal-raw {
  white-space: pre-wrap;
  color: var(--text-700);
  line-height: 1.7;
  font-size: 16px;
}

/* Floating CTA for mobile */
.fab-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-500), var(--blue-500));
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
@media (min-width: 860px) { .fab-cta { display: none; } }

/* Responsive */
@media (max-width: 859px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { position: absolute; top: 64px; left: 0; right: 0; background: rgba(255,255,255,0.98); border-bottom: 1px solid #e5e7eb; display: none; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; padding: 12px 16px; gap: 12px; }
  .install-desktop { display: none; }

  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; }
  .hero-cta { justify-content: center; }
  .product-preview { max-width: 560px; width: 100%; margin: 0 auto; }
  .preview-body { grid-template-columns: 92px 1fr; min-height: 280px; }
  .preview-sidebar { padding: 12px; }
  .preview-page { margin: 14px; padding: 28px 20px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid-two { grid-template-columns: 1fr; }

  .slider-track { height: 300px; }
  .slider-dots { gap: 8px; }
  .dot { width: 10px; height: 10px; }
}
