/* =========================================================
   Speak English with Confidence — Jenni
   Palette: Tropical Jade Sunrise
   ========================================================= */

:root {
  --peach: #FCA47C;
  --teal-bright: #23CED9;
  --yellow: #F9D779;
  --sage: #A1CCA6;
  --teal-deep: #097C87;

  --bg: #FFFCF7;
  --bg-sage: #F3F8F4;
  --bg-peach: #FFF3EC;
  --ink: #2B2420;
  --ink-soft: #5B534C;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 20px 45px -20px rgba(9, 124, 135, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-weight: 500; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

a { color: var(--teal-deep); }

/* ---------- Buttons ---------- */
.btn-jade {
  background: var(--teal-bright);
  border: none;
  color: #063338;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 24px -10px rgba(35, 206, 217, 0.55);
}
.btn-jade:hover, .btn-jade:focus {
  background: #1eb9c3;
  color: #052a2e;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(35, 206, 217, 0.65);
}
.btn-jade-outline {
  background: transparent;
  border: 2px solid var(--teal-deep);
  color: var(--teal-deep);
  font-weight: 700;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-jade-outline:hover, .btn-jade-outline:focus {
  background: var(--teal-deep);
  color: #fff;
}

/* Focus visibility (accessibility floor) */
a:focus-visible, button:focus-visible, .form-control:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 2px;
}

/* ---------- Nav ---------- */
.site-nav {
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(9, 124, 135, 0.08);
}
.site-nav .brand {
  font-family: var(--font-display);
  color: var(--teal-deep);
  font-size: 1.3rem;
  font-weight: 600;
}
.site-nav .nav-link {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav .nav-link:hover { color: var(--teal-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 6rem 0 1rem;  // was 5 rem
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--yellow) 0%, var(--peach) 45%, var(--teal-bright) 78%, transparent 80%);
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  animation: driftGlow 14s ease-in-out infinite;
}

@keyframes driftGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 22px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
}

.hero-portrait-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-portrait {
  position: relative;
  width: min(360px, 80%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-soft);
  background: var(--bg-peach);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero-content { position: relative; z-index: 1; }

.hero-title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1.1rem; }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-sage);
  border: 1px solid rgba(161, 204, 166, 0.6);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-top: 1.5rem;
}

/* ---------- Section rhythm ---------- */
.section { padding: 5.5rem 0; }
.section-sage { background: var(--bg-sage); }
.section-peach { background: var(--bg-peach); }

.section-heading { margin-bottom: 2.75rem; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-heading p { color: var(--ink-soft); max-width: 60ch; }

/* ---------- Who it's for ---------- */
.audience-list { list-style: none; padding: 0; margin: 0; }
.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.65rem 0;
  font-size: 1.05rem;
}
.audience-list .tick {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-bright);
  color: #063338;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.notice-card {
  background: #fff;
  border-left: 4px solid var(--peach);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- How it works ---------- */
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  height: 100%;
  box-shadow: 0 12px 30px -18px rgba(43, 36, 32, 0.18);
  transition: transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-sage);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ---------- Pricing ---------- */
.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(9, 124, 135, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.price-card.featured {
  background: var(--teal-deep);
  color: #fff;
  border: none;
}
.price-card.featured h3, .price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-sub { color: rgba(255,255,255,0.75); }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--teal-deep);
  margin: 0.3rem 0;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(9, 124, 135, 0.2);
  font-weight: 600;
}
.price-card.featured .price-row { border-bottom-color: rgba(255,255,255,0.25); }
.price-row:last-of-type { border-bottom: none; }
.price-badge {
  display: inline-block;
  background: var(--yellow);
  color: #5a4400;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ---------- Why Jenni ---------- */
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.why-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.why-list .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--peach); margin-top: 0.5rem; flex-shrink: 0;
}

/* ---------- Testimonials (empty state) ---------- */
.testimonial {
  background: #fff;
  border: 1px dashed rgba(9, 124, 135, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--teal-bright);
  line-height: 1;
}
.testimonial-empty p { color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- FAQ (accordion) ---------- */
.accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(9, 124, 135, 0.15);
}
.accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal-deep);
  background: transparent;
  padding: 1.3rem 0.5rem;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--teal-deep); background: transparent; }
.accordion-button::after { filter: hue-rotate(150deg) saturate(3); }
.accordion-body { padding: 0 0.5rem 1.5rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-section {
  position: relative;
  background: var(--teal-deep);
  color: #fff;
  overflow: hidden;
}
.contact-section .hero-glow {
  right: auto;
  left: -12%;
  top: auto;
  bottom: -20%;
  opacity: 0.35;
}
.contact-section h2 { color: #fff; }
.contact-section .section-heading p { color: rgba(255,255,255,0.8); }

.contact-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -20px rgba(0,0,0,0.4);
}
.contact-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.form-control {
  border-radius: 12px;
  border: 1px solid #dfe6e5;
  padding: 0.7rem 1rem;
}
.form-control:focus {
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(35, 206, 217, 0.25);
}
.form-label { font-weight: 600; color: var(--teal-deep); font-size: 0.9rem; }

.alert-jade-success {
  background: var(--bg-sage);
  border: 1px solid var(--sage);
  color: #1d4d2e;
  border-radius: var(--radius-md);
}
.alert-jade-error {
  background: #fff0ec;
  border: 1px solid var(--peach);
  color: #7a3418;
  border-radius: var(--radius-md);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}
.site-footer a { color: var(--yellow); }

/* ---------- Language switcher ---------- */
.lang-switch .btn {
  border: 1px solid rgba(9, 124, 135, 0.25);
  color: var(--teal-deep);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.lang-switch .dropdown-menu {
  border-radius: 14px;
  border: 1px solid rgba(9,124,135,0.1);
  box-shadow: var(--shadow-soft);
  max-height: 340px;
  overflow-y: auto;
}
.lang-switch .dropdown-item { font-size: 0.92rem; padding: 0.45rem 1.1rem; }
.lang-switch .dropdown-item:hover { background: var(--bg-sage); color: var(--teal-deep); }

/* Google Translate cleanup */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }

@media (max-width: 767.98px) {
  .hero { padding: 3.5rem 0 3rem; text-align: center; }
  .hero-lede { max-width: none; }
  .section { padding: 3.5rem 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
