/* styles.css */
:root {
  --color-primary: #146C94;
  --color-primary-soft: #D9ECFF;
  --color-accent: #F4A261;
  --color-bg: #F5F7FA;
  --color-text: #1F2933;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-danger: #B91C1C;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

/* Header & Navigation */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
}

.main-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 0.25rem 0;
  font-weight: 500;
}

.main-nav a.current {
  color: var(--color-primary);
}

.main-nav.nav-open {
  display: flex;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }
}

/* Layout & Sections */

main {
  padding-bottom: 3rem;
}

.section {
  padding: 2rem 0;
}

.section-alt {
  background: #ffffff;
  border-radius: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--color-muted);
  max-width: 700px;
  font-size: 0.98rem;
}

/* Hero */

.hero {
  padding: 2.5rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  font-weight: 600;
}

.hero-title {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0.3rem 0 0.75rem;
}

.hero-text {
  color: var(--color-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hero-image-frame {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 0.85rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.feature-image {
  border-radius: 1rem;
  max-height: 360px;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .hero-title {
    font-size: 2.1rem;
  }
}

/* Buttons */

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.05s ease, box-shadow 0.1s ease, background 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(20, 108, 148, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20, 108, 148, 0.5);
  text-decoration: none;
}

.btn-secondary {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: #cfe2ff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--color-muted);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
  text-decoration: none;
}

/* Cards & Lists */

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--color-border);
}

.card-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.checklist-bullet {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

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

/* Tables */

.table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
}

.comparison-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #f3f4f6;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* Forms */

.form {
  max-width: 640px;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid var(--color-border);
  font: inherit;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(20, 108, 148, 0.35);
}

.error-message {
  font-size: 0.8rem;
  color: var(--color-danger);
  margin-top: 0.1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Details / FAQ */

.faq {
  margin-top: 0.75rem;
}

.faq details {
  background: #ffffff;
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.55rem;
  border: 1px solid var(--color-border);
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  margin-right: 0.5rem;
  color: var(--color-primary);
}

details[open] summary::before {
  content: "–";
}

/* Utility */

.highlight-box {
  background: var(--color-primary-soft);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font-size: 0.9rem;
}

.brand-disclaimer {
  font-size: 0.82rem;
  color: var(--color-muted);
  border-left: 3px solid var(--color-accent);
  padding-left: 0.75rem;
  margin-top: 0.75rem;
}

/* Footer */

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 1.75rem 0 2.25rem;
  font-size: 0.85rem;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-meta {
  color: #9ca3af;
}

.footer-links a {
  color: #e5e7eb;
  margin-right: 0.7rem;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-brand {
  font-weight: 600;
}

/* Cookie Banner */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111827;
  color: #f9fafb;
  padding: 0.9rem 0;
  font-size: 0.85rem;
  z-index: 30;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-inner p {
  margin: 0;
}

.cookie-inner button {
  align-self: flex-start;
}

@media (min-width: 768px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Page-specific helpers */

.two-column {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .two-column {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.timeline {
  border-left: 2px solid var(--color-primary-soft);
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.timeline-step {
  margin-bottom: 0.7rem;
}

.timeline-step-title {
  font-weight: 600;
  font-size: 0.95rem;
}
