/* ============================================================
   IVARO.AI — Styles
   Colors: --navy #173B8C · --green #2BAE66 · --green-dark #239557
   Fonts: Plus Jakarta Sans (headings) · Inter (body)
   ============================================================ */

:root {
  --navy: #173B8C;
  --navy-soft: #1E4BA8;
  --green: #2BAE66;
  --green-dark: #239557;
  --green-light: #E8F7EF;
  --bg: #F7FAFC;
  --white: #ffffff;
  --text: #1E293B;
  --text-soft: #4A5C7A;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.15;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}

.section-pad { padding: 100px 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(43,174,102,.30);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid rgba(23,59,140,.18);
}
.btn-secondary:hover { background: #F0F4FF; }

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 48px, 1160px);
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  transition: box-shadow .3s;
}

.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.16); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 20px 10px 16px;
  width: 100%;
}

.brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color .2s;
}
.desktop-nav a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy-soft); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  padding: 80px 28px 32px;
  z-index: 90;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  padding: 14px 0;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
}
.mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  border: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .5;
}
.ambient-one {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43,174,102,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.ambient-two {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(23,59,140,.12) 0%, transparent 70%);
  bottom: -50px; left: -50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .01em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
}

.feature-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 480px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: .875rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(43,174,102,.15) 0%, rgba(23,59,140,.08) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.owl-img {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
}

/* ============================================================
   WHY IVARO (BEFORE / AFTER)
   ============================================================ */

.why-ivaro { background: var(--white); }

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.before-card, .after-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.before-card {
  background: #FFF7F7;
  border: 1px solid #FFD9D9;
}
.after-card {
  background: #F4FFF8;
  border: 1px solid #D5F5E3;
}

.card-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-label.red { color: #E53E3E; }
.card-label.green { color: var(--green); }

.before-card h3, .after-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--text);
}

.check-list { display: flex; flex-direction: column; gap: 14px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-list.red .check-icon { background: #FED7D7; color: #E53E3E; }
.check-list.green .check-icon { background: var(--green-light); color: var(--green-dark); }

/* ============================================================
   FEATURES
   ============================================================ */

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.feature-card p { font-size: .9rem; color: var(--text-soft); line-height: 1.65; }

/* ============================================================
   QUOTES
   ============================================================ */

.quotes { background: var(--white); }

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

.quote-card {
  background: #F8FBFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--green);
  line-height: .8;
  margin-bottom: 16px;
}

.quote-card p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ============================================================
   WATCHLIST
   ============================================================ */

.watchlist {
  background: linear-gradient(135deg, var(--navy) 0%, #1A5276 50%, #1A7A4A 100%);
}

.watchlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.watchlist-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
}

.watchlist-copy .eyebrow.light { color: var(--green); }

.watchlist-copy > p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.watchlist-perks { display: flex; flex-direction: column; gap: 12px; }
.watchlist-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  font-weight: 500;
}
.watchlist-perks li span {
  color: var(--green);
  font-weight: 800;
  font-size: 1rem;
}

.coming-soon-box {
  text-align: center;
  padding: 48px 32px;
}
.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.coming-soon-box h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.coming-soon-box p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

.watchlist-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}

/* MailerLite form overrides */
.ml-embedded .ml-form-embedWrapper {
  border-radius: var(--radius) !important;
}
.ml-embedded .ml-form-embedBody {
  padding: 0 !important;
}
.ml-embedded h4 { display: none !important; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--text);
  padding: 60px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-owl {
  height: 72px;
  width: auto;
  flex-shrink: 0;
  filter: none;
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand img {
  height: 80px;
  width: auto;
}

.footer-brand p {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
}

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

.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.copyright {
  text-align: center;
  padding-top: 28px;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .30s; }

/* ============================================================
   RESPONSIVE — TABLET (max 980px)
   ============================================================ */

@media (max-width: 980px) {
  .section-pad { padding: 80px 0; }
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .owl-img { max-width: 280px; margin: 0 auto; }
  .feature-pills { max-width: 100%; }

  .before-after { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .watchlist-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 620px)
   ============================================================ */

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 64px 0; }

  .navbar { top: 12px; width: min(100% - 24px, 1160px); }
  .brand img { height: 52px; }
  .hero { padding-top: 110px; }
  .hero-copy h1 { font-size: 2.2rem; }
  .feature-pills { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .owl-img { max-width: 220px; }
  .features-grid { grid-template-columns: 1fr; }
  .before-card, .after-card { padding: 28px; }
  .watchlist-form { padding: 28px; }
  .footer-links { gap: 16px; }
  .section-heading h2 { font-size: 1.75rem; }
  @keyframes float { 0%, 100% { transform: none; } }
}
