/* Cembra IncomeProtect Landingpage – standalone */
:root {
  --background: #ffffff;
  --foreground: #0d2240;
  --primary: #004d8c;
  --primary-foreground: #ffffff;
  --accent: #baec9f;
  --accent-soft: #e7f7da;
  --surface: #eef4fa;
  --muted: #f1f5f9;
  --muted-foreground: #5b6b80;
  --border: #e2e8f0;
  --card: #ffffff;
  --radius: 12px;
  --shadow-xl: 0 20px 40px -20px rgba(0, 77, 140, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3 { color: var(--primary); letter-spacing: -0.01em; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 700; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--background); }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.logo { height: 36px; width: auto; }
.header-note { font-size: 14px; color: var(--muted-foreground); }
@media (max-width: 640px) { .header-note { display: none; } }

/* Hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 64px 0 128px; }
@media (min-width: 768px) { .hero { padding: 80px 0 160px; } }
.hero-content { max-width: 720px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(186, 236, 159, 0.4); color: var(--primary);
  font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 { font-size: 36px; font-weight: 700; margin-top: 20px; }
@media (min-width: 768px) { .hero h1 { font-size: 48px; } }
.lead { font-size: 18px; color: var(--muted-foreground); margin-top: 20px; }
.lead strong { color: var(--foreground); }

/* Widget */
.widget-section { position: relative; overflow: visible; }
.widget-container { max-width: 768px; margin-top: -120px; position: relative; z-index: 10; overflow: visible; }
@media (min-width: 768px) { .widget-container { margin-top: -140px; } }
.widget-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: visible;
}
.widget-header {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, var(--primary), rgba(0, 77, 140, 0.85));
  color: var(--primary-foreground);
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
}
@media (min-width: 768px) { .widget-header { padding: 16px 24px; } }
.widget-avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
}
.widget-title { flex: 1; font-size: 14px; font-weight: 400; }
.widget-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; opacity: 0.9; }
.widget-status .dot { width: 8px; height: 8px; border-radius: 999px; background: #34d399; display: inline-block; }
.widget-body { padding: 24px 20px; overflow: visible; display: flex; justify-content: center; }
@media (min-width: 768px) { .widget-body { padding: 32px; } }
#grizoon-host { width: 100%; display: flex; justify-content: center; overflow: visible; }
.spacer { height: 64px; }
@media (min-width: 768px) { .spacer { height: 80px; } }

/* Features */
.features { padding: 64px 0; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(186, 236, 159, 0.4); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 16px; font-weight: 600; margin-top: 16px; }
.feature p { font-size: 14px; color: var(--muted-foreground); margin-top: 6px; }

/* Conditions */
.conditions { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0; }
.conditions h2 { font-size: 28px; font-weight: 700; }
@media (min-width: 768px) { .conditions h2 { font-size: 32px; } }
.muted { color: var(--muted-foreground); margin-top: 8px; }
.conditions-list {
  list-style: none; margin-top: 24px;
  display: grid; gap: 12px; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .conditions-list { grid-template-columns: 1fr 1fr; } }
.conditions-list li {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--background); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; font-size: 14px;
}
.check { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); margin-top: 2px; }

/* Support */
.support { padding: 64px 0; }
.support-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 768px) {
  .support-card { padding: 40px; flex-direction: row; align-items: center; justify-content: space-between; }
}
.support-card h3 { font-size: 20px; font-weight: 600; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: var(--primary-foreground);
  padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 500;
  transition: opacity 0.2s; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.9; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: auto; }
.footer-inner {
  padding: 24px 0; display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; color: var(--muted-foreground);
}
@media (min-width: 640px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
