:root {
  --bg: #0b0b0c;
  --bg2: #141415;
  --panel: #e9e8e4;
  --panel-text: #161616;
  --gold-1: #f3e3a8;
  --gold-2: #c9a227;
  --gold-3: #8a6d1c;
  --pill: #5c5c5c;
  --chrome-1: #fefefe;
  --chrome-2: #8d8d8d;
  --chrome-3: #3a3a3a;
  --ink: #f2f1ee;
  --ink-dim: #b9b7b1;
  --hair: rgba(242, 241, 238, 0.18);
  --display: 'Anton', sans-serif;
  --body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, #1b1b1c 0%, transparent 55%),
    radial-gradient(90% 70% at 85% 100%, #1a1a1b 0%, transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  zoom: 1.25;
}

@supports not (zoom: 1.25) {
  body {
    font-size: 125%;
  }
}

.wrap { 
  max-width: 1380px; 
  margin: 0 auto; 
  padding: 0 20px; 
  width: 100%;
}

.eyebrow {
  font-size: 12px; 
  letter-spacing: 0.28em; 
  text-transform: uppercase; 
  color: var(--ink-dim);
  font-weight: 600;
}

/* ---------- NAV ---------- */
nav {
  position: sticky; 
  top: 0; 
  z-index: 50;
  background: rgba(11,11,12,0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow .3s, background .3s;
}

nav.scrolled { box-shadow: 0 12px 30px rgba(0,0,0,0.5); }

nav .wrap { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding-top: 16px; 
  padding-bottom: 16px; 
}

.nav-name { font-family: var(--display); font-size: 22px; letter-spacing: 0.03em; text-decoration: none; }
.nav-links { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; color: var(--ink-dim); }
.nav-links a { text-decoration: none; transition: color .2s; position: relative; padding-bottom: 4px; }
.nav-links a:hover { color: var(--gold-1); }
.nav-links a.active, .nav-mobile a.active { color: var(--gold-1); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg,var(--gold-1),var(--gold-3));
}

.nav-cta {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  background: linear-gradient(120deg,var(--gold-1),var(--gold-2) 55%,var(--gold-3));
  color: #161200; padding: 10px 18px; border-radius: 999px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,39,0.35); }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: none; border: 1px solid var(--hair); border-radius: 10px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--ink); transition: transform .25s, opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  max-height: 0; overflow: hidden; display: flex; flex-direction: column;
  background: var(--bg2); border-top: 1px solid var(--hair);
  transition: max-height .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile a {
  padding: 18px 24px; text-decoration: none; color: var(--ink-dim); font-size: 15px;
  letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--hair);
}
.nav-mobile a.nav-mobile-cta { color: var(--gold-1); }
.nav-mobile.open { max-height: 450px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .desktop-only { display: none !important; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  align-items: center;
  gap: 24px;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.hero-badge {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-1);
  border: 1px solid var(--gold-3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.01em;
}

.hero-bio {
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.hero-bio b { color: var(--ink); }

.contact-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  width: 100%;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: var(--bg2);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .2s, transform .2s;
  max-width: 100%;
  word-break: break-all;
}

.btn-outline svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.btn-outline:hover {
  border-color: var(--gold-1);
  transform: translateY(-2px);
}

.creator-card {
  width: 270px;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg,#3a2f26,#1c1712);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transform: rotate(-3deg);
  justify-self: end;
}

.creator-card img.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-card .tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 8px;
  z-index: 2;
  text-align: center;
}

/* Telefono Destra */
.phone {
  width: 250px;
  aspect-ratio: 9 / 16;
  border-radius: 36px;
  background: #0d0d0e;
  border: 6px solid #1a1a1c;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
  justify-self: start;
  transform: rotate(3deg);
  overflow: hidden;
  cursor: pointer;
}

.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
}

.hero-video-phone {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 28px !important;
}

/* ---------- RESPONSIVE MOBILE HERO ---------- */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .hero-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-center, .phone {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .phone {
    width: 260px !important;
    max-width: 85vw !important;
    transform: none !important;
  }
}

/* ---------- STATS STRIP ---------- */
.stats-strip { 
  border-top: 1px solid var(--hair); 
  border-bottom: 1px solid var(--hair); 
  background: var(--bg2); 
}

.stats-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
}

.stat {
  padding: 22px 14px; 
  text-align: center; 
  font-size: 12px; 
  color: var(--ink-dim);
  border-left: 1px solid var(--hair); 
  letter-spacing: 0.02em; 
  line-height: 1.4;
}

.stat:first-child { border-left: none; }

.stat span {
  display: block; 
  font-family: var(--display); 
  font-size: 24px; 
  color: var(--gold-1); 
  letter-spacing: 0.02em; 
  margin-bottom: 2px;
}

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hair); }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- SECTION HEADERS ---------- */
section { padding: 64px 0; position: relative; }

.sec-head { 
  display: flex; 
  align-items: baseline; 
  justify-content: space-between; 
  gap: 16px; 
  margin-bottom: 32px; 
  flex-wrap: wrap; 
}

.sec-head h2 { 
  font-family: var(--display); 
  font-size: clamp(32px, 5vw, 56px); 
  margin: 0; 
  letter-spacing: 0.01em; 
}

