/* Copyright (c) Adnan Kazan */
/* ================================================
   FIRSTDESK LANDING — firstdesk-landing.css
   Geladen NA firstdesk.css op de landingspagina.
   Stitch: firstdesk_homepage_bold_branded
   ================================================ */

.fd-landing-body {
  font-family: 'Inter', sans-serif;
  background: var(--fd-background);
  color: var(--fd-on-surface);
}

.fd-landing-body .fd-shell--landing {
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

/* ========================================
   NAV — Stitch: glassmorphism topbar
   ======================================== */
.fd-landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(24px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(195, 197, 216, 0.3);
}

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

.fd-landing-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--fd-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--fd-font-headline);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.fd-landing-logo {
  font-family: var(--fd-font-headline);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  color: var(--fd-primary);
}

.fd-landing-logo-dot {
  font-family: var(--fd-font-headline);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  color: var(--fd-on-surface);
}

.fd-landing-nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ========================================
   HERO — Stitch: 2-column, huge type
   ======================================== */
.fd-landing-hero {
  position: relative;
  z-index: 1;
  padding: 140px clamp(24px, 5vw, 64px) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Full-width hero wrapper */
.fd-landing-hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--fd-surface-low) 100%);
}

.fd-landing-hero-section::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 75, 227, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.fd-landing-hero-left {
  position: relative;
  z-index: 1;
}

/* Live badge */
.fd-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--fd-radius-full);
  background: rgba(0, 75, 227, 0.08);
  border: 1px solid rgba(0, 75, 227, 0.18);
  color: var(--fd-primary);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.fd-live-badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.fd-live-badge-dot-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--fd-primary);
  opacity: 0.75;
  animation: fd-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.fd-live-badge-dot-core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fd-primary);
  display: block;
}

@keyframes fd-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Hero headline */
.fd-hero-title {
  font-family: var(--fd-font-headline);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.97;
  color: var(--fd-on-surface);
  margin: 0 0 24px;
}

.fd-title-accent {
  color: var(--fd-primary);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: rgba(0, 75, 227, 0.15);
  text-underline-offset: 6px;
}

.fd-hero-lead {
  color: var(--fd-on-surface-variant);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 54ch;
  font-weight: 500;
  opacity: 0.9;
}

/* Hero CTAs */
.fd-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}

.fd-button--hero-primary {
  padding: 18px 40px;
  background: var(--fd-primary);
  color: #fff;
  border: none;
  border-radius: var(--fd-radius-xl);
  font-family: var(--fd-font-headline);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 48px -8px rgba(0, 75, 227, 0.42);
  transition: background 160ms ease, transform 140ms ease, box-shadow 160ms ease;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.fd-button--hero-primary:hover {
  background: var(--fd-primary-container);
  transform: translateY(-2px);
  box-shadow: 0 28px 56px -8px rgba(0, 75, 227, 0.48);
}

.fd-button--hero-primary:active { transform: scale(0.97); }

.fd-button--hero-outline {
  padding: 18px 40px;
  background: #fff;
  color: var(--fd-on-surface);
  border: 2px solid var(--fd-outline-variant);
  border-radius: var(--fd-radius-xl);
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--fd-font-headline);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(22, 27, 41, 0.05);
  letter-spacing: -0.01em;
}

.fd-button--hero-outline:hover {
  border-color: var(--fd-primary);
  color: var(--fd-primary);
  box-shadow: 0 4px 16px rgba(22, 27, 41, 0.08);
}

/* Chip row */
.fd-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fd-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--fd-radius-full);
  background: var(--fd-surface-high);
  color: var(--fd-on-surface-variant);
  font-size: 0.73rem;
  font-weight: 600;
}

/* Hero right: mock terminal card */
.fd-landing-hero-right {
  position: relative;
}

.fd-hero-mock-frame {
  position: relative;
  background: #1a1f2e;
  border-radius: 2.5rem;
  padding: 16px;
  box-shadow:
    0 32px 64px -12px rgba(0, 75, 227, 0.32),
    0 8px 24px rgba(0, 0, 0, 0.15);
  transform: rotate(2.5deg);
  transition: transform 600ms ease;
  border: 8px solid rgba(255, 255, 255, 0.08);
}

.fd-landing-hero-right:hover .fd-hero-mock-frame {
  transform: rotate(0deg);
}

