/* ================================================
   CrateSounds — style.css  v3  (refined)
   ================================================ */

/* ── Design tokens ── */
:root {
  /* Backgrounds — cool dark scale matching plugin UI */
  --bg-base:     #0d0f14;   /* near-black, cool blue tint */
  --bg-deep:     #090b0f;   /* deepest */
  --bg-surface:  #111520;   /* alternating sections */
  --bg-raised:   #181d2a;   /* cards, elevated */
  --bg-card:     #1d2233;   /* card bg */
  --bg-input:    #141825;

  /* Text */
  --text-1: #dde4f0;        /* primary — cool off-white */
  --text-2: #6e7a96;        /* secondary */
  --text-3: #3d4560;        /* muted */

  /* Accent — electric blue, like the Magic Analizer plugin */
  --acc:    #1e7fd4;        /* main blue */
  --acc-hi: #2e93ee;        /* hover / brighter */
  --acc-lo: rgba(30,127,212,.13);   /* tinted bg */
  --acc-bd: rgba(30,127,212,.25);   /* borders */
  --acc-gl: rgba(30,127,212,.10);   /* glow */

  /* Steel/metal neutral */
  --steel:    #252c3e;
  --steel-hi: #303850;

  /* Borders */
  --bd:   rgba(255,255,255,.06);
  --bd-w: rgba(100,140,220,.08);    /* blue-tinted border */
  --bd-c: rgba(100,140,220,.12);    /* card border */

  /* Radii */
  --r-xs: 4px;
  --r-sm: 7px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(0,0,0,.38);
  --sh-md: 0 8px 28px rgba(0,0,0,.50);
  --sh-lg: 0 18px 56px rgba(0,0,0,.62);
  --sh-acc: 0 0 36px var(--acc-gl);

  /* Motion */
  --ease: .20s ease;
  --ease-out: .30s cubic-bezier(.22,.68,0,1.1);

  /* Typography */
  --f-head: 'Space Grotesk', 'Rajdhani', sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--bg-base);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* Subtle film grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  background-size: 280px;
  pointer-events: none; z-index: 0; opacity: .7;
}

/* ── Layout ── */
.container { max-width: 1060px; margin: 0 auto; padding: 0 2rem; }
section { position: relative; z-index: 1; }

.divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--bd-w) 30%, var(--bd-w) 70%, transparent 100%);
}

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(15,14,12,.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd-w);
  transition: background var(--ease);
}
.nav.scrolled { background: rgba(15,14,12,.97); }

.nav__logo { height: 46px; width: auto; opacity: .92; }

.nav__links { display: flex; gap: 1.75rem; list-style: none; }
.nav__links a {
  font-family: var(--f-head);
  font-size: .73rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--ease);
  position: relative; padding-bottom: 1px;
}
.nav__links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--acc);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--ease);
}
.nav__links a:hover { color: var(--text-1); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  font-family: var(--f-head);
  font-size: .73rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: #fff; background: var(--acc);
  padding: 8px 18px; border-radius: var(--r-xs);
  border: 1px solid var(--acc);
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}
.nav__cta:hover {
  background: var(--acc-hi);
  box-shadow: 0 4px 18px rgba(184,107,40,.32);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-2); border-radius: 2px;
  transition: var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  display: none; position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(15,14,12,.97);
  backdrop-filter: blur(24px);
  padding: 1.5rem 2rem 2rem;
  border-bottom: 1px solid var(--bd-w);
  z-index: 199; flex-direction: column; gap: 1.1rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--f-head);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); transition: color var(--ease);
}
.nav__mobile a:hover { color: var(--acc-hi); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 2rem 48px;
  overflow: hidden;
}

/* very subtle warm radial — not dominant */
.hero__glow {
  position: absolute; top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(30,127,212,.07) 0%, transparent 66%);
  pointer-events: none; z-index: 0;
}

.hero__inner {
  position: relative; z-index: 1;
  max-width: 1280px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}

/* eyebrow pill — inside right column */
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head);
  font-size: .65rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc);
  margin-bottom: .75rem;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ''; display: block; width: 18px; height: 1px;
  background: var(--acc); opacity: .45;
}

/* headline — centered, row: magic analizer | powered by | eey logo */
.hero__title {
  margin-bottom: .6rem;
  display: flex; align-items: center; justify-content: flex-start; gap: 17rem;
  animation: fadeUp .8s .12s ease both;
  position: relative;
}

/* links on title images */
.hero__title-link {
  display: block; flex-shrink: 0;
  position: relative; z-index: 1;
  transition: opacity .2s ease;
}
.hero__title-link:hover { opacity: .85; }

