/* =========================================
   SALEZY — styles.css
   Brand: #81007f purple | #9ec23f green | #d7bfdc lavender
   Fonts: Outfit (headings) + Inter (body)
   ========================================= */

/* ---- CSS Custom Properties ---- */
:root {
  --white: #ffffff;
  --bg: #f5f6f5;
  --border: #e6eae6;
  --border2: #d4dad4;
  --green: #9ec23f;
  --green-light: #269562;
  --green-dim: rgba(158,194,63,0.08);
  --purple: #81007f;
  --purple-dim: rgba(129,0,127,0.08);
  --lavender: #d7bfdc;
  --text: #1a1f1a;
  --text2: #556054;
  --text3: #96a894;
  --radius: 20px;
  --shadow: 0 2px 20px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 64px;
}

/* ---- Text colour utilities ---- */
.green  { color: var(--green); }
.purple { color: var(--purple); }

/* ---- Section intro ---- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow.purple-eye { color: var(--purple); }

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.section-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }

/* =========================================
   BUTTONS
   ========================================= */

/* Nav buttons — used on purple background */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: var(--green);
  border: none;
  border-radius: 100px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(158,194,63,0.25);
}

/* Hero buttons — larger */
.btn-hero-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-hero-green:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(158,194,63,0.28);
}

.btn-hero-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--purple);
  border: 1.5px solid rgba(129,0,127,0.35);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-hero-purple:hover {
  border-color: var(--purple);
  background: var(--purple-dim);
  transform: translateY(-2px);
}

/* Pricing buttons */
.btn-price {
  width: 100%;
  padding: 12px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  border: 1.5px solid var(--border2);
  background: transparent;
  color: var(--text2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-price:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-price.green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-price.green:hover {
  background: var(--green-light);
  box-shadow: 0 6px 20px rgba(158,194,63,0.3);
}
.btn-price.purple {
  border-color: rgba(129,0,127,0.3);
  color: var(--purple);
  background: transparent;
}
.btn-price.purple:hover {
  border-color: var(--purple);
  background: var(--purple-dim);
}

/* CTA band buttons */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--white);
  color: var(--purple);
  border: none;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.btn-white-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-white-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  background: var(--purple);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-svg {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-wordmark em {
  font-style: normal;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--lavender); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  margin-bottom: 20px;
}
.mobile-menu ul li {
  border-bottom: 1px solid var(--bg);
}
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Override btn-outline for mobile menu (light bg context) */
.mobile-menu-actions .btn-outline {
  color: var(--purple);
  border-color: var(--purple);
  background: transparent;
  justify-content: center;
}
.mobile-menu-actions .btn-outline:hover {
  background: var(--purple-dim);
}
.mobile-menu-actions .btn-primary {
  justify-content: center;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  padding: 127px 77px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
}

.hero h1 {
  font-size: clamp(2.625rem, 6vw, 4.875rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
  max-width: 780px;
  animation: fadeUp 0.5s 0.08s ease both;
}

.hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text2);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 48px;
  animation: fadeUp 0.5s 0.16s ease both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.24s ease both;
}

.hero-note {
  margin-top: 14px;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text2);
  animation: fadeUp 0.5s 0.32s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.bg-section {
  background: var(--bg);
  padding: 64px 0;
}

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

