/* GLASSMORPHISM CARD STYLING */
.card, .pkg, .team-c, .case-c, .diag-cell, .modal-box, .nav-dd-menu {
  background: var(--card-bg) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border) !important;
  border-radius: 20px !important; /* Upgrade square cards to 20px rounded */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(0, 240, 255, 0.05);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* CARD HOVER AND GLOW EFFECTS */
.card:hover, .pkg:hover, .team-c:hover, .diag-cell:hover, .svc-row:hover {
  border-color: rgba(0, 240, 255, 0.4) !important;
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15) !important;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 240, 255, 0.08) 0%, transparent 50%);
  opacity: 0;
  border-radius: 20px;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.glow-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.15), transparent 70%);
  pointer-events: none;
  border-top-right-radius: 20px;
}

/* ROUNDED FORM CONTROLS & PULSING NEON BLUE FOCUS RING */
.form-i, .form-s, .form-ta {
  width: 100%;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(0, 240, 255, 0.15) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  padding: 14px 20px !important;
  outline: none !important;
  border-radius: 12px !important; /* Upgrade square inputs to 12px */
  transition: all 0.3s ease !important;
  -webkit-appearance: none;
}

.form-i:focus, .form-s:focus, .form-ta:focus {
  background: rgba(0, 240, 255, 0.03) !important;
  border-color: var(--cherenkov) !important;
  box-shadow: 0 0 0 1px var(--cherenkov), 0 0 15px rgba(0, 240, 255, 0.35);
  animation: pulse-ring 2s infinite alternate;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 1px var(--cherenkov), 0 0 12px rgba(0, 240, 255, 0.25);
  }
  100% {
    box-shadow: 0 0 0 2px var(--cherenkov), 0 0 20px rgba(0, 240, 255, 0.55);
  }
}

/* GORGEOUS ROUND BUTTONS & GRADIENT BACKGROUND ON HOVER */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 42px !important;
  font-family: var(--font-display);
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 30px !important; /* Upgrade square buttons to 30px pill-shape */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #00f0ff, #0088ff, #8000ff, #00f0ff);
  background-size: 300% 100%;
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-glow {
  background: transparent;
  border: 1.5px solid var(--cherenkov) !important;
  color: var(--cherenkov) !important;
}

.btn-glow:hover {
  color: var(--void) !important;
  border-color: transparent !important;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.5) !important;
}

.btn-glow:hover::before {
  opacity: 1;
  animation: gradient-move 3s linear infinite;
}

.btn-ghost {
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2) !important;
  color: #fff !important;
}

.btn-ghost:hover {
  color: var(--void) !important;
  border-color: transparent !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3) !important;
}

.btn-ghost:hover::before {
  opacity: 1;
  animation: gradient-move 3s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* SECTOR CARDS GLASSMORPHISM GALAXY LEVEL */
.sc {
  background: rgba(4, 4, 12, 0.4) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 48px 40px !important;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 24px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid rgba(0, 240, 255, 0.08) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sc:hover {
  background: rgba(5, 5, 18, 0.75) !important;
  border-color: rgba(0, 240, 255, 0.35) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.08);
  transform: translateY(-4px);
}

.sc-name {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 20px !important;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0 !important;
}

.sc-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--cherenkov);
  opacity: 0.3;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.sc:hover .sc-name::after {
  width: 60px;
  opacity: 0.85;
}

.sc-desc {
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  color: var(--text-dim) !important;
  font-weight: 300 !important;
  margin: 0 !important;
  opacity: 0.85;
}

.sc-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(0, 240, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.sc:hover .sc-glow {
  opacity: 1;
}

/* FLOATING DIAGNOSTIC CELLS */
.diag-cell {
  background: rgba(4, 4, 16, 0.5) !important;
  border-radius: 20px !important;
  border: 1px solid var(--border) !important;
  transition: all 0.3s ease !important;
}

.diag-cell.sel {
  background: rgba(0, 240, 255, 0.1) !important;
  border-color: rgba(0, 240, 255, 0.5) !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25) !important;
}