.hero__title-img {
  height: 200px; width: auto;
  filter: drop-shadow(0 4px 20px rgba(30,127,212,.38));
}
.hero__title-by {
  font-family: var(--f-head);
  font-size: .58rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-2);
  flex-shrink: 0;
  white-space: nowrap;
}
.hero__title-brand {
  display: flex; align-items: center; gap: .6rem;
  flex-shrink: 0;
  transform: translateX(-220px);
  position: relative; z-index: 1;
}
.hero__title-eey {
  height: 52px; width: auto;
  display: block;
  opacity: .90;
  filter: drop-shadow(0 2px 8px rgba(30,127,212,.22));
}

/* sub — centered, below images */
.hero__sub {
  font-family: var(--f-body);
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--text-2);
  max-width: 520px; line-height: 1.65;
  text-align: center;
  margin-top: 1.8rem;
  margin-bottom: 1.2rem;
}

/* CTAs — centered below subtitle */
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
  margin-bottom: 0;
  animation: fadeUp .8s .44s ease both;
}

/* before/after — full width, big screenshots */
.hero__beforeafter {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  align-items: center;
  width: 100%; max-width: 1280px;
  animation: fadeUp .9s .34s ease both;
}

.hero__ba-item {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
}

.hero__ba-label {
  font-family: var(--f-head);
  font-size: .64rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.hero__ba-label--before {
  color: var(--text-3);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bd);
}
.hero__ba-label--after {
  color: var(--acc);
  background: var(--acc-lo);
  border: 1px solid var(--acc-bd);
}

.hero__ba-img {
  width: 100%; border-radius: var(--r-md);
  border: 1px solid var(--bd-c);
  box-shadow: var(--sh-lg), var(--sh-acc);
  transition: transform .45s ease, box-shadow .45s ease;
}
.hero__ba-img:hover {
  transform: scale(1.012);
  box-shadow: var(--sh-lg), 0 0 48px rgba(184,107,40,.12);
}

/* Arrow — 3D overlapping */
.hero__ba-arrow {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  position: relative; z-index: 10;
  /* overflow beyond column to overlap images */
  margin-left: -40px; margin-right: -40px;
}
.hero__ba-arrow svg {
  width: 52px; height: 52px; display: block;
  filter: drop-shadow(0 2px 8px rgba(224,40,40,.45));
}
.hero__ba-caption {
  font-family: var(--f-head);
  font-size: 1.15rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: #e02828;
  text-shadow: 0 2px 12px rgba(224,40,40,.55), 0 0 28px rgba(224,40,40,.25);
  white-space: nowrap;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 24px; border-radius: var(--r-xs);
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--ease); white-space: nowrap; line-height: 1;
}

/* primary — electric blue */
.btn--primary {
  background: var(--acc); color: #fff; border-color: var(--acc);
  box-shadow: 0 3px 14px rgba(30,127,212,.32);
}
.btn--primary:hover {
  background: var(--acc-hi); border-color: var(--acc-hi);
  box-shadow: 0 5px 22px rgba(30,127,212,.45);
  transform: translateY(-1px);
}

/* hero-size variant */
.btn--hero {
  font-size: .92rem !important;
  padding: 15px 32px !important;
  letter-spacing: .12em !important;
  box-shadow: 0 5px 22px rgba(30,127,212,.38) !important;
}
.btn--hero:hover { transform: translateY(-2px); }

/* outline */
.btn--outline {
  background: rgba(255,255,255,.04);
  color: var(--text-1); border-color: var(--bd);
}
.btn--outline:hover {
  border-color: var(--acc-bd); color: var(--acc-hi);
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}

/* ghost */
.btn--ghost {
  background: transparent; color: var(--text-2);
  border-color: var(--bd); font-size: .74rem;
}
.btn--ghost:hover { color: var(--text-1); border-color: rgba(255,255,255,.12); }

/* ================================================
   SECTION HEADERS
   ================================================ */
.sec-header { text-align: center; margin-bottom: 3rem; }

.sec-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-head);
  font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc); margin-bottom: .8rem;
}
.sec-tag::before, .sec-tag::after {
  content: ''; display: block; width: 16px; height: 1px;
  background: var(--acc); opacity: .45;
}

.sec-title {
  font-family: var(--f-head);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 700; line-height: 1.08;
  color: var(--text-1); letter-spacing: -.01em;
}

.sec-desc {
  font-size: .95rem; color: var(--text-2);
  max-width: 500px; margin: .85rem auto 0; line-height: 1.75;
}

