/* ======================================= */
/* BASIS EN ALGEMENE STIJLEN               */
/* ======================================= */

:root {
  /* Basis achtergronden */
  --primary-bg: #0d1117;
  --secondary-bg: #161b22;
  --card-bg: #1e242e;
  
  /* Tekst kleuren */
  --text-color: #c9d1d9;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  
  /* Accent kleuren */
  --link-color: #58a6ff;
  --accent-color: #6a0dad;
  --accent-purple: #9333ea;
  --accent-purple-dark: #7c3aed;
  --accent-blue: #60a5fa;
  --border-color: #30363d;
  --border-dark: #2d3748;
  
  /* Buttons */
  --button-primary-bg: #238636;
  --button-primary-hover: #2ea043;
  --button-accent-bg: #6a0dad;
  --button-accent-hover: #7d0fd6;
  --button-secondary-bg: #161b22;
  --button-secondary-hover: #2e3540;
  --button-reset-bg: #b7410e;
  --button-reset-hover: #d2551b;
  
  /* Wachtwoord sterkte kleuren */
  --strength-weak: #ef4444;
  --strength-weak-light: #f87171;
  --strength-fair: #f59e0b;
  --strength-fair-light: #fbbf24;
  --strength-good: #3b82f6;
  --strength-good-light: #60a5fa;
  --strength-strong: #10b981;
  --strength-strong-light: #34d399;
  
  /* Overlay/transparante achtergronden */
  --overlay-dark: rgba(15, 20, 25, 0.6);
  --overlay-medium: rgba(15, 20, 25, 0.4);
  --overlay-light: rgba(30, 36, 46, 0.6);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  height: 100vh; /* Vast voor desktop */
  line-height: 1.6;
  overflow: hidden; /* Vast voor desktop */
}

@media (max-width: 768px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .container {
    overflow: visible;
    min-height: 0;
  }

  main {
    padding: 1rem;
    padding-bottom: 2rem;
    overflow: visible;
  }

  aside {
    display: none !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
  margin-top: 0;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #79c0ff; /* Lichtere blauwe hover */
}

/* Algemene knopstijlen (basis) */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent; /* Standaard geen rand, wordt specifiek toegevoegd */
}

.button.primary { /* Voor Login knop in header */
  background-color: var(--button-primary-bg);
  color: white;
  border-color: var(--button-primary-bg);
}

.button.primary:hover {
  background-color: var(--button-primary-hover);
  border-color: var(--button-primary-hover);
}

.button.secondary { /* Voor "Terug naar overzicht" knop */
  background-color: var(--button-secondary-bg);
  color: var(--text-color);
  border-color: var(--border-color);
}

.button.secondary:hover {
  background-color: var(--button-secondary-hover);
  border-color: #404a56;
}

/* ======================================= */
/* HEADER STIJLEN                          */
/* ======================================= */

header {
  background-color: var(--secondary-bg);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Verander van sticky naar relative */
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
}

.logo .accent {
  color: var(--accent-color);
}

/* Hamburgermenu icoon (gemaakt met spans) */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  width: 24px;
  height: 20px;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.hamburger-menu .line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  margin-bottom: 4px;
  transition: all 0.2s ease-in-out;
}

.hamburger-menu .line:last-child {
  margin-bottom: 0;
}

/* Animatie voor hamburger (optioneel, voor een X) */
.hamburger-menu.active .line:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active .line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger-menu.active .line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a:not(.button) {
  color: var(--text-color);
  padding: 0.75rem 0.5rem;
  display: block;
  font-weight: 400;
  position: relative;
}

header nav ul li a:not(.button):hover {
  color: var(--link-color);
}

header nav ul li a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease-out;
}

header nav ul li a:not(.button):hover::after {
  width: 100%;
}

.language-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 1px;
  padding: 2px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.language-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #e1e4ec;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.language-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.language-links a.active {
  background: #6c4eff; /* jouw paarse accentkleur van Toolify */
  border-color: #6c4eff;
  color: #fff;
}

@media (max-width: 700px) {
  .language-links {
    justify-content: space-around;
    padding-bottom: 10px;
  }

  .language-links a {
    flex: 1;
    text-align: center;
    border-radius: 8px;
  }
}

@media (max-width: 420px) {
  .language-links {
    flex-direction: column;
    align-items: stretch;
  }

  .language-links a {
    width: 100%;
  }
}
/* ======================================= */
/* CONTAINER (Zijbalk + Hoofdinhoud)     */
/* ======================================= */
.container {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden; /* Voeg toe */
}

