/* Afstudeerstage.nl - Coming Soon */
/* Ultralichte achtergrond, wit blok met schaduw, geen mobiele scroll */

/* 1. Variabelen */
:root {
  --color-bg-page: #fafafa; /* ultralichte achtergrond */
  --color-text-primary: #1a1a1c;
  --color-text-secondary: rgba(26, 26, 28, 0.65);
  --color-accent: #007aff;
  --color-accent-hover: #006ee6;
  --color-live-dot: #ff3b30;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
}

/* 2. Reset en basis */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  background: var(--color-bg-page);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  height: 100svh; /* pakt veilige viewport-hoogte op mobiel */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Geen extra ruimte zodat er geen scroll ontstaat */
  margin: 0;
  padding: 0;
  overflow: hidden; /* voorkomt scrollbars op mobiel */
  text-align: center;
}

/* 3. Content wrapper: wit blok met schaduw */
.content-wrapper {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 24px;
  padding: var(--space-2xl);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);

  animation: contentFadeIn 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
}

@keyframes contentFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* 4. Logo groter */
.logo {
  width: 96px;  /* groter icoon */
  height: 96px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-primary);
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.logo svg { width: 100%; height: 100%; display: block; }

/* 5. Typografie */
.title {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.subtitle {
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* 6. Status indicator */
.status-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-live-dot);
  border-radius: 50%;
  animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); transform: scale(1); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); transform: scale(1.06); }
}

.status-text { font-feature-settings: "tnum"; }

/* 7. Call to action */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, padding-right 0.25s ease, background-color 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.25);
}

.cta-button::before {
  content: "›";
  position: absolute;
  right: 16px;
  opacity: 0;
  transform: translateX(-8px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  font-size: 1.2rem;
  line-height: 1;
}

.cta-button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0, 122, 255, 0.35);
  padding-right: 42px;
}

.cta-button:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.cta-button:active {
  transform: translateY(0) scale(1);
  transition-duration: 0.1s;
}

.cta-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--color-accent);
}

/* 8. Footer */
.footer {
  margin-top: var(--space-lg);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-align: center;
  user-select: none;
  pointer-events: none;
}

/* 9. Responsiveness */
@media (max-width: 768px) {
  .content-wrapper { padding: var(--space-xl); border-radius: 20px; }
  .logo { width: 88px; height: 88px; margin-bottom: var(--space-md); }
  .status-indicator { margin-bottom: var(--space-lg); }
  .cta-button { padding: 12px 24px; }
}

@media (max-width: 480px) {
  .content-wrapper { padding: var(--space-lg); border-radius: 16px; }
  .logo { width: 80px; height: 80px; margin-bottom: var(--space-sm); }
  .title { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .subtitle { font-size: clamp(1rem, 4vw, 1.1rem); }
  .status-indicator { font-size: 0.9rem; margin-bottom: var(--space-md); }
  .pulsing-dot { width: 7px; height: 7px; }
  /* Zorg dat alles in 100svh past op kleine schermen */
  body { overflow: hidden; }
}

/* 10. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cta-button::before { display: none; }
  .content-wrapper { opacity: 1; transform: none; }
  .logo { animation: none; }
  .pulsing-dot { animation: none; }
}
/* Herstel horizontale ruimte op mobiel, zonder verticale extra ruimte */
@media (max-width: 768px) {
  body {
    padding-inline: clamp(12px, 4vw, 20px);
  }
}

@media (max-width: 480px) {
  body {
    padding-inline: clamp(12px, 5vw, 20px);
  }
}
