/* ==========================================================================
   BEZITKAART.NL - Pure HTML & Vanilla CSS Stylesheet
   100% Framework-Free Responsive CSS Layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Variables)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-navy-dark: #071322;
  --color-navy-card: #09182B;
  --color-navy-light: #0F1D30;
  
  --color-orange-primary: #E85D00;
  --color-orange-hover: #D05200;
  --color-orange-light: #FFF4EC;

  --color-blue-accent: #2563EB;
  --color-blue-light: #EFF6FF;

  --color-bg-page: #081220;
  --color-bg-card: #FFFFFF;
  --color-bg-button: #F8FAFC;
  --color-bg-info: #FAFCFF;

  --color-text-main: #0F1D30;
  --color-text-muted: #64748B;
  --color-text-body: #475569;
  --color-text-light: #94A3B8;
  --color-text-white: #FFFFFF;

  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shadows */
  --shadow-main: 0 25px 60px -15px rgba(0, 0, 0, 0.45), 0 0 2px rgba(255, 255, 255, 0.08);
  --shadow-card-hover: 0 12px 28px -5px rgba(0, 0, 0, 0.08);
  --shadow-button: 0 4px 14px rgba(232, 93, 0, 0.35);

  /* Border Radii */
  --radius-main: 28px;
  --radius-card: 20px;
  --radius-button: 14px;
  --radius-sm: 10px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Rules
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* The browser's default [hidden] rule has very low specificity, so any class below that sets
   its own `display` (buttons, flex/grid containers, etc.) silently wins and the element stays
   visible even after JS sets el.hidden = true. Keeping this rule wins that fight everywhere. */
[hidden] {
  display: none !important;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-family);
  background-color: var(--color-bg-page);
  background-image: radial-gradient(circle at 50% 20%, #11233D 0%, #081220 100%);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   3. Page Wrapper & Container
   -------------------------------------------------------------------------- */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.card-container {
  width: 100%;
  max-width: 840px;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   4. Header Section & Top-Right Art
   -------------------------------------------------------------------------- */
.card-header {
  position: relative;
  padding: 36px 36px 16px 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 140px;
}

/* Top Right Corner Background Illustration */
.top-right-art {
  position: absolute;
  top: -95px;
  right: 0;
  width: 380px;
  height: 320px;
  object-fit: cover;
  object-position: top right;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
  mask-image: radial-gradient(circle at 85% 15%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 85% 15%, black 40%, transparent 85%);
}

.logo-brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Profile Section (Jelle den Exter)
   -------------------------------------------------------------------------- */
.profile-section {
  position: relative;
  z-index: 2;
  padding: 12px 36px 28px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  border: 4px solid #FFFFFF;
  display: block;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-navy-light);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.profile-role {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-orange-primary);
  margin-top: 4px;
  margin-bottom: 10px;
}

.profile-description {
  font-size: 14.5px;
  color: var(--color-text-body);
  line-height: 1.5;
  max-width: 480px;
}

/* --------------------------------------------------------------------------
   6. Action Buttons Grid (4 Columns)
   -------------------------------------------------------------------------- */
.actions-grid {
  padding: 0 36px 32px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.action-card {
  background-color: var(--color-bg-button);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  position: relative;
}

.action-card:hover, .action-card:focus-visible {
  background-color: #FFFFFF;
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.action-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--color-navy-light);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(15, 29, 48, 0.15);
  transition: var(--transition);
}

.action-card:hover .action-icon-box {
  background-color: var(--color-orange-primary);
  box-shadow: 0 6px 14px rgba(232, 93, 0, 0.25);
  transform: scale(1.05);
}

.action-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.action-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy-light);
  margin-bottom: 2px;
  text-align: center;
  white-space: nowrap;
}

