/* ============================================
   FLOW VIDEO PLAYER - POLICY & INFO PAGES CSS
   Theme: Solid Dark + Vibrant Pink/Purple/Violet
   Style: Clean, Modern, Professional, Compact
   ============================================ */

:root {
  --bg-primary: #08080d;
  --bg-secondary: #0d0d14;
  --bg-card: #111118;
  --accent-pink: #ff2d92;
  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-blue: #3b82f6;
  --text-primary: #e8e8f0;
  --text-secondary: #9090a8;
  --text-muted: #5a5a70;
  --border-color: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(139, 92, 246, 0.25);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.1);
}

/* ============================================
   SOLID BACKGROUND
   ============================================ */

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 45, 146, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.025) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 45, 146, 0.015) 0%, transparent 40%);
  pointer-events: none;
  z-index: -3;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%, rgba(168, 85, 247, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 30% 80%, rgba(255, 45, 146, 0.015) 0%, transparent 45%);
  pointer-events: none;
  z-index: -2;
}

.fog-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
}

.fog-orb-1 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.08) 0%, transparent 70%);
  top: -150px; left: -100px;
}

.fog-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  top: 40%; right: -150px;
}

.fog-orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.05) 0%, transparent 70%);
  bottom: -100px; left: 30%;
}

.fog-orb-4 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  top: 20%; left: 60%;
}

.noise-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.01;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ============================================
   MAIN CONTENT CONTAINER
   ============================================ */

.search-section {
  max-width: 860px;
  margin: 36px auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet), var(--accent-purple));
  opacity: 0.6;
}

section::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.015) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-pink) 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 14px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet));
  border-radius: 2px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 14px 0;
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  gap: 8px;
}

h3::before {
  content: '';
  width: 3px; height: 18px;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-violet));
  border-radius: 2px;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ============================================
   LISTS
   ============================================ */

ul, ol {
  margin: 14px 0;
  padding-left: 22px;
}

li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.65;
  position: relative;
}

ul li::marker { color: var(--accent-violet); font-size: 1.1em; }
ol li::marker { color: var(--accent-pink); font-weight: 600; }

/* ============================================
   HIGHLIGHT & SPECIAL TEXT
   ============================================ */

.highlight { color: var(--accent-pink); font-weight: 600; }

strong { color: var(--text-primary); font-weight: 600; }

a {
  color: var(--accent-violet);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

a:hover { color: var(--accent-pink); }

a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet));
  transition: var(--transition-smooth);
}

a:hover::after { width: 100%; }

/* ============================================
   CARDS & BOXES
   ============================================ */

.step-item, .benefit-item, .troubleshoot-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 10px 0;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.step-item::before, .benefit-item::before, .troubleshoot-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-violet));
}

.step-item:hover, .benefit-item:hover, .troubleshoot-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(3px);
  border-color: rgba(139, 92, 246, 0.15);
}

.step-number { color: var(--accent-pink); font-weight: 700; margin-right: 6px; }

.benefit-item::before { background: linear-gradient(180deg, var(--accent-blue), var(--accent-violet)); }
.troubleshoot-item::before { background: linear-gradient(180deg, #fbbf24, #f59e0b); }

/* ============================================
   NOTE & MESSAGE BOXES
   ============================================ */

.note-box, .message-box {
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.12);
  border-radius: 10px;
  padding: 18px;
  margin: 18px 0;
  position: relative;
}

.note-box strong, .message-box strong { color: #fbbf24; }

.message-box {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.12);
  font-style: italic;
  text-align: center;
}

/* ============================================
   VIDEO CONTAINERS
   ============================================ */

.video-container {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  position: relative;
}

.video-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255, 45, 146, 0.02), rgba(139, 92, 246, 0.02));
  pointer-events: none;
  z-index: 1;
}

.video-container iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ============================================
   DIVIDERS
   ============================================ */

.section-divider, hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  border: none;
  margin: 36px 0;
}

/* ============================================
   PLATFORM ICONS
   ============================================ */

.platform-icon { color: var(--accent-pink); margin-right: 10px; font-size: 1.2em; }

.method-title { color: #fbbf24; font-weight: 600; margin: 22px 0 14px 0; font-size: 1rem; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 50%, var(--accent-purple) 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 45, 146, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 146, 0.3);
  color: white;
}

.btn::after { display: none; }

.btn-primary { background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 50%, var(--accent-purple) 100%); }

/* ============================================
   CONTACT SECTION INTEGRATION
   ============================================ */

.contact-section { margin-top: 42px; }
.contact-section h2 { text-align: center; }
.contact-section h2::after { left: 50%; transform: translateX(-50%); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .search-section { margin: 22px auto; padding: 0 14px; }
  section { padding: 24px; border-radius: 18px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }
  .step-item, .benefit-item, .troubleshoot-item { padding: 12px 14px; }
  .video-container { border-radius: 10px; }
}

@media (max-width: 480px) {
  section { padding: 18px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.15rem; }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fog-orb,
  body::before,
  body::after { animation: none !important; }
}

section,
.step-item,
.benefit-item,
.troubleshoot-item {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

::selection {
  background: rgba(168, 85, 247, 0.2);
  color: var(--text-primary);
}