/* ======================================= */
/* ZIJBALK STIJLEN                         */
/* ======================================= */

aside {
  width: 200px;
  background-color: var(--secondary-bg);
  border-right: 1px solid var(--border-color);
  padding: 1rem 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.sidebar-header h3 {
  color: var(--text-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  opacity: 0.7;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: var(--text-color);
  transition: background-color 0.2s ease, color 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-menu li a:hover {
  background-color: #1e242e;
  color: white;
}

.sidebar-menu li a.active {
  background-color: #2e3540;
  color: white;
  font-weight: 500;
  border-left-color: var(--link-color);
}

.sidebar-footer {
  margin-top: auto;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-footer a {
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

.sidebar-footer a:hover {
  color: var(--link-color);
  opacity: 1;
}

.sidebar-menu li a.active {
  background-color: #2e3540;
  border-left-color: var(--link-color);
  color: #fff;
  font-weight: 600;
}

/* ======================================= */
/* INDEX PAGINA LAYOUT                     */
/* ======================================= */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero-content p {
  color: #aeb5be;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  max-width: 600px;
}

.hero-image img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.large-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Support */
.hero-support {
  margin-top: 1.8rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #1e1a2b, #2b1b47);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
  animation: fadeIn 0.6s ease-in;
  max-width: 650px;
}

.hero-support p {
  margin-bottom: 1.4rem;
  color: #d5c7f7;
  font-size: 1.15rem;
  font-weight: 500;
}

.coffee-btn {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coffee-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(255, 213, 79, 0.5);
}

.coffee-logo {
  height: 70px; /* groter logo */
  width: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 213, 79, 0.3);
  transition: all 0.3s ease;
}

.coffee-btn:hover .coffee-logo {
  box-shadow: 0 0 25px rgba(255, 213, 79, 0.6);
}

.hero-support .button.accent {
  background-color: var(--button-accent-bg);
  border: 1px solid var(--button-accent-bg);
  color: #fff;
  font-weight: 600;
}

.hero-support .button.accent:hover {
  background-color: var(--button-accent-hover);
  border-color: var(--button-accent-hover);
}

/* Features */
.features-section {
  margin-bottom: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.features-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--link-color);
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--text-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: var(--link-color);
}

/* CTA */
.cta-section {
  text-align: center;
  background: var(--secondary-bg);
  padding: 2.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.cta-section h2 {
  color: var(--link-color);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: #aeb5be;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Mobiel */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 160px;
    margin-top: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .features-section h2,
  .cta-section h2 {
    font-size: 1.6rem;
  }
}

.tips-preview-section {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  margin-top: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tips-preview-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.tips-text {
  flex: 1;
  min-width: 280px;
}

.tips-text h2 {
  font-size: 2rem;
  color: var(--link-color);
  margin-bottom: 1rem;
}

.tips-text p {
  color: #aeb5be;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.tips-preview-section .button.accent {
  background-color: var(--button-accent-bg);
  border: 1px solid var(--button-accent-bg);
  color: #fff;
}

.tips-preview-section .button.accent:hover {
  background-color: var(--button-accent-hover);
  border-color: var(--button-accent-hover);
}

.tips-image {
  flex: 0 0 220px;
  text-align: center;
}

.tips-image img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Mobiel */
@media (max-width: 768px) {
  .tips-preview-section {
    padding: 2rem 1rem;
    text-align: center;
  }

  .tips-preview-content {
    flex-direction: column;
  }

  .tips-text h2 {
    font-size: 1.6rem;
  }

  .tips-image img {
    width: 160px;
    margin-top: 1rem;
  }
}

.idea-preview-section {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  margin-top: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.idea-preview-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.idea-text {
  flex: 1;
  min-width: 280px;
}

.idea-text h2 {
  font-size: 2rem;
  color: var(--link-color);
  margin-bottom: 1rem;
}

.idea-text p {
  color: #aeb5be;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.idea-preview-section .button.accent {
  background-color: var(--button-accent-bg);
  border: 1px solid var(--button-accent-bg);
  color: #fff;
}

.idea-preview-section .button.accent:hover {
  background-color: var(--button-accent-hover);
  border-color: var(--button-accent-hover);
}

.idea-image {
  flex: 0 0 220px;
  text-align: center;
  animation: floatIdea 4s ease-in-out infinite;
}

.idea-image img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Zachte zweefanimatie */
@keyframes floatIdea {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Mobiel */
@media (max-width: 768px) {
  .idea-preview-section {
    padding: 2rem 1rem;
    text-align: center;
  }

  .idea-preview-content {
    flex-direction: column;
  }

  .idea-text h2 {
    font-size: 1.6rem;
  }

  .idea-image img {
    width: 160px;
    margin-top: 1rem;
  }
}

.compatibility-note {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem 2rem;
  margin: 2rem 0;
  color: #aeb5be;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);

  /* laat container net zo breed worden als andere main‑secties */
  width: 100%;
}

.compatibility-note strong {
  color: var(--link-color);
}

.compatibility-note p {
  margin: 0 auto;
  max-width: 1100px; /* tekst blijft leesbaar, maar blok vult de hele sectie */
}

@media (max-width: 768px) {
  .compatibility-note {
    font-size: 0.85rem;
    padding: 1rem 1.25rem;
  }
  .compatibility-note p {
    max-width: 100%;
  }
}

/* ======================================= */
/* HOOFDINHOUD STIJLEN                     */
/* ======================================= */
main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  min-height: 0;
}

.main-content-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.main-content-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.main-content-header p {
  color: #aeb5be;
  font-size: 1.1rem;
}

.main-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--link-color);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-color);
}

.card.large-text-card p {
  font-size: 0.95rem;
  color: #aeb5be;
}

/* ======================================= */
/* HEADER - ALGEMENE STIJLEN (DESKTOP)     */
/* ======================================= */

@media (min-width: 769px) {
  header nav {
    display: flex !important;
    align-items: center;
  }

  header nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  header nav ul li {
    position: relative;
    margin-left: 20px;
  }

  header nav ul li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }

  header nav ul li a:hover {
    color: var(--link-color);
  }

  /* === Dropdown desktop === */
  li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }

  ul.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 1000;
  }

  ul.dropdown-menu li {
    margin: 0;
    width: 100%;
  }

  ul.dropdown-menu a {
    display: flex;
    gap: 6px;
    padding: 0.6rem 1rem;
    color: var(--text-color);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
  }

  ul.dropdown-menu a:hover {
    background: var(--button-secondary-hover);
    color: var(--link-color);
  }
}

