/* ============================================================
   IsaAcademy style.css
   Palette drawn from the logo: navy square, sky swoosh, cream.
   ============================================================ */

:root {
  --cream: #F8F4EB;
  --cream-2: #F1EBDD;
  --white: #FFFFFF;
  --navy: #0559A0;
  --royal: #0E68B8;
  --ink: #0E2A55;
  --sky: #249DE4;
  --sky-deep: #1173C8;
  --sky-soft: #E4F2FC;
  --text: #3C4A61;
  --muted: #6B7A93;
  --line: rgba(5, 89, 160, 0.12);
  --shadow-sm: 0 2px 10px rgba(14, 42, 85, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 42, 85, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 42, 85, 0.16);
  --radius: 22px;
  --radius-lg: 30px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--royal); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

section { padding: 84px 0; }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 24px rgba(5, 89, 160, 0.30); }
.btn-primary:hover { background: var(--royal); box-shadow: 0 14px 34px rgba(5, 89, 160, 0.38); color: var(--white); }

.btn-sky { background: var(--sky); color: var(--white); box-shadow: 0 8px 24px rgba(36, 157, 228, 0.32); }
.btn-sky:hover { background: var(--sky-deep); box-shadow: 0 14px 34px rgba(36, 157, 228, 0.40); color: var(--white); }

.btn-outline { background: transparent; color: var(--navy); border-color: rgba(5, 89, 160, 0.35); }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.btn-light { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-sm { padding: 11px 22px; font-size: 14.5px; }

/* ---------- navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248, 244, 235, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(14, 42, 85, 0.06); }

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

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; }
.brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--royal);
  letter-spacing: -0.01em;
}

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(36, 157, 228, 0.12); color: var(--royal); }
.nav-links a.active { background: var(--sky-soft); color: var(--sky-deep); font-weight: 600; }
.nav-links .nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: rgba(36, 157, 228, 0.28); top: -140px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: rgba(5, 89, 160, 0.16); bottom: -180px; left: -140px; }

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

.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 22px; }
.hero h1 .accent { color: var(--sky-deep); }
.hero .lead { font-size: clamp(17px, 2vw, 19.5px); color: var(--muted); max-width: 540px; margin-bottom: 34px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge strong { font-family: var(--font-head); font-size: 21px; color: var(--ink); font-weight: 700; }
.hero-badge span { font-size: 13.5px; color: var(--muted); }

.hero-art { display: flex; justify-content: center; }
.hero-logo-card {
  background: var(--white);
  border-radius: 44px;
  padding: 56px;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.hero-logo-card img { width: min(300px, 55vw); }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}

/* subpage hero */
.page-hero { position: relative; padding: 168px 0 64px; overflow: hidden; }
.page-hero::before {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(36, 157, 228, 0.20);
  filter: blur(100px);
  top: -160px; right: -100px;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 16px; position: relative; z-index: 1; }
.page-hero .lead { font-size: 18.5px; color: var(--muted); max-width: 640px; position: relative; z-index: 1; }

/* ---------- cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(5, 89, 160, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: var(--sky-soft);
}
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* ---------- pricing ---------- */
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(5, 89, 160, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(36, 157, 228, 0.4); }
.price-card.featured { border-color: var(--sky); box-shadow: 0 16px 44px rgba(36, 157, 228, 0.18); }

.price-tag-label {
  position: absolute;
  top: -14px; left: 30px;
  background: var(--sky);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card .who { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 8px; }
.price-card h3 { font-size: 23px; margin-bottom: 6px; }
.price-card .amount { font-family: var(--font-head); font-size: 42px; font-weight: 700; color: var(--ink); margin: 14px 0 2px; }
.price-card .amount small { font-size: 17px; font-weight: 500; color: var(--muted); }
.price-card .per { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }

.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card ul li { padding: 7px 0 7px 30px; position: relative; font-size: 15.5px; }
.price-card ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--sky);
  font-weight: 700;
}
.price-card .btn { margin-top: auto; }

/* ---------- split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 16px; }
.split p { margin-bottom: 16px; }

.check-list { list-style: none; margin: 22px 0 30px; }
.check-list li { padding: 9px 0 9px 38px; position: relative; font-size: 16.5px; color: var(--text); }
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 20px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ---------- banners ---------- */
.banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--royal) 55%, var(--sky-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -120px; right: -80px;
}
.banner h2 { color: var(--white); font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 14px; }
.banner p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-bottom: 28px; font-size: 17px; }
.banner .btn-light:hover { color: var(--royal); }

/* ---------- app section ---------- */
.app-phone {
  background: var(--white);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  width: min(330px, 80vw);
  margin: 0 auto;
  border: 1px solid rgba(5, 89, 160, 0.08);
}
.app-phone .screen {
  background: linear-gradient(160deg, var(--sky-soft), #fdfbf6);
  border-radius: 28px;
  padding: 28px 22px;
  min-height: 380px;
}
.app-phone .screen .app-logo { width: 46px; margin-bottom: 18px; }
.app-chip {
  background: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  font-size: 13.5px;
}
.app-chip strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 14px; margin-bottom: 3px; }
.app-chip.flash { border-left: 4px solid var(--sky); }
.app-chip.plan { border-left: 4px solid var(--navy); }
.app-chip.streak { border-left: 4px solid var(--sky-deep); }

.pill-tag {
  display: inline-block;
  background: rgba(36, 157, 228, 0.14);
  color: var(--sky-deep);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(5, 89, 160, 0.06);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(5, 89, 160, 0.15);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--sky);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(36, 157, 228, 0.14);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.inline-form { display: flex; gap: 12px; flex-wrap: wrap; }
.inline-form input {
  flex: 1;
  min-width: 220px;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.inline-form input::placeholder { color: rgba(255, 255, 255, 0.65); }
.inline-form input:focus { border-color: var(--white); background: rgba(255, 255, 255, 0.22); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(5, 89, 160, 0.08);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--sky-deep);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- misc ---------- */
.notice {
  display: flex;
  gap: 14px;
  background: var(--sky-soft);
  border: 1px solid rgba(36, 157, 228, 0.3);
  border-radius: 18px;
  padding: 20px 22px;
  font-size: 15px;
  color: var(--ink);
}

.divider-wave { height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.tag {
  background: var(--white);
  border: 1px solid rgba(5, 89, 160, 0.14);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 13.5px;
  padding: 7px 15px;
  border-radius: 999px;
}

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 34px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; background: var(--cream); border-radius: 10px; padding: 3px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--white); }
footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; letter-spacing: 0.04em; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; transition: color 0.2s ease; }
footer a:hover { color: var(--sky); }
.footer-note { font-size: 14px; color: rgba(255, 255, 255, 0.66); max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-faith { font-size: 14px; color: rgba(255, 255, 255, 0.8); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { order: -1; }
  .hero-logo-card { padding: 36px; }
  .hero-logo-card img { width: 200px; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  .hero { padding: 140px 0 70px; }
  .page-hero { padding: 130px 0 48px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 4vw 28px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-links .nav-cta { margin: 10px 0 0; text-align: center; }

  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .banner { padding: 44px 28px; }
  .form-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
