/* ===== MijnZZPGids.nl — Main Stylesheet ===== */

:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #eff6ff;
  --secondary: #f97316;
  --secondary-light: #fff7ed;
  --success: #16a34a;
  --success-light: #f0fdf4;
  --purple: #7c3aed;
  --purple-light: #faf5ff;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --card-shadow: 0 2px 20px rgba(0,0,0,0.07);
  --card-shadow-hover: 0 12px 40px rgba(26,86,219,0.15);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a56db, #1e429f);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}

.navbar-title {
  font-weight: 800;
  font-size: 19px;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.navbar-title .accent { color: var(--secondary); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.navbar-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.navbar-nav a:hover { background: var(--primary-light); color: var(--primary); }
.navbar-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--bg);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--border);
}

.lang-btn {
  border: none;
  background: none;
  padding: 5px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.lang-btn:hover:not(.active) { color: var(--text); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
  font-size: 22px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1a56db 0%, #1e429f 55%, #312e81 100%);
  color: white;
  padding: 90px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(249,115,22,0.08);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero h1 .highlight { color: #fbbf24; }

.hero p {
  font-size: 17px;
  opacity: 0.88;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-langs span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img, .hero-image svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: #f0f4ff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,86,219,0.3); }

.btn-orange { background: var(--secondary); color: white; }
.btn-orange:hover { background: #ea6c00; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,0.3); }

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: white;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ===== SECTION ===== */
.section {
  padding: 72px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header { margin-bottom: 44px; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
}

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.icon-blue { background: #dbeafe; }
.icon-green { background: #dcfce7; }
.icon-orange { background: #ffedd5; }
.icon-purple { background: #ede9fe; }
.icon-red { background: #fee2e2; }
.icon-teal { background: #ccfbf1; }
.icon-yellow { background: #fef9c3; }

.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s;
}
.card-link:hover { gap: 9px; }

/* Guide card with top border accent */
.guide-card { border-top: 3px solid transparent; }
.guide-card:hover { border-top-color: var(--primary); }

/* ===== TOOL CARDS ===== */
.tool-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  display: block;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.tool-card:hover::before { transform: scaleX(1); }

.tool-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26,86,219,0.15);
}

.tool-icon { font-size: 44px; margin-bottom: 14px; display: block; }
.tool-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.tool-card p { font-size: 14px; color: var(--text-muted); }

.tool-badge {
  display: inline-block;
  background: var(--success-light);
  color: var(--success);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* ===== CHECKLIST ===== */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checklist li:hover { border-color: #bfdbfe; box-shadow: 0 2px 12px rgba(26,86,219,0.08); }

.step-num {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: white;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(26,86,219,0.3);
}

.checklist li strong { display: block; font-weight: 700; margin-bottom: 3px; font-size: 15px; }
.checklist li span { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* ===== LANGUAGE BANNER ===== */
.lang-banner {
  background: linear-gradient(135deg, var(--primary-light), var(--purple-light));
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lang-flags { font-size: 36px; display: flex; gap: 8px; margin-bottom: 12px; }

/* ===== INFO / WARNING BOXES ===== */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
}

.warning-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
}

.success-box {
  background: var(--success-light);
  border-left: 4px solid var(--success);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== CALCULATOR ===== */
.calc-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.result-box {
  background: var(--primary-light);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 28px;
  display: none;
  animation: slideUp 0.3s ease;
}

.result-box.show { display: block; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid #dbeafe;
}

.result-row:last-of-type { border-bottom: none; }

.result-row.total {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid #bfdbfe;
  border-bottom: none;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  gap: 4px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 11px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  font-family: inherit;
}

.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover:not(.active) { color: var(--text); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== INVOICE ===== */
.invoice-preview {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  font-size: 14px;
  box-shadow: var(--card-shadow);
}

.invoice-header { display: flex; justify-content: space-between; margin-bottom: 32px; }
.invoice-title { font-size: 30px; font-weight: 900; color: var(--primary); letter-spacing: -1px; }

.invoice-table { width: 100%; border-collapse: collapse; margin: 20px 0; }

.invoice-table th {
  background: #f1f5f9;
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.invoice-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }

.invoice-totals { text-align: right; margin-top: 16px; }
.invoice-totals div { display: flex; justify-content: flex-end; gap: 48px; padding: 5px 0; font-size: 14px; }

.invoice-totals .grand-total {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  border-top: 2px solid var(--border);
  padding-top: 10px;
  margin-top: 6px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #1e3a8a, #1a56db);
  color: white;
  padding: 52px 32px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.page-header-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 { font-size: 38px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.5px; }
.page-header p { opacity: 0.85; font-size: 17px; max-width: 560px; line-height: 1.6; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep { opacity: 0.5; }

/* ===== ACCOUNTANT CARD ===== */
.accountant-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.accountant-card:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }

.accountant-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  background: var(--primary-light);
}

.accountant-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.accountant-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }

.lang-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.lang-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.lang-tag.arabic { background: #dcfce7; border-color: #86efac; color: #16a34a; }
.lang-tag.turkish { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.lang-tag.english { background: var(--primary-light); border-color: #bfdbfe; color: var(--primary); }
.lang-tag.dutch { background: #fef9c3; border-color: #fde68a; color: #92400e; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1a56db, #312e81);
  color: white;
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  transform: translateX(-50%);
}

.cta-section h2 { font-size: 36px; font-weight: 900; margin-bottom: 14px; letter-spacing: -0.5px; position: relative; }
.cta-section p { opacity: 0.85; margin-bottom: 32px; font-size: 18px; position: relative; }

/* ===== FOOTER ===== */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 32px 28px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 24px;
}

.footer-brand { margin-bottom: 14px; }
.footer-brand-name { color: white; font-size: 18px; font-weight: 800; margin-left: 10px; }
.footer-desc { font-size: 13px; line-height: 1.7; max-width: 240px; }

.footer-col h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-langs { display: flex; gap: 12px; }

/* ===== SECTION BG ALTERNATING ===== */
.section-alt { background: #f1f5f9; padding: 72px 0; }
.section-alt .section { padding-top: 0; padding-bottom: 0; }

/* ===== BADGE PILL ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-green { background: var(--success-light); color: var(--success); }
.badge-orange { background: var(--secondary-light); color: var(--secondary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .navbar-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 56px 20px 48px; }
  .stats-grid { gap: 28px; }
  .section { padding: 48px 20px; }
  .calc-box { padding: 24px; }
  .invoice-preview { padding: 20px; }
  .page-header { padding: 36px 20px; }
  .page-header h1 { font-size: 28px; }
  .cta-section { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 20px 20px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
}
