/* Parizia.it — design system */

:root {
  --bg: #0b0e17;
  --bg-elevated: #121729;
  --bg-card: #161c31;
  --bg-card-2: #1b2238;
  --border: #29304a;
  --border-soft: #212840;
  --text: #f4f6fb;
  --text-muted: #a6aec3;
  --text-faint: #7982a0;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 16px 40px rgba(4, 6, 14, 0.45);
  --max-width: 1120px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 92, 255, 0.18), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(34, 211, 238, 0.14), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(124, 92, 255, 0.08), transparent 50%);
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-top: 2.6em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-top: 1.8em; }
h4 { font-size: 1.05rem; margin-top: 1.4em; }

p { margin: 0 0 1.1em; color: var(--text-muted); }
p strong, li strong { color: var(--text); }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 23, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.brand-badge img { width: 100%; height: 100%; object-fit: contain; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #08090f;
  font-weight: 600;
  font-size: 0.92rem;
}
.header-cta:hover { text-decoration: none; filter: brightness(1.08); }

/* Hero */
.hero {
  padding: 52px 0 36px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.12rem;
  max-width: 760px;
  color: var(--text-muted);
}

/* Author / EEAT bio */
.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 22px 0 34px;
}
.author-box img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.author-box .author-meta { font-size: 0.88rem; color: var(--text-faint); }
.author-box .author-name { color: var(--text); font-weight: 600; font-size: 0.98rem; }
.author-box a { color: var(--accent-2); }

/* Toplist card */
.toplist-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  margin-top: 8px;
}
.toplist-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}
.toplist-card .toplist-sub {
  color: var(--text-faint);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* Section wrapper */
section.block { padding: 10px 0 6px; }
.section-divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 44px 0;
}

/* Cards for operator profiles */
.brand-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
}
.brand-block.benchmark { border-color: var(--border); background: var(--bg-elevated); }
.brand-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.brand-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.14);
  color: #b8a8ff;
  border: 1px solid rgba(124, 92, 255, 0.3);
}
.brand-tag.benchmark-tag { background: rgba(166,174,195,0.12); color: var(--text-faint); border-color: var(--border); }

.brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #08090f;
  font-weight: 700;
  font-size: 0.94rem;
}
.brand-cta:hover { text-decoration: none; filter: brightness(1.08); }

/* Feature bullets + pro/con */
.feature-list {
  margin: 16px 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
}
.feature-list li {
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}
.pros-cons .pc-box {
  background: var(--bg-card-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.pros-cons .pc-box h4 { margin-top: 0; font-size: 0.95rem; }
.pros-cons .pc-box.pros h4 { color: var(--success); }
.pros-cons .pc-box.cons h4 { color: var(--danger); }
.pros-cons ul { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 0.92rem; }
.pros-cons li { margin-bottom: 4px; }

/* Tables — desktop */
.table-wrap { margin: 20px 0; overflow-x: auto; }
table.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.94rem;
}
table.spec-table th, table.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
table.spec-table th {
  background: rgba(124, 92, 255, 0.1);
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
table.spec-table td.k {
  color: var(--text-faint);
  font-weight: 600;
  width: 38%;
}
table.spec-table tr:last-child td { border-bottom: none; }
table.spec-table tr:hover td { background: rgba(124,92,255,0.04); }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq-item h3 { margin-top: 0; font-size: 1.02rem; }
.faq-item p { margin-bottom: 0; }

/* Callout / analysis box */
.callout {
  border-left: 3px solid var(--accent-2);
  background: rgba(34, 211, 238, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.callout strong { color: var(--accent-2); }

/* Formula box */
.formula-box {
  font-family: "Sora", sans-serif;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  color: var(--accent-2);
  font-size: 1.05rem;
  margin: 16px 0;
}

/* Legal notice */
.legal-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(251, 113, 133, 0.06);
  border: 1px solid rgba(251, 113, 133, 0.22);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.legal-notice strong { color: var(--danger); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  margin-top: 60px;
  padding: 40px 0 30px;
  color: var(--text-faint);
  font-size: 0.86rem;
}
.site-footer .footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.site-footer a { color: var(--text-muted); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.footer-badges span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* Mobile-stacked tables (card-stack technique) */
@media (max-width: 700px) {
  .feature-list, .pros-cons { grid-template-columns: 1fr; }

  table.spec-table thead { display: none; }
  table.spec-table, table.spec-table tbody, table.spec-table tr, table.spec-table td {
    display: block;
    width: 100%;
  }
  table.spec-table tr {
    border-bottom: 1px solid var(--border-soft);
    padding: 6px 0;
  }
  table.spec-table td {
    border-bottom: none;
    padding: 4px 16px;
  }
  table.spec-table td.k { width: auto; color: var(--text-faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; padding-bottom: 0; }
  table.spec-table td:not(.k):not([data-label]) { padding-top: 0; }
  table.spec-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-faint);
    margin-bottom: 2px;
  }
}

@media (max-width: 560px) {
  .site-header .container { height: 60px; }
  .hero { padding: 34px 0 20px; }
  .brand-block { padding: 20px; }
}
