/* ── IMPORT ── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── VARIABLES ── */
:root {
  --dark: #080d1a;
  --dark2: #0d1428;
  --light: #f7f8fc;
  --light2: #eef0f7;
  --surface: #ffffff;
  --border-light: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.08);
  --orange: #f97316;
  --orange-light: rgba(249,115,22,0.12);
  --blue: #0ea5e9;
  --blue-light: rgba(14,165,233,0.12);
  --purple: #8b5cf6;
  --green: #10b981;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; line-height: 1.65;
  color: var(--text-dark);
  background: var(--light);
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  transition: background .3s, box-shadow .3s;
}
.nav.dark {
  background: transparent;
}
.nav.light {
  background: rgba(247,248,252,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 20px rgba(0,0,0,0.05);
}
.nav.scrolled-dark {
  background: rgba(8,13,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 1.25rem;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; padding: 6px 14px;
  border-radius: 8px; transition: all .2s;
  color: inherit;
}
.nav.dark .nav-links a, .nav.scrolled-dark .nav-links a { color: rgba(255,255,255,0.75); }
.nav.dark .nav-links a:hover, .nav.scrolled-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav.light .nav-links a { color: var(--text-muted); }
.nav.light .nav-links a:hover { color: var(--text-dark); background: var(--light2); }
.nav-links a.active { color: var(--orange) !important; }

.lang-toggle {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.1); border-radius: 10px; padding: 3px;
  margin-left: 12px;
}
.nav.light .lang-toggle { background: var(--light2); }
.lang-btn {
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600;
  padding: 4px 11px; border-radius: 7px;
  transition: all .2s; letter-spacing: .03em;
}
.nav.dark .lang-btn, .nav.scrolled-dark .lang-btn { background: transparent; color: rgba(255,255,255,0.5); }
.nav.light .lang-btn { background: transparent; color: var(--text-muted); }
.lang-btn.active { background: var(--orange) !important; color: #fff !important; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange); color: #fff;
  font-size: 0.85rem; font-weight: 600;
  padding: 9px 18px; border-radius: 10px;
  border: none; cursor: pointer; margin-left: 8px;
  transition: all .2s; white-space: nowrap;
}
.nav-cta:hover { background: #ea6a0a; transform: translateY(-1px); }

/* ── HERO (dark) ── */
.hero-dark {
  background: var(--dark);
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 24px 120px;
}
.hero-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 8%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 30% 20%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 55% 12%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 75% 5%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 90% 22%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 20% 40%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.5px 1.5px at 65% 35%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 42% 55%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 85% 50%, rgba(255,255,255,.4), transparent),
    radial-gradient(2px 2px at 8% 65%, rgba(255,255,255,.2), transparent),
    radial-gradient(1px 1px at 48% 70%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.5px 1.5px at 78% 72%, rgba(255,255,255,.25), transparent);
}
.hero-glow-a {
  position: absolute; top: 10%; left: -10%;
  width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.14), transparent 65%);
  pointer-events: none;
}
.hero-glow-b {
  position: absolute; top: 5%; right: -8%;
  width: 45vw; height: 45vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.12), transparent 65%);
  pointer-events: none;
}
.hero-mountains {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: 1;
}
.hero-content-wrap { position: relative; z-index: 2; max-width: 760px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(249,115,22,.35);
  background: rgba(249,115,22,.1);
  color: #ffb380; font-size: 0.78rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 28px;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }

.hero-h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.06; letter-spacing: -.025em;
  color: #fff; margin-bottom: 22px;
}
.grad-text {
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.6);
  max-width: 500px; margin: 0 auto 40px; line-height: 1.7;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--orange); color: #fff;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 12px;
  border: none; cursor: pointer;
  box-shadow: 0 0 35px rgba(249,115,22,.4);
  transition: all .25s;
}
.btn-primary:hover { background: #ea6a0a; transform: translateY(-2px); box-shadow: 0 0 50px rgba(249,115,22,.55); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; transition: all .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.btn-light {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--text-dark); color: #fff;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 12px;
  border: none; cursor: pointer;
  transition: all .25s;
}
.btn-light:hover { background: #1e293b; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--text-dark);
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 12px;
  border: 1.5px solid var(--border-light);
  cursor: pointer; transition: all .25s;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── PHONE MOCKUP ── */
.phone-row { display: flex; align-items: flex-end; justify-content: center; gap: 20px; margin-top: 60px; position: relative; z-index: 2; }
.phone {
  width: 190px; border-radius: 32px; overflow: hidden;
  background: #1a1f35; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.phone.main {
  width: 215px;
  border-color: rgba(249,115,22,.35);
  box-shadow: 0 0 60px rgba(249,115,22,.2), 0 30px 70px rgba(0,0,0,.5);
}
.phone.side { opacity: .55; margin-bottom: 18px; }
.phone-screen {
  aspect-ratio: 9/19;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px 10px; gap: 8px; position: relative;
}
.ps-ar { background: linear-gradient(160deg, #091528, #141e3a, #0c1e28); }
.ps-map { background: linear-gradient(160deg, #061412, #0f2418, #081c14); }
.ps-pay { background: linear-gradient(160deg, #180a00, #2a1200, #1a0a00); }
.ar-chip {
  width: 88%; padding: 5px 10px; border-radius: 8px;
  text-align: center; font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: .68rem;
}
.ar-chip small { display: block; font-weight: 400; font-family: 'DM Sans', sans-serif; font-size: .55rem; opacity: .8; }
.chip-o { background: rgba(249,115,22,.8); color: #fff; }
.chip-b { background: rgba(14,165,233,.8); color: #fff; }
.chip-p { background: rgba(139,92,246,.8); color: #fff; }
.horizon { position: absolute; left: 0; right: 0; top: 48%; height: 1px; background: rgba(14,165,233,.4); }
.compass { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: .55rem; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 4px; }
.compass-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.map-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,.06) 1px, transparent 1px); background-size: 16px 16px; }
.map-pin { position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.pin-me { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.pin-city { background: var(--orange); box-shadow: 0 0 8px var(--orange); }

/* ── STATS BAND ── */
.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 32px 40px;
  display: flex; justify-content: center; gap: 64px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 2rem;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* ── SECTION ── */
section { padding: 96px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-title {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1; letter-spacing: -.015em;
  color: var(--text-dark); margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; max-width: 540px; }

/* ── CARD ── */
.card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 28px;
  transition: all .25s;
}
.card:hover { border-color: rgba(249,115,22,.25); box-shadow: 0 10px 40px rgba(0,0,0,.08); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.ci-o { background: var(--orange-light); }
.ci-b { background: var(--blue-light); }
.ci-p { background: rgba(139,92,246,.1); }
.ci-g { background: rgba(16,185,129,.1); }
.card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── INNER PAGE HERO ── */
.page-hero {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 130px 24px 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero .hero-stars { opacity: .5; }
.page-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem); color: #fff;
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.page-hero p { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 500px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; }

/* ── FOOTER ── */
.footer {
  background: var(--dark); color: rgba(255,255,255,.5);
  padding: 48px; border-top: 1px solid var(--border-dark);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand .foot-logo {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.15rem;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 8px;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-col h4 { color: rgba(255,255,255,.7); font-size: 0.8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.45); font-size: 0.875rem; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border-dark); font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ── ANIMATIONS ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp .65s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .45s; }
.delay-5 { animation-delay: .6s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── LANG ── */
body.lang-en [data-it] { display: none !important; }
body.lang-it [data-en] { display: none !important; }

/* ── RESPONSIVE ── */
@media(max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .phone-row .phone.side { display: none; }
  .stats-band { gap: 28px; padding: 24px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .hero-dark { padding: 90px 20px 100px; }
}
