/* ============================================================
   XYZ Lab – style.css
   Primary: #08bfad  |  Secondary: #fec55c
   ============================================================ */

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

:root {
  --primary:       #08bfad;
  --primary-dark:  #069e8e;
  --primary-light: #e8faf9;
  --secondary:     #fec55c;
  --secondary-dark:#e5a830;
  --dark:          #0d1b2a;
  --dark-2:        #1e2d3d;
  --mid:           #4a5568;
  --light:         #f7f9fc;
  --white:         #ffffff;
  --border:        #e2e8f0;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
  --font:          'Inter', system-ui, sans-serif;
  --transition:    0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(8,191,173,.35); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--primary-light); box-shadow: 0 6px 20px rgba(255,255,255,.3); }

.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-full { width: 100%; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: .3rem .9rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.badge-secondary {
  background: #fff4de;
  color: #b8820d;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
/* Nav logo — slightly bigger, white bg removed */
.nav-wrapper .logo-img {
  height: 46px;
  mix-blend-mode: multiply;
}
/* Fallback text (hidden when image loads) */
.logo-xyz { color: var(--primary); display: none; }
.logo-lab { color: var(--dark); display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--mid);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }
/* Keep Get Started button text white regardless of nav-links override */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.75px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #f0fdfb 0%, #fffdf4 100%);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.highlight {
  color: var(--primary);
  position: relative;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--secondary);
  border-radius: 3px;
  opacity: .5;
  z-index: -1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
  padding: 1.5rem;
  align-items: stretch;
}

.hero-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(8,191,173,.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 0;
  pointer-events: none;
}

.hero-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.15); }

.hero-card .card-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.hero-card p { font-weight: 800; font-size: 1.15rem; color: var(--dark); margin-bottom: .25rem; }
.hero-card span { font-size: .78rem; color: var(--mid); font-weight: 500; }

/* blob is absolutely positioned, no grid column needed */

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.trusted-label {
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.5rem;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.logo-pill {
  padding: .5rem 1.4rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--mid);
  background: var(--light);
  transition: border-color var(--transition), color var(--transition);
}
.logo-pill:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   COURSES
   ============================================================ */
.courses {
  padding: 6rem 0;
  background: var(--light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .9rem;
  letter-spacing: -.02em;
}
.section-header p {
  color: var(--mid);
  font-size: 1.05rem;
}

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

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.course-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
a.course-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.course-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--dark);
}
.course-card p {
  font-size: .92rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.course-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.course-link:hover { gap: .65rem; }


/* ============================================================
   WHY US
   ============================================================ */
.why {
  padding: 6rem 0;
  background: var(--white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.why-text p {
  color: var(--mid);
  margin-bottom: 1.5rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark-2);
}
.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 900;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--mid);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(254,197,92,.15);
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.cta-banner p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 6rem 0;
  background: var(--light);
}

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

.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: .3rem;
}
.contact-card p {
  font-size: .93rem;
  color: var(--dark-2);
  line-height: 1.6;
}
.contact-card a { color: var(--primary); font-weight: 500; }
.contact-card a:hover { opacity: .8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2.8fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}
.footer-brand .logo-lab { color: rgba(255,255,255,.85); }
.footer-brand p {
  font-size: .88rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: .75rem;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col-wide ul {
  columns: 2;
  column-gap: 1.25rem;
  display: block;
}
.footer-col-wide ul li {
  break-inside: avoid;
  margin-bottom: .6rem;
}

.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  .hero-inner,
  .why-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .hero { padding: 4rem 0; }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; }

  .why-stats { max-width: 420px; margin: 0 auto; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .footer-col-wide ul { columns: 1; }
}

/* Mobile: ≤ 700px */
@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 1.25rem 2rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    gap: 1.25rem;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; color: var(--dark); }

  .nav-wrapper { position: relative; }

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

  .contact-cards { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr; gap: 1.75rem; }

  .hero-card { min-width: unset; }
  .hero-visual { gap: .75rem; padding: 1rem; }

  .courses { padding: 4rem 0; }
  .why { padding: 4rem 0; }
  .contact { padding: 4rem 0; }
  .cta-banner { padding: 3.5rem 0; }
}

/* ============================================================
   AI CHAT SECTION
   ============================================================ */
.ai-chat-section {
  padding: 6rem 0;
  background: var(--white);
}

.chat-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: start;
}

.chat-intro h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .9rem;
}
.chat-intro > p {
  color: var(--mid);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.suggestion-pill {
  padding: .45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--light);
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark-2);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.suggestion-pill:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Chat window */
.chat-window {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 380px;
  max-height: 480px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg {
  display: flex;
  gap: .6rem;
  align-items: flex-end;
  max-width: 88%;
  animation: msgIn .25s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg--user { flex-direction: row-reverse; align-self: flex-end; }

.chat-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  flex-shrink: 0;
}

.chat-bubble {
  padding: .7rem 1rem;
  border-radius: 14px;
  font-size: .875rem;
  line-height: 1.6;
}
.chat-msg--bot .chat-bubble {
  background: var(--light);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--dark);
}
.chat-msg--user .chat-bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* Typing dots */
.typing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mid);
  margin: 0 2px;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* Input row */