/* MODAL OVERLAY & MODAL BOX STYLING */
.modal-ov {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 2, 8, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.modal-ov.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: rgba(2, 2, 8, 0.97) !important;
  border: 1.5px solid rgba(0, 240, 255, 0.25) !important;
  padding: 56px !important;
  border-radius: 24px !important;
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.12), 0 32px 64px rgba(0,0,0,0.6) !important;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,240,255,0.2) transparent;
}

.modal-box::-webkit-scrollbar {
  width: 4px;
}
.modal-box::-webkit-scrollbar-thumb {
  background: rgba(0,240,255,0.15);
  border-radius: 4px;
}

#modal-wind-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: 24px;
}

/* CUSTOM LANGUAGE DROPDOWN SELECT */
.lang-dd {
  position: relative;
  display: inline-block;
  z-index: 1010;
}

.lang-dd-trigger {
  font-family: var(--font-display);
  font-size: 11px !important;
  font-weight: 700;
  color: var(--text-dim) !important;
  cursor: pointer;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(0, 240, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.3s ease !important;
  user-select: none;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.lang-dd-trigger:hover {
  color: #fff !important;
  border-color: var(--cherenkov) !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2) !important;
}

.lang-dd-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(2, 2, 8, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px !important;
  padding: 8px 0;
  min-width: 80px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(0, 240, 255, 0.05);
  transition: all 0.3s ease;
}

.lang-dd:hover .lang-dd-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(6px);
}

/* Hover bridge prevents menu from closing when mouse crosses gap */
.lang-dd::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 14px;
  background: transparent;
}

.lang-dd-menu a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.lang-dd-menu a:hover {
  color: var(--cherenkov) !important;
  background: rgba(0, 240, 255, 0.06) !important;
}

/* CUSTOM SELECT COMPONENT STYLING */
.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  width: 100%;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(0, 240, 255, 0.15) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease !important;
  user-select: none;
}

.select-trigger:hover, .select-trigger.active {
  background: rgba(0, 240, 255, 0.03) !important;
  border-color: var(--cherenkov) !important;
  box-shadow: 0 0 0 1px var(--cherenkov), 0 0 15px rgba(0, 240, 255, 0.35);
}

.select-trigger.active {
  animation: pulse-ring 2s infinite alternate;
}

.select-chevron {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.select-trigger.active .select-chevron {
  transform: rotate(180deg);
  color: var(--cherenkov);
}

.select-options-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: rgba(2, 2, 12, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(0, 240, 255, 0.25);
  border-radius: 12px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 1px rgba(0,240,255,0.1);
  z-index: 100000;
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.select-options-box.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Scrollbar for option box */
.select-options-box::-webkit-scrollbar {
  width: 4px;
}
.select-options-box::-webkit-scrollbar-track {
  background: rgba(2, 2, 8, 0.5);
}
.select-options-box::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 2px;
}

.select-option {
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.select-option:hover {
  background: rgba(0, 240, 255, 0.05);
  color: #fff;
}

.select-option.checked {
  color: var(--cherenkov);
  background: rgba(0, 240, 255, 0.03);
  font-weight: 500;
}

.select-option.checked::after {
  content: '◎';
  font-size: 12px;
  color: var(--cherenkov);
}

/* ULTRA-MODERN GLASS CIRCULAR CLOSE BUTTON */
.modal-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: rgba(255,255,255,0.7) !important;
  z-index: 10000 !important;
  outline: none;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  left: auto !important;
}

.modal-close:hover {
  background: rgba(0, 240, 255, 0.1) !important;
  border-color: var(--cherenkov) !important;
  color: var(--cherenkov) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3) !important;
  transform: rotate(90deg) scale(1.1);
}

@keyframes pulse-border {
  0% {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
  }
  100% {
    border-color: var(--cherenkov);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
  }
}

/* SPACED OUT FORM CONTROLS */
.form-g {
  margin-bottom: 24px !important;
}

.form-i, .form-ta {
  padding: 16px 20px !important;
}

