/* 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: #7C3AED;
  --primary-400: #8B5CF6;
  --primary-300: #A78BFA;
  --accent-500: #06B6D4;
  --blue-500: #3B82F6;
  --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), var(--accent-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(124,58,237,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(124,58,237,0.18), transparent 60%),
    radial-gradient(800px 320px at 80% 0%, rgba(6,182,212,0.14), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}
.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; }
.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); }

/* Sections */
section { padding: 70px 0; }
.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 { font-size: 24px; }
.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;
}
.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 #a78bfa; box-shadow: 0 10px 32px rgba(124,58,237,0.15); }
.pricing-card .ribbon {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 44px;
  background: #7C3AED;
  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, #a78bfa, #7c3aed);
}

/* 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: #7C3AED;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #7C3AED;
}
.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: #7C3AED;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid #a78bfa;
}
.btn-price-outline:hover { background: rgba(167,139,250,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 {
  width: 100%;
  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; }
  .hero-art { order: -1; }

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