/* ================================================
   4-PHASE WORKFLOW
   ================================================ */
.phases {
  padding: 100px 2rem;
  background: var(--bg-surface);
}

.phases__list {
  display: flex; flex-direction: column; gap: 4.5rem;
  max-width: 980px; margin: 0 auto;
}

.phase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.phase:nth-child(even) { direction: rtl; }
.phase:nth-child(even) > * { direction: ltr; }

/* image */
.phase__img-wrap {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--bd-c);
  box-shadow: var(--sh-lg), var(--sh-acc);
  background: var(--bg-deep);
}
.phase__img-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acc) 0%, transparent 70%);
  z-index: 1; opacity: .7;
}
.phase__img { width: 100%; display: block; transition: transform .5s ease; }
.phase__img-wrap:hover .phase__img { transform: scale(1.02); }

/* text */
.phase__body { display: flex; flex-direction: column; gap: .9rem; }

.phase__number {
  font-family: var(--f-head);
  font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc);
  display: flex; align-items: center; gap: 9px;
}
.phase__number::before {
  content: ''; display: block; width: 18px; height: 1px;
  background: var(--acc); opacity: .45;
}

.phase__title {
  font-family: var(--f-head);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 700; line-height: 1.1;
  color: var(--text-1); letter-spacing: -.01em;
}

.phase__desc {
  font-size: .93rem; color: var(--text-2); line-height: 1.78;
}

.phase__tags {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .2rem;
}
.phase__tag {
  font-family: var(--f-head);
  font-size: .6rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--acc);
  background: var(--acc-lo);
  border: 1px solid var(--acc-bd);
  padding: 3px 10px; border-radius: 100px;
}

/* ================================================
   VIDEO DEMO
   ================================================ */
.demo { padding: 100px 2rem; }

.demo__wrap {
  max-width: 820px; margin: 0 auto;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--bd-c);
  box-shadow: var(--sh-lg), var(--sh-acc);
  background: #000;
  position: relative;
}
/* 16:9 */
.demo__wrap::before { content: ''; display: block; padding-top: 56.25%; }

.demo__wrap iframe,
.demo__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* thumbnail button */
.demo__thumb {
  cursor: pointer; background: none; padding: 0; border: none;
  display: flex; align-items: center; justify-content: center;
}
.demo__thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: filter .3s ease;
}
.demo__thumb:hover img { filter: brightness(.8); }

.demo__play {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.demo__play svg { width: 72px; height: 72px; }
.demo__thumb:hover .demo__play { transform: scale(1.08); }

/* ================================================
   QUICK ACCESS / LINKS
   ================================================ */
.links-section {
  padding: 100px 2rem;
  background: var(--bg-surface);
}

.links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem; max-width: 880px; margin: 0 auto;
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--bd-c);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; gap: .9rem;
  position: relative; overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.link-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--acc), transparent 70%);
  opacity: 0; transition: opacity var(--ease);
}
.link-card:hover {
  border-color: var(--acc-bd);
  transform: translateY(-3px);
  box-shadow: var(--sh-lg), var(--sh-acc);
}
.link-card:hover::before { opacity: 1; }

.link-card__icon {
  width: 40px; height: 40px;
  background: var(--bg-raised);
  border: 1px solid var(--bd-c);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--acc);
}
.link-card__icon svg { width: 20px; height: 20px; }

.link-card__title {
  font-family: var(--f-head);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-1); letter-spacing: .02em;
}

.link-card__desc {
  font-size: .855rem; color: var(--text-2); line-height: 1.7; flex: 1;
}

/* ================================================
   SOCIAL
   ================================================ */
.social { padding: 80px 2rem; }

.social__row {
  display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center;
  max-width: 660px; margin: 0 auto;
}

.social__link {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-card); border: 1px solid var(--bd-c);
  border-radius: var(--r-md);
  padding: 11px 20px;
  font-family: var(--f-head);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2);
  transition: all var(--ease);
}
.social__link svg { width: 16px; height: 16px; flex-shrink: 0; }
.social__link:hover {
  border-color: var(--acc-bd); color: var(--text-1);
  background: var(--bg-raised);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  padding: 2.25rem 2rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--bd-w);
}
.footer__inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  text-align: center;
}
.footer__logo { height: 24px; width: auto; opacity: .45; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
}
.footer__links a {
  font-family: var(--f-head);
  font-size: .67rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--text-3); transition: color var(--ease);
}
.footer__links a:hover { color: var(--text-2); }
.footer__copy {
  font-size: .75rem; color: var(--text-3); letter-spacing: .02em;
}