.hiw-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
  transition: all 0.3s;
}
.hiw-card:hover {
  border-color: rgba(158,194,63,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.hiw-icon-wrap {
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.hiw-card h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hiw-card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.7;
}

/* =========================================
   FEATURES
   ========================================= */
.section {
  padding: 64px 0;
}

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

.feat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.3s;
}
.feat:hover {
  border-color: rgba(158,194,63,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feat.span2 {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feat-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
}
.feat-icon.g { color: var(--green); }

.feat h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feat p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.75;
}

/* Mock UI */
.mock-ui {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mock-title-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.mock-date {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text3);
}

.mock-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8125rem;
  color: var(--text2);
  font-weight: 300;
}
.mock-item.done {
  opacity: 0.4;
  text-decoration: line-through;
}

.mock-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
}
.mock-circle.ticked {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.mock-chip {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.chip-today   { background: var(--green-dim); color: var(--green); }
.chip-overdue { background: rgba(220,38,38,0.07); color: #dc2626; }
.chip-done    { background: rgba(34,197,94,0.07); color: #16a34a; }

/* =========================================
   PRICING
   ========================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  transition: all 0.3s;
}
.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-md);
  transform: translateY(-8px);
  padding-top: 36px;
  padding-bottom: 36px;
}
.price-card.featured:hover { transform: translateY(-12px); }

.price-card.enterprise { border-color: rgba(129,0,127,0.25); }
.price-card.enterprise:hover { border-color: var(--purple); }

.feat-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-tier {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
}
.price-card.featured .price-tier  { color: var(--green); }
.price-card.enterprise .price-tier { color: var(--purple); }

.price-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}

.price-per {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 4px;
}

.price-users {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text3);
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.price-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.5;
}
.price-feats li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-feats li.p::before { color: var(--purple); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testi {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.3s;
}
.testi:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.testi-stars {
  color: var(--green);
  font-size: 0.8125rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi-text {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-av.g {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(158,194,63,0.2);
}
.testi-av.p {
  background: var(--purple-dim);
  color: var(--purple);
  border: 1px solid rgba(129,0,127,0.2);
}

.testi-name { font-size: 0.8125rem; font-weight: 600; }
.testi-role { font-size: 0.75rem; font-weight: 300; color: var(--text3); }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  margin: 0 64px 64px;
  background: var(--purple);
  border-radius: var(--radius);
  padding: 52px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(158,194,63,0.2);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-band h2 span { color: var(--lavender); }

.cta-band p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  padding: 40px 64px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

.footer-copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text3);
}

/* =========================================
   MODALS
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.98) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover {
  border-color: var(--border2);
  color: var(--text);
}
.modal-close svg { width: 14px; height: 14px; }

.modal h2 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.modal .modal-sub {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(158,194,63,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc2626;
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 4px;
}
.form-error-msg.visible { display: block; }

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

.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-submit:hover {
  background: var(--green-light);
  box-shadow: 0 6px 20px rgba(158,194,63,0.3);
}

.modal-fine {
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--text3);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.visible { display: block; }

.form-success-icon {
  width: 64px; height: 64px;
  background: var(--green-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success-icon svg { width: 32px; height: 32px; color: var(--green); }
.form-success h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.form-success p  { font-size: 0.9375rem; color: var(--text2); }

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px;
  max-width: 380px;
  background: var(--text);
  color: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner.hidden { display: none; }
.cookie-text {
  font-size: 0.8125rem;
  color: var(--lavender);
  line-height: 1.5;
  flex: 1;
}
.cookie-text a { color: var(--green); text-decoration: underline; }
.cookie-dismiss {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cookie-dismiss:hover { background: var(--green-light); }

/* =========================================
   PAGE STYLES (privacy / terms)
   ========================================= */
.page-hero {
  padding: 120px 0 60px;
  background: var(--bg);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.page-hero p { font-size: 1rem; color: var(--text3); }

.page-content {
  padding: 72px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p,
.page-content li {
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 12px;
}
.page-content ul,
.page-content ol { padding-left: 20px; margin-bottom: 16px; }
.page-content a { color: var(--purple); text-decoration: underline; }

/* =========================================
   RESPONSIVE — TABLET (768px–1023px)
   ========================================= */
@media (max-width: 1023px) {
  .container { padding: 0 40px; }

  .feat-grid { grid-template-columns: 1fr; }
  .feat.span2 {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured {
    transform: none;
    grid-column: span 2;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .testi-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-band { margin: 0 40px 40px; }

  footer { padding: 32px 40px; }
}

/* =========================================
   RESPONSIVE — MOBILE (up to 767px)
   ========================================= */
@media (max-width: 767px) {
  .container { padding: 0 20px; }

  .nav-links  { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-hero-green,
  .hero-ctas .btn-hero-purple {
    width: 100%;
    justify-content: center;
  }

  .hiw-grid { grid-template-columns: 1fr; }

  .feat-grid { grid-template-columns: 1fr; }
  .feat.span2 {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured {
    transform: none;
    box-shadow: 0 0 0 1px var(--green), var(--shadow-md);
  }

  .testi-grid { grid-template-columns: 1fr; }

  .cta-band {
    margin: 0 16px 40px;
    padding: 40px 28px;
  }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-white,
  .cta-btns .btn-white-ghost { width: 100%; justify-content: center; }

  footer {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .modal { padding: 32px 24px; }

  .cookie-banner { left: 12px; right: 12px; max-width: none; bottom: 12px; }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (up to 430px)
   ========================================= */
@media (max-width: 430px) {
  .container { padding: 0 16px; }

  .hiw-card,
  .feat,
  .price-card,
  .testi { padding: 20px 18px; }

  .modal { padding: 28px 20px; border-radius: var(--radius); }
}
