/* Gli stessi colori, lo stesso font e lo stesso alveare dell'app. */
@font-face {
  font-family: 'Outfit';
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --amber: #ffc107;
  --honey: #ffd54f;
  --bg: #1a1a1a;
  --surface: #242424;
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.54);
  --line: rgba(255, 255, 255, 0.09);
  --radius: 16px;
  --hive: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='180' viewBox='0 0 104 180'%3E%3Cpath d='M52 0 104 30v60L52 120 0 90V30zM52 120v60M0 30l-52 30M104 30l52 30' fill='none' stroke='%23FFC107' stroke-opacity='.07'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) var(--hive);
  color: var(--text);
  font: 400 17px/1.6 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Barra in alto */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(26, 26, 26, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav__links a:hover { color: var(--amber); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 22px;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn:hover { background: var(--honey); }
.btn--small { padding: 9px 16px; font-size: 15px; }

/* Testi */
.eyebrow { color: var(--amber); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
h1 em { font-style: normal; color: var(--amber); }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.lead { color: var(--text-2); font-size: clamp(18px, 1.6vw, 20px); margin-top: 18px; max-width: 34em; }
.note { color: var(--text-3); font-size: 15px; margin-top: 16px; }

/* Apertura */
.hero { overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 40px; padding-block: 72px 56px; }
.hero__phones { position: relative; height: 610px; }

.phone {
  margin: 0;
  width: 270px;
  padding: 8px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 32px; }
.hero__phones .phone { position: absolute; top: 0; }
.phone--front { left: 4%; top: 24px !important; z-index: 2; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6), 0 0 90px rgba(255, 193, 7, 0.12); }
.phone--back { right: 2%; transform: rotate(5deg); }

/* Pulsanti degli store */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--bg);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s;
}
a.store:hover { background: var(--honey); }
.store__text small { display: block; font-weight: 400; font-size: 12px; }
.store--soon { background: var(--surface); color: var(--text-2); border: 1px solid var(--line); }

/* Sezioni */
.section { padding-block: 88px; }
.section--band { background: rgba(36, 36, 36, 0.72); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 44px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step h3 { margin-top: 18px; }
.step p { color: var(--text-2); margin-top: 8px; }
.hex {
  display: grid;
  place-items: center;
  width: 48px;
  height: 54px;
  background: var(--amber);
  color: var(--bg);
  font-weight: 700;
  font-size: 20px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.split--text { align-items: start; }
.gallery { display: flex; justify-content: center; gap: 20px; padding-block: 12px 28px; }
.gallery .phone { width: min(250px, 46%); }
.phone--raised { transform: translateY(28px); }

.ticks { display: grid; gap: 14px; margin-top: 28px; }
.split--text .ticks { margin-top: 0; }
.ticks li { position: relative; padding-left: 28px; color: var(--text-2); }
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 13px;
  height: 15px;
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.ticks strong { color: var(--text); font-weight: 600; }

.browser { margin: 0; background: #0c0c0c; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; overflow: hidden; box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5); }
.browser__bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--text-2); font-size: 16px; margin-top: 8px; line-height: 1.5; }

/* Chiusura */
.cta { padding-block: 96px; }
.cta__box { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__box h2 { margin-top: 24px; max-width: 16em; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 24px; }
.links a { color: var(--amber); }

.footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--text-3); font-size: 14px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.footer .brand { color: var(--text); font-size: 17px; }
.footer [data-footer-links] { display: flex; gap: 18px; }
.footer__legal { flex-basis: 100%; font-size: 13px; }
.footer__legal:empty { display: none; }

/* Schermi più stretti */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding-block: 52px 32px; }
  .hero__phones { height: 540px; max-width: 480px; margin-inline: auto; width: 100%; }
  .phone { width: 240px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 64px; }
}

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__row { justify-content: space-between; }
  .steps, .cards { grid-template-columns: 1fr; }
  .hero__phones { height: 460px; }
  .hero__phones .phone { width: 200px; }
  .phone { padding: 6px; border-radius: 32px; }
  .phone img { border-radius: 26px; }
  .phone--front { left: 0; }
  .phone--back { right: 0; }
  .store { flex: 1 1 100%; }
  .gallery { gap: 12px; }
  .phone--raised { transform: translateY(16px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .store { transition: none; }
}
