/* Bidatv website — fresh mint (EU/US light style) */
:root {
  --bg: #f4fbf8;
  --bg-soft: #eaf7f1;
  --surface: #ffffff;
  --surface-2: #f0faf5;
  --border: rgba(42, 157, 116, 0.16);
  --border-strong: rgba(42, 157, 116, 0.28);
  --accent: #2a9d74;
  --accent-hover: #238a66;
  --accent-light: #5ecf9f;
  --accent-soft: #d8f3e8;
  --accent-muted: #7bc9a8;
  --highlight: #b8ead4;
  --text: #1c2f28;
  --text-muted: #5c7a70;
  --text-on-accent: #ffffff;
  --shadow: 0 12px 40px rgba(42, 157, 116, 0.1);
  --shadow-lg: 0 20px 56px rgba(42, 157, 116, 0.14);
  --max: 1120px;
  --legal-max: 820px;
  --radius: 16px;
  --font: "SF Pro Display", "PingFang SC", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.legal-container {
  width: min(100% - 40px, var(--legal-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 14px rgba(42, 157, 116, 0.2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 480px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(94, 207, 159, 0.35), transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(184, 234, 212, 0.5), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  color: var(--text-on-accent);
  box-shadow: 0 8px 24px rgba(42, 157, 116, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(42, 157, 116, 0.35);
  text-decoration: none;
  color: var(--text-on-accent);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(42, 157, 116, 0.06);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent-muted);
  color: var(--accent);
  text-decoration: none;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-values {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-values li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-values li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-values strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.section-alt {
  background: var(--bg-soft);
}

.positioning {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.positioning-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.positioning h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.positioning-body {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.category-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.category-card-accent {
  background: linear-gradient(145deg, var(--accent-soft), var(--surface));
  border-color: var(--border-strong);
}

.category-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 12px;
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text);
}

.category-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.value-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.value-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.value-panel-host {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, var(--accent-soft), var(--surface));
}

.value-audience {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.value-panel-host .value-audience {
  color: var(--accent-hover);
}

.value-panel h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.value-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 14px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

.value-panel-host .value-list li::before {
  background: var(--accent);
}

.value-list li strong {
  color: var(--text);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.advantage-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.advantage-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.advantage-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--accent);
}

.advantage-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Sections */
section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-title p {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.flow-step {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.flow-step .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  color: var(--text-on-accent);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(42, 157, 116, 0.25);
}

.flow-step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--accent);
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

/* Legal pages (embedded in site.css for pages using site header) */
.legal-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-body h2 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  color: var(--accent);
}

.legal-body h3 {
  font-size: 1.02rem;
  margin: 22px 0 8px;
  color: var(--text);
}

.legal-body p,
.legal-body li {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.25rem;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-toc a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  margin-top: 24px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 42ch;
  line-height: 1.55;
}

.copyright a {
  color: var(--accent);
}
