/* ============================================================
   AquaFarm — Main Stylesheet
   Colors: #00B4E0 (aqua-lt), #0080A8 (aqua), #7EC8E0 (aqua-pale),
           #00AA59 (green), #144363 (navy), #F1EADC (cream)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --aqua-lt:    #00B4E0;
  --aqua:       #0080A8;
  --aqua-pale:  #7EC8E0;
  --aqua-faint: #C2E4EF;
  --green:      #00AA59;
  --green-dk:   #006B38;
  --green-md:   #19AF63;
  --green-lt:   #C4EDDA;
  --navy:       #144363;
  --navy-mid:   #1B5478;
  --cream:      #F1EADC;
  --gray:       #4A6070;
  --gray-lt:    #B8CDD6;
  --white:      #FFFFFF;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,60,90,.12);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: var(--aqua); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--aqua-lt); }

/* ── Typography ───────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; font-weight: 800; color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; font-weight: 700; color: var(--green); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--aqua); }
h4 { font-size: 1rem; font-weight: 700; color: var(--navy); }
p  { margin-top: .75rem; color: var(--gray); }
p:first-child { margin-top: 0; }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: .5rem;
}

.center { text-align: center; }

/* ── Layout Helpers ───────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 3rem 0; }

/* ── Section backgrounds ──────────────────────────────── */
.section--light  { background: #B8DDE9; }
.section--cream  { background: var(--cream); }
.section--white  { background: var(--white); }

/* Dark green 1 */
.section--faint  { background: var(--green-dk); }
.section--faint  h1, .section--faint h2, .section--faint h3, .section--faint h4 { color: var(--white); }
.section--faint  p  { color: var(--white); }
.section--faint  .eyebrow { color: #6EE8A8; }
.section--faint  a  { color: #6EE8A8; }
.section--faint  .tag-label { color: rgba(255,255,255,.7); }
.section--faint  .tag { background: rgba(255,255,255,.18); color: var(--white); border-color: rgba(255,255,255,.3); }
.section--faint  .faq-q { color: var(--white); }
.section--faint  .faq-item { border-bottom-color: rgba(255,255,255,.25); }

/* Dark green 2 */
.section--faint2 { background: var(--green-md); }
.section--faint2 h1, .section--faint2 h2, .section--faint2 h3, .section--faint2 h4 { color: var(--navy-mid); }
.section--faint2 p  { color: var(--white); }
.section--faint2 .eyebrow { color: #E0F7EC; }
.section--faint2 a  { color: #E0F7EC; }
.section--faint2 .tag { background: rgba(255,255,255,.2); color: var(--white); border-color: rgba(255,255,255,.3); }

/* Navy accent */
.section--accent { background: var(--navy); }
.section--accent h1, .section--accent h2, .section--accent h3 { color: var(--white); }
.section--accent p  { color: rgba(255,255,255,.82); }
.section--accent .eyebrow { color: var(--aqua-lt); }
.section--accent a  { color: var(--white); }

/* ── Cards — always cream bg + navy text regardless of section ── */
.feature-card,
.callout-box,
.about-card,
.pricing-card,
.buyer-card,
.result-card,
.nda-notice {
  background: var(--white);
}

/* On dark green sections, cards go cream */
.section--faint  .feature-card,
.section--faint  .callout-box,
.section--faint  .about-card,
.section--faint  .buyer-card,
.section--faint2 .feature-card,
.section--faint2 .callout-box,
.section--faint2 .about-card,
.section--faint2 .buyer-card { background: var(--cream); }

/* Cards always use navy/gray text */
.feature-card h3,
.callout-box h3,
.about-card h3,
.buyer-card h3,
.pricing-card h3  { color: var(--aqua); }

.feature-card h2,
.callout-box h2,
.about-card h2,
.buyer-card h2    { color: var(--green); }

.feature-card p,
.callout-box p,
.about-card p,
.buyer-card p,
.pricing-card p,
.result-card p    { color: var(--gray); }

/* Callout box base */
.callout-box {
  border: 1px solid var(--aqua-faint);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.section--faint  .callout-box,
.section--faint2 .callout-box { border-color: transparent; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-aqua { background: var(--aqua); color: var(--white); }
.btn-aqua:hover { background: var(--aqua-lt); color: var(--white); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dk); color: var(--white); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--aqua); color: var(--white); }

.btn-outline { background: transparent; color: var(--aqua); border: 2px solid var(--aqua); }
.btn-outline:hover { background: var(--aqua); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* ── Navigation ───────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a.active { color: var(--aqua-lt); }

.nav-links a.nav-cta {
  background: var(--green);
  color: var(--white);
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
}
.nav-links a.nav-cta:hover { background: var(--green-dk); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: #B8DDE9;
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero-content { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.hero h1 { color: var(--navy); margin: .5rem 0 1.25rem; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero p { color: var(--navy-mid); }

.hero-sub {
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: var(--white);
  border: 1px solid var(--aqua-pale);
  color: var(--navy-mid);
  font-size: .76rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 20px;
  letter-spacing: .04em;
}

/* ── Stats Bar ────────────────────────────────────────── */
.stats {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--aqua-lt);
}

.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: .25rem;
  max-width: 180px;
}

/* ── Feature Cards ────────────────────────────────────── */
.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  justify-content: center;
}

.feature-card {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 220px;
  border: 1px solid var(--aqua-faint);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.feature-card .fc-icon { font-size: 2rem; margin-bottom: .75rem; }

/* ── System Tags ──────────────────────────────────────── */
.tag-group { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

.tag {
  background: var(--aqua-faint);
  color: var(--navy-mid);
  border: 1px solid var(--aqua-pale);
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 20px;
}

.tag-label {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy-mid);
  margin-bottom: .5rem;
}

/* ── Grid helpers ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ── Pricing Cards ────────────────────────────────────── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card.featured { border: 2px solid var(--aqua); transform: translateY(-8px); }

.pricing-card .tier-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: .5rem;
}

.pricing-card.featured .tier-label { color: var(--aqua); }

.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin: 1rem 0 .25rem;
}

.price span { font-size: 1rem; font-weight: 400; color: var(--gray); }

.price-desc {
  font-size: .88rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  min-height: 3rem;
}

.tier-features { list-style: none; margin: 1.25rem 0 1.75rem; }

.tier-features li {
  font-size: .9rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--aqua-faint);
  padding-left: 1.4rem;
  position: relative;
  color: var(--navy-mid);
}

.tier-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.tier-features li.not-included { color: var(--gray-lt); }
.tier-features li.not-included::before { content: '–'; color: var(--gray-lt); }

/* ── Forms ────────────────────────────────────────────── */
.form-wrap { max-width: 600px; margin: 2rem auto 0; text-align: left; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(0,128,168,.12);
}

.form-group textarea { min-height: 130px; resize: vertical; }

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

.submit-btn {
  width: 100%;
  padding: .85rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.submit-btn:hover { background: var(--green-dk); }
.submit-btn.aqua { background: var(--aqua); }
.submit-btn.aqua:hover { background: var(--navy-mid); }

.form-success {
  display: none;
  background: #E6F9F0;
  border: 1px solid #A3DFC0;
  color: #00622E;
  padding: .9rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-weight: 600;
}

.form-note { font-size: .8rem; color: var(--gray); margin-top: .75rem; text-align: center; }

.hp-field { display: none; }

/* ── Support ──────────────────────────────────────────── */
.support-callout {
  background: var(--cream);
  border-left: 4px solid var(--aqua);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin: 0 0;
}

.support-callout strong { color: var(--aqua); }
.support-callout p { color: var(--navy-mid); }

.faq-item { border-bottom: 1px solid var(--aqua-faint); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; color: var(--navy); margin-bottom: .4rem; }

/* ── About card ───────────────────────────────────────── */
.about-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  border: 1px solid var(--aqua-faint);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 2rem auto 0;
}

.about-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-title { color: var(--aqua); font-size: .88rem; font-weight: 700; margin-bottom: .75rem; }

/* ── Pull quote ───────────────────────────────────────── */
.pull-quote {
  border-left: 4px solid var(--aqua);
  padding: 1rem 1.5rem;
  color: var(--navy-mid);
  font-style: italic;
  font-size: 1.05rem;
  margin: 2rem 0;
  background: var(--aqua-faint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Screenshots placeholder ──────────────────────────── */
.screenshot-ph {
  background: #E0EDF3;
  border: 2px dashed var(--gray-lt);
  border-radius: var(--radius);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-align: center;
  padding: 2rem;
  color: var(--gray);
  font-size: .9rem;
}

.screenshot-ph strong { display: block; font-size: 1rem; color: var(--navy-mid); }

.screenshot-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }

.screenshot-sm-ph {
  background: #E0EDF3;
  border: 2px dashed var(--gray-lt);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  padding: 1.25rem;
  color: var(--gray);
  font-size: .82rem;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

.footer-links a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-links a:hover { color: var(--aqua-lt); }

.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── Page hero (inner pages) ──────────────────────────── */
.page-hero {
  background: #B8DDE9;
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--navy); }
.page-hero h2 { color: var(--navy); }
.page-hero .eyebrow { color: var(--navy-mid); }
.page-hero p { color: var(--navy-mid); max-width: 600px; margin: .75rem auto 0; }

/* ── NDA notice (acquisition page) ───────────────────── */
.nda-notice {
  border: 1px solid var(--aqua-faint);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.nda-notice strong { color: var(--navy); }

/* ── Buyer cards (acquisition page) ──────────────────── */
.buyer-card {
  border: 1px solid var(--aqua-faint);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-2          { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3          { grid-template-columns: 1fr; }
  .pricing-cards   { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .screenshot-grid-3 { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .about-card      { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 700px) {
  .nav-links       { display: none; flex-direction: column; position: absolute;
                     top: 68px; left: 0; right: 0; background: var(--navy);
                     padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--navy-mid);
                     box-shadow: var(--shadow); }
  .nav-links.open  { display: flex; }
  .nav-toggle      { display: flex; }
  .hero            { padding: 4rem 0 3rem; }
  .section         { padding: 3.5rem 0; }
  .stats-inner     { flex-direction: column; gap: 1.5rem; }
  .feature-card    { flex: 0 1 100%; }
}
