/* ============================================================
   ValuFy marketing site — style.css
   Light theme with navy + gold accents to match the product.
   No frameworks, no JS dependencies, mobile-responsive via flex.
   ============================================================ */

/* ----- Design tokens ----- */
:root {
  --navy:        #0f1e3e;
  --navy-soft:   #1a2d52;
  --gold:        #d4a93f;
  --gold-bright: #f0c75e;
  --ink:         #1a1f2e;
  --ink-soft:    #4a5168;
  --line:        #e5e7eb;
  --bg:          #ffffff;
  --bg-soft:     #f7f8fc;
  --bg-dark:     #0f1e3e;
  --bg-dark-2:   #16264a;

  --container:   1140px;
  --container-narrow: 760px;

  --radius:      10px;
  --radius-sm:   6px;

  --shadow-card: 0 4px 14px rgba(15, 30, 62, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(15, 30, 62, 0.12);
}

/* ----- Reset / base ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ----- Layout ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow {
  max-width: var(--container-narrow);
}

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}
.nav-link:hover { color: var(--navy); }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-soft); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--bg-soft); }

/* ----- Hero ----- */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-row.cta-center { justify-content: center; margin-top: 24px; }

/* ----- Proof band ----- */
.proof-band {
  background: var(--navy);
  color: white;
  padding: 40px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.proof-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.proof-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* ----- Generic section ----- */
.section { padding: 80px 0; }
.section-light { background: var(--bg); }
.section-dark { background: var(--bg-soft); }
.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-title { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 640px;
  margin: -8px auto 48px;
}
.lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ----- Feature cards ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent, var(--navy));
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent, var(--navy));
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}
.feature-card p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.card-includes {
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card-includes strong { color: var(--navy); }

/* ----- Steps ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.step { text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-size: 24px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.step p { color: var(--ink-soft); }

/* ----- Dashboard placeholder ----- */
.dashboard-placeholder {
  background: white;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
.dashboard-placeholder-text {
  color: var(--ink-soft);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.dashboard-placeholder-text small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.7;
}

/* ----- Pricing ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: var(--navy);
  box-shadow: 0 8px 28px rgba(15,30,62,0.14);
  position: relative;
  transform: scale(1.03);
}
.price-card-featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.price-tier {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.price-amount {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.price-amount span {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}
.price-features {
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 800;
  margin-right: 8px;
}

/* ----- Security grid ----- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.security-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.security-icon { font-size: 28px; margin-bottom: 12px; }
.security-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.security-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ----- Footer ----- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 360px; }
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.footer-tag { color: var(--gold-bright); margin-bottom: 12px; font-size: 15px; }
.footer-mitcon { font-size: 13px; opacity: 0.65; }
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 14px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  opacity: 0.55;
}

/* ----- Mobile ----- */
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .nav-right { gap: 12px; }
}