/* ─── Font Panton ─── */
@font-face {
  font-family: 'Panton';
  src: url('fonts/Panton-Regular.woff2') format('woff2'),
       url('fonts/Panton-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Panton';
  src: url('fonts/Panton-Bold.woff2') format('woff2'),
       url('fonts/Panton-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* ─── Reset & base ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Panton', system-ui, sans-serif;
  background: #ffffff;
  color: #001155;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 760px; }

/* ─── Hero ─── */
.hero {
  position: relative;
  background: #0a0f1e;
  color: #fff;
  overflow: hidden;
  padding-bottom: 96px;
}
.hero-glow {
  position: absolute;
  right: -200px; top: -160px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,188,212,0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Navbar */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.nav-logo { height: 32px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover { color: #00BCD4; }

/* Hero inner */
.hero-inner {
  max-width: 1180px;
  margin: 64px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.hero-inner h1, .hero-inner .hero-sub { max-width: 820px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00BCD4;
  margin-bottom: 22px;
}
.hero-inner h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.55;
}
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #00BCD4;
  color: #001155;
}
.btn-primary:hover { background: #00d8f4; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
  padding: 13px 23px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: #00BCD4; border-color: #00BCD4; }

.nav-links .btn-ghost { padding: 8px 18px; font-size: 13px; }

/* ─── Sezioni generiche ─── */
.section {
  padding: 96px 0;
}
.section-light { background: #f6f7fb; }
.section-dark { background: #0a0f1e; color: #fff; }
.section-dark h2 { color: #fff; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00BCD4;
  margin-bottom: 14px;
}
.section h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #001155;
  margin-bottom: 56px;
}
.section.section-dark h2 { color: #fff; }

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #001155;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 22px;
}
.step h3 {
  font-size: 22px;
  font-weight: 700;
  color: #001155;
  margin-bottom: 12px;
}
.step p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ─── Features ─── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 28px 24px;
}
.feature svg {
  width: 28px;
  height: 28px;
  stroke: #00BCD4;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: #001155;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14.5px;
  color: #555;
  line-height: 1.55;
}

/* ─── Cases ─── */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.case {
  display: block;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 28px 26px 24px;
  position: relative;
  transition: transform 0.15s, border-color 0.15s;
}
.case:hover { transform: translateY(-2px); border-color: #00BCD4; }
.case-current { border-left: 4px solid #00BCD4; }
.case-past { opacity: 0.7; }
.case-future { border-style: dashed; }

.case-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: rgba(0,188,212,0.12);
  color: #00BCD4;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.case-badge-past { background: rgba(156,163,175,0.15); color: #6b7280; }
.case-badge-future { background: rgba(245,158,11,0.12); color: #d97706; }

.case h3 {
  font-size: 22px;
  font-weight: 700;
  color: #001155;
  margin-bottom: 6px;
}
.case p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}
.case-link {
  font-size: 14px;
  font-weight: 700;
  color: #00BCD4;
}
.case-link-disabled { color: #9ca3af; }

/* ─── Funzionalità avanzate ─── */
.advanced-intro {
  font-size: 18px;
  color: #555;
  max-width: 760px;
  margin-top: -36px;
  margin-bottom: 48px;
  line-height: 1.6;
}
.advanced-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.adv-feature {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 24px 22px 22px;
}
.adv-feature svg {
  width: 26px;
  height: 26px;
  stroke: #001155;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}
.adv-feature h3 {
  font-size: 17px;
  font-weight: 700;
  color: #001155;
  margin-bottom: 8px;
}
.adv-feature p {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}
.advanced-cta { text-align: left; }

/* ─── About ─── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.about-block p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.about-block p strong { color: #fff; }
.about-logo {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
}
.wenet-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

/* ─── Contatti ─── */
.contatti-intro {
  font-size: 17px;
  color: #555;
  margin-bottom: 36px;
  line-height: 1.55;
}
.contatti-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 16px;
  padding: 12px 8px;
}
.contatti-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 10px;
  transition: background 0.15s;
}
a.contatti-row:hover { background: #f6f7fb; }
.contatti-row + .contatti-row { border-top: 1px solid #f0f2f7; }
.contatti-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,188,212,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contatti-icon svg {
  width: 22px;
  height: 22px;
  stroke: #00BCD4;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contatti-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}
.contatti-value {
  font-size: 17px;
  font-weight: 700;
  color: #001155;
}

/* ─── Footer ─── */
.footer {
  background: #0a0f1e;
  color: rgba(255,255,255,0.55);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-electo { height: 28px; }
.footer-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-welan { height: 18px; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-links a:hover { color: #00BCD4; }
.footer-legal {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .steps, .features, .cases { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner h1 { font-size: 44px; }
  .hero-sub { font-size: 17px; }
  .section h2 { font-size: 34px; }
  .section { padding: 72px 0; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .nav { padding: 20px 20px; }
  .hero-inner { padding: 0 20px; margin-top: 48px; }
  .hero-inner h1 { font-size: 36px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 28px; margin-bottom: 36px; }
}
