/* VantaShift marketing site — shared styles
   Palette matches the in-app dark theme (constants/colors.ts -> darkColors) */

:root {
  --teal: #2DBF8E;
  --teal-light: #163C32;
  --teal-dark: #6FE0B8;
  --amber: #F0B04C;
  --amber-light: #3A2C12;
  --red: #F2716F;
  --bg: #15161A;
  --bg-alt: #101114;
  --card: #1E2024;
  --border: #2C2E33;
  --text-primary: #F2F1ED;
  --text-muted: #9B9A93;
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 22, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--teal);
  color: #0C1411 !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.nav-cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.2s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: #0C1411;
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--teal-light) 0%, transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 20px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--teal-dark); }

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  padding: 72px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Section ---------- */
.section {
  padding: 88px 0;
}

.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}

.section-head p { color: var(--text-muted); font-size: 16px; margin: 0; }

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* ---------- Icons (inline SVG sprite, no external icon font needed) ---------- */
.icon-sprite { display: none; }

.ico {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.ico-fill {
  fill: currentColor;
  stroke: none;
}

.ico-sm { width: 18px; height: 18px; }
.ico-md { width: 22px; height: 22px; }
.ico-lg { width: 40px; height: 40px; }

.card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Feature row (alternating image/text) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child { border-bottom: none; }

.feature-row.reverse .feature-visual { order: 2; }

@media (max-width: 760px) {
  .feature-row, .feature-row.reverse .feature-visual { grid-template-columns: 1fr; order: 0; }
  .feature-row { grid-template-columns: 1fr; }
}

.feature-text .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.feature-text h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 18px;
}

.feature-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-text li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-primary);
}

.feature-text li .check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.feature-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.feature-visual .visual-icon {
  color: var(--teal-dark);
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}
.feature-visual .visual-label { color: var(--text-muted); font-size: 13px; }

.feature-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.stats .stat-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: -0.6px;
}

.stats .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-light), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0 0 14px;
  letter-spacing: -0.6px;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 30px;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand { max-width: 280px; }

.footer-brand .brand { margin-bottom: 12px; }

.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 0; }

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--teal-dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- About page ---------- */
.about-block {
  max-width: 720px;
  margin: 0 auto;
}

.about-block p {
  color: var(--text-muted);
  font-size: 16.5px;
  margin: 0 0 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 760px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--teal);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field .error-msg {
  display: none;
  color: var(--red);
  font-size: 12.5px;
  margin-top: 6px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--red);
}

.form-field.has-error .error-msg { display: block; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.form-status.show { display: block; }

.form-status.success {
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal);
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-info-card h3 { margin: 0 0 6px; font-size: 18px; }
.contact-info-card p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 22px; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-row .icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row .label { font-size: 12.5px; color: var(--text-muted); margin-bottom: 2px; }
.contact-row .value { font-size: 14.5px; font-weight: 500; }

/* ---------- Pricing ---------- */
.pricing-wrap {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--teal);
  border-radius: 20px;
  padding: 44px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% -10%, var(--teal-light) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-plan-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--teal-dark);
  margin-bottom: 14px;
  position: relative;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  position: relative;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
  position: relative;
}

.price-amount {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.price-period {
  font-size: 16px;
  color: var(--text-muted);
}

.price-subnote {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
  position: relative;
}

.pricing-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.pricing-features li .check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-fineprint {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 18px;
  position: relative;
}

/* ---------- App Store badge ---------- */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0C1411;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 16px;
  margin-top: 4px;
}

.app-badge:hover { border-color: var(--teal); }

.app-badge-text { display: flex; flex-direction: column; line-height: 1.2; }

.app-badge-text small { font-size: 10px; color: var(--text-muted); }

.app-badge-text strong { font-size: 15px; font-weight: 600; color: var(--text-primary); }

.hero-actions .app-badge { margin-top: 0; }

/* ---------- Mobile-app clarity note ---------- */
.platform-note {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-note .step { color: var(--text-primary); font-weight: 500; }
.platform-note .arrow { color: var(--teal-dark); }

/* ---------- App screenshots strip (Home) ---------- */
.screens-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0;
}

@media (max-width: 760px) {
  .screens-strip { grid-template-columns: 1fr; }
}

.screen-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.screen-frame .visual-icon { color: var(--teal-dark); }
.screen-frame .visual-label { color: var(--text-muted); font-size: 13px; }

.screen-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

/* ---------- About: founder block ---------- */
.founder-block {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 720px;
  margin: 36px auto 0;
}

@media (max-width: 600px) {
  .founder-block { flex-direction: column; text-align: center; }
}

.founder-photo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-align: center;
  border: 1px solid var(--border);
}

.founder-block h4 { margin: 0 0 8px; font-size: 17px; }
.founder-block p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
