/* style.css — Modern Deep Blue Transparent Glassmorphism for WS1 Project Plan */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #030816;
  --bg-surface-glass: rgba(10, 20, 38, 0.65);
  --bg-surface-glass-hover: rgba(18, 35, 64, 0.75);
  --border-glass: rgba(56, 189, 248, 0.16);
  --border-glass-light: rgba(255, 255, 255, 0.12);
  --accent-lime: #DFFF00;
  --accent-cyan: #00FFFF;
  --accent-magenta: #FF00FF;
  --accent-orange: #FFA500;
  --accent-blue: #38BDF8;
  --brand-red: #C41230;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep);
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Blue & Cyan Ethereal Glow Backdrop (Matching Reference Image) */
.ambient-glow-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 18% 22%, rgba(2, 132, 199, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 82% 28%, rgba(30, 58, 138, 0.24) 0%, transparent 50%),
    radial-gradient(circle at 50% 75%, rgba(14, 116, 144, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 88% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
    linear-gradient(135deg, #020612 0%, #060e20 45%, #030816 100%);
  background-attachment: fixed;
}

/* Custom Typography */
.font-script {
  font-family: 'Caveat', cursive;
}

.font-mono-data {
  font-family: 'JetBrains Mono', monospace;
}

/* Dark Dropdown Select & Option Menu Theme (Prevents White Backgrounds on all Browsers) */
select {
  color-scheme: dark;
}

select option {
  background-color: #07152b !important;
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 8px 12px;
}

select option:hover,
select option:focus,
select option:checked {
  background-color: #0f2c57 !important;
  color: #38BDF8 !important;
}

/* Two-Tone Bold Condensed Typography & Glowing Lens-Flare Baseline (Matching Image 2) */
.title-twotone-container {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.title-line-white {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.2);
  line-height: 0.95;
}

.title-line-blue {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #38BDF8 0%, #0099FF 50%, #0062D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 153, 255, 0.65)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
  line-height: 0.95;
}

/* Justified Width for Subtitle (Stretched Flush from Left to Right) */
.title-line-blue-justified {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
}

.title-line-blue-justified span {
  background: linear-gradient(180deg, #38BDF8 0%, #0099FF 50%, #0062D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(0, 153, 255, 0.75)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
  display: inline-block;
}

/* Glowing Neon Baseline with Specular Lens Flare */
.title-lens-flare-line {
  position: relative;
  width: 100%;
  height: 2.5px;
  margin-top: 5px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.25) 15%, #00A3FF 44%, #FFFFFF 50%, #00A3FF 56%, rgba(56, 189, 248, 0.25) 85%, transparent 100%);
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.9), 0 0 24px rgba(0, 229, 255, 0.55);
  border-radius: 9999px;
}

.title-lens-flare-line::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 6px;
  background: radial-gradient(ellipse at center, #FFFFFF 0%, #38BDF8 50%, transparent 80%);
  filter: blur(0.8px) drop-shadow(0 0 12px #00FFFF);
  border-radius: 9999px;
}

/* Transparent Glassmorphism Panel (Primary Cards) */
.panel-glass {
  background: linear-gradient(145deg, rgba(13, 27, 49, 0.65) 0%, rgba(6, 15, 29, 0.72) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(2, 132, 199, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.6);
  border-radius: 1.25rem;
  position: relative;
}

/* Glass Header & Glass Filter Bar */
.header-glass {
  background: rgba(6, 14, 28, 0.68);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.filterbar-glass {
  background: rgba(4, 10, 22, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Transparent Control Box / Dropdowns & Date Display */
.control-box-glass {
  background: rgba(14, 28, 52, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.control-box-glass:hover {
  background: rgba(20, 38, 70, 0.7);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.2);
}

/* Transparent Deep Navy Glass KPI Cards (Matching Image 2 Card Background) */
.kpi-dark-card-glass {
  background: linear-gradient(145deg, rgba(13, 27, 49, 0.65) 0%, rgba(6, 15, 29, 0.72) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(2, 132, 199, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.6);
  border-radius: 1.25rem;
}

/* Transparent Deep Navy Glass Success KPI Card (Month Plan Qty) */
.kpi-success-glass {
  background: linear-gradient(145deg, rgba(13, 27, 49, 0.65) 0%, rgba(6, 15, 29, 0.72) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(2, 132, 199, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.6);
  border-radius: 1.25rem;
}

/* Glowing Neon Blue Pill Action Button (Matching "Request Access" in reference) */
.btn-blue-glow {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transition: all 0.2s ease;
}

.btn-blue-glow:hover {
  background: linear-gradient(180deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Glow Effects */
.glow-lime {
  filter: drop-shadow(0 0 10px rgba(223, 255, 0, 0.45));
}

.glow-cyan {
  filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.5));
}

/* Chart Canvas Transparent Grid Area */
.chart-grid-bg {
  background-color: transparent;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  position: relative;
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(3, 8, 20, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* High-Density Cyber Data Table (Translucent Rows) */
.cyber-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.cyber-table th {
  background-color: rgba(6, 15, 30, 0.88);
  backdrop-filter: blur(12px);
  color: var(--accent-lime);
  font-weight: 800;
  border-bottom: 2px solid var(--accent-lime);
  position: sticky;
  top: 0;
  z-index: 10;
  letter-spacing: 0.04em;
}

.cyber-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.025);
}

.cyber-table tr:hover {
  background-color: rgba(56, 189, 248, 0.12);
}

.cyber-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
