:root {
  --ac-red: #ff0000;
  --ac-black: #111111;
  --ac-dark: #191919;
  --ac-bg: #f5f5f7;
  --ac-bg-alt: #ffffff;
  --ac-border: #e5e5ea;
  --ac-text: #222222;
  --ac-muted: #6b6b7a;
  --ac-radius-lg: 18px;
  --ac-radius-md: 12px;
  --ac-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ac-text);
  background: #ffffff;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--ac-black);
}

p {
  margin: 0 0 1em;
}

/* Layout helpers */
.ac-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.ac-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ac-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.ac-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ac-logo {
  height: 40px;
}

.ac-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.ac-nav a {
  color: var(--ac-muted);
  position: relative;
}

.ac-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--ac-red);
  transition: width 0.2s ease;
}

.ac-nav a:hover {
  color: var(--ac-black);
}

.ac-nav a:hover::after {
  width: 100%;
}

/* Buttons */
.ac-btn {
  border-radius: 999px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.ac-btn-primary {
  background: var(--ac-red);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.3);
}

.ac-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 0, 0, 0.35);
}

.ac-btn-outline {
  background: #ffffff;
  color: var(--ac-black);
  border: 1px solid var(--ac-border);
}

.ac-btn-outline:hover {
  background: #f8f8fb;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Small link button */
.ac-link-button {
  border: none;
  background: transparent;
  color: var(--ac-muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ac-link-button:hover {
  color: var(--ac-black);
}

/* Hero */
.ac-hero {
  padding: 80px 0 70px;
}

.ac-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.ac-hero-copy h1 {
  font-size: clamp(2.2rem, 3vw + 1.5rem, 3.1rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.ac-hero-sub {
  font-size: 1rem;
  color: var(--ac-muted);
  max-width: 520px;
}

.ac-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.ac-hero-note {
  font-size: 0.85rem;
  color: var(--ac-muted);
  margin-top: 12px;
}

.ac-hero-card {
  justify-self: stretch;
}

.ac-hero-screen {
  background: #ffffff;
  border-radius: var(--ac-radius-lg);
  padding: 22px 20px;
  box-shadow: var(--ac-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ac-hero-screen h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.ac-hero-screen ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}

.ac-hero-screen li {
  padding: 12px;
  border-radius: 14px;
  background: #fafafa;
}

.ac-hero-screen strong {
  display: block;
  margin-bottom: 4px;
}

.ac-hero-screen em {
  display: block;
  margin-top: 4px;
  color: var(--ac-muted);
  font-style: normal;
  font-size: 0.85rem;
}

.ac-trust-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ac-pill {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--ac-border);
  background: #fafafa;
}

/* Sections */
.ac-section {
  padding: 70px 0;
}

.ac-section-alt {
  background: var(--ac-bg);
}

.ac-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.ac-section-header p {
  color: var(--ac-muted);
}

/* Steps */
.ac-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ac-step {
  background: #ffffff;
  border-radius: var(--ac-radius-md);
  padding: 22px;
  border: 1px solid var(--ac-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.ac-step-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: var(--ac-red);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Features */
.ac-features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-feature {
  background: #ffffff;
  border-radius: var(--ac-radius-md);
  padding: 20px;
  border: 1px solid var(--ac-border);
}

.ac-feature p {
  color: var(--ac-muted);
  font-size: 0.92rem;
}

/* Pricing */
.ac-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.ac-toggle-label {
  color: var(--ac-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ac-toggle-label-active {
  color: var(--ac-black);
  font-weight: 600;
}

.ac-save-pill {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.07);
  color: var(--ac-red);
  font-size: 0.75rem;
}

.ac-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}

.ac-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ac-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d5d5dd;
  border-radius: 999px;
  transition: 0.2s;
}

.ac-slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.2s;
}

.ac-switch input:checked + .ac-slider {
  background-color: var(--ac-red);
}

.ac-switch input:checked + .ac-slider:before {
  transform: translateX(20px);
}

.ac-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ac-plan {
  background: #ffffff;
  border-radius: var(--ac-radius-lg);
  padding: 24px 22px 26px;
  border: 1px solid var(--ac-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
}

.ac-plan-featured {
  border-color: var(--ac-red);
  box-shadow: 0 18px 45px rgba(255, 0, 0, 0.17);
  transform: translateY(-4px);
}

.ac-plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.1);
  color: var(--ac-red);
  font-weight: 600;
}

.ac-plan-tagline {
  color: var(--ac-muted);
  font-size: 0.9rem;
}

.ac-plan-price {
  margin: 14px 0 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.ac-plan-price .ac-price-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ac-muted);
  margin-left: 4px;
}

.ac-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ac-muted);
}

.ac-plan-features li {
  margin-bottom: 6px;
}

/* Testimonials */
.ac-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ac-testimonial {
  background: #ffffff;
  border-radius: var(--ac-radius-md);
  border: 1px solid var(--ac-border);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  font-size: 0.95rem;
}

.ac-testimonial p {
  color: var(--ac-muted);
}

.ac-testimonial h4 {
  margin-top: 10px;
  margin-bottom: 2px;
}

/* FAQ */
.ac-faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.ac-faq-grid details {
  border-radius: var(--ac-radius-md);
  border: 1px solid var(--ac-border);
  background: #ffffff;
  padding: 12px 14px;
}

.ac-faq-grid summary {
  font-weight: 600;
  cursor: pointer;
}

.ac-faq-grid p {
  margin-top: 8px;
  color: var(--ac-muted);
  font-size: 0.92rem;
}

/* Form section */
.ac-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ac-form-copy p {
  color: var(--ac-muted);
}

.ac-form-bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: var(--ac-muted);
  font-size: 0.9rem;
}

