/* =========================================================
   Global variables
   ========================================================= */
:root {
  --offwhite: #f8fafb;
  --white: #fff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e6edf3;
  --brand: #56f19d;
  --brand-2: #41cfff;
  --ring: rgba(86, 241, 157, 0.55);
  --shadow: 0 18px 40px rgba(2, 6, 23, 0.08);

  --ea-accent: #56f19d;
  --ea-text: #0f172a;
  --ea-muted: #a5adb5;
  --ea-line: #23282f;
  --ea-panel: #fff;
  --ea-bg-input: #0e1216;
  --ea-radius: 16px;
  --ea-focus: 0 0 0 3px rgba(86, 241, 157, 0.45);
}

/* =========================================================
   Base / Reset
   ========================================================= */
html,
body { height: 100%; margin: 0; }
body {
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--offwhite);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
main { flex: 1 0 auto; }
footer { flex-shrink: 0; margin-bottom: 0; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   Layout helpers
   ========================================================= */
.container { max-width: 1100px; margin-inline: auto; padding-inline: 20px; }
.container-wide { max-width: 1400px; margin-inline: auto; padding-inline: 20px; }
.stack { display: grid; gap: clamp(8px, 1.6vw, 20px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.p-lg { padding: 20px; }
.p-xl { padding: 28px; }

/* =========================================================
   Cards & buttons
   ========================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px; border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn-primary {
  color: #042315;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 20px rgba(86, 241, 157, 0.25);
}
.btn-ghost { color: var(--text); border-color: var(--border); background: transparent; }

/* =========================================================
   Site header
   ========================================================= */
header.site {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--offwhite), transparent 12%);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
header.site.hide { transform: translateY(-100%); }
header.site.scrolled { box-shadow: 0 10px 20px rgba(2, 6, 23, 0.05); }
.brand { display: grid; place-items: center; gap: 8px; padding: 16px 0; }
.logo { inline-size: 50px; block-size: 50px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--white); box-shadow: 0 12px 30px rgba(86, 241, 157, 0.35); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: "MuseoModerno", cursive; font-weight: 700; letter-spacing: 0.2px; font-size: 24px; }
.brand-slogan { font-size: 0.9rem; color: #000; font-weight: 800; margin-top: -15px; }

/* =========================================================
   Sections
   ========================================================= */
section { padding-block: clamp(24px, 4vw, 40px); scroll-margin-top: 80px; }
h2 { font-size: clamp(22px, 2.8vw, 32px); margin: 0 0 6px; }

/* =========================================================
   Hero
   ========================================================= */
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 0; }
.hero p { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); margin: 0; }
.hero-cta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Split hero */
.hero-split { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); text-align: left; padding-block: clamp(16px, 3vw, 28px); }
.hero-split .hero-left h1 { margin-bottom: 6px; }
.hero-split .hero-cta { justify-content: center; margin-top: 12px; gap: 10px; }

/* Screenshots */
.shots-split { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; align-items: end; gap: 18px; max-width: fit-content; margin-inline: auto; }
.shots-split .device { padding: 8px; border-radius: 16px; transition: transform 0.25s ease; }
.shots-split .device img { width: auto; object-fit: cover; max-height: fit-content; }
.shots-split .device.left-tilt { transform: rotate(-3deg); }
.shots-split .device.right-tilt { transform: rotate(3deg); }
.shots-split .device:hover { transform: translateY(-2px) rotate(0deg); }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-cta { justify-content: center; }
  .hero-right { order: 2; }
  .shots-split { grid-template-columns: 1fr 1fr; max-width: 100%; gap: 12px; }
  .shots-split .device { width: clamp(120px, 40vw, 200px); }
}

/* =========================================================
   Feature grid
   ========================================================= */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.feature { position: relative; display: grid; gap: 10px; }
