@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy: #1B2B6B;
  --navy-dark: #12205A;
  --green: #27AE60;
  --green-dark: #1E8449;
  --green-light: #E8F5EE;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-600: #475569;
  --gray-900: #0F172A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-lg: 20px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--gray-900);
  line-height: 1.6;
}

/* ─── LANGUAGE TOGGLE ─────────────────────────────── */
html.lang-it .t-en { display: none !important; }
html.lang-en .t-it { display: none !important; }

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--gray-200);
  height: 64px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-text { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.nav-logo-text em { color: var(--green); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; color: var(--gray-600); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-links a.active-page { color: var(--navy); font-weight: 600; }

.btn-nav-cta {
  background: var(--navy) !important; color: #fff !important;
  padding: 8px 18px !important; border-radius: 8px !important; margin-left: 4px;
}
.btn-nav-cta:hover { background: var(--navy-dark) !important; }

.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: var(--gray-100); border-radius: 8px; padding: 3px; margin: 0 6px;
}
.lang-btn {
  border: none; background: transparent; padding: 4px 9px; border-radius: 6px;
  font-size: 12px; font-weight: 700; cursor: pointer; color: var(--gray-600);
  transition: all .15s; font-family: inherit;
}
.lang-btn.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ─── HERO ────────────────────────────────────────── */
.hero { padding: 88px 24px 80px; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green-dark);
  font-size: 13px; font-weight: 600; padding: 6px 14px;
  border-radius: 20px; margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px); font-weight: 800;
  color: var(--navy); line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-sub { font-size: 18px; color: var(--gray-600); margin-bottom: 40px; }

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 14px; transition: transform .15s, box-shadow .15s;
  line-height: 1.2; cursor: pointer;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store .store-label { font-size: 10px; font-weight: 400; opacity: .8; display: block; }
.btn-store.solid { background: var(--navy); color: #fff; }
.btn-store.muted { background: var(--gray-100); color: var(--gray-600); cursor: default; }
.btn-store.muted:hover { transform: none; box-shadow: none; }
.btn-store.solid-white { background: #fff; color: var(--navy); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 14px; border: 2px solid var(--navy);
  color: var(--navy); transition: all .15s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 14px; border: 2px solid rgba(255,255,255,.5);
  color: #fff; transition: all .15s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-green {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 10px; text-decoration: none;
  font-weight: 700; font-size: 14px; background: var(--green); color: #fff;
  transition: background .15s, transform .15s;
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ─── LAYOUT ──────────────────────────────────────── */
.section { padding: 72px 24px; }
.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy); color: #fff; }
.container { max-width: 1100px; margin: 0 auto; }

.section-hd { text-align: center; margin-bottom: 52px; }
.section-hd h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.15; }
.section-hd p { font-size: 16px; color: var(--gray-600); }
.section-navy .section-hd h2 { color: #fff; }
.section-navy .section-hd p { color: rgba(255,255,255,.75); }

/* ─── AUDIENCE CARDS ──────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.aud-card {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: 32px 26px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit; display: block;
}
.aud-card:hover { border-color: var(--green); box-shadow: 0 8px 28px rgba(39,174,96,.12); transform: translateY(-4px); }
.aud-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.aud-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.aud-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
.aud-card .card-cta { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--green); }

/* ─── FEATURE ROWS ────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feat-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.feature-item h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--gray-600); }

/* ─── TWO-COL SECTION ─────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.col-label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.col-text h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.12; margin-bottom: 14px; }
.col-text > p { font-size: 16px; color: var(--gray-600); margin-bottom: 30px; }

.col-visual { border-radius: var(--radius-lg); min-height: 340px; display: flex; align-items: center; justify-content: center; background: var(--gray-50); font-size: 80px; }
.col-visual.green-bg { background: var(--green-light); }

/* ─── TRUST ───────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { text-align: center; padding: 36px 20px; background: #fff; border-radius: var(--radius); border: 1.5px solid var(--gray-200); }
.trust-icon { font-size: 38px; margin-bottom: 12px; display: block; }
.trust-item h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.trust-item p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ─── STEPS ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; counter-reset: steps; }
.step { padding: 28px 20px; background: #fff; border-radius: var(--radius); border: 1.5px solid var(--gray-200); counter-increment: steps; position: relative; padding-top: 36px; }
.step::before {
  content: counter(steps); position: absolute; top: -14px; left: 22px;
  width: 28px; height: 28px; background: var(--green); color: #fff;
  font-size: 13px; font-weight: 800; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray-600); line-height: 1.55; }

/* ─── INTEGRATION CARDS ───────────────────────────── */
.int-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.int-card { background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 24px; }
.int-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.int-card-name { font-size: 15px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.status-pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.status-live { background: #DCFCE7; color: #166534; }
.status-soon { background: #FEF3C7; color: #92400E; }
.int-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ─── CTA SECTION ─────────────────────────────────── */
.cta-block { text-align: center; padding: 80px 24px; }
.cta-block h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-bottom: 14px; }
.cta-block p { font-size: 17px; margin-bottom: 38px; }
.section-navy .cta-block h2 { color: #fff; }
.section-navy .cta-block p { color: rgba(255,255,255,.75); }

/* ─── FOOTER ──────────────────────────────────────── */
footer { background: #0A1628; color: #94A3B8; padding: 52px 32px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; margin-bottom: 44px; }

.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .logo-row img { width: 30px; height: 30px; object-fit: contain; }
.footer-brand .logo-row span { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 13px; max-width: 210px; line-height: 1.65; }

.footer-cols { display: flex; gap: 52px; flex-wrap: wrap; }
.footer-col h5 { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.footer-col a { display: block; color: #94A3B8; text-decoration: none; font-size: 13px; margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid #1E293B; padding-top: 22px; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ─── QR CODE ─────────────────────────────────────── */
.qr-block {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 36px;
}
.qr-frame {
  background: #fff; padding: 10px; border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  display: inline-block; line-height: 0;
}
.qr-frame canvas { display: block; border-radius: 6px; }
.qr-label {
  font-size: 12px; font-weight: 500; letter-spacing: .4px;
  color: rgba(255,255,255,.65);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col .flip-mobile { order: -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
}

@media (max-width: 600px) {
  .hero { padding: 52px 20px 60px; }
  .section { padding: 52px 20px; }
  footer { padding: 40px 20px 24px; }
}
