/* FDZ DOCUM Design System - Luxury SalesPort Blue & Prussian Midnight */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block');

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v377/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOem.ttf) format('truetype');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

:root {
  /* SalesPort Luxury Palette:
     - Prussian Blue: #031130 (Deep Midnight Navy Canvas)
     - SalesPort Blue: #185DF1 (Primary Electric Blue)
     - Alice Blue: #F3F7FE (Crisp Icy White)
  */
  --bg-canvas: #020919;
  --bg-surface: #031130;
  --bg-surface-low: #010612;
  --bg-surface-elevated: #081a42;
  --bg-card: #071536;
  --bg-card-hover: #0c204e;
  
  --border-subtle: rgba(243, 247, 254, 0.08);
  --border-light: rgba(243, 247, 254, 0.16);
  --border-prussian: rgba(3, 17, 48, 0.85);
  --border-highlight: rgba(24, 93, 241, 0.5);
  
  --primary-blue: #185DF1;
  --primary-blue-hover: #2f71fc;
  --primary-gradient: linear-gradient(135deg, #185DF1 0%, #0d4ecf 100%);
  --salesport-gradient: linear-gradient(135deg, #185DF1 0%, #031130 100%);
  
  --prussian-blue: #031130;
  --prussian-glow: rgba(3, 17, 48, 0.6);
  --blue-glow: rgba(24, 93, 241, 0.35);
  
  --text-alice: #F3F7FE;
  --text-primary: #F3F7FE;
  --text-secondary: #a6c0e8;
  --text-muted: #627fa8;
  
  --badge-dark: #081a42;
  --badge-dark-hover: #0e2762;
  
  --status-success: #10b981;
  --status-warning: #f59e0b;
}

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border-subtle);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation Baseline */
@media (min-width: 768px) {
  #desktop-nav {
    display: flex !important;
  }
}

/* Header & Responsive Baseline */
header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(3, 17, 48, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24, 93, 241, 0.15);
}
header .header-inner {
  height: 3.75rem; /* 60px on mobile */
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  header .header-inner {
    height: 4.5rem; /* 72px on desktop */
  }
}

/* Photorealistic iPhone Titanium Chassis */
.iphone-titanium-chassis {
  position: relative;
  background: linear-gradient(135deg, #383e4a 0%, #687285 15%, #232730 35%, #5a6477 65%, #2b313d 85%, #464f5f 100%);
  border-radius: 46px;
  padding: 9px;
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.95),
    0 15px 35px -10px rgba(24, 93, 241, 0.25),
    inset 0 1px 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px 1px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
@media (min-width: 640px) {
  .iphone-titanium-chassis {
    border-radius: 52px;
    padding: 10px;
  }
}

/* Inner OLED Bezel */
.iphone-screen-bezel {
  background: #000000;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08), 0 0 0 1px #040914;
}
@media (min-width: 640px) {
  .iphone-screen-bezel {
    border-radius: 43px;
  }
}

/* Physical Hardware Buttons */
.iphone-btn-action {
  position: absolute;
  left: -3px;
  top: 88px;
  width: 3.5px;
  height: 20px;
  background: linear-gradient(to right, #242933, #5a6375);
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.6);
}
.iphone-btn-vol-up {
  position: absolute;
  left: -3px;
  top: 122px;
  width: 3.5px;
  height: 38px;
  background: linear-gradient(to right, #242933, #5a6375);
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.6);
}
.iphone-btn-vol-down {
  position: absolute;
  left: -3px;
  top: 172px;
  width: 3.5px;
  height: 38px;
  background: linear-gradient(to right, #242933, #5a6375);
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.6);
}
.iphone-btn-power {
  position: absolute;
  right: -3px;
  top: 130px;
  width: 3.5px;
  height: 58px;
  background: linear-gradient(to left, #242933, #5a6375);
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 2px rgba(0,0,0,0.6);
}

/* Antenna Band Accents */
.iphone-antenna-left {
  position: absolute;
  left: -0.5px;
  top: 65px;
  width: 1.5px;
  height: 5px;
  background: #14171d;
}
.iphone-antenna-right {
  position: absolute;
  right: -0.5px;
  top: 65px;
  width: 1.5px;
  height: 5px;
  background: #14171d;
}

/* Dynamic Island */
.iphone-dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 23px;
  background: #000000;
  border-radius: 9999px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 0 0.5px rgba(255,255,255,0.06);
}
@media (min-width: 640px) {
  .iphone-dynamic-island {
    width: 88px;
    height: 25px;
    top: 13px;
    padding: 0 8px;
  }
}

/* Glass Reflection Sheen */
.iphone-glass-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 28%, transparent 45%, rgba(255,255,255,0.015) 75%, transparent 100%);
  pointer-events: none;
  z-index: 25;
  border-radius: 38px;
}
@media (min-width: 640px) {
  .iphone-glass-sheen {
    border-radius: 43px;
  }
}