/* ======================================= */
/* HEADER - MOBIELE STIJLEN                */
/* ======================================= */

@media (max-width: 768px) {
  header {
    justify-content: space-between;
    position: relative;
    padding: 0.75rem 1rem;
  }

  .hamburger-menu {
    display: block;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
  }

  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
    flex-direction: column;
    animation: slideDown 0.3s ease-out forwards;
    border-top: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }

  header nav.active {
    display: flex;
  }

  header nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  header nav ul li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    position: relative;
  }

  header nav ul li:last-child {
    border-bottom: none;
  }

  header nav ul li a:not(.button) {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* === Dropdown mobiel === */
  li.dropdown > a.dropdown-toggle::after {
    content: "▾";
    margin-left: 5px;
    font-size: 0.8rem;
  }

  /* submenu standaard verbergen */
  .dropdown-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
  }

  .dropdown.open > .dropdown-menu {
    display: flex;
  }

  li.dropdown.open > .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
  }

  .dropdown-menu a:hover {
    background: var(--button-secondary-hover);
  }
}

/* ======================================= */
/* SIDEBAR en MAIN                         */
/* ======================================= */

/* Mobiele weergave — sidebar verbergen */
@media (max-width: 768px) {
  aside {
    display: none !important;
  }

  .container {
    display: flex;
    flex: 1;
    overflow: hidden;
    height: calc(100vh - 61px);
  }

  main {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    height: 100%;
  }

  .main-content-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }

  .main-content-header h2 {
    font-size: 1.5rem;
  }

  .main-content-header p {
    font-size: 0.95rem;
  }

  .main-card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

/* Desktop — sidebar zichtbaar */
@media (min-width: 769px) {
  aside {
    display: block;
  }

  main {
    padding: 2rem;
  }
}

/* ======================================= */
/* LANDINGS PAGINA STIJLEN (Specifiek voor de root index.html) */
/* ======================================= */

/* Algemene layout voor de taalkeuze sectie */
.language-selection {
  max-width: 800px;
  width: 100%;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-align: center;
  margin: auto;
}