.fd-hero-mock-inner {
  border-radius: 2rem;
  overflow: hidden;
  background: #0f1117;
  min-height: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Mock terminal header */
.fd-hero-mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #1a1f2e;
}

.fd-hero-mock-titlebar-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.fd-hero-mock-titlebar-dot:nth-child(1) { background: #ff5f57; }
.fd-hero-mock-titlebar-dot:nth-child(2) { background: #febc2e; }
.fd-hero-mock-titlebar-dot:nth-child(3) { background: #28c840; }

.fd-hero-mock-titlebar-label {
  margin-left: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Mock content area */
.fd-hero-mock-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(160deg, #0d1117 0%, #111827 100%);
}

.fd-hero-mock-panel {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fd-hero-mock-panel--accent {
  background: rgba(0, 75, 227, 0.28);
}

.fd-hero-mock-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.fd-hero-mock-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Glass overlay at bottom of mock */
.fd-hero-mock-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
}

.fd-hero-mock-glass-inner {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.fd-hero-mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fd-hero-mock-avatar .material-symbols-outlined {
  color: #fff;
  font-size: 20px;
}

.fd-hero-mock-meta-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: block;
}

.fd-hero-mock-meta-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  display: block;
}

/* Glow behind mock frame */
.fd-hero-glow-blob {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: rgba(0, 75, 227, 0.18);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

/* ========================================
   FEATURES — Stitch: white cards rounded-2rem
   ======================================== */
.fd-landing-features-section {
  background: var(--fd-surface-low);
  border-top: 1px solid rgba(195, 197, 216, 0.25);
  border-bottom: 1px solid rgba(195, 197, 216, 0.25);
}

.fd-landing-features {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px clamp(24px, 5vw, 64px);
  box-sizing: border-box;
}

.fd-landing-features-header {
  text-align: center;
  margin-bottom: 64px;
}

.fd-landing-features-header h2 {
  font-family: var(--fd-font-headline);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--fd-on-surface);
}

.fd-landing-features-header p {
  color: var(--fd-on-surface-variant);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 60ch;
  margin: 0 auto;
  font-weight: 500;
  opacity: 0.85;
}

.fd-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fd-feature-card {
  background: #fff;
  border-radius: 2rem;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(22, 27, 41, 0.04);
  border: 1px solid rgba(195, 197, 216, 0.3);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.fd-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -12px rgba(0, 75, 227, 0.12);
}

.fd-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 75, 227, 0.08);
  border: 1px solid rgba(0, 75, 227, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.fd-feature-icon .material-symbols-outlined {
  color: var(--fd-primary);
  font-size: 28px;
}

.fd-feature-icon--tertiary {
  background: var(--fd-tertiary-fixed);
  border-color: var(--fd-on-tertiary-fixed);
}

.fd-feature-icon--tertiary .material-symbols-outlined {
  color: var(--fd-on-tertiary-fixed);
}

.fd-feature-card h3 {
  font-family: var(--fd-font-headline);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--fd-on-surface);
}

.fd-feature-card p {
  font-size: 1rem;
  color: var(--fd-on-surface-variant);
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
}

/* ========================================
   EDITORIAL — Stitch: 2-col met image + checklist
   ======================================== */
.fd-landing-editorial {
  background: #fff;
  padding: 120px clamp(24px, 5vw, 64px);
  overflow: hidden;
}

.fd-landing-editorial-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 96px;
  box-sizing: border-box;
}

/* Left: rotated image/terminal card */
.fd-editorial-visual {
  width: 50%;
  flex-shrink: 0;
  position: relative;
}

.fd-editorial-bg-blob {
  position: absolute;
  bottom: -48px;
  left: -48px;
  width: 256px;
  height: 256px;
  background: var(--fd-secondary-container);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.5;
  pointer-events: none;
}

.fd-editorial-frame {
  background: #1a1f2e;
  border-radius: 3rem;
  padding: 16px;
  transform: rotate(-2.5deg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 1;
}

.fd-editorial-frame-inner {
  border-radius: 2.5rem;
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(160deg, #0d1117 0%, #111827 100%);
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 16px;
}

.fd-editorial-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.fd-editorial-mock-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 75, 227, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fd-editorial-mock-icon .material-symbols-outlined {
  color: var(--fd-primary-fixed-dim);
  font-size: 18px;
}

.fd-editorial-mock-text-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.fd-editorial-mock-text-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  display: block;
}

.fd-editorial-mock-status {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 127, 78, 0.2);
  color: #4ade80;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Right: content */
.fd-editorial-content {
  flex: 1;
}

.fd-editorial-content h2 {
  font-family: var(--fd-font-headline);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 48px;
  color: var(--fd-on-surface);
}

.fd-editorial-content h2 span {
  color: var(--fd-primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 75, 227, 0.2);
  text-underline-offset: 10px;
}

.fd-check-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fd-check-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.fd-check-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 75, 227, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fd-check-icon .material-symbols-outlined {
  color: var(--fd-primary);
  font-size: 24px;
  font-variation-settings: 'FILL' 1;
}

.fd-check-item h4 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--fd-on-surface);
  margin: 0 0 6px;
  font-family: var(--fd-font-headline);
}