.hero-shortform-headline {
  font-size: clamp(1.65rem, 7.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .hero-shortform-headline {
    font-size: 2.25rem;
    line-height: 1.18;
  }
}
@media (min-width: 768px) {
  .hero-shortform-headline {
    font-size: 2.75rem;
    line-height: 1.16;
  }
}
@media (min-width: 1024px) {
  .hero-shortform-headline {
    font-size: 3.35rem;
    line-height: 1.15;
  }
}

.creator-avatar-img {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 9999px;
  object-fit: cover;
  background-color: #081a42;
  border: 1px solid rgba(24, 93, 241, 0.3);
  display: block;
}

/* Ergonomic Modern Dark Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #020919;
}
::-webkit-scrollbar-thumb {
  background: #081a42;
  border-radius: 4px;
  border: 1px solid rgba(24, 93, 241, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Selection */
::selection {
  background-color: rgba(24, 93, 241, 0.4);
  color: #F3F7FE;
}

/* Typography Utility */
.font-headline {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.font-body {
  font-family: 'Manrope', sans-serif !important;
}
.font-label {
  font-family: 'Manrope', sans-serif !important;
}

/* Theme compatibility classes */
.bg-background { background-color: var(--bg-canvas) !important; }
.bg-surface { background-color: var(--bg-surface) !important; }
.bg-surface-container { background-color: var(--bg-card) !important; }
.bg-surface-container-low { background-color: var(--bg-surface-low) !important; }
.bg-surface-container-highest { background-color: var(--bg-surface-elevated) !important; }
.bg-surface\/90 { background-color: rgba(3, 17, 48, 0.94) !important; }

.border-hairline-border { border-color: var(--border-subtle) !important; }
.border-hairline-border\/50 { border-color: rgba(243, 247, 254, 0.05) !important; }
.border-hairline-border\/60 { border-color: rgba(243, 247, 254, 0.07) !important; }

.bg-primary { background-color: var(--primary-blue) !important; color: #F3F7FE !important; }
.bg-primary\/80 { background-color: rgba(24, 93, 241, 0.8) !important; }
.bg-primary\/90 { background-color: rgba(24, 93, 241, 0.9) !important; }
.bg-primary\/20 { background-color: rgba(24, 93, 241, 0.2) !important; }
.bg-primary\/10 { background-color: rgba(24, 93, 241, 0.1) !important; }

.border-primary { border-color: var(--primary-blue) !important; }

.text-primary { color: #F3F7FE !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-on-surface { color: var(--text-primary) !important; }
.text-on-surface-variant { color: var(--text-secondary) !important; }
.text-surface { color: #F3F7FE !important; }

.text-archive-success { color: var(--status-success) !important; }
.bg-archive-success { background-color: var(--status-success) !important; }
.bg-archive-success\/15 { background-color: rgba(16, 185, 129, 0.15) !important; }

.text-archive-warning { color: var(--status-warning) !important; }
.bg-archive-warning { background-color: var(--status-warning) !important; }
.bg-archive-warning\/20 { background-color: rgba(245, 158, 11, 0.2) !important; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Primary CTA button */
.kc-btn-cuan {
  background: linear-gradient(135deg, #185DF1 0%, #0d4ecf 100%);
  color: #F3F7FE !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.625rem 1.25rem;
  border-radius: 0.625rem;
  min-height: 2.75rem; /* 44px minimum touch target */
  box-shadow: 0 4px 16px rgba(24, 93, 241, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.kc-btn-cuan:hover {
  background: linear-gradient(135deg, #2b6ff7 0%, #185DF1 100%);
  box-shadow: 0 6px 22px rgba(24, 93, 241, 0.5);
  transform: translateY(-1px);
}
.kc-btn-cuan:active {
  transform: scale(0.98);
}

/* Portfolio project card */
.kc-card {
  background: var(--bg-card);
  border: 1px solid rgba(24, 93, 241, 0.16);
  border-radius: 0.875rem;
  padding: 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.kc-card:hover {
  border-color: rgba(24, 93, 241, 0.55);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(3, 17, 48, 0.8), 0 0 20px rgba(24, 93, 241, 0.15);
}
.kc-card:active {
  transform: scale(0.99);
}

/* Media Thumbnail Container */
.kc-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.625rem;
  background-color: var(--bg-surface-low);
  border: 1px solid rgba(24, 93, 241, 0.15);
}

/* Category Badge */
.kc-badge {
  background: var(--badge-dark);
  color: #F3F7FE;
  border: 1px solid rgba(24, 93, 241, 0.3);
  border-radius: 0.375rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Active Tag / Filter */
.kc-tag-active {
  background: var(--primary-blue) !important;
  color: #F3F7FE !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 0 12px rgba(24, 93, 241, 0.4);
}

/* Highlighted Compensation / Rate */
.kc-rate-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #F3F7FE;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.kc-rate-price .kc-rate-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Progress / Budget Bar */
.kc-progress-container {
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}
.kc-progress-track {
  width: 100%;
  height: 4px;
  background-color: #031130;
  border: 1px solid rgba(24, 93, 241, 0.2);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.375rem;
}
.kc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #185DF1, #5ea0ff);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

/* Social Platform Icon Filter Pill (Instagram, YouTube, TikTok) */
.kc-platform-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--badge-dark);
  border: 1px solid rgba(24, 93, 241, 0.25);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.kc-platform-btn:hover, .kc-platform-btn.active {
  background-color: var(--primary-blue);
  color: #F3F7FE;
  border-color: var(--primary-blue);
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(24, 93, 241, 0.4);
}

/* Gradient Overlay for Video Thumbnails */
.video-overlay-gradient {
  background: linear-gradient(180deg, rgba(2,9,25,0.1) 0%, rgba(2,9,25,0.92) 100%);
}

/* Loading skeleton shimmer for dark mode */
.img-skeleton {
  background: linear-gradient(90deg, #071536 25%, #0d255d 50%, #071536 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile responsive touch target */
.mobile-nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}
#mobile-menu-btn {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom interactive input range in dark theme */
input[type="range"] {
  accent-color: var(--primary-blue);
}
input[type="checkbox"] {
  accent-color: var(--primary-blue);
}

/* Hide scrollbar for Chrome, Safari, Edge, Firefox */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==============================================================================
 * DYNAMIC MOTION & INTERACTIVE ANIMATIONS (WOW FACTOR)
 * ============================================================================== */

/* 1. Scroll Reveal Animations (Silky Smooth Fade Up) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 2. Floating Ambient Motion */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}
.animate-float {
  animation: floatSlow 4.5s ease-in-out infinite;
}

/* 3. Glowing Pulse for CTAs */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(24, 93, 241, 0.35);
  }
  50% {
    box-shadow: 0 0 26px rgba(24, 93, 241, 0.7), 0 0 8px rgba(94, 160, 255, 0.4);
  }
}
.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* 4. Ambient Aura Breathing */
@keyframes ambientGlow {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.08); }
}
.animate-ambient-glow {
  animation: ambientGlow 7s ease-in-out infinite;
}

/* 5. Smooth Card Elevation & Border Glow */
.kc-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}
.kc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.6), 0 0 22px rgba(24, 93, 241, 0.25);
  border-color: rgba(24, 93, 241, 0.5) !important;
}

/* 6. Button Shimmer Sweep on Hover */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.btn-shimmer:hover::after {
  transform: rotate(25deg) translateY(100%);
}

/* 7. Live Dot Pulse */
@keyframes statusDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.status-pulse-dot {
  animation: statusDotPulse 2s infinite;
}