/* NEON RED FORM VALIDATORS */
.form-i.error, .custom-select.error .select-trigger {
  border-color: #ff5050 !important;
  box-shadow: 0 0 15px rgba(255, 80, 80, 0.4) !important;
  animation: pulse-ring-error 1.5s infinite alternate !important;
}

@keyframes pulse-ring-error {
  0% {
    box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.2), 0 0 10px rgba(255, 80, 80, 0.2);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255, 80, 80, 0.5), 0 0 20px rgba(255, 80, 80, 0.5);
  }
}

.error-tip {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: #ff5050;
  margin-top: 6px;
  animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FIX MODAL SUCCESS OVERLAPS */
#modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  width: 100%;
  animation: fadeIn 0.4s ease forwards;
}

#modal-success.show {
  display: flex !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* GREEK WATERMARK GLYPHS */
.sc-glyph {
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-size: 200px;
  font-weight: 800;
  color: rgba(0, 240, 255, 0.025);
  pointer-events: none;
  user-select: none;
  transition: all 0.5s ease;
  z-index: 0;
  line-height: 1;
  font-family: 'Georgia', serif;
  letter-spacing: 0 !important;
}

.sc:hover .sc-glyph, .card:hover .sc-glyph {
  color: rgba(0, 240, 255, 0.055) !important;
  transform: scale(1.08) translateX(-8px) !important;
}

/* PREMIUM PRICE TAG COMPONENT & PLANS PACKAGES */
.pkg {
  padding: 48px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 520px;
}

.pkg.feat {
  border-color: rgba(0, 240, 255, 0.35) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.12) !important;
}

/* Glowing top badge for featured popular plans */
.pkg.feat::before {
  content: 'POPULAR';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  color: var(--void);
  background: var(--cherenkov);
  padding: 3px 12px;
  border-radius: 10px;
  letter-spacing: 0 !important;
  box-shadow: 0 0 10px var(--cherenkov);
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  color: #fff;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 4px;
}

.pkg-class {
  font-family: var(--font-body);
  font-size: 11px !important;
  font-weight: 400 !important;
  color: var(--cherenkov) !important;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0 !important;
  margin-bottom: 24px;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 12px 0 28px;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  letter-spacing: 0 !important;
  display: flex;
  align-items: baseline;
  justify-content: center;
  background: linear-gradient(135deg, #fff 30%, var(--cherenkov) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pkg-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 36px 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  flex-grow: 1 !important;
}

.pkg-list li {
  font-family: var(--font-body);
  font-size: 13.5px !important;
  font-weight: 300 !important;
  color: var(--text-dim) !important;
  line-height: 1.6 !important;
  text-align: center !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(0, 240, 255, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  position: relative !important;
  width: 100%;
}

.pkg-list li::before {
  content: '◎' !important;
  color: var(--cherenkov) !important;
  font-size: 10px !important;
  flex-shrink: 0 !important;
  text-shadow: 0 0 8px var(--cherenkov) !important;
}

/* FORM LABELS STYLING */
.form-l {
  display: block;
  font-family: var(--font-display);
  font-size: 11px !important;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0 !important;
  line-height: 1.6;
}

/* PREMIUM CARD & DIAG CELL PADDINGS */
.card {
  padding: 40px !important;
  position: relative;
  overflow: hidden;
}

.diag-cell {
  padding: 32px !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.diag-cell-status {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--cherenkov);
  letter-spacing: 0 !important;
  margin-bottom: 12px;
}

.diag-cell-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.diag-cell-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dim);
}

/* BRANDS MARQUEE SHOWCASE */
.brands-marquee-section {
  margin-top: 64px;
  border-top: 1px solid rgba(0, 240, 255, 0.08);
  padding-top: 48px;
  overflow: hidden;
}
.brands-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}
.marquee-row {
  display: flex;
  overflow: hidden;
  width: 100%;
  user-select: none;
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  padding: 15px 25px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}
.brand-item:hover {
  background: rgba(0, 240, 255, 0.03);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  transform: scale(1.03);
}
.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1) invert(1);
  transition: all 0.4s ease;
}
.brand-item:hover img {
  opacity: 0.95;
  filter: grayscale(0) invert(0);
}