.chat-inputrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: .55rem 1rem;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--dark);
  background: var(--light);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.chat-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,191,173,.12);
  background: var(--white);
}
.chat-input::placeholder { color: #b0bec5; }
.chat-send {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.chat-send:hover { background: var(--primary-dark); transform: scale(1.07); }
.chat-send:disabled { opacity: .5; cursor: not-allowed; transform: none; }

@media (max-width: 900px) {
  .chat-layout { grid-template-columns: 1fr; gap: 2rem; }
  .chat-window { min-height: 320px; }
}
@media (max-width: 700px) {
  .ai-chat-section { padding: 4rem 0; }
}

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,.32);
}

.float-label { display: none; }

.float-wa { background: #25d366; }
.float-wa:hover { background: #1ebe5c; }

.float-yt { background: #ff0000; }
.float-yt:hover { background: #cc0000; }

@media (max-width: 500px) {
  .floating-actions { right: .85rem; bottom: 1.25rem; }
  .float-label { display: none; }
  .float-btn { padding: .7rem .85rem; border-radius: 50%; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 6rem 0;
  background: var(--light);
}

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

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.testimonial-stars { color: var(--secondary); font-size: 1rem; letter-spacing: .1em; }

.testimonial-text {
  font-size: .95rem;
  color: var(--dark-2);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-text::before { content: '\201C'; }
.testimonial-text::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: var(--primary-dark);
}
.testimonial-name {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
}
.testimonial-role {
  display: block;
  font-size: .78rem;
  color: var(--mid);
  margin-top: .1rem;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .testimonials { padding: 4rem 0; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 6rem 0;
  background: var(--light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,191,173,.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: .97rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  user-select: none;
  transition: background var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: var(--light); }

.faq-chevron {
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--light);
}
.faq-answer p {
  padding-top: 1rem;
  font-size: .92rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0;
}
.faq-answer a { color: var(--primary); font-weight: 600; }

@media (max-width: 700px) {
  .faq { padding: 4rem 0; }
  .faq-question { padding: 1rem 1.25rem; font-size: .9rem; }
  .faq-answer { padding: 0 1.25rem 1rem; }
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Very small screens */
@media (max-width: 400px) {
  .hero-visual { display: none; }
  .hero-text h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 260px; }
}

/* ============================================================
   REPORT PAGE
   ============================================================ */

/* Report mockup visual */
.report-mockup {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.report-mockup-header {
  background: var(--dark);
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .03em;
}
.report-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.report-dot:nth-child(1) { background: #ff5f57; }
.report-dot:nth-child(2) { background: #febc2e; }
.report-dot:nth-child(3) { background: #28c840; }
.report-mockup-header span { margin-left: .5rem; }

.report-mockup-body { padding: 1.25rem; }

.report-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.report-kpi {
  background: var(--light);
  border-radius: var(--radius);
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.report-kpi-label {
  font-size: .67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--mid);
}
.report-kpi-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}
.report-kpi-delta {
  font-size: .7rem;
  font-weight: 700;
}
.report-kpi-delta.up { color: #16a34a; }
.report-kpi-delta.down { color: #dc2626; }

.report-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: .4rem;
  height: 80px;
  margin-bottom: 1.25rem;
  padding: 0 .25rem;
}
.report-bar {
  flex: 1;
  background: var(--primary-light);
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: .2rem;
  transition: background var(--transition);
}
.report-bar.active { background: var(--primary); }
.report-bar span {
  font-size: .58rem;
  color: var(--mid);
  margin-top: .3rem;
}
.report-bar.active span { color: var(--white); }

.report-row-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.report-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .45rem .6rem;
  background: var(--light);
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--dark-2);
}
.report-tag {
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 50px;
}
.report-tag.good { background: #dcfce7; color: #16a34a; }
.report-tag.warn { background: #fef9c3; color: #a16207; }

/* Stats strip */
.report-stats-strip {
  background: var(--dark);
  padding: 2.5rem 0;
}
.report-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.report-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.02em;
}
.report-stat-label {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: .2rem;
}

/* What's included */
.report-includes {
  padding: 6rem 0;
  background: var(--white);
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 3rem;
  margin-top: .5rem;
}
.include-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.include-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 900;
  margin-top: .1rem;
}
.include-item strong {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .3rem;
}
.include-item p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.6;
}

/* Who it's for */
.report-who {
  padding: 6rem 0;
  background: var(--light);
}
.report-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.report-who-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.report-who-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.report-who-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.report-who-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
}
.report-who-card p {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.65;
}

/* Form section */
.report-form-section {
  padding: 6rem 0;
  background: var(--white);
}
.form-embed-placeholder {
  max-width: 640px;
  margin: 0 auto;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.form-embed-placeholder p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}
.form-embed-placeholder span {
  font-size: .88rem;
  color: var(--mid);
}

/* Report page responsive */
@media (max-width: 900px) {
  .report-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: 1fr; gap: 0; }
  .report-who-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .report-mockup { max-width: 100%; }
}
@media (max-width: 700px) {
  .report-stats-strip { padding: 2rem 0; }
  .report-stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .report-includes,
  .report-who,
  .report-form-section { padding: 4rem 0; }
}
