@import url("./navbar/navbar.css");
@import url("./hero/hero.css");
@import url("./trustedBrands/trustedBrands.css");
@import url("./metrics/metrics.css");
@import url("./features/features.css");
@import url("./referral/referral.css");
@import url("./dashboardPreview/dashboardPreview.css");
@import url("./testimonials/testimonials.css");
@import url("./newsletter/newsletter.css");
@import url("./blog/blog.css");
@import url("./faq/faq.css");
@import url("./cta/cta.css");
@import url("./footer/footer.css");
@import url("./caseStudies/caseStudies.css");
@import url("./pricing/pricing.css");

body {
  background: #ffffff !important;
  color: #0f172a !important;
}

.vai-landing {
  min-height: 100vh;
  background: #ffffff;
  color: #0f172a;
  font-family: Inter, Arial, sans-serif;
}
.vai-growth-row {
  max-width: 1180px;
  margin: 0 auto 70px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* =========================================================
   2026 MOBILE-FIRST LANDING SYSTEM
   ========================================================= */

:root {
  --vai-ink: #0f172a;
  --vai-muted: #64748b;
  --vai-line: #e2e8f0;
  --vai-blue: #2563eb;
  --vai-surface: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  min-width: 0;
  overflow-x: clip;
}

.vai-landing,
.vai-landing *,
.vai-blog-page,
.vai-blog-page * {
  box-sizing: border-box;
}

.vai-landing {
  width: 100%;
  overflow: clip;
  background:
    radial-gradient(circle at 8% 7%, rgba(59, 130, 246, 0.07), transparent 24%),
    #ffffff;
}

.vai-landing img,
.vai-blog-page img,
.case-page img,
.article-page img {
  max-width: 100%;
  height: auto;
}

.vai-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.vai-social-proof-section,
.vai-features-section,
.vai-dashboard-preview-section,
.vai-testimonials-section,
.vai-faq-section,
.vai-footer-container {
  min-width: 0;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .vai-growth-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vai-growth-row > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .vai-dashboard-preview-section,
  .vai-faq-grid,
  .vai-footer-brand-row {
    grid-template-columns: 1fr !important;
  }

  .vai-dashboard-preview-section {
    width: calc(100% - 32px);
    padding: 36px 0 !important;
    gap: 28px !important;
  }

  .vai-command-preview {
    width: 100%;
    min-width: 0;
  }

  .vai-command-sidebar {
    display: none !important;
  }

  .vai-command-main {
    min-width: 0;
    width: 100%;
  }

  .vai-command-header {
    min-width: 0;
    gap: 12px;
  }

  .vai-command-header h3,
  .vai-command-header p {
    overflow-wrap: anywhere;
  }

  .vai-command-grid {
    grid-template-columns: 1fr !important;
  }

  .vai-queue-card,
  .vai-brain-card {
    grid-column: auto !important;
  }

  .vai-queue-table {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }

  .vai-landing {
    font-size: 16px;
  }

  .vai-hero {
    width: calc(100% - 24px) !important;
    padding: 28px 0 42px !important;
    gap: 26px !important;
  }

  .vai-badge {
    max-width: 100%;
    margin-bottom: 17px !important;
    white-space: normal;
  }

  .vai-hero h1 {
    max-width: 100%;
    margin-bottom: 16px !important;
    font-size: clamp(38px, 12vw, 51px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
    overflow-wrap: anywhere;
  }

  .vai-hero .vai-hero-description {
    margin-bottom: 18px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .vai-hero .vai-hero-description br { display: none; }

  .vai-audit-form {
    width: 100% !important;
    padding: 7px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    border-radius: 16px !important;
  }

  .vai-input-icon { grid-column: 1; grid-row: 1; margin: 0 !important; text-align: center; }
  .vai-audit-form input { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; font-size: 16px !important; }
  .vai-audit-form button { grid-column: 1 / -1; min-height: 50px; margin: 5px 0 0 !important; }

  .vai-existing-store-cta {
    min-height: 64px !important;
    padding: 11px 12px !important;
  }

  .vai-existing-store-copy { min-width: 0; overflow-wrap: anywhere; }
  .vai-platform-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .vai-platform-card { min-height: 74px !important; }
  .vai-platform-content strong { white-space: normal !important; overflow-wrap: anywhere; }
  .vai-platform-footer { align-items: flex-start !important; text-align: left; }

  .vai-preview-card {
    width: 100% !important;
    padding: 22px 15px !important;
    border-radius: 20px !important;
  }

  .vai-preview-grid { gap: 10px !important; }
  .vai-mini-card { min-height: 0 !important; padding: 17px !important; }
  .vai-mini-card h4 { font-size: 25px !important; overflow-wrap: anywhere; }
  .vai-issue-row { align-items: flex-start !important; }

  .vai-social-proof-section,
  .vai-features-section,
  .vai-testimonials-section,
  .vai-faq-section,
  .vai-footer-container {
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vai-features-header { text-align: left !important; }
  .vai-features-header h2,
  .vai-demo-copy h2,
  .vai-faq-left h2,
  .vai-testimonials-section h2 {
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
  }

  .vai-features-grid,
  .vai-metrics-section,
  .vai-faq-grid {
    grid-template-columns: 1fr !important;
  }

  .vai-feature-card,
  .vai-metric-card,
  .vai-faq-demo-card {
    min-width: 0;
  }

  .vai-dashboard-preview-section {
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .vai-command-preview { border-radius: 20px !important; }
  .vai-command-header { padding: 14px !important; align-items: flex-start !important; }
  .vai-command-header h3 { font-size: 14px !important; }
  .vai-command-header p { font-size: 8px !important; }
  .vai-score-pill { flex: 0 0 auto; }
  .vai-command-grid { padding: 12px !important; }

  .vai-growth-row {
    width: calc(100% - 24px);
    margin-bottom: 48px;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .vai-growth-row > :first-child { grid-column: auto; }
  .vai-referral-card, .vai-newsletter-card, .vai-blog-card { min-width: 0; padding: 22px !important; }
  .vai-blog-card { flex-direction: column; }
  .vai-blog-thumb { width: 100% !important; height: 130px !important; }
  .vai-newsletter-form { display: grid !important; gap: 8px; }
  .vai-newsletter-form input, .vai-newsletter-form button { width: 100% !important; min-height: 48px; }

  .vai-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .vai-footer-bottom { align-items: flex-start !important; flex-direction: column !important; gap: 10px; }
}

@media (max-width: 360px) {
  .vai-platform-grid { grid-template-columns: 1fr !important; }
  .vai-footer-links { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vai-landing *, .vai-blog-page * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body.storecops-pricing-open { overflow: hidden; }

.storecops-pricing-overlay {
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}

.storecops-pricing-dialog {
  max-height: calc(100dvh - 24px);
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

@media (max-width: 640px) {
  .storecops-pricing-dialog { border-radius: 20px !important; }
  .storecops-pricing-dialog > div { padding: 24px 17px !important; }
}
