
/* Fundaivo landing styles (v6) */

:root{
  --bg: #F8FAFC;
  --bg-alt: #FFFFFF;
  --navy: #0B1F33;
  --teal: #0F766E;
  --gold: #C8A951;
  --text: #111827;
  --muted: #4B5563;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.shell{ max-width: 1120px; margin: 0 auto; padding: 28px 18px 40px; }

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0 22px;
}

.brand{ display:flex; align-items:center; gap: 10px; }
.brand img{ width: 34px; height: 34px; }
.brand-name{ font-weight: 800; letter-spacing: 1.6px; color: var(--navy); }

nav{ display:flex; align-items:center; gap: 14px; flex-wrap: wrap; justify-content:flex-end; }
nav a{ color: var(--muted); font-weight: 600; }
nav a:hover{ color: var(--navy); text-decoration: none; }

.btn{
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.btn:hover{ box-shadow: var(--shadow); text-decoration: none; }

.btn-primary{
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-primary:hover{ filter: brightness(1.05); }

.btn-ghost{
  background: transparent;
}

.hero{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  padding: 22px 0 10px;
}
.hero-kicker{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: .3px;
  margin-bottom: 12px;
}
.hero h1{
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 14px;
}
.hero-sub{
  color: var(--muted);
  font-size: 18px;
  max-width: 52ch;
  margin-bottom: 18px;
}
.hero-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hero-footnote{ color: var(--muted); font-size: 13px; }

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

.hero-side{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.hero-side .mini{
  border-left: 4px solid var(--gold);
  padding-left: 12px;
}
.hero-side .mini h3{
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.hero-side .mini p{ color: var(--muted); font-size: 14px; }

.section{
  padding: 34px 0;
}
.section h2{
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 10px;
}
.section p{
  color: var(--muted);
  margin-top: 10px;
  max-width: 75ch;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.list{
  margin-top: 14px;
  padding-left: 18px;
}
.list li{ margin: 8px 0; color: var(--muted); }

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,118,110,0.10);
  color: var(--teal);
  font-weight: 800;
  font-size: 12px;
}

.hr{
  height: 1px;
  background: var(--border);
  margin: 26px 0;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.price{
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
}
.per{ color: var(--muted); font-weight: 700; font-size: 12px; }
.plan{ font-weight: 900; color: var(--navy); font-size: 16px; }
.plan-note{ color: var(--muted); font-size: 13px; margin-top: 8px; }
.features{ margin-top: 12px; padding-left: 18px; }
.features li{ margin: 7px 0; color: var(--muted); font-size: 13px; }

.plan-featured{
  border-color: rgba(200,169,81,0.55);
  box-shadow: 0 14px 40px rgba(200,169,81,0.12);
}

.form{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.input{
  flex: 1 1 240px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
}
.select{
  flex: 0 0 220px;
}
.form-note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.notice{
  display:none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,118,110,0.10);
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
}

footer{
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.small-muted{ color: var(--muted); font-size: 13px; }

@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  nav{ justify-content:flex-start; }
  header{ flex-direction: column; align-items:flex-start; }
}

/* =========================
   Responsive / Mobile
   ========================= */
:root{
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1100px, 92%);
}

.nav-content {
  gap: var(--space-3);
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
}

.subheadline {
  font-size: clamp(16px, 2.2vw, 19px);
}

section {
  padding: clamp(40px, 6vw, 72px) 0;
}

/* Improve tap targets */
a, button, input, select, textarea {
  font-size: 16px; /* prevents iOS zoom */
}

.btn-primary, .btn-outline, button.btn-primary {
  padding: 12px 18px;
  border-radius: 10px;
}

/* CTA / form layout */
.cta form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.cta input, .cta select {
  width: min(420px, 92vw);
  margin: 0;
}

/* If a select exists in your form, style it similarly */
.cta select {
  padding: 12px;
  border-radius: 10px;
  border: none;
}

.footer {
  padding: 22px 0;
}

/* Small screens */
@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar {
    padding: 14px 0;
  }

  .logo {
    text-align: center;
  }

  .nav-content a.btn-outline {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 56px 0;
  }

  .problem p, .solution p, .audience p, .credibility p {
    font-size: 16px;
    line-height: 1.6;
  }

  ul {
    padding-left: 18px;
  }
}

/* Extra small screens */
@media (max-width: 420px) {
  .btn-primary, .btn-outline, button.btn-primary {
    width: 100%;
  }
}

/* =========================
   Responsive grids (cards)
   ========================= */

/* Tablet: reduce columns */
@media (max-width: 1024px){
  .grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Small tablet / large phone */
@media (max-width: 860px){
  .pricing-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile: stack vertically */
@media (max-width: 640px){
  .grid-2, .grid-3, .pricing-grid{ grid-template-columns: 1fr; }
}
