/* VELOGuida - style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1e40af;
  --ice: #38bdf8;
  --blue-light: #dbeafe;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #ffffff;
  --card-bg: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(30,64,175,0.08);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
  background: var(--blue);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.nav-brand span { color: var(--ice); }
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0.75rem; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1e3a8a 50%, #0f172a 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(56,189,248,0.15) 0%, transparent 70%);
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(56,189,248,0.2);
  color: var(--ice);
  border: 1px solid rgba(56,189,248,0.4);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--ice); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.btn {
  display: inline-block;
  background: var(--ice);
  color: var(--blue);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56,189,248,0.4);
  text-decoration: none;
  color: var(--blue);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: 0.75rem;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: none;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 3.5rem 0;
}
.section-alt {
  background: var(--card-bg);
}

/* BREADCRUMB */
.breadcrumb {
  padding: 0.75rem 1.5rem;
  background: var(--blue-light);
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb span { color: var(--muted); }

/* SECTION HEADING */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.section-title span { color: var(--ice); }
.section-subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,64,175,0.12);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-body { padding: 1.25rem; }
.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ice);
  background: var(--blue);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.card a { font-size: 0.9rem; font-weight: 600; color: var(--blue); }

/* ARTICLE */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.article-meta .author { font-weight: 600; color: var(--text); }
.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  margin: 2rem 0 0.75rem;
}
article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
article p { margin-bottom: 1rem; }
article ul, article ol {
  margin: 0 0 1rem 1.5rem;
}
article li { margin-bottom: 0.4rem; }

/* EDITORIAL NOTE */
.nota-redazione {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.nota-redazione strong { color: var(--blue); }

/* STRENGTH BARS */
.strength-bar-wrap { margin-bottom: 1rem; }
.strength-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.strength-bar {
  height: 10px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.strength-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ice), var(--blue));
  border-radius: 100px;
  transition: width 1s ease;
}

/* TABLE */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
thead th {
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
}
tbody tr:nth-child(even) { background: var(--card-bg); }
tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.check { color: #16a34a; font-size: 1.1rem; }
.cross { color: #dc2626; font-size: 1.1rem; }

/* RATING STARS */
.stars { color: #f59e0b; letter-spacing: 2px; }

/* REVIEW CARD */
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; }
.review-date { font-size: 0.8rem; color: var(--muted); }
.review-text { color: var(--text); font-size: 0.95rem; }
.review-product {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.75rem;
}

/* FLAVOR CARD */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.flavor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.flavor-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.flavor-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--blue);
}
.flavor-card .sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; }
.flavor-card p { font-size: 0.9rem; color: var(--text); margin-bottom: 0.75rem; }

/* FORCE / STRENGTH CARDS */
.force-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.force-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.force-card:hover { border-color: var(--ice); }
.force-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.force-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.25rem;
}
.force-mg {
  font-size: 0.9rem;
  color: var(--ice);
  font-weight: 700;
  background: var(--blue);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.force-card p { font-size: 0.9rem; color: var(--muted); }

/* AFFILIATE BOX */
.affiliate-box {
  background: linear-gradient(135deg, var(--blue), #1e3a8a);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.affiliate-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.affiliate-box p { color: rgba(255,255,255,0.82); margin-bottom: 1.25rem; }
.affiliate-box .btn { background: var(--ice); color: var(--blue); }

/* APPROFONDIMENTI */
.approfondimenti {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.approfondimenti h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.approfondimenti ul { list-style: none; margin: 0; }
.approfondimenti li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.approfondimenti li:last-child { border-bottom: none; }
.approfondimenti a { color: var(--blue); font-weight: 500; }

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.stat-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.8rem; color: var(--muted); }

/* BADGE */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}
.badge-blue { background: var(--blue); color: #fff; }
.badge-ice { background: var(--ice); color: var(--blue); }
.badge-green { background: #dcfce7; color: #16a34a; }

/* WINNER BANNER */
.winner-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  color: var(--blue);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* FOOTER */
footer {
  background: #0f172a;
  color: rgba(255,255,255,0.65);
  padding: 3rem 1.5rem 2rem;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.footer-brand span { color: var(--ice); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--ice); text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  max-width: 600px;
}
