/* ========================================
   NCN Capital Support Site
   ======================================== */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* NCN Capital Huisstijl colors */
  --blue: #3D6EA8;
  --blue-dark: #2d5a8e;
  --blue-light: #eaf0f7;
  --blue-muted: #6a92be;
  --green: #A6CC38;
  --green-dark: #8fb82e;
  --yellow: #FFCA02;
  --orange: #F57F1F;
  --orange-dark: #e06d10;
  --black: #000000;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f0f2f5;
  --gray-200: #e2e5ea;
  --gray-300: #ccd1d9;
  --gray-500: #7a8494;
  --gray-700: #3d4551;
  --gray-900: #1a1f2b;
  --text: #333333;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(61,110,168,.06), 0 1px 2px rgba(61,110,168,.04);
  --shadow: 0 4px 12px rgba(61,110,168,.08), 0 1px 3px rgba(61,110,168,.06);
  --shadow-lg: 0 12px 40px rgba(61,110,168,.12), 0 4px 12px rgba(61,110,168,.06);
  --shadow-xl: 0 20px 60px rgba(61,110,168,.15), 0 8px 20px rgba(61,110,168,.08);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --max-width: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Calibri, 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
}

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 38px; width: auto; }
.logo span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  opacity: .7;
}

.header-nav { display: flex; align-items: center; gap: 8px; }

.header-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: .3px;
}
.header-nav a:hover { color: var(--blue); background: var(--blue-light); }
.header-nav a.active { color: var(--blue); background: var(--blue-light); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.lang-switch a {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  border-radius: 0;
  letter-spacing: .5px;
}
.lang-switch a:hover { background: var(--gray-100); color: var(--gray-700); }
.lang-switch a.active { background: var(--blue); color: var(--white); }
.lang-switch a.active:hover { background: var(--blue-dark); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-700);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 80px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(166,204,56,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.5px;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.6;
}

/* Article hero (smaller) */
.hero--article { padding: 52px 0 44px; }
.hero--article h1 { font-size: 32px; }
.hero--article .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.5);
}
.hero--article .breadcrumb a { color: rgba(255,255,255,.65); }
.hero--article .breadcrumb a:hover { color: var(--white); }
.hero--article .breadcrumb span { color: rgba(255,255,255,.35); }

/* ========================================
   FAQ Category Cards (Homepage)
   ======================================== */
.faq-section { padding: 72px 0 80px; }
.faq-section > .container > h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin-bottom: 36px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  overflow: hidden;
}
.faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.faq-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.faq-card:hover::before { transform: scaleX(1); }

.faq-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.faq-card:hover .faq-card__icon {
  background: var(--blue);
  color: var(--white);
}
.faq-card__icon svg { width: 24px; height: 24px; }

.faq-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.faq-card h3 a { color: inherit; }
.faq-card h3 a:hover { color: var(--blue); }

.faq-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

.faq-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .3px;
}
.faq-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.faq-card:hover .faq-card__link svg { transform: translateX(4px); }

/* ========================================
   Support CTA Banner
   ======================================== */
.support-cta {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 48px 0;
}
.support-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.support-cta p {
  font-size: 17px;
  color: var(--gray-700);
}
.support-cta p strong { color: var(--gray-900); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .3px;
  text-decoration: none;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(245,127,31,.3);
}
.btn--primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(245,127,31,.4);
  transform: translateY(-1px);
}
.btn--outline {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
}
.btn--white:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ========================================
   Category Page
   ======================================== */
.category-content { padding: 56px 0 80px; }

.article-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }

.article-card {
  display: block;
  padding: 32px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.article-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.article-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.article-card:hover h3 { color: var(--blue); }
.article-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 12px;
}
.article-card__meta {
  font-size: 13px;
  color: var(--gray-300);
  font-weight: 700;
}

/* Other topics sidebar/grid */
.other-topics { margin-bottom: 48px; }
.other-topics h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin-bottom: 20px;
}
.other-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.other-topics__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  transition: all var(--transition);
}
.other-topics__card:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.other-topics__card svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* ========================================
   Article Page
   ======================================== */
.article-content {
  padding: 56px 0 80px;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.article-body h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body .label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  color: var(--gray-700);
}
.article-body li { margin-bottom: 6px; }

.article-body img {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.article-body a { font-weight: 700; }

.article-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.article-nav h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin-bottom: 20px;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section { padding: 56px 0 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-700);
}
.contact-detail svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.contact-detail a { font-weight: 700; }

/* Form */
.contact-form {
  padding: 36px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,110,168,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.form-checkbox label {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
  font-weight: 400;
}

.form-privacy {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}
.form-privacy a { font-weight: 700; }

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.6);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 32px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-brand .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.footer-brand .social-link:hover { background: var(--blue); color: var(--white); }
.footer-brand .social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-legal { display: flex; gap: 24px; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .header-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .header-nav.open { display: flex; }
  .header-nav a { width: 100%; padding: 12px 16px; }
  .lang-switch { margin-left: 0; width: 100%; }
  .lang-switch a { flex: 1; text-align: center; }

  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }

  .faq-grid { grid-template-columns: 1fr; }
  .other-topics__grid { grid-template-columns: 1fr; }

  .support-cta .container { flex-direction: column; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

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