/* ============================================================
   AVEUM — Landing page
   Faithful reflow of the Figma design (node 641:41 + footer 641:128).
   Fixed 1920px Figma layout re-expressed as a fluid, responsive site.
   ============================================================ */

:root {
  --black: #000000;
  --ink: #181818;         /* near-black text / dark buttons on white */
  --panel: #1b1b1b;       /* nav "Order" pill */
  --panel-2: #1e1e1e;     /* metal "Black" pill */
  --hair: #272727;        /* nav divider */
  --white: #ffffff;
  --footer-bg: #191c1f;
  --card-black: #000000;
  --grey: #949494;        /* plan card body text (white sections) */
  --muted: #818c96;       /* footer plan card body */
  --muted-2: #bbc4cd;     /* footer links */
  --f4: #f4f4f4;

  --maxw: 1600px;
  --gutter: clamp(20px, 6vw, 194px);

  --font-display: "Neue Haas Grotesk Display Pro", "Helvetica Neue", -apple-system,
    BlinkMacSystemFont, Arial, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  --font-footer: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- shared layout ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 130px) var(--gutter); }
.container { max-width: var(--maxw); margin: 0 auto; }

.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--white); color: var(--ink); }

/* ---------- typography ---------- */
.h1 {
  font-size: clamp(40px, 5.6vw, 85px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: 0;
}
.lead {
  font-size: clamp(20px, 2.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
  max-width: 60ch;
}
.eyebrow {
  font-size: clamp(18px, 2vw, 38px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  opacity: .9;
}
.fineprint {
  font-size: clamp(15px, 1.5vw, 24px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 16px 0 0;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.section--light .h1,
.section--light .lead,
.section--light .eyebrow,
.section--light .fineprint { color: var(--ink); }

a.link { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 38px;
  border-radius: 47px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 22px);
  letter-spacing: -0.04em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--white); color: #1f1f1f; }
.btn--light:hover { opacity: .9; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--panel { background: var(--panel); color: var(--white); }
.btn--panel-2 { background: var(--panel-2); color: var(--white); }
.btn--outline { background: transparent; color: var(--black); border: 3px solid var(--black); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 90px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--hair);
}
.nav__logo { width: 138px; height: 22px; }
.nav__logo svg, .nav__logo img { width: 100%; height: 100%; }
.nav__links {
  display: flex;
  gap: 40px;
  margin-left: 26px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.nav__links a:hover { opacity: .7; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__actions .btn { padding: 11px 30px; }

/* language switcher */
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--hair); border-radius: 30px; }
.lang-btn {
  background: transparent; color: #9a9a9a; border: none; cursor: pointer;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 30px; transition: background .15s, color .15s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: #fff; color: #111; }

.plan__price { font-size: clamp(15px, 1.4vw, 24px); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 6px; }
.section--light .plan__price { color: var(--ink); }

/* ============================================================
   FEATURE ROWS (hero blocks / ultra)
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}
.feature--reverse .feature__media { order: -1; }
.feature__body { max-width: 640px; }
.feature__body .btn { margin-top: 34px; }
.feature__media img { width: 100%; height: auto; }
.feature__media--contain { display: flex; justify-content: center; }

/* ============================================================
   INDESTRUCTIBLE — full-bleed dark image with centered copy
   ============================================================ */
.indestructible {
  position: relative;
  min-height: clamp(520px, 60vw, 900px);
  display: grid;
  place-items: center;
  padding: clamp(60px, 8vw, 120px) var(--gutter);
  text-align: center;
  background: #050505;
  overflow: hidden;
}
.indestructible__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}
.indestructible__inner { position: relative; max-width: 1100px; }

/* ============================================================
   METAL — centered copy + card + colour pills
   ============================================================ */
.metal__card {
  margin: 46px auto 30px;
  width: min(573px, 80%);
}
.pill-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   EXCLUSIVE — full-width image below centered copy
   ============================================================ */
.exclusive__grid { margin-top: 48px; width: 100%; border-radius: 0; }

/* ============================================================
   PROTECTED — three phone cards
   ============================================================ */
.protect__cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: end;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.protect-card {
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  aspect-ratio: 376 / 533;
  background: #111;
}
.protect-card--tall { aspect-ratio: 427 / 605; }
.protect-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.protect-card__cap {
  position: relative;
  padding: 34px 30px;
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: 300px;
}

/* ============================================================
   CHOOSE — four plan cards
   ============================================================ */
.plans {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 39px);
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
}
.plan__img {
  width: 100%;
  aspect-ratio: 364 / 386;
  object-fit: cover;
  border-radius: 19px;
  background: #eee;
}
.plan__name {
  font-size: clamp(24px, 2vw, 38px);
  letter-spacing: -0.05em;
  margin: 22px 0 12px;
  color: var(--ink);
}
.plan__desc {
  font-size: clamp(15px, 1.3vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--grey);
  white-space: pre-line;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--muted-2);
  font-family: var(--font-footer);
  padding: clamp(48px, 5vw, 90px) var(--gutter) 70px;
}
.footer__inner { max-width: 1470px; margin: 0 auto; }
.footer__title {
  color: var(--white);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.01em;
  margin: 0 0 34px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.plan-tile {
  background: var(--card-black);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  min-height: 240px;
}
.plan-tile--wide { grid-column: span 1; }
.plan-tile h3 { color: var(--f4); font-size: 22px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.01em; }
.plan-tile .price { color: var(--f4); font-size: 17px; font-weight: 400; margin: 0 0 14px; }
.plan-tile p.body { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; max-width: 34ch; }
.plan-tile .arrow { position: absolute; right: 24px; bottom: 22px; width: 24px; height: 24px; color: var(--f4); }
.plan-grid--two { grid-template-columns: repeat(2, 1fr); margin-top: -36px; }
.plan-grid--two .plan-tile { min-height: 200px; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 40px;
  padding: 20px 0 40px;
}
.foot-col h4 { color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .01em; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0 0 22px; padding: 0; }
.foot-col li { margin: 0 0 8px; }
.foot-col a { font-size: 12px; color: var(--muted-2); line-height: 1.5; }
.foot-col a:hover { color: var(--white); text-decoration: underline; }

.foot-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}
.foot-brand__logo { width: 120px; opacity: .95; }
.foot-social { display: flex; gap: 20px; }
.foot-social a { width: 18px; height: 18px; color: var(--muted-2); }
.foot-social a:hover { color: var(--white); }
.foot-social svg { width: 100%; height: 100%; fill: currentColor; }

.foot-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 22px 0; font-size: 12px; }
.foot-meta a:hover { text-decoration: underline; color: var(--white); }
.foot-region { display: inline-flex; align-items: center; gap: 8px; }
.foot-region .flag { width: 14px; height: 14px; border-radius: 50%; overflow: hidden; }

.foot-legal { font-size: 12px; line-height: 1.5; }
.foot-legal p { margin: 0 0 14px; max-width: 1000px; }
.foot-legal a { text-decoration: underline; }
.foot-legal .strong { color: var(--white); font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .protect__cards { grid-template-columns: 1fr; }
  .protect-card, .protect-card--tall { aspect-ratio: 376 / 340; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .plan-grid--two { grid-template-columns: 1fr; margin-top: 0; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .nav__actions .btn { padding: 9px 20px; font-size: 15px; }
}
