/* ==========================================================================
   CINEDRONE - Modern Dynamic CineWhoop FPV Cinematography
   Design System & Styling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Futuristic Dark Aesthetic */
  --bg-dark: #090B10;
  --bg-card: rgba(18, 22, 33, 0.7);
  --bg-card-hover: rgba(26, 32, 48, 0.85);
  --bg-glass: rgba(15, 20, 30, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.3);
  
  /* Brand Accent Colors */
  --primary: #00F0FF;          /* Electric Cyan */
  --primary-glow: rgba(0, 240, 255, 0.4);
  --secondary: #7000FF;        /* Cyber Purple */
  --accent: #FF9900;           /* Speed Orange / Warning */
  
  /* Text Colors */
  --text-main: #F0F4F8;
  --text-muted: #8E9BAE;
  --text-dim: #5C6779;
  
  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  /* Layout & Spacing */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-neon: 0 0 30px rgba(0, 240, 255, 0.25);
  --backdrop-blur: blur(16px);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Animated Grid & HUD Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(112, 0, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(0, 240, 255, 0.1) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(9, 11, 16, 0.4) 0%, rgba(9, 11, 16, 0.95) 100%);
  z-index: -2;
  pointer-events: none;
}

.hud-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--primary); }
.text-purple { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.font-mono { font-family: var(--font-mono); }

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.tag-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

/* Buttons & Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-main);
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00B8FF 100%);
  color: #05080E;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5);
  background: linear-gradient(135deg, #33F3FF 0%, #00D5FF 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #9D00FF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(112, 0, 255, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(112, 0, 255, 0.6);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Layout Containers */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.75rem;
  margin: 12px 0 16px 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glassmorphic Card Container */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.logo-icon,
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
  border: 1px solid rgba(0, 240, 255, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo:hover .logo-img,
.logo:hover .logo-icon {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Telemetry HUD elements */
.osd-hud-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
}

.osd-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.osd-pulse {
  width: 8px;
  height: 8px;
  background: #00FF66;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 255, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin: 20px 0 24px 0;
  line-height: 1.08;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary);
  font-family: var(--font-mono);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Media Display (Interactive FPV Player / Frame) */
.hero-media-wrapper {
  position: relative;
}

.hero-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-neon);
}

.hero-media-frame img, .hero-media-frame video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  background: radial-gradient(circle at center, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hud-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
}

.hud-center-crosshair {
  align-self: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  position: relative;
}

.hud-center-crosshair::before, .hud-center-crosshair::after {
  content: '';
  position: absolute;
  background: var(--primary);
}

.hud-center-crosshair::before {
  top: 50%; left: 4px; right: 4px; height: 1px;
}
.hud-center-crosshair::after {
  left: 50%; top: 4px; bottom: 4px; width: 1px;
}

.hud-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

/* SHOWCASE / VIDEO PORTFOLIO */
.showcase-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--primary);
  color: #FFFFFF;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(0, 240, 255, 0.2);
}

.video-card-thumb {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.video-card-thumb img, .video-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.06);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-card:hover .play-overlay {
  background: rgba(0, 0, 0, 0.15);
}

.play-btn-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.9);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transition: transform 0.3s ease;
}

.video-card:hover .play-btn-circle {
  transform: scale(1.15);
  background: #FFFFFF;
}

.video-card-body {
  padding: 22px;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.video-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.video-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CINEWHOOP BENEFITS & SPECS */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 36px 28px;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* GEAR & EQUIPMENT SHOWCASE */
.gear-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gear-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
}

.gear-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.spec-icon {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 2px;
}

.spec-details h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.spec-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* WORKFLOW / PROCESS STEPS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  padding: 30px 22px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 240, 255, 0.2);
  margin-bottom: 16px;
}

/* ANFRAGESEITE / INQUIRY FORM */
.inquiry-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Custom Checkbox Grid for Services */
.checkbox-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox-card:hover, .checkbox-card.selected {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.08);
}

.checkbox-card input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

/* SUCCESS / CONFIRMATION MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 12, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0D111A;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Video Player Modal Styling */
.video-player-container {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* FOOTER & LEGAL */
.footer {
  background: #05070B;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px 0;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-column h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* IMPRESSUM & DATENSCHUTZ MODALS / CONTENT */
.legal-content h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.legal-content h3 {
  margin: 24px 0 12px 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* RESPONSIVE DESIGN BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .features-grid, .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .gear-split {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .process-steps {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .checkbox-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