/* Specifieke stijlen voor de H1 op de landingspagina */
.language-selection h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.language-selection p {
  color: #aeb5be;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Grid voor de taalkaarten */
.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Individuele taalkaart */
.language-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.language-card:hover {
  transform: translateY(-5px);
  border-color: var(--link-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: #252d38;
}

.language-card .flag {
  font-size: 3rem;
  line-height: 1;
}

.language-card .language-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--link-color);
}

.language-card .language-native {
  font-size: 0.95rem;
  color: #aeb5be;
}

/* Auto-detectie mededeling */
.auto-detect-notice {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  color: #aeb5be;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.auto-detect-notice strong {
  color: var(--link-color);
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================= */
/* RESPONSIVE AANPASSINGEN VOOR LANDINGS PAGINA (MOBIELE STIJLEN) */
/* ======================================= */

@media (max-width: 768px) {
  
  .language-selection {
    padding: 2rem 1.5rem;
  }

  .language-selection h1 {
    font-size: 1.6rem;
  }

  .language-selection p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .language-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .language-card {
    padding: 1.5rem;
  }

  .language-card .flag {
    font-size: 2.5rem;
  }
}

.language-card .flag-img { 
  width: 48px;   
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .language-card .flag-img {
    width: 40px; 
    height: 40px;
  }
}

.tool-card-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.intro {
  color: #555;
  margin-bottom: 1rem;
}

.location-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.location-form input {
  flex: 1 1 200px;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.location-form button {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.primary {
  background-color: #5a3bea;
  color: white;
}

.secondary {
  background-color: #f2f2f2;
  color: #333;
}

.sun-times {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.time-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  background: #fafafa;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.time-box img {
  width: 64px;
  height: 64px;
}

.time-box h3 {
  margin: 0;
  color: #444;
}

.time-box p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  margin: 0.2rem 0 0 0;
}

.error-box,
.success-box {
  margin-top: 1.5rem;
  display: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
}

.error-box {
  background: #ffe5e5;
  color: #b30000;
}

.success-box {
  background: #e6ffed;
  color: #007a20;
}

.visible {
  display: block;
}

/* ======================================= */
/* TOOLS pagina   */
/* ======================================= */
.tools-section {
  padding: 2rem;
}

.tools-section h1 {
  font-size: 2rem;
  color: var(--link-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.tools-section .intro {
  text-align: center;
  color: #aeb5be;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-header {
  grid-column: 1 / -1;
  text-align: left;
  font-size: 1.6rem;
  color: var(--link-color); 
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

.category-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .category-header {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .category-group {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.tool-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: var(--link-color); /* Blauwe rand bij hover */
}

.tool-card img {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}

.tool-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--link-color);
}

.tool-card p {
  font-size: 0.95rem;
  color: #aeb5be;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Tool View Container */
.tool-view {
  background-color: var(--primary-bg);
  padding: 0;
}

.tool-view-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.tool-view-header h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

#toolContent {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-height: 400px;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .tiles {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }

  .tool-card {
    padding: 1rem;
  }

  .tool-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 0.5rem;
  }

  .tool-card h3 {
    font-size: 1.1rem;
  }

  #toolContent {
    padding: 5px;
  }
}

@media (max-width: 375px) {
  #toolContent {
    padding: 2px;
  }
}

/* Category Filter Menu */
.category-filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  padding: 20px;
  border-radius: 16px;
  justify-content: center; 
  align-items: center;
  width: 100%;
}