.marquee-left .marquee-track {
  animation: marqueeLeft 35s linear infinite;
}
.marquee-right .marquee-track {
  animation: marqueeRight 35s linear infinite;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* CUSTOM PREMIUM VIDEO & AUDIO PLAYERS */
.custom-video-player {
  position: relative;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.15);
  background: #000;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 15px rgba(0, 240, 255, 0.05);
  margin-bottom: 32px;
}
.custom-video-player video {
  width: 100%;
  height: auto;
  display: block;
}
.video-controls-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 2, 8, 0.9) 0%, rgba(2, 2, 8, 0.2) 40%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.custom-video-player:hover .video-controls-overlay {
  opacity: 1;
}

.center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(2, 2, 2, 0.6);
  border: 2px solid rgba(0, 240, 255, 0.4);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.center-play-btn:hover {
  border-color: var(--cherenkov);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.08);
}
.center-play-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.controls-panel {
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s ease;
}
.progress-bar-container:hover {
  height: 6px;
}
.progress-bar-filled {
  height: 100%;
  width: 0%;
  background: var(--cherenkov);
  box-shadow: 0 0 8px var(--cherenkov);
  border-radius: 2px;
  position: relative;
}

.controls-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.control-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all 0.2s ease;
}
.control-btn:hover {
  opacity: 1;
  color: var(--cherenkov);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.volume-slider {
  width: 70px;
  height: 3px;
  accent-color: var(--cherenkov);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  border-radius: 2px;
}

.time-display {
  font-size: 11px;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.6);
}

.quality-selector-container {
  position: relative;
}
.quality-trigger {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2) !important;
  padding: 4px 10px;
  border-radius: 6px;
  color: #fff;
  background: transparent;
}
.quality-trigger:hover {
  border-color: var(--cherenkov) !important;
}
.quality-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: rgba(2,2,8,0.95);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  min-width: 120px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
  padding: 6px 0;
  text-align: center;
}
.quality-selector-container:hover .quality-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.quality-menu a {
  display: block;
  padding: 6px 12px;
  font-size: 10px;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s ease;
}
.quality-menu a:hover {
  color: var(--cherenkov);
  background: rgba(0, 240, 255, 0.05);
}

/* CUSTOM SPACE-ORBIT AUDIO PLAYER */
.custom-audio-player {
  background: rgba(4, 4, 16, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 24px;
}
.audio-player-body {
  display: flex;
  align-items: center;
  gap: 24px;
}
.audio-cover-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  background: #04040a;
}
.audio-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.custom-audio-player.playing .audio-cover-img {
  animation: audioRotate 12s linear infinite;
}
@keyframes audioRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.audio-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #080820 0%, #020205 100%);
  color: var(--cherenkov);
  font-size: 24px;
}
.custom-audio-player.playing .audio-cover-fallback {
  animation: audioRotate 12s linear infinite;
}

.audio-play-btn {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 8, 0.4);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.audio-cover-container:hover .audio-play-btn {
  opacity: 1;
}
.audio-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.audio-info-box {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.audio-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.audio-artist {
  font-size: 12px;
  color: var(--cherenkov);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 20px;
}
.audio-progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  font-size: 10px;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.5);
}
.audio-progress-bar {
  flex-grow: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1.5px;
  cursor: pointer;
  position: relative;
}
.audio-progress-filled {
  height: 100%;
  width: 0%;
  background: var(--cherenkov);
  box-shadow: 0 0 6px var(--cherenkov);
  border-radius: 1.5px;
}

.audio-volume-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.audio-volume-slider {
  width: 60px;
  height: 3px;
  accent-color: var(--cherenkov);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
}

/* GALAXY-GRADE HERO BACKGROUND VIDEO */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  transition: opacity 1.5s ease;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(2,2,8,0.1) 0%, rgba(2,2,8,0.92) 85%);
}