/* ================================================
   IMAGE EXPAND — click button lightbox
   ================================================ */

/* wrap needs relative for the button */
.hero__ba-item,
.phase__img-wrap { position: relative; }

/* expand button — corner of each image */
.img-expand-btn {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(13,15,20,.78);
  border: 1px solid rgba(30,127,212,.45);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
  z-index: 20;
  color: #fff;
}
.img-expand-btn svg { width: 15px; height: 15px; display: block; }

/* show button on image hover */
.hero__ba-item:hover .img-expand-btn,
.phase__img-wrap:hover .img-expand-btn {
  opacity: 1;
}
.img-expand-btn:hover {
  background: var(--acc);
  border-color: var(--acc);
  transform: scale(1.1);
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}
.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 92vw; max-height: 90vh;
  width: auto; height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--bd-c);
  box-shadow: 0 24px 80px rgba(0,0,0,.8), 0 0 60px rgba(30,127,212,.15);
  object-fit: contain;
  animation: lbIn .22s ease both;
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox__close {
  position: fixed; top: 18px; right: 22px;
  width: 40px; height: 40px;
  background: rgba(30,30,40,.9);
  border: 1px solid var(--bd-c);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-1);
  transition: background var(--ease);
  z-index: 100000;
}
.lightbox__close:hover { background: #e02828; border-color: #e02828; }
.lightbox__close svg  { width: 16px; height: 16px; }

/* ================================================
   SCROLL REVEAL
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .52s ease, transform .52s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: .00s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: .10s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: .20s; }

/* ================================================
   HERO TITLE IMAGE (letras Magic Analizer)
   ================================================ */
.hero__title {
  margin: 0;
  line-height: 1;
  display: flex; justify-content: center;
}

/* ── Arrow image (replaces SVG) — big, 3D ── */
.hero__ba-arrow-img {
  width: 220px; height: auto;
  display: block;
  filter:
    drop-shadow(0 6px 18px rgba(224,40,40,.65))
    drop-shadow(0 2px 4px rgba(0,0,0,.8));
}

/* ── FREE DOWNLOAD badge on btn ── */
.btn--free {
  position: relative;
  gap: 10px;
}
.btn__badge {
  display: inline-block;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  font-size: inherit; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 12px;
  color: #fff;
  white-space: nowrap;
  opacity: .85;
}

/* ================================================
   REVIEWS SECTION
   ================================================ */
.reviews {
  padding: 100px 2rem;
  background: var(--bg-base);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto 0;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--bd-c);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex; flex-direction: column;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg), 0 0 24px rgba(30,127,212,.12);
  border-color: var(--acc-bd);
}

.review-card__stars {
  padding: 14px 16px 6px;
  font-size: 1.1rem;
  color: #f5c518;
  letter-spacing: 2px;
  line-height: 1;
}

.review-card__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .phase { grid-template-columns: 1fr; gap: 1.8rem; }
  .phase:nth-child(even) { direction: ltr; }
  .links__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__logo { height: 36px; }

  .hero { padding: 78px 1rem 40px; }

  /* on mobile: stack the header row vertically */
  .hero__beforeafter {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto auto !important;
  }
  .hero__ba-head-left,
  .hero__ba-head-right {
    padding-bottom: 0;
    justify-content: center; align-items: center; text-align: center;
  }
  .hero__ba-head-left { margin-bottom: 1.2rem; }
  .hero__ba-head-right { margin-bottom: 1.4rem; align-items: center; }
  .hero__title { justify-content: center; align-items: center; height: auto; }
  .hero__title-img { max-width: min(88vw, 340px); }
  .hero__eyebrow { justify-content: center; }
  .hero__ctas { justify-content: center; }

  .hero__beforeafter {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: .9rem;
  }
  .hero__ba-arrow {
    flex-direction: row; justify-content: center; gap: 6px;
  }
  .hero__ba-arrow-img { width: 80px; transform: rotate(90deg); }
  .hero__ba-arrow { margin-left: 0; margin-right: 0; }
  .hero__title-img { max-width: min(420px, 88vw); }

  .phases { padding: 70px 1.5rem; }
  .phases__list { gap: 3.5rem; }
  .demo { padding: 70px 1.5rem; }
  .links-section { padding: 70px 1.5rem; }
  .social { padding: 60px 1.5rem; }
  .links__grid { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .social__row { flex-direction: column; align-items: stretch; }
  .social__link { justify-content: center; }
}
