/**
 * Landing page "begin" v1 -- Variante A (CTA).
 *
 * Built from the Figma frames "A / Desktop 1440", "A / Tablet 834" and
 * "A / Mobile 390". The Figma layout is absolutely positioned; here it is
 * rebuilt as a flow layout with three breakpoints so it survives real content
 * and real viewport widths:
 *
 *   base            -> Mobile 390   (18px gutter, hero photo stacked on top)
 *   >= 768px        -> Tablet 834   (48px gutter, full-width CTA)
 *   >= 1024px       -> Desktop 1440 (100px gutter, hero photo full-bleed,
 *                                    3-column feature grid)
 */

:root {
  /* Colour tokens (raw hex from the Figma frames) */
  --c-bg: #000000;
  --c-bg-proof: #050505;
  --c-bg-cta: #111111;
  --c-surface: #1a1a1a;
  --c-border: #3d3d3d;
  --c-accent: #c82151;
  --c-text: #ffffff;
  --c-text-muted: #b2b2b2;

  --radius: 4px;

  --font-display: 'Tinos', 'Times New Roman', serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Horizontal gutter -- the single value that drives the responsive rhythm */
  --gutter: 18px;
  --content-max: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------------------------------------------------------------- shared */

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

.eyebrow--centered {
  text-align: center;
}

.section-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
}

.section-intro {
  margin: 0 auto;
  max-width: 760px;
  color: var(--c-text-muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-accent);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary:hover {
  background: #b01c47;
}

.btn-primary:disabled {
  cursor: default;
  opacity: 0.7;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ navigation */

.nav {
  position: relative;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--content-max);
  height: 68px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  display: block;
  margin-right: auto;
}

.nav__logo img {
  width: 100px;
  height: auto;
}

.nav__links {
  display: none;
  gap: 45px;
}

.nav__links a {
  color: var(--c-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__links a:hover {
  color: var(--c-accent);
}

.nav__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 35px;
  border: 1px solid var(--c-text);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__login:hover {
  background: var(--c-text);
  color: var(--c-bg);
}

/* ------------------------------------------------------------------ hero */

/* The copy always sits on top of the photo -- on every breakpoint. The photo
   is a bright sunset shot, so the "Dark overlay" from the Figma frame has to
   carry the contrast for the white headline. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  background: var(--c-bg);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile: darken the whole frame. The photo's sky is bright enough to swallow
   the accent-coloured eyebrow, hence the heavier top; the bottom fades into
   the section that follows. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.9) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px var(--gutter);
}

.hero__headline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
}

.hero__subline {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
}

.benefits {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 500;
}

.benefits__check {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius);
  background: var(--c-accent);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 16px 0 0;
  color: var(--c-text-muted);
  font-size: 11px;
}

/* -------------------------------------------------------------- proof bar */

.proof {
  background: var(--c-bg-proof);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.proof__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px var(--gutter);
}

.proof__headline {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
}

.proof__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.proof__items li {
  color: var(--c-text-muted);
}

.proof__items li:first-child {
  color: var(--c-text);
}

/* --------------------------------------------------------------- features */

.features {
  background: var(--c-bg);
}

.features__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 50px var(--gutter) 60px;
}

.features__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

/* Icon sits left of the copy on mobile and tablet (Figma "Feature card"),
   and moves above it only on desktop where the cards become a 3-column grid. */
.card {
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 18px;
  padding: 22px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--c-accent);
}

.card__icon img {
  width: 26px;
  height: 26px;
}

.card__icon {
  grid-row: span 2;
}

.card__title {
  margin: 0 0 12px;
  align-self: start;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}

.card__body {
  grid-column: 2;
  margin: 0;
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 24px;
}

/* ------------------------------------------------------------ testimonial */

.testimonial {
  background: var(--c-bg);
}

.testimonial__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 50px var(--gutter) 60px;
}

.testimonial__card {
  position: relative;
  max-width: 980px;
  margin: 34px auto 0;
  padding: 30px 25px 34px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  text-align: center;
}

.testimonial__mark {
  display: block;
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 0.6;
}

.testimonial__title {
  margin: 24px 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
}

.testimonial__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.5;
}

