/* Vanguard365 — shared site styles */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a2233;
  --text-muted: #5b6472;
  --border: #e3e7ee;
  --brand: #1d4ed8;
  --brand-dark: #1e3a8a;
  --brand-light: #eef2ff;
  --accent: #16a34a;
  --radius: 10px;
  --max-width: 1120px;
  --shadow: 0 2px 8px rgba(20, 30, 60, 0.06);
  --shadow-lg: 0 12px 32px rgba(20, 30, 60, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--brand); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--bg) 100%);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 30px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .cta-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
h2.section-title {
  font-size: 1.9rem;
  margin: 0 0 12px;
  text-align: center;
}
p.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 42px;
  font-size: 1.05rem;
}

/* Cards grid (apps) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { color: var(--text-muted); margin: 0 0 16px; font-size: 0.95rem; }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: #ecfdf3;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.card.coming-soon { opacity: 0.65; }
.card.coming-soon .tag { color: var(--text-muted); background: var(--bg-alt); }

/* Feature list */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature h3 { font-size: 1.05rem; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: "✓"; color: var(--accent); font-weight: 800; }
.feature p { color: var(--text-muted); margin: 0; font-size: 0.93rem; }

/* Pricing */
.price-card {
  background: #fff;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.price-card .amount { font-size: 2.6rem; font-weight: 800; margin: 4px 0; }
.price-card .amount small { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.price-card li { padding: 7px 0; color: var(--text-muted); font-size: 0.93rem; }
.price-card li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* Steps */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}
.step .num {
  counter-increment: step;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.step h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--text-muted); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--text-muted); margin: 10px 0 0; font-size: 0.95rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--brand); }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.small-print { font-size: 0.82rem; color: var(--text-muted); }

@media (max-width: 640px) {
  .main-nav { gap: 16px; }
  .main-nav a.btn { padding: 8px 14px; }
  section { padding: 48px 0; }
}