.action-subtext {
  font-size: 12.5px;
  color: var(--color-text-muted);
  text-align: center;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   7. Middle Showcase Section (Dark Card)
   -------------------------------------------------------------------------- */
.showcase-card {
  margin: 0 36px 32px 36px;
  background-color: var(--color-navy-card);
  border-radius: var(--radius-card);
  padding: 32px;
  color: var(--color-text-white);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.showcase-content {
  display: flex;
  flex-direction: column;
}

.showcase-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-orange-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.showcase-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.showcase-title .highlight {
  color: var(--color-orange-primary);
}

.showcase-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

/* Checklist */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  stroke-width: 3;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-orange-primary);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: var(--transition);
  align-self: center;
}

.cta-button:hover, .cta-button:focus-visible {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 0, 0.45);
}

.cta-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

/* Laptop Display Image */
.showcase-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

/* --------------------------------------------------------------------------
   8. Bottom Info Bar
   -------------------------------------------------------------------------- */
.info-bar {
  padding: 24px 36px;
  background-color: var(--color-bg-info);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-light);
  flex-shrink: 0;
  transition: var(--transition);
}

.info-item:hover .info-icon {
  border-color: var(--color-orange-primary);
  color: var(--color-orange-primary);
  background-color: var(--color-orange-light);
}

.info-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.info-text-group {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy-light);
}

.info-value {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   9. Footer Bar
   -------------------------------------------------------------------------- */
.card-footer {
  background-color: var(--color-navy-dark);
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom-left-radius: var(--radius-main);
  border-bottom-right-radius: var(--radius-main);
}

.jelle-logo-img {
    object-fit: contain;
    box-sizing: border-box;
    width: auto;
    max-width: 70%;
}

.jelle-logo-img-dark {
  background: #FFFFFF;
  padding: 3px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--color-text-light);
}

.footer-tagline .highlight {
  color: var(--color-orange-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Interactive Toast & Modal Styles
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--color-navy-dark);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. Responsive Media Queries (Mobile & Tablet)
   -------------------------------------------------------------------------- */

/* Medium Tablet (768px and down) */
@media screen and (max-width: 768px) {
  .page-wrapper {
    padding: 20px 12px;
  }

  .card-container {
    border-radius: 22px;
  }

  .card-header {
    padding: 24px 24px 12px 24px;
  }

  .top-right-art {
    width: 280px;
    height: 180px;
  }

  .profile-section {
    padding: 12px 24px 24px 24px;
    gap: 20px;
  }

  .profile-avatar {
    width: 96px;
    height: 96px;
  }

  .profile-name {
    font-size: 24px;
  }

  .actions-grid {
    padding: 0 24px 24px 24px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .showcase-card {
    margin: 0 24px 24px 24px;
    padding: 24px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .showcase-title {
    font-size: 24px;
  }

  .info-bar {
    padding: 20px 24px;
    gap: 16px;
  }

  .card-footer {
    padding: 18px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Small Mobile (480px and down) */
@media screen and (max-width: 480px) {
  .card-header {
    padding: 20px 16px 10px 16px;
  }

  .top-right-art {
    display: none;
  }

  .profile-section {
    padding: 10px 16px 20px 16px;
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 22px;
  }

  .profile-role {
    font-size: 15px;
  }

  .profile-description {
    font-size: 13.5px;
  }

  .actions-grid {
    padding: 0 16px 20px 16px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .action-card {
    padding: 16px 8px;
  }

  .action-icon-box {
    width: 40px;
    height: 40px;
  }

  .action-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .action-title {
    font-size: 13.5px;
  }

  .action-subtext {
    font-size: 11.5px;
  }

  .showcase-card {
    margin: 0 16px 20px 16px;
    padding: 20px 16px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .info-bar {
    padding: 16px;
  }
}

/* Concept preview (?preview=1, app/content-loader.js) - same bar as on the other pages. */
.bk-preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #1E293B; color: #fff; font-size: 14px; line-height: 1.4; padding: 10px 16px; text-align: center; }
.bk-preview-bar.bk-preview-warn { background: #B45309; }
.bk-preview-bar a { color: #FED7AA !important; text-decoration: underline; }