.category-filter-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.category-filter-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-filter-btn.active {
  background: white;
  color: #667eea;
  border-color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-filter-btn .emoji {
  margin-right: 6px;
}

/* Hide/show categories */
.category-group.hidden {
  display: none;
}

.category-header.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .category-filter-menu {
    gap: 8px;
    padding: 16px;
  }

  .category-filter-btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* ======================================= */
/* KEYBOARD SHORTCUT PAGINA                */
/* ======================================= */
.shortcuts-section {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shortcuts-header {
  text-align: center;
  margin-bottom: 2rem;
}

.shortcuts-header h1 {
  font-size: 2.2rem;
  color: var(--link-color);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.shortcuts-header .intro {
  color: #aeb5be;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* GRID OPBOUW */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* KAARTSTIJL */
.shortcut-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.shortcut-card:hover {
  transform: translateY(-5px);
  border-color: var(--link-color);
  box-shadow: 0 8px 20px rgba(88, 166, 255, 0.25);
}

/* HEADER IN KAART */
.card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.card-header .icon {
  font-size: 1.4rem;
}

.card-header h2 {
  font-size: 1.3rem;
  color: var(--link-color);
  margin: 0;
}

.subintro {
  color: #aeb5be;
  margin: -0.5rem 0 1rem;
  font-size: 0.9rem;
}

/* TABELLEN DESIGN */
.shortcut-table {
  width: 100%;
  border-collapse: collapse;
}

.shortcut-table td {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 8px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.shortcut-table tr:last-child td {
  border-bottom: none;
}

.shortcut-table tr:hover td {
  background: var(--secondary-bg);
  color: white;
}

.shortcut-table td:first-child {
  width: 45%;
  font-family: "Roboto Mono", monospace;
  color: var(--link-color);
  font-weight: 600;
}

kbd {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.85rem;
  color: var(--link-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* NOTE */
.shortcuts-note {
  text-align: center;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-top: 2rem;
  color: #aeb5be;
  font-size: 0.95rem;
  max-width: 700px;
}

.shortcuts-note strong {
  color: var(--link-color);
}

@media (max-width: 768px) {
  .shortcuts-section {
    padding: 1rem;
  }

  .shortcut-card {
    padding: 1.25rem;
  }

  .card-header h2 {
    font-size: 1.1rem;
  }

  .shortcut-table td {
    padding: 8px 6px;
    font-size: 0.85rem;
  }
}

/* ======================================= */
/* DOWNLOADS PAGINA                        */
/* ======================================= */
.downloads-section {
  padding: 2rem;
}

.downloads-section h1 {
  font-size: 2rem;
  color: var(--link-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.downloads-section .intro {
  text-align: center;
  color: #aeb5be;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  min-height: 360px;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border-color: var(--link-color);
}

.download-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-size: 1.3rem;
  color: var(--link-color);
  margin-bottom: 0.25rem;
}

.download-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #b5bcc5;
}

.download-card a.button {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--button-accent-bg);
  border: 1px solid var(--button-accent-bg);
  transition: all 0.2s ease;
}

.download-card a.button:hover {
  background: var(--button-accent-hover);
  border-color: var(--button-accent-hover);
}

.downloads-section .footnote {
  text-align: center;
  margin-top: 2.5rem;
  color: #aeb5be;
  font-size: 0.9rem;
}

/* Mobiel */
@media (max-width: 768px) {
  .downloads-section {
    padding: 1rem;
  }

  .download-card img {
    width: 64px;
    height: 64px;
  }
}

/* ======================================= */
/* STIJLEN VOOR KLEURENKIEZER (hex.html) */
/* ======================================= */
.hex-card {
  max-width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  color: var(--text-color);
  box-shadow: none;
  margin: 0;
}

.hex-card h1 {
  color: var(--link-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}

.hex-card .intro {
  text-align: center;
  color: #aeb5be;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.4;
}

.color-spectrum-wrapper {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

#colorCanvas {
  width: 100%;
  height: 260px;
  display: block;
  cursor: crosshair;
}

.color-result {
  display: flex;
  gap: 15px;
  align-items: center;
  background: var(--primary-bg);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.color-swatch {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-values {
  flex: 1;
}

.color-values p {
  margin-bottom: 8px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.color-values p:last-child {
  margin-bottom: 0;
}

.color-values strong {
  font-weight: 600;
  margin-right: 8px;
  color: #aeb5be;
}

.color-values span {
  font-family: "Roboto Mono", monospace;
  color: var(--link-color);
  font-weight: 600;
  font-size: 1rem;
}

.color-buttons {
  margin-bottom: 15px;
}

.hex-card button {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.hex-card #copyHex {
  background-color: var(--button-primary-bg);
  color: white;
}

.hex-card #copyHex:hover {
  background-color: var(--button-primary-hover);
  transform: translateY(-1px);
}

.hex-card .feedback {
  background: #00b894;
  color: white;
  padding: 8px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.hex-card .feedback.visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .hex-card {
    padding: 15px;
  }
  .hex-card h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .hex-card .intro {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  #colorCanvas {
    height: 220px;
  }
  .color-result {
    padding: 12px;
    gap: 12px;
  }
  .color-swatch {
    width: 50px;
    height: 50px;
  }
  .color-values p {
    font-size: 0.85rem;
  }
  .color-values span {
    font-size: 0.9rem;
  }
}









/* ======================================= */
/* MEDIA QUERIES VOOR MOBIELE WEERGAVE     */
/* ======================================= */
@media (max-width: 768px) {
  .converter-card {
    padding: 15px;
    max-width: 100%;
  }
  .converter-card h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .converter-card .intro {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .converter-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #category {
    max-width: 100%;
    width: 100%;
  }
  .converter-inputs {
    gap: 15px;
  }
  #inputValue {
    padding: 10px 12px;
  }
  .unit-selects {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .arrow {
    display: none;
  }
  #fromUnit,
  #toUnit {
    width: 100%;
    max-width: 300px;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 10px 15px; 
    font-size: 0.95rem;
    background-position: right 8px center;
    background-size: 20px;
    /* Einde aanpassing */
  }
  #result {
    font-size: 1rem;
  }
  .output-box {
    padding: 10px 15px;
    text-align: center;
  }
}
   









/* ======================================= */
/* TIPS & TRICKS PAGINA                    */
/* ======================================= */

.tips-section {
  padding: 2rem;
}

.tips-section h1 {
  text-align: center;
  font-size: 2rem;
  color: var(--link-color);
  margin-bottom: 0.5rem;
}

.tips-section .intro {
  text-align: center;
  color: #aeb5be;
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto; /* centreert de kolom netjes */
}

.tip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tip-card:hover {
  transform: translateY(-3px);
  border-color: var(--link-color);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Tekst-gedeelte */
.tip-content {
  flex: 1;
}

.tip-content h2 {
  color: var(--link-color);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.tip-content .date {
  color: #9ca3af;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.75rem;
}

.tip-content p {
  font-size: 0.95rem;
  color: #aeb5be;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.tip-content code,
.tip-content kbd {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.85rem;
  color: var(--link-color);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.8rem;
}

/* Afbeelding rechts */
.tip-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.tip-card:hover .tip-image {
  transform: scale(1.07);
}

/* Mobiel – stapel onder elkaar */
@media (max-width: 768px) {
  .tip-card {
    flex-direction: column;
    text-align: center;
  }

  .tip-image {
    width: 80px;
    height: 80px;
    margin-top: 0.5rem;
  }
}

/* Optioneel: zachte animatie bij hover */
.tip-card:hover .tip-image {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.8rem;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .tips-section {
    padding: 1rem;
  }
  .tip-card {
    padding: 1rem;
  }
}

/* ======================================= */
/* OVER TOOLIFY PAGINA                     */
/* ======================================= */
.about-section {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h1 {
  color: var(--link-color);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.about-text .intro {
  color: #aeb5be;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.about-text p {
  color: #c9d1d9;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-text a {
  color: var(--link-color);
  text-decoration: underline;
}

.about-text blockquote {
  background: var(--secondary-bg);
  border-left: 4px solid var(--accent-color);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  font-style: italic;
  color: #aeb5be;
}

.about-image {
  flex: 0 0 240px;
  text-align: center;
}

.about-image img {
  width: 240px;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text h1 {
    text-align: center;
  }

  .about-image {
    width: 100%;
    margin-top: 1rem;
  }

  .about-image img {
    width: 180px;
  }
}

/* ======================================= */
/* SUPPORT PAGINA                          */
/* ======================================= */
.support-section {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.support-section h1 {
  font-size: 2rem;
  color: var(--link-color);
  text-align: center;
  margin-bottom: 1rem;
}

.support-section .intro {
  text-align: center;
  color: #aeb5be;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.support-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: var(--text-color);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.support-card:hover {
  transform: translateY(-3px);
  border-color: var(--link-color);
}

.support-card h2 {
  color: var(--link-color);
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.support-card p {
  color: #b5bcc5;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.support-card a.button {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: var(--button-primary-bg);
  color: #fff;
  font-weight: 600;
  border: 1px solid var(--button-primary-bg);
  transition: background 0.2s ease;
}

.support-card a.button:hover {
  background: var(--button-primary-hover);
  border-color: var(--button-primary-hover);
}

.support-card .small {
  font-size: 0.8rem;
  color: #aeb5be;
  margin-top: 0.5rem;
}

.faq {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #aeb5be;
  line-height: 1.5;
}

.faq li strong {
  display: block;
  color: var(--text-color);
}

/* Mobiele lay‑out */
@media (max-width: 768px) {
  .support-section {
    padding: 1rem;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    padding: 1.25rem;
  }

  .support-card h2 {
    font-size: 1.1rem;
  }
}