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

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.5;
}

.top-ribbon {
  background: #1e293b;
  color: #facc15;
  text-align: center;
  font-size: 0.75rem;
  padding: 0.5rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffff;
  box-shadow: 0 4px 6px -2px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  color: #0f172a;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: #facc15;
  border-radius: 8px;
  display: inline-block;
}

.brand-name span {
  color: #facc15;
  background: #0f172a;
  padding: 0 0.3rem;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: #facc15;
}

.nav-cta {
  background: #0f172a;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0f172a;
  border-radius: 3px;
}

/* Cookie Banner - rimane visibile FINO AL CLICK SU ACCETTA */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  border-top: 3px solid #facc15;
  padding: 1rem 2rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}

.cookie-banner-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.cookie-accept-btn {
  background: #facc15;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: bold;
  color: #0a1428;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.cookie-accept-btn:hover {
  background: #eab308;
  transform: scale(1.02);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  gap: 2rem;
  background: linear-gradient(135deg, #fef9e3 0%, #ffffff 100%);
}

.hero > div:first-child { flex: 1; }

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #facc15;
  background: #0f172a;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 em {
  color: #facc15;
  font-style: normal;
  background: #0f172a;
  padding: 0 0.2rem;
}

.lead {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-gold {
  background: #facc15;
  color: #0f172a;
}

.btn-gold:hover {
  background: #eab308;
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid #cbd5e1;
  color: #0f172a;
  background: transparent;
}

.terminal-card {
  flex: 1;
  background: #0f172a;
  border-radius: 24px;
  padding: 1.5rem;
  color: white;
  box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
}

.terminal-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; background: #facc15; border-radius: 50%; display: inline-block; }

.ticker-panel .market-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #1e293b;
}

.positive { color: #4ade80; }
.negative { color: #f87171; }

.metric-strip {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: white;
  padding: 2rem;
  border-bottom: 1px solid #e2e8f0;
  gap: 1rem;
}

.metric { text-align: center; }
.metric strong { font-size: 1.8rem; display: block; }
.metric small { font-size: 0.8rem; color: #64748b; }

.section { padding: 4rem 2rem; }
.alt { background: #ffffff; border-top: 1px solid #eef2ff; border-bottom: 1px solid #eef2ff; }

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #facc15;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-title h2 { font-size: 2.2rem; margin-top: 0.5rem; }
.sub { color: #64748b; margin-top: 1rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #f8fafc;
  padding: 1.8rem;
  border-radius: 24px;
  transition: 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #475569; }

.split {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.split > div { flex: 1; }

.timeline .step {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-num {
  background: #facc15;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15); }
.article-thumb { font-size: 3rem; background: #fef9e3; text-align: center; padding: 2rem; }
.article-body { padding: 1.5rem; }
.article-meta { font-size: 0.7rem; color: #facc15; font-weight: bold; margin-bottom: 0.5rem; }

.form-zone { background: #f1f5f9; }
.form-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.form-wrap > div:first-child { flex: 1; }

.form-card {
  background: white;
  padding: 2rem;
  border-radius: 32px;
  flex: 1;
  box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
}

.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0 1rem 0;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  font-family: inherit;
}

.privacy-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem 0;
}
.privacy-row input { width: auto; margin: 0; }

.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.risk { font-size: 0.7rem; margin-top: 1rem; color: #64748b; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }
  .nav-links.show { display: flex; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 2rem 1rem; }
  .cookie-banner { padding: 1rem; flex-direction: column; text-align: center; }
}