/* YT SHOWREEL BUTTON STYLE */
.showreel-yt-btn {
  border-color: rgba(255, 80, 80, 0.25) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.showreel-yt-btn:hover {
  border-color: rgba(255, 80, 80, 0.8) !important;
  background: rgba(255, 80, 80, 0.05) !important;
  box-shadow: 0 0 15px rgba(255, 80, 80, 0.2) !important;
  color: #fff !important;
}

/* ==========================================================================
   PREMIUM LAYOUT STYLES FOR DIVERSIFIED SERVICE PAGES
   ========================================================================== */

/* 1. QUANTUM DNA TIMELINE (Branding & Strategy) */
.timeline-dna {
  position: relative;
  max-width: 1000px;
  margin: 64px auto 0;
  padding: 40px 0;
}
.timeline-dna::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--cherenkov) 15%, var(--cherenkov) 85%, transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
.timeline-node {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}
.timeline-node:nth-child(odd) {
  left: 0;
  text-align: left;
  direction: ltr;
}
.timeline-node:nth-child(even) {
  left: 50%;
  text-align: left;
  direction: ltr;
}
.timeline-badge {
  position: absolute;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #020208;
  border: 2px solid var(--cherenkov);
  box-shadow: 0 0 15px var(--cherenkov);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  z-index: 10;
}
.timeline-node:nth-child(odd) .timeline-badge {
  right: -16px;
}
.timeline-node:nth-child(even) .timeline-badge {
  left: -16px;
}
.timeline-card {
  padding: 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
  direction: ltr;
}
.timeline-node:hover .timeline-card {
  background: rgba(0, 240, 255, 0.03);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
  transform: translateY(-2px);
}
.timeline-node-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0 !important;
  color: var(--cherenkov);
  margin-bottom: 8px;
  text-align: left;
  direction: ltr;
}
.timeline-node-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-align: left;
  direction: ltr;
}
.timeline-node-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: left;
  direction: ltr;
}

/* 2. PERSPECTIVE BENTO-CGI (Motion Design) */
.bento-cgi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.bento-card {
  position: relative;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.05);
  backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.bento-card.wide {
  grid-column: span 2;
}
.bento-card.tall {
  grid-row: span 2;
}
.bento-card:hover {
  background: rgba(0, 240, 255, 0.03);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
  transform: translateY(-4px) scale(1.01);
}
/* Bento card internal hierarchy */
.bento-card .card-num {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--cherenkov);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.bento-card .card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}
.bento-card .card-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-dim);
}

/* Generic card-num, card-title, card-desc (used in .card / video page) */
.card-num {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--cherenkov);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}
.card-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-dim);
}