/* ---------- CHI SONO ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  background: rgba(20, 20, 21, 0.85);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 24px;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

.about-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--gold-1);
  font-family: var(--body);
  font-weight: 700;
}

.about-card p { margin: 0; color: var(--ink-dim); font-size: 14.5px; }
.about-card b { color: #ffffff; font-weight: 600; }

.about-card.highlight-card {
  background: linear-gradient(145deg, #1d1a14 0%, #141415 100%);
  border: 1px solid var(--gold-2);
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- PROCESSO ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.process-card {
  background: var(--bg2); 
  border: 1px solid var(--hair); 
  border-radius: 20px;
  padding: 28px 22px; 
  position: relative;
}

.step-num {
  position: absolute; 
  top: 20px; 
  right: 22px; 
  font-family: var(--display);
  font-size: 32px; 
  color: var(--hair); 
  line-height: 1;
}

.pill {
  display: inline-block; 
  background: var(--pill); 
  color: var(--ink);
  font-size: 11px; 
  font-weight: 800; 
  letter-spacing: 0.05em; 
  text-transform: uppercase;
  padding: 6px 14px; 
  border-radius: 999px; 
  margin-bottom: 16px;
}

.process-card ul { margin: 0; padding-left: 18px; color: var(--ink-dim); line-height: 1.55; font-size: 14px; }
.process-card ul li { margin-bottom: 8px; }
.process-card ul b { color: var(--ink); }

@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- VIDEO STRIP ---------- */
.video-strip { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 16px; 
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-1);
  text-transform: uppercase;
}

.video-box {
  aspect-ratio: 9/16; 
  border-radius: 18px; 
  border: 1px solid var(--hair);
  background: var(--bg2);
  position: relative; 
  overflow: hidden;
  cursor: pointer;
}

.ugc-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) { 
  .video-strip { grid-template-columns: repeat(2, 1fr); } 
}

/* ---------- TARIFFE ---------- */
.table-scroll { 
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch; 
  border-radius: 18px; 
  border: 1px solid var(--hair);
}

table { 
  width: 100%; 
  min-width: 620px; 
  border-collapse: collapse; 
}

thead th {
  background: var(--bg2); 
  color: var(--gold-1); 
  text-transform: uppercase; 
  font-size: 12px; 
  letter-spacing: 0.05em;
  padding: 16px 14px; 
  text-align: left; 
  font-family: var(--body); 
  font-weight: 800;
  border-bottom: 1px solid var(--hair);
}

tbody td { padding: 14px; border: 1px solid var(--hair); font-size: 13.5px; color: var(--ink-dim); }
tbody td:first-child { color: var(--ink); font-weight: 700; text-transform: uppercase; font-size: 12px; }
tbody tr:nth-child(odd) { background: rgba(255,255,255,0.015); }

/* ---------- CONTATTI ---------- */
.contact-section { padding-bottom: 80px; }

.contact-panel {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
  align-items: center;
  background: var(--bg2); 
  border: 1px solid var(--hair); 
  border-radius: 28px; 
  padding: 40px;
}

.contact-panel h2 { 
  font-family: var(--display); 
  font-size: clamp(36px, 5vw, 68px); 
  margin: 0 0 16px; 
  line-height: 0.95; 
}

.phones-deco { 
  display: flex; 
  justify-content: center; 
  position: relative; 
  height: 300px; 
  width: 100%;
}

.mini-phone {
  width: 160px; 
  aspect-ratio: 9/19.5; 
  border-radius: 26px; 
  background: #0d0d0e; 
  border: 5px solid #1a1a1c;
  position: absolute; 
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  overflow: hidden;
}

.mini-phone.p1 { transform: rotate(-8deg) translate(-40px, 0px); z-index: 1; }
.mini-phone.p2 { transform: rotate(6deg) translate(40px, 20px); z-index: 2; }

.mini-phone .s {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mini-phone-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; word-break: break-all; }
.contact-row .ico { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; }
.contact-row svg { width: 100%; height: 100%; }
.social-inline { display: inline-flex; gap: 8px; align-items: center; }

@media (max-width: 900px) { 
  .contact-panel { grid-template-columns: 1fr; padding: 28px 20px; } 
  .phones-deco { height: 260px; }
  .mini-phone { width: 140px; }
}

/* ---------- FOOTER ---------- */
footer { text-align: center; padding: 60px 0 40px; border-top: 1px solid var(--hair); }

footer .box {
  max-width: 720px; 
  margin: 0 auto; 
  border: 1px solid var(--hair); 
  border-radius: 20px; 
  padding: 40px 20px;
  background: var(--bg2);
}

footer h3 { font-family: var(--display); font-size: clamp(36px, 6vw, 64px); margin: 0; }

footer .bar {
  margin-top: 20px; 
  background: var(--pill); 
  padding: 12px 0; 
  font-size: 11px; 
  letter-spacing: 0.2em; 
  text-transform: uppercase; 
  border-radius: 999px;
}

footer .fine { margin-top: 36px; font-size: 12px; color: var(--ink-dim); letter-spacing: 0.05em; }

::selection { background: var(--gold-2); color: #161200; }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; }

/* FIX NAV LINK VISITATI */
nav a, nav a:link, nav a:visited, nav a:hover, nav a:active {
  color: var(--ink-dim) !important;
  text-decoration: none !important;
}

nav .nav-name, nav .nav-name:link, nav .nav-name:visited {
  color: var(--ink) !important;
}

nav .nav-links a.active, nav .nav-links a.active:visited,
nav .nav-mobile a.active, nav .nav-mobile a.active:visited {
  color: var(--gold-1) !important;
}

nav .nav-cta, nav .nav-cta:link, nav .nav-cta:visited {
  color: #161200 !important;
}
/* FIX ALTEZZA VIDEO RIGIDA SOLO PER SMARTPHONE */
@media (max-width: 760px) {
  .video-box {
    aspect-ratio: 9 / 16;
    height: 280px; /* Forza tutti i riquadri alla stessa identica altezza su mobile */
  }
}
.contact-row a, 
.contact-row a:link, 
.contact-row a:visited {
  color: var(--ink) !important;
  text-decoration: none !important;
}

.contact-row a:hover {
  color: var(--gold-1) !important;
}