.ac-form-bullets li {
  margin-bottom: 4px;
}

.ac-form {
  background: #ffffff;
  border-radius: var(--ac-radius-lg);
  padding: 22px 18px;
  border: 1px solid var(--ac-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
  display: grid;
  gap: 12px;
}

.ac-form label {
  display: grid;
  gap: 4px;
  font-size: 0.88rem;
}

.ac-form input,
.ac-form textarea {
  border-radius: 10px;
  border: 1px solid var(--ac-border);
  padding: 9px 10px;
  font-size: 0.9rem;
  font-family: inherit;
}

.ac-form input:focus,
.ac-form textarea:focus {
  outline: 2px solid rgba(255, 0, 0, 0.18);
  border-color: var(--ac-red);
}

.ac-form-disclaimer {
  font-size: 0.78rem;
  color: var(--ac-muted);
}

/* Footer */
.ac-footer {
  background: var(--ac-dark);
  color: #f1f1f3;
  padding: 40px 0 10px;
}

.ac-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.2fr);
  gap: 30px;
  align-items: flex-start;
}

.ac-footer-logo {
  height: 36px;
  margin-bottom: 10px;
}

.ac-footer p {
  color: #c5c5cf;
  font-size: 0.9rem;
}

.ac-footer-links h4,
.ac-footer-social h4 {
  margin-bottom: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5f5f7;
}

.ac-footer-links a,
.ac-footer-social a {
  display: block;
  font-size: 0.85rem;
  color: #d4d4e0;
  margin-bottom: 4px;
}

.ac-footer-links a:hover,
.ac-footer-social a:hover {
  color: #ffffff;
}

.ac-footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ac-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #bcbccd;
}

/* Mobile nav */
.ac-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.ac-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--ac-black);
}

.ac-mobile-nav {
  display: none;
}

.ac-mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.ac-mobile-nav a {
  font-size: 0.95rem;
  color: var(--ac-black);
}

.ac-mobile-start {
  margin-top: 6px;
}

/* Modal */
.ac-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

.ac-modal.open {
  display: block;
}

.ac-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.ac-modal-content {
  position: relative;
  max-width: 520px;
  margin: 80px auto;
  background: #ffffff;
  border-radius: var(--ac-radius-lg);
  padding: 24px 20px 20px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.ac-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 960px) {
  .ac-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ac-hero-card {
    order: -1;
  }

  .ac-steps-grid,
  .ac-features-grid,
  .ac-pricing-grid,
  .ac-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-form-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .ac-footer-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .ac-header-inner {
    padding-inline: 16px;
  }

  .ac-nav {
    display: none;
  }

  .ac-header-cta {
    display: none;
  }

  .ac-nav-toggle {
    display: inline-flex;
  }

  .ac-hero {
    padding-top: 70px;
  }

  .ac-section {
    padding: 60px 0;
  }

  .ac-steps-grid,
  .ac-features-grid,
  .ac-pricing-grid,
  .ac-testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ac-footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
