/* ============================================================
   Vannameitra marketing site - shared stylesheet
   ============================================================ */

:root {
  --primary: #1263B0;
  --primary-dark: #002060;
  --primary-light: #4884D0;
  --success: #10B981;
  --text: #1E293B;
  --text-muted: #52586b;
  --bg: #F8FAFC;
  --surface: #F1F5F9;
  --white: #FFFFFF;
  --border: #E2E4EE;
  --shadow-sm: 0 2px 10px rgba(30, 41, 59, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 32, 96, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 32, 96, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wrap {
  max-width: var(--container);
  width: 92%;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0F7A5A;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  margin: 0 0 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h1 span { color: var(--primary); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
.card h2, .contact-card h2 { font-size: 1.2rem; }

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(18, 99, 176, 0.28);
}

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

.btn.outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--primary-dark);
}

.btn.outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn.block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* -------------------- Header / Nav -------------------- */

header.site-header {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.logo img {
  height: clamp(34px, 5.5vw, 48px);
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a {
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--primary-dark);
  font-size: 1.4rem;
  min-width: 44px;
  min-height: 44px;
}

/* -------------------- Hero -------------------- */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.feature-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.87rem;
  box-shadow: var(--shadow-sm);
}

.feature-tags i {
  color: var(--primary);
}

/* Hero stat panel */

.stat-panel {
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.stat-panel .panel-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  opacity: 0.95;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.8rem;
  text-align: center;
}

.stat-item .big {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
}

.stat-item .label {
  font-size: 0.82rem;
  opacity: 0.95;
}

.panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.panel-badges span {
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.95;
}

/* -------------------- Sections -------------------- */

section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin: 0 0 2.6rem;
}

.surface {
  background: var(--surface);
}

/* -------------------- Card grid -------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 99, 176, 0.1);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card h3,
.card h2 {
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
}

.center-note {
  text-align: center;
  margin-top: 2.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

/* -------------------- Steps -------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.2rem;
  text-align: center;
}

.step .num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 0.9rem;
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.85rem;
  margin: 0;
}

/* -------------------- Stats band -------------------- */

.band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.band .section-head h2,
.band .section-head p {
  color: var(--white);
}

.band .section-head p {
  opacity: 0.95;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stats-band .stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 1.6rem 1rem;
}

.stats-band .stat b {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
}

.stats-band .stat span {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* -------------------- Split layout (about/beta) -------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split.center-align {
  align-items: center;
}

.visual-badge {
  border-radius: var(--radius-lg);
  min-height: 320px;
  background: linear-gradient(155deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.visual-badge i,
.visual-badge svg {
  color: var(--white);
  font-size: 5.5rem;
  width: 120px;
  height: 120px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.check-list i {
  color: var(--success);
  margin-top: 0.2rem;
}

/* -------------------- Forms -------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font: inherit;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.field.invalid input,
.field.invalid select {
  border-color: #dc2626;
}

.field .error-text {
  display: none;
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 0.3rem;
}

.field.invalid .error-text {
  display: block;
}

.required-mark {
  color: #dc2626;
}

.required-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.field fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.field fieldset legend {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text);
  padding: 0;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.radio-group {
  display: flex;
  gap: 1.6rem;
  margin-top: 0.3rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.92rem;
}

.form-note {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #067a56;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

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

/* -------------------- Beta benefits -------------------- */

.beta-benefits {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.4rem;
}

/* -------------------- Contact cards -------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 99, 176, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 0.9rem;
}

.contact-card h3,
.contact-card h2 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* -------------------- CTA band -------------------- */

.cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta h2 {
  margin-bottom: 0.5rem;
}

.cta .btn {
  margin-top: 1.2rem;
}

/* -------------------- Footer -------------------- */

footer.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.foot-grid h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.foot-brand img {
  height: 46px;
  width: auto;
  display: block;
}

.foot-grid a {
  display: block;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.foot-grid a:hover {
  color: var(--white);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* -------------------- 404 -------------------- */

.notfound {
  padding: 6rem 0;
  text-align: center;
}

.notfound .code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* -------------------- Responsive -------------------- */

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 6% 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.active {
    border-bottom-color: var(--border);
  }

  .nav-actions .btn.primary {
    padding: 0.65rem 1.2rem;
    font-size: 0.88rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
  .form-card { padding: 1.6rem; }
}