.testimonial__rating {
  margin: 24px 0 0;
  color: var(--c-accent);
  font-size: 18px;
  letter-spacing: 0.1em;
}

.testimonial__person {
  margin-top: 14px;
  color: var(--c-text-muted);
  font-size: 13px;
}

/* --------------------------------------------------------------- cta band */

.cta {
  background: var(--c-bg-cta);
}

.cta__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px var(--gutter) 56px;
  text-align: center;
}

.cta .btn-primary {
  margin-top: 32px;
}

/* ----------------------------------------------------------------- footer */

.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px var(--gutter);
  text-align: center;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legal li + li::before {
  content: '·';
  margin-right: 8px;
  color: var(--c-text-muted);
}

.footer__legal a {
  color: var(--c-text-muted);
  font-size: 12px;
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--c-text);
}

.footer__age {
  margin: 0;
  color: var(--c-text-muted);
  font-size: 11px;
}

/* ================================================= Tablet (Figma: 834px) */

@media (min-width: 768px) {
  :root {
    --gutter: 48px;
  }

  .nav__inner {
    height: 76px;
  }

  .nav__logo img {
    width: 115px;
  }

  .nav__login {
    width: 82px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.8) 100%);
  }

  .hero__inner {
    padding-block: 40px;
  }

  .hero__headline {
    font-size: 52px;
  }

  .hero__subline {
    font-size: 20px;
  }

  .benefits__check {
    width: 28px;
    height: 28px;
    font-size: 17px;
  }

  .section-title {
    font-size: 38px;
  }

  .proof__inner {
    padding-block: 28px;
  }

  .proof__headline {
    font-size: 22px;
  }

  .testimonial__title {
    font-size: 28px;
  }

  .testimonial__quote {
    font-size: 22px;
    line-height: 1.45;
  }
}

/* ================================================ Desktop (Figma: 1440px) */

@media (min-width: 1024px) {
  :root {
    --gutter: 100px;
  }

  .nav__inner {
    height: 84px;
  }

  .nav__logo img {
    width: 120px;
  }

  .nav__links {
    display: flex;
  }

  .nav__login {
    width: 90px;
    height: 38px;
    margin-left: 45px;
  }

  /* On desktop the copy occupies the left half, so the overlay darkens from
     the left and only veils the sunlit right side of the photo. */
  .hero {
    min-height: 760px;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.82) 32%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.22) 100%);
  }

  .hero__inner {
    padding-block: 0;
  }

  .hero__headline {
    max-width: 620px;
    margin-bottom: 26px;
    font-size: 64px;
    line-height: 66px;
  }

  .hero__subline {
    max-width: 570px;
    margin-bottom: 34px;
  }

  .benefits {
    margin-bottom: 34px;
  }

  .btn-primary {
    width: 230px;
    min-height: 50px;
  }

  .hero__trust {
    margin-top: 20px;
  }

  /* Proof bar becomes a single row: headline left, three items spread out. */
  .proof__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 112px;
    padding-block: 0;
  }

  .proof__headline {
    margin: 0;
  }

  .proof__items {
    flex: 1;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    margin-left: 80px;
  }

  .features__inner {
    padding-block: 85px 100px;
  }

  .section-title {
    font-size: 48px;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 72px;
  }

  .card {
    display: block;
    padding: 29px 29px 40px;
  }

  .card__icon {
    width: 62px;
    height: 62px;
  }

  .card__icon img {
    width: 32px;
    height: 32px;
  }

  .card__title {
    margin: 28px 0 18px;
    font-size: 28px;
  }

  .testimonial__inner {
    padding-block: 72px 75px;
  }

  .testimonial__card {
    margin-top: 43px;
    padding: 39px 100px 46px;
  }

  .testimonial__mark {
    font-size: 74px;
  }

  .testimonial__title {
    margin: 30px 0 22px;
    font-size: 31px;
  }

  .testimonial__quote {
    max-width: 760px;
    margin: 0 auto;
    font-size: 25px;
    line-height: 37px;
  }

  .testimonial__rating {
    margin-top: 34px;
  }

  .testimonial__person {
    margin-top: 18px;
  }

  .cta__inner {
    padding-block: 72px 90px;
  }

  .cta .section-title {
    font-size: 45px;
  }

  .cta .btn-primary {
    margin-top: 50px;
  }
}
