/* ==========================================================================
   Findx Digital Solutions - Solved Puzzle 1:1 Architecture & Design System
   Exact visual match: Minimalist DM Sans typography + Findx Signature Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  /* Solved Puzzle Color Tokens */
  --black: #111111;
  --black-solid: #000000;
  --dark-surface: #18181b;
  
  --white: #ffffff;
  --bg-light: #f7f7f8;
  --bg-subtle: #f0f0f2;
  --bg-hover: #eaeaea;

  --gray-900: #18181b;
  --gray-800: #27272a;
  --gray-700: #3f3f46;
  --gray-600: #52525b;
  --gray-500: #71717a;
  --gray-400: #a1a1aa;
  --gray-300: #d4d4d8;
  --gray-200: #e4e4e7;
  --gray-100: #f4f4f5;

  /* Findx Brand Signature Gradient */
  --accent-cyan: #00bcff;
  --accent-purple: #8b5cf6;
  --accent-pink: #d946ef;
  
  --brand-gradient: linear-gradient(135deg, #00bcff 0%, #8b5cf6 50%, #d946ef 100%);
  --brand-gradient-hover: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #f0abfc 100%);
  --brand-glow: 0 0 25px rgba(0, 188, 255, 0.3);

  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Measurements */
  --max-width: 1240px;
  --header-height: 76px;
  --topbar-height: 36px;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Shadows & Transitions */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--black);
  letter-spacing: -0.025em;
}

p {
  color: var(--gray-600);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Text Gradient Highlight */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-light {
  font-weight: 300;
}

.text-bold {
  font-weight: 700;
}

/* Video Placeholder Container & Play Button Overlay (▶) */
.video-placeholder-box {
  position: relative;
  width: 100%;
  height: 280px;
  background: radial-gradient(circle at center, #27272a 0%, #111111 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-normal);
}

.video-placeholder-box:hover {
  border-color: var(--accent-cyan);
  transform: scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 188, 255, 0.2);
}

.play-btn-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
}

.video-placeholder-box:hover .play-btn-circle {
  background: var(--brand-gradient);
  color: var(--white);
  transform: scale(1.1);
}

.video-label-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
}

/* Floating Back To Top Button */
.kit-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.kit-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.kit-back-to-top:hover {
  transform: translateY(-4px);
  background: var(--brand-gradient);
}
