/* Tipider marketing site – huisstijl van de app */

:root {
  --color-bg: #F7F9FB;
  --color-surface: #FFFFFF;
  --color-primary-dark: #1F2A36;
  --color-border: #E6E9ED;
  --color-text-primary: #1C1C1C;
  --color-text-secondary: #6B7280;
  --color-accent: #f9c653;
  --color-accent-hover: #e6b84a;
  --color-header: #242e48;
  --color-success: #1f7a4d;
  --color-danger: #b42318;
  --max-width: 900px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  background: var(--color-header);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.site-header-logo {
  display: block;
  height: 28px;
  width: auto;
}

.site-header-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 2px;
}

.lang-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-header);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.site-header-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-header-nav a:hover {
  color: #fff;
}

.btn {
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn-header {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-header:hover {
  background: var(--color-accent-hover);
}

.btn-header:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-cta {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 14px 28px;
  font-size: 17px;
  margin-top: 8px;
}

.btn-cta:hover {
  background: var(--color-accent-hover);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Main */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* Hero */
.hero {
  margin-bottom: 56px;
  padding: 0;
}

.hero-inner {
  max-width: 640px;
}

.hero-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: var(--color-text-primary);
}

.hero-accent {
  color: var(--color-header);
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin: 0 0 24px 0;
}

/* Box sections */
.box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--color-text-primary);
}

.section p {
  margin: 0 0 16px 0;
  color: var(--color-text-primary);
}

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

.feature-list {
  margin: 16px 0 0 0;
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
}

.feature-list li {
  margin-bottom: 8px;
}

/* Steps */
#hoe {
  margin-bottom: 48px;
}

#hoe h2 {
  margin-bottom: 24px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.step-num {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--color-text-primary);
}

.step-content p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.contact-list li {
  margin-bottom: 8px;
}

.contact-list a {
  color: var(--color-header);
  font-weight: 500;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-list a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-header);
}

.site-footer-logo {
  display: block;
  height: 24px;
  width: auto;
}

.site-footer-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-nav {
  display: flex;
  gap: 24px;
}

.site-footer-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
}

.site-footer-nav a:hover {
  color: var(--color-text-primary);
}

.site-footer-copy {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  color: #fff;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-header);
    padding: 16px 24px;
    gap: 0;
  }

  .site-header-nav.is-open {
    display: flex;
  }

  .site-header-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header-inner {
    position: relative;
  }

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

  .hero-tagline {
    font-size: 1rem;
  }

  main {
    padding: 32px 20px 48px;
  }

  .box {
    padding: 24px;
  }

  .step {
    padding: 20px;
  }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}