/* 3. NEURAL TELEMETRY (AI Production) */
.neural-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.telemetry-card {
  background: rgba(4, 4, 16, 0.5);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 20px;
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.telemetry-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.08);
}
.telemetry-badge-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--cherenkov);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}
.telemetry-card .card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.telemetry-card .card-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-dim);
  flex-grow: 1;
}
.telemetry-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cherenkov);
  box-shadow: 0 0 8px var(--cherenkov);
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes telemetryPulseAnimation {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* 4. ROI CONVERSION FUNNEL (Performance Marketing) */
.funnel-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}
.funnel-stage {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.funnel-stage:hover {
  background: rgba(0, 240, 255, 0.03);
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateX(8px);
}
.funnel-ratio-bar {
  height: 6px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 3px;
  flex-grow: 1;
  margin: 0 32px;
  position: relative;
  overflow: hidden;
}
.funnel-ratio-fill {
  height: 100%;
  background: var(--cherenkov);
  box-shadow: 0 0 10px var(--cherenkov);
  border-radius: 3px;
}

/* 5. MULTI-AGENT DIAGRAM FLOW (Automation) */
.flowchart-nodes {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  margin-top: 48px;
}
.flowchart-node {
  flex: 1;
  padding: 24px 16px;
  border-radius: 20px;
  background: rgba(6, 6, 16, 0.55);
  border: 1px solid rgba(0,240,255,0.12);
  position: relative;
  text-align: center;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.flowchart-node:hover {
  border-color: var(--cherenkov);
  box-shadow: 0 0 20px rgba(0,240,255,0.12);
  transform: translateY(-4px);
}
.flowchart-node .card-desc {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  margin-top: 8px;
}
.flowchart-connector {
  font-size: 20px;
  color: rgba(0,240,255,0.35);
  align-self: center;
  animation: flowchartArrow 2s infinite ease-in-out;
}
@keyframes flowchartArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (max-width: 960px) {
  .timeline-dna::before { left: 24px; }
  .timeline-node { width: 100%; text-align: left !important; padding-left: 56px; }
  .timeline-node:nth-child(even) { left: 0; }
  .timeline-badge { left: 8px !important; right: auto !important; }
  .bento-cgi-grid { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .neural-pipeline { grid-template-columns: 1fr; }
  .flowchart-nodes { flex-direction: column; }
  .flowchart-connector { transform: rotate(90deg); margin: 10px 0; }
}

/* ==========================================================================
   QUANTUM NODE SYNTHESIS LAB SANDBOX (Sprint II - Node Editor UI)
   ========================================================================== */
.node-sandbox-container {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: 24px;
  background: #020208;
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.03), 0 10px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  background-image: radial-gradient(rgba(0, 240, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  margin-top: 48px;
  user-select: none;
}

.node-svg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.node-svg-path {
  fill: none;
  stroke: rgba(0, 240, 255, 0.12);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.node-svg-path.active {
  stroke: var(--cherenkov);
  stroke-width: 3.5;
  stroke-dasharray: 8 8;
  animation: nodePathFlow 1.5s linear infinite;
  filter: drop-shadow(0 0 5px var(--cherenkov));
}

@keyframes nodePathFlow {
  to { stroke-dashoffset: -32; }
}

.node-box {
  position: absolute;
  width: 230px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(6, 6, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 5;
  cursor: grab;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.node-box:active {
  cursor: grabbing;
}
.node-box.active {
  border-color: var(--cherenkov);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}
.node-box.completed {
  border-color: #00ff66;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.node-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}
.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.node-status-dot.active {
  background: var(--cherenkov);
  box-shadow: 0 0 8px var(--cherenkov);
}
.node-status-dot.completed {
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
}

.node-body {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
}

.node-socket {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #020208;
  border: 2px solid rgba(255, 255, 255, 0.3);
  top: 50%;
  transform: translateY(-50%);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}
.node-socket.output {
  right: -5px;
}
.node-socket.input {
  left: -5px;
}
.node-socket.active {
  border-color: var(--cherenkov);
  background: var(--cherenkov);
  box-shadow: 0 0 8px var(--cherenkov);
}
.node-socket.completed {
  border-color: #00ff66;
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
}

.node-sandbox-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
}

.node-terminal {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 340px;
  height: 120px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(2, 2, 8, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.node-terminal-header {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  color: var(--cherenkov);
  letter-spacing: 0 !important;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.node-terminal-body {
  flex-grow: 1;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  overflow-y: auto;
  line-height: 1.4;
  scrollbar-width: none;
}
.node-terminal-body::-webkit-scrollbar {
  display: none;
}
.node-terminal-line {
  margin-bottom: 2px;
}
.node-terminal-line .cyan { color: var(--cherenkov); }
.node-terminal-line .green { color: #00ff66; }

@media (max-width: 960px) {
  .node-sandbox-container { height: 750px; }
  .node-terminal { width: calc(100% - 40px); left: 20px; right: 20px; bottom: 20px; height: 100px; }
  .node-sandbox-controls { bottom: 135px; left: 20px; }
}

/* BLOG POST CARD */
.blog-post-card {
  background: rgba(4,4,16,0.5);
  border: 1px solid rgba(0,240,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
}
.blog-post-card:hover {
  border-color: rgba(0,240,255,0.3);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 30px rgba(0,240,255,0.08);
}
.blog-cat-btn {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(0,240,255,0.2);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.blog-cat-btn:hover, .blog-cat-btn.active {
  background: rgba(0,240,255,0.08);
  border-color: var(--cherenkov);
  color: var(--cherenkov);
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr !important; }
}