.fd-check-item p {
  font-size: 1rem;
  color: var(--fd-on-surface-variant);
  margin: 0;
  line-height: 1.65;
  font-weight: 500;
  opacity: 0.85;
}

/* ========================================
   CTA — Stitch: mega canvas with rocket
   ======================================== */
.fd-landing-cta-section {
  padding: 80px clamp(24px, 5vw, 64px);
  background: var(--fd-background);
}

.fd-landing-cta-inner {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--fd-primary);
  border-radius: 3rem;
  padding: 80px clamp(48px, 8vw, 96px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 48px 80px -16px rgba(0, 75, 227, 0.42);
}

.fd-landing-cta-rocket {
  position: absolute;
  top: -24px;
  right: -24px;
  opacity: 0.08;
  pointer-events: none;
  transform: rotate(12deg);
  line-height: 1;
}

.fd-landing-cta-rocket .material-symbols-outlined {
  font-size: 320px;
  color: #fff;
}

.fd-landing-cta-inner h2 {
  font-family: var(--fd-font-headline);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  line-height: 1.0;
  position: relative;
  z-index: 1;
}

.fd-landing-cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 48px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.fd-landing-cta-inner p strong {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.fd-button--cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 22px 56px;
  background: #fff;
  color: var(--fd-primary);
  border: none;
  border-radius: var(--fd-radius-xl);
  font-family: var(--fd-font-headline);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.fd-button--cta-white:hover {
  transform: scale(1.05);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.fd-button--cta-white:active { transform: scale(0.97); }

/* ========================================
   FOOTER — Stitch: white 2-col
   ======================================== */
.fd-landing-footer {
  background: #fff;
  border-top: 1px solid rgba(195, 197, 216, 0.3);
}

.fd-landing-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  box-sizing: border-box;
}

.fd-landing-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fd-landing-footer-logo {
  font-family: var(--fd-font-headline);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--fd-primary);
  letter-spacing: -0.03em;
}

.fd-landing-footer-copy {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fd-on-surface-variant);
  opacity: 0.65;
}

.fd-landing-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.fd-landing-footer-nav a {
  font-family: var(--fd-font-headline);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fd-on-surface-variant);
  text-decoration: underline;
  text-decoration-color: rgba(0, 75, 227, 0.2);
  text-underline-offset: 6px;
  transition: color 140ms ease;
}

.fd-landing-footer-nav a:hover {
  color: var(--fd-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .fd-landing-hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    gap: 48px;
  }

  .fd-landing-hero-right {
    max-width: 520px;
    margin: 0 auto;
  }

  .fd-feature-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .fd-landing-editorial-inner {
    flex-direction: column;
    gap: 48px;
  }

  .fd-editorial-visual {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .fd-landing-nav { padding: 14px 20px; }

  .fd-hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); }

  .fd-hero-actions { flex-direction: column; align-items: stretch; }

  .fd-button--hero-primary,
  .fd-button--hero-outline {
    justify-content: center;
    padding: 16px 28px;
  }

  .fd-feature-card { padding: 28px; border-radius: 1.5rem; }

  .fd-landing-cta-inner {
    border-radius: 2rem;
    padding: 48px 28px;
  }

  .fd-landing-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .fd-landing-features-header h2 { font-size: 2rem; }
  .fd-editorial-content h2 { font-size: 2rem; }
  .fd-landing-cta-inner h2 { font-size: 2rem; }
}
