:root {
  --primary: #7861ff;
  --primary-dark: #5a43f2;
  --cyan: #22c1c3;
  --blue: #3a8dff;
  --green: #4ccb6b;
  --amber: #ffb347;
  --ink: #0f172a;
  --soft: #475569;
  --muted: #94a3b8;
  --line: #e7ecf5;
  --surface: #ffffff;
  --bg: #f4f8ff;
  --dark: #10204a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 32, 74, .72), rgba(16, 32, 74, 0));
}

.brand img {
  width: 174px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
}

.nav a,
.header-cta,
.primary-btn,
.secondary-btn {
  text-decoration: none;
}

.header-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(16, 32, 74, .86) 0%, rgba(16, 32, 74, .66) 34%, rgba(16, 32, 74, .15) 72%),
    url("assets/hero-community.png");
  background-size: cover;
  background-position: center;
}

.hero-mark {
  position: absolute;
  right: clamp(-90px, -3vw, -34px);
  bottom: clamp(38px, 7vw, 90px);
  width: min(430px, 34vw);
  opacity: .18;
  filter: drop-shadow(0 30px 60px rgba(16, 32, 74, .24));
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 90px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 950;
}

.hero .eyebrow {
  color: #b9fff4;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6.8vw, 86px);
  line-height: .98;
  font-weight: 950;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  margin-bottom: 16px;
  font-weight: 950;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 950;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 950;
}

.primary-btn {
  background: #fff;
  color: var(--primary-dark);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.intro {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.intro-inner,
.section,
.feature-band,
.tester-section,
.cta {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-inner {
  position: relative;
  padding: 34px 0;
}

.intro-mark {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(230px, 22vw);
  opacity: .08;
  transform: translateY(-50%);
  pointer-events: none;
}

.intro p {
  position: relative;
  width: min(930px, 100%);
  margin: 0;
  color: var(--soft);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  font-weight: 800;
}

.brand-separator {
  display: flex;
  justify-content: center;
  padding: 36px 18px 0;
  background: var(--bg);
}

.brand-separator img {
  width: min(900px, 90vw);
  height: auto;
  opacity: .95;
}

.section {
  padding: 72px 0 84px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p,
.feature-band p,
.split-copy p,
.cta p {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.7;
}

.steps,
.feature-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step,
.feature-grid article,
.audience-grid article,
.plans article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(58, 141, 255, .08);
}

.step {
  position: relative;
  padding: 26px;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #d7e0f2;
  font-size: 42px;
  font-weight: 950;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--primary);
}

.feature-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-grid .feature-icon {
  color: #b9fff4;
}

.step p,
.feature-grid p,
.audience-grid p,
.plans span {
  color: var(--soft);
  line-height: 1.65;
}

.feature-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 34px;
  align-items: start;
  padding: 70px clamp(20px, 4vw, 46px);
  background: var(--dark);
  border-radius: 8px;
  color: #fff;
}

.band-mark {
  position: absolute;
  left: -86px;
  bottom: -34px;
  width: min(350px, 30vw);
  opacity: .08;
  pointer-events: none;
}

.feature-band > div,
.feature-band .feature-grid {
  position: relative;
}

.feature-band p {
  color: rgba(255, 255, 255, .78);
}

.feature-grid {
  gap: 12px;
}

.feature-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.feature-grid p {
  color: rgba(255, 255, 255, .72);
}

.split {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 42px;
  align-items: center;
}

.split-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.split-copy li {
  padding-left: 28px;
  position: relative;
  color: var(--soft);
  font-weight: 800;
  line-height: 1.5;
}

.split-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.plans {
  display: grid;
  gap: 14px;
}

.plans article {
  padding: 24px;
}

.plans strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.audience {
  padding-top: 30px;
}

.audience-grid article {
  padding: 26px;
}

.tester-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: stretch;
  padding: 54px clamp(20px, 4vw, 46px);
  margin-bottom: 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(120, 97, 255, .94), rgba(34, 193, 195, .9)),
    var(--primary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(16, 32, 74, .16);
}

.tester-section::after {
  content: "";
  position: absolute;
  right: -92px;
  bottom: -100px;
  width: 310px;
  height: 310px;
  border: 34px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  pointer-events: none;
}

.tester-copy,
.tester-panel,
.tester-grid {
  position: relative;
  z-index: 1;
}

.tester-copy {
  max-width: 720px;
}

.tester-copy .eyebrow {
  color: #d8fff9;
}

.tester-copy h2 {
  margin-bottom: 18px;
}

.tester-copy p,
.tester-panel p,
.tester-grid p {
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.65;
}

.tester-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tester-primary {
  background: #fff;
  color: var(--primary-dark);
}

.tester-secondary {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
}

.tester-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
}

.tester-count {
  display: grid;
  gap: 4px;
}

.tester-count span {
  font-size: clamp(58px, 8vw, 86px);
  line-height: .9;
  font-weight: 950;
}

.tester-count strong {
  font-size: 22px;
}

.tester-count small {
  color: rgba(255, 255, 255, .72);
  font-weight: 900;
}

.tester-panel p {
  margin: 0;
}

.tester-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.tester-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}

.tester-grid h3 {
  margin-bottom: 8px;
}

.tester-grid p {
  margin: 0;
}

.tester-grid a {
  color: #fff;
  font-weight: 900;
}

.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 72px;
  padding: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cta-mark {
  position: absolute;
  right: -74px;
  bottom: -24px;
  width: min(330px, 32vw);
  opacity: .06;
  pointer-events: none;
}

.cta > div,
.contact-form {
  position: relative;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #f8faff;
}

.field-hint {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-form button {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  color: #fff;
  background: var(--primary);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.form-msg {
  display: none;
  margin: 0;
  font-weight: 700;
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.contact-emails a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 10px 18px;
  transition: background .2s;
}
.contact-emails a:hover { background: rgba(255,255,255,0.28); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--soft);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 132px;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    gap: 12px;
    padding: 14px 18px;
  }

  .brand img {
    width: 138px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(16, 32, 74, .82) 0%, rgba(16, 32, 74, .62) 45%, rgba(16, 32, 74, .22) 100%),
      url("assets/hero-community.png");
    background-position: 64% center;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 86px;
  }

  .hero-mark {
    right: -120px;
    bottom: 28px;
    width: 330px;
    opacity: .12;
  }

  .intro-mark,
  .band-mark,
  .cta-mark {
    display: none;
  }

  .steps,
  .feature-grid,
  .audience-grid,
  .tester-section,
  .tester-grid,
  .feature-band,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0 62px;
  }

  .feature-band,
  .tester-section,
  .cta {
    width: min(1160px, calc(100% - 28px));
    padding: 30px 20px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .primary-btn,
  .secondary-btn {
    text-align: center;
  }
}

/* ── Avís de cookies ── */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  padding: 20px 24px;
  max-width: 760px;
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--primary-dark);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, .2);
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner-actions {
    margin-left: 0;
    justify-content: center;
  }
}