.feature::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px;
  background: linear-gradient(135deg, rgba(86, 241, 157, 0.7), rgba(65, 207, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.25s ease;
}
.feature:hover::before { opacity: 0.8; }

/* =========================================================
   Steps
   ========================================================= */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .num { width: 90px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; color: #042315; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px rgba(86, 241, 157, 0.25); }
.step h3 { margin: 8px 0 4px; }
.progress { position: relative; height: 6px; border-radius: 999px; background: #e8eef6; overflow: hidden; margin-top: 8px; }
.progress span { position: absolute; inset: 0; width: 0; }
.progress.animate span { animation: fill 1.4s ease forwards; }
@keyframes fill { to { width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); } }

/* =========================================================
   Footer
   ========================================================= */
footer { padding-block: 40px; color: var(--muted); border-top: 1px solid var(--border); }
.legal { display: grid; gap: 12px; }

/* Footer card + sections */
#siteFooter .footer-card { padding: 2.25rem; }
@media (max-width: 767px) { #siteFooter .footer-card { padding: 2rem; } }
#siteFooter .footer-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 820px) { #siteFooter .footer-sections { grid-template-columns: 1fr; } }
@media (min-width: 821px) {
  #siteFooter .footer-group { position: relative; padding-right: 1.25rem; }
  #siteFooter .footer-group:not(:last-child)::after {
    content: ""; position: absolute; top: 0.25rem; right: 0; bottom: 0.25rem; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.06), transparent);
  }
}
#siteFooter h3 { font-size: 1.1rem; line-height: 1.25; margin: 0 0 0.6rem; font-weight: 700; letter-spacing: 0.1px; }
#siteFooter .small { font-size: 0.95rem; }
#siteFooter p { margin: 0 0 0.75rem; }
#siteFooter .footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
#siteFooter a { text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, 0.08); padding-bottom: 2px; transition: border-color 0.2s, opacity 0.2s; }
#siteFooter a:hover { border-color: currentColor; opacity: 0.9; }
#siteFooter .cta { display: inline-block; font-weight: 600; border-bottom-width: 2px; }
#siteFooter .footer-meta { margin-top: 1.5rem; padding-top: 1rem; text-align: center; font-size: 0.95rem; border-top: 1px solid rgba(0,0,0,0.06); }
address.not-italic { font-style: normal; }

/* =========================================================
   Decorative utilities
   ========================================================= */
.underline { position: relative; display: inline-block; }
.underline::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: none; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { --faq-radius: 18px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--faq-radius); background: var(--white); box-shadow: var(--shadow); overflow: clip; position: relative; }
.faq-q { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 22px; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9)); border: 0; text-align: left; font-weight: 700; font-size: 16px; color: var(--text); cursor: pointer; position: relative; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.faq-q:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: var(--faq-radius); }
.faq-q:hover { transform: translateY(-1px); }
.faq-icon { transition: transform 0.28s ease, opacity 0.28s ease; opacity: 0.8; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 22px; opacity: 0; transform: translateY(-4px); transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease; border-top: 1px solid var(--border); }
.faq-item.open .faq-a { max-height: 400px; opacity: 1; padding: 18px 22px; transform: translateY(0); }
.faq-item::before { content: ""; position: absolute; inset: 0; border-radius: var(--faq-radius); padding: 1px; background: linear-gradient(135deg, rgba(86,241,157,0.7), rgba(65,207,255,0.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.faq-item:hover::before { opacity: 0.7; }

/* ================================
   Testimonials (simple, no shadows)
   ================================ */
.testimonial-wrap {
  position: relative;
  overflow: hidden;
}

/* Viewport */
.t-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 14px;      /* subtle rounding */
}

/* Track */
.t-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(0%);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Slide */
.t-slide { padding: 8px; }

/* Widen the inner testimonial card */
.t-card {
  max-width: 700px;          /* cap width so it’s readable on large screens */
  margin: 0 auto;            /* center within slide */
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

/* Header row */
.t-head {
  display: flex;            /* Safari-safe */
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.t-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #042315;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.t-meta {
  display: grid;
  gap: 2px;
}
.t-meta > strong {
  font-weight: 800;
  line-height: 1.2;
}
.t-meta .small { font-size: 0.95rem; }

/* Quote */
.t-quote {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text);
  white-space: normal;
  overflow-wrap: break-word;
}

/* Controls (minimal) */
.t-controls {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.t-prev, .t-next {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
}
.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.t-dot[aria-selected="true"] {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
}

/* Mobile: swipeable full-width slides */
@media (max-width: 900px) {
  .t-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
      
  }
  .t-track { display: flex; }
  .t-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 12px;
  }
  .t-card { padding: 16px; }
  .t-quote { font-size: clamp(15px, 4.2vw, 18px); }
}

/* On bigger screens, allow side-by-side layout */
@media (min-width: 900px) {
  .t-slide {
    display: flex;
    justify-content: center; /* center the wider card */
  }
  .t-card {
    width: 80%;              /* grow wider than on mobile */
    max-width: 720px;        /* cap line length */
    padding: 24px;
  }
}

/* On very small screens keep it edge-to-edge */
@media (max-width: 480px) {
  .t-card {
    width: 100%;
    padding: 16px;
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .t-track { transition: none; }
}

/* =========================================================
   Misc utilities
   ========================================================= */
:where(h1, h2, h3, h4, h5, h6, p) { margin: 0; }

