/* Vitare landing — mobile-first responsive
   Base styles target MOBILE (<640px). Larger breakpoints scale up. */

:root {
  --teal: #00BBA7;
  --teal-deep: #008F80;
  --ink: #0A1413;
  --fade: #F4F8F7;
  --muted: #5C6B69;
}

html, body { overflow-x: hidden; margin: 0; padding: 0; }
body { background: #FCFDFC; }
* { box-sizing: border-box; }

/* ============================================
   MOBILE FIRST — base styles (<640px)
   ============================================ */

.v-nav {
  padding: 14px 20px !important;
  gap: 12px !important;
}
.v-nav-brand-text { font-size: 17px !important; }
.v-nav-links { display: none !important; }
.v-nav .v-btn-primary {
  padding: 10px 16px !important;
  font-size: 13px !important;
}

.v-section,
.v-section-flush .v-flush-inner {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.v-section {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}
.v-section-flush {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hero */
.v-hero {
  padding-top: 48px !important;
  padding-bottom: 56px !important;
}
.v-hero-grid {
  grid-template-columns: 1fr !important;
  gap: 40px !important;
}
.v-h1 {
  font-size: 52px !important;
  line-height: 1 !important;
  margin: 24px 0 20px !important;
}
.v-hero-sub {
  font-size: 17px !important;
  margin-bottom: 32px !important;
}
.v-hero-cta {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin-bottom: 40px !important;
}
.v-hero-cta button { width: 100% !important; }
.v-hero-stats {
  gap: 24px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
.v-hero-stat-num { font-size: 24px !important; }
.v-hero-stat-divider { display: none !important; }

.v-phone-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}
.v-phone {
  transform: none !important;
  margin: 0 auto !important;
  width: 280px !important;
  max-width: 280px !important;
  display: flex !important;
  justify-content: center !important;
}
/* PhoneFrame is 360px wide inline — scale it down to fit and stay centered */
.v-phone > div {
  transform: scale(0.78) !important;
  transform-origin: top center !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}
/* Compensate for the scale so layout below isn't pushed by phantom height */
.v-phone {
  height: calc(740px * 0.78) !important;
  overflow: visible !important;
}

/* Straighten any rotated decorative cards inside feature visuals on mobile */
.v-records-card { transform: none !important; }

/* center hero text content on mobile */
.v-hero-grid > div:first-child {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.v-hero-grid > div:first-child > * { max-width: 100% !important; }

/* Trusted by */
.v-trusted {
  padding: 16px 20px 40px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 16px !important;
}
.v-trusted-logos {
  gap: 20px !important;
  font-size: 15px !important;
  flex-wrap: wrap !important;
}

/* Section headlines */
.v-h2 { font-size: 36px !important; }
.v-h2-cta { font-size: 48px !important; }

/* Features */
.v-features-header { margin-bottom: 40px !important; }
.v-features-grid {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}
.v-feature-card {
  padding: 28px !important;
  min-height: 0 !important;
}
.v-feature-card h3 { font-size: 22px !important; }

/* Steps */
.v-steps-grid {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}
.v-step-card { padding: 28px !important; }

/* Security */
.v-security { padding: 80px 20px !important; }
.v-security-grid {
  grid-template-columns: 1fr !important;
  gap: 32px !important;
}
.v-security-shield { display: none !important; }

/* Screenshots — horizontal scroll */
.v-screens-row {
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  padding-bottom: 16px !important;
  -webkit-overflow-scrolling: touch !important;
}
.v-screens-row > * {
  scroll-snap-align: start !important;
  flex: 0 0 260px !important;
}
.v-screens-row > * > div:first-child {
  width: 260px !important;
  height: 540px !important;
}

/* Pricing */
.v-pricing-grid {
  grid-template-columns: 1fr !important;
  max-width: 520px !important;
  gap: 16px !important;
}
.v-price-card { padding: 28px !important; }
.v-price-num { font-size: 36px !important; }

/* Final CTA */
.v-final-cta { padding: 80px 20px !important; }
.v-cta-btns {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}
.v-cta-btns button { width: 100% !important; }

/* Footer */
.v-footer {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 20px !important;
  padding: 40px 20px !important;
}

/* ============================================
   TABLET — ≥ 640px
   ============================================ */
@media (min-width: 640px) {
  .v-nav {
    padding: 16px 32px !important;
    gap: 16px !important;
  }
  .v-nav-brand-text { font-size: 19px !important; }
  .v-nav .v-btn-primary {
    padding: 12px 22px !important;
    font-size: 14px !important;
  }

  .v-section,
  .v-section-flush .v-flush-inner {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .v-section {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }

  .v-hero { padding-top: 72px !important; padding-bottom: 72px !important; }
  .v-h1 { font-size: 72px !important; margin: 32px 0 24px !important; }
  .v-hero-sub { font-size: 19px !important; margin-bottom: 36px !important; }
  .v-hero-cta {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 48px !important;
  }
  .v-hero-cta button { width: auto !important; }
  .v-hero-stats { gap: 36px !important; }
  .v-hero-stat-num { font-size: 28px !important; }
  .v-hero-stat-divider { display: block !important; }

  .v-phone { max-width: 340px !important; transform: rotate(-2deg) !important; }
  .v-phone > div { transform: rotate(-2deg) !important; }

  .v-hero-grid > div:first-child {
    text-align: left !important;
    display: block !important;
  }

  .v-trusted {
    padding: 24px 32px 48px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 32px !important;
  }
  .v-trusted-logos { gap: 32px !important; font-size: 16px !important; }

  .v-h2 { font-size: 44px !important; }
  .v-h2-cta { font-size: 64px !important; }

  .v-features-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .v-feature-card { min-height: 380px !important; padding: 32px !important; }
  .v-feature-card h3 { font-size: 26px !important; }

  .v-steps-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .v-step-card { padding: 32px !important; }

  .v-security { padding: 100px 32px !important; }
  .v-security-grid { gap: 56px !important; }

  .v-screens-row > * { flex: 0 0 300px !important; }
  .v-screens-row > * > div:first-child { width: 300px !important; height: 620px !important; }

  .v-pricing-grid { grid-template-columns: 1fr !important; max-width: 600px !important; }

  .v-final-cta { padding: 100px 32px !important; }
  .v-cta-btns {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .v-cta-btns button { width: auto !important; }

  .v-footer {
    flex-direction: row !important;
    align-items: center !important;
    padding: 56px 32px !important;
  }
}

/* ============================================
   DESKTOP — ≥ 1024px
   ============================================ */
@media (min-width: 1024px) {
  .v-nav { padding: 18px 80px !important; }
  .v-nav-links { display: flex !important; }

  .v-section,
  .v-section-flush .v-flush-inner {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }
  .v-section {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
  }

  .v-hero { padding-top: 100px !important; padding-bottom: 80px !important; }
  .v-hero-grid {
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 80px !important;
  }
  .v-h1 { font-size: 88px !important; margin: 32px 0 28px !important; }
  .v-hero-sub { font-size: 22px !important; margin-bottom: 44px !important; }
  .v-hero-cta { margin-bottom: 56px !important; }
  .v-hero-stats { gap: 48px !important; }
  .v-hero-stat-num { font-size: 32px !important; }

  .v-phone-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .v-phone {
    max-width: none !important;
    width: 360px !important;
    height: 740px !important;
    transform: none !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
  }
  .v-phone > div {
    transform: rotate(-3deg) scale(0.92) !important;
    transform-origin: center center !important;
    flex-shrink: 0 !important;
  }

  .v-trusted { padding: 24px 80px 60px !important; gap: 48px !important; }
  .v-trusted-logos { gap: 64px !important; font-size: 18px !important; }

  .v-h2 { font-size: 56px !important; }
  .v-h2-cta { font-size: 88px !important; }

  .v-features-header { margin-bottom: 64px !important; }
  .v-features-grid { grid-template-columns: 1.4fr 1fr !important; gap: 24px !important; }
  .v-feature-card { padding: 40px !important; min-height: 420px !important; }
  .v-feature-card h3 { font-size: 30px !important; }

  .v-steps-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 32px !important; }
  .v-step-card { padding: 40px 36px !important; }

  .v-security { padding: 140px 80px !important; }
  .v-security-grid { grid-template-columns: 1fr 1fr !important; gap: 80px !important; }
  .v-security-shield { display: block !important; }

  .v-screens-row {
    overflow-x: visible !important;
    padding: 0 80px !important;
  }
  .v-screens-row > * { flex: 0 0 320px !important; }
  .v-screens-row > * > div:first-child { width: 320px !important; height: 660px !important; }

  .v-pricing-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1200px !important;
    gap: 24px !important;
  }
  .v-price-card { padding: 40px !important; }

  .v-final-cta { padding: 140px 80px !important; }

  .v-footer { padding: 60px 80px 48px !important; }
}
