/* ================================================================
   AI Campaign Lab — Surface & Hero System
   Apple-stijl oppervlakken, hero-secties en diepte-lagen.

   Apple's aanpak: diepte door hiërarchie, niet door decoratie.
   Geen excessive glassmorphism. Oppervlakken zijn ofwel wit,
   lichtgrijs of (op de donkere hero) doorzichtig-wit.
   ================================================================ */

/* ════════════════════════════════════════════════════════════════
   1.  HERO LANDING — donkere full-viewport sectie
   ════════════════════════════════════════════════════════════════ */

.acl-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 22px 60px;
  position: relative;
  overflow: hidden;

  /* Apple-zwart achtergrond */
  background-color: #000000;

  /* Subtiele radiale gloed bovenaan — zoals apple.com productpagina's */
  background-image:
    radial-gradient(
      ellipse 80% 50% at 50% -10%,
      rgba(72, 118, 255, 0.18) 0%,
      transparent 65%
    );
}

/* Subtiel diagonaal patroon — Apple gebruikt dit op sommige pagina's */
.acl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.acl-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
}

/* Eyebrow — klein, discreet label */
.acl-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

/* Display headline — wit op zwart */
.acl-hero__title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 1.0;
  color: #f5f5f7;           /* Apple's off-white voor donkere achtergronden */
  margin-bottom: 28px;
}

/* Copy-blok */
.acl-hero__copy {
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.acl-hero__copy strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.acl-hero__tagline {
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 56px;
  font-style: italic;
}

/* Class-selector container */
.acl-hero__select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.acl-hero__select-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

/* Meta-pills onderaan */
.acl-hero__footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.acl-hero__pill {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
}

/* ─── Class-cards op donkere achtergrond ──────────────────────── */
/* Apple zou dit doen met wit-op-zwart frosted glass cards. */
.class-cards {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.class-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius, 18px);
  padding: 36px 52px;
  cursor: pointer;
  transition:
    background   0.2s ease,
    border-color 0.2s ease,
    transform    0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  text-decoration: none;
  color: var(--white, #fff);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.class-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--white, #fff);
}

.class-card:active {
  transform: scale(0.98) translateY(-1px);
}

.class-card__icon  { font-size: 2.4rem; }
.class-card__name  {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f5f5f7;
}
.class-card__count {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ════════════════════════════════════════════════════════════════
   2.  DASHBOARD WELCOME — clean wit, Apple-stijl
   ════════════════════════════════════════════════════════════════ */

/* Geen kleurrijke ambient achtergrond. Apple gebruikt witruimte. */
.dash-welcome {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--separator, #e8e8ed);
  margin-bottom: 0;
}

.dash-welcome__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--branch-color, var(--blue, #0071e3));
  margin-bottom: 10px;
}

.dash-welcome__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--gray-1, #1d1d1f);
  margin-bottom: 8px;
}

.dash-welcome__sub {
  font-size: 1.0625rem;
  color: var(--muted, #6e6e73);
  line-height: 1.47;
  max-width: 560px;
}

/* ════════════════════════════════════════════════════════════════
   3.  APPLE CARD — het standaard kaartoppervlak
   ════════════════════════════════════════════════════════════════ */

/*
  Apple gebruikt geen zware schaduwen of borders.
  Kaarten zijn wit op een lichtgrijze pagina-achtergrond.
  De contrast doet het werk.
*/
.apple-card {
  background: var(--white, #fff);
  border-radius: var(--radius, 18px);
  overflow: hidden;
  /* Heel subtiele schaduw — slechts zichtbaar aan de rand */
  box-shadow:
    0 1px 0   rgba(0, 0, 0, 0.04),
    0 2px 10px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow var(--duration, 0.25s) ease,
    transform  var(--duration, 0.25s) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.apple-card:hover {
  box-shadow:
    0 2px 0   rgba(0, 0, 0, 0.04),
    0 6px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════
   4.  FEATURED CARD — voor prominente actie-elementen
   ════════════════════════════════════════════════════════════════ */

/*
  Apple gebruikt voor "aanbevolen" kaarten een donkere achtergrond
  (vergelijkbaar met App Store "Editor's Choice").
*/
.featured-card {
  background: var(--gray-1, #1d1d1f);
  border-radius: var(--radius, 18px);
  color: #f5f5f7;
  overflow: hidden;
  position: relative;
}

/* Subtiele gloed bovenaan de featured card */
.featured-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 40%,
    rgba(255, 255, 255, 0.12) 60%,
    transparent 100%
  );
}

/* ════════════════════════════════════════════════════════════════
   5.  TINTED CARD — lichte tint voor actie-cards
   ════════════════════════════════════════════════════════════════ */

/*
  Apple gebruikt zeer lichte tints — bijna wit.
  De "action card" (Wat moet ik nu doen?) is blauw-getint.
*/
.tinted-card {
  background: var(--blue-light, #e8f0fd);
  border-radius: var(--radius, 18px);
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════
   6.  SEPARATOR / SECTION BREAK — Apple-stijl
   ════════════════════════════════════════════════════════════════ */

.section-divider {
  border: none;
  border-top: 1px solid var(--separator, #e8e8ed);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   7.  STUDENT-SELECTIE — zoekpagina
   ════════════════════════════════════════════════════════════════ */

.student-select-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 22px 72px;
  text-align: center;
  background: var(--bg, #fbfbfd);
}

/* ════════════════════════════════════════════════════════════════
   8.  FROSTED GLASS — beperkt gebruik (enkel header)
   ════════════════════════════════════════════════════════════════ */

.glass-header {
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
