/* ============================================================
   Cendria Interactive — styles.css
   Dark futuristic portfolio with glassmorphism & animations
   ============================================================ */

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

:root {
  --bg:       #080c18;
  --bg2:      #0c1022;
  --bg3:      #101422;
  --border:   rgba(255,255,255,0.07);
  --glass:    rgba(255,255,255,0.04);
  --glass2:   rgba(255,255,255,0.07);
  --electric: #00d4ff;
  --tq:       #00f5c8;
  --pu:       #a78bfa;
  --am:       #f59e0b;
  --text:     #f1f5f9;
  --text2:    #94a3b8;
  --text3:    #475569;
  --r:        12px;
  --r2:       18px;
  --glow-e:   0 0 20px rgba(0,212,255,0.35), 0 0 40px rgba(0,212,255,0.12);
  --glow-t:   0 0 20px rgba(0,245,200,0.35), 0 0 40px rgba(0,245,200,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 60% 50% at 15% 50%, rgba(0,212,255,0.025) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(124,58,237,0.025) 0%, transparent 70%);
}

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,0.45); }

/* ── Glass util ───────────────────────────────────────────── */
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--r2);
}

/* ══════════════════ NAVIGATION ══════════════════════════════ */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(8,12,24,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo-hex {
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
  transition: filter 0.3s;
}
.nav-logo-hex:hover { filter: drop-shadow(0 0 14px rgba(0,212,255,0.8)); }

.nav-link {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--electric);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.btn-nav {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px;
  color: var(--electric);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.btn-nav:hover {
  background: rgba(0,212,255,0.15);
  box-shadow: var(--glow-e);
  transform: translateY(-1px);
}

.mobile-menu {
  background: rgba(8,12,24,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-link-mobile {
  color: var(--text2);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}
.nav-link-mobile:hover { color: var(--electric); }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text2);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang-btn.active {
  background: rgba(0,212,255,0.15);
  color: var(--electric);
}

/* ══════════════════ HERO ═════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-grad-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-grad-left {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(to right, rgba(8,12,24,0.7) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-grad-right {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 25%;
  background: linear-gradient(to left, rgba(8,12,24,0.4) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(0,212,255,0.8);
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
}
.badge-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

/* Hero Title */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, #00d4ff 0%, #00f5c8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Hero Sub */
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero-note {
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(226,232,240,0.72);
  max-width: 660px;
  margin-bottom: 2.3rem;
}

/* Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--electric);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--tq);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--electric), var(--tq));
  color: #080c18;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
}
.btn-primary:hover {
  box-shadow: var(--glow-e), 0 8px 32px rgba(0,212,255,0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.06);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text3);
}
.scroll-track {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.scroll-bar {
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, var(--electric), var(--tq));
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* ══════════════════ REVEAL ANIMATIONS ═══════════════════════ */
.reveal-instant { opacity: 0; transform: translateY(18px); }
.reveal-instant.loaded { animation: revealUp 0.7s ease forwards; }

.delay-100 { animation-delay: 0.1s !important; }
.delay-200 { animation-delay: 0.2s !important; }
.delay-300 { animation-delay: 0.35s !important; }
.delay-400 { animation-delay: 0.5s !important; }
.delay-500 { animation-delay: 0.65s !important; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════ SECTIONS ═════════════════════════════════ */
.sec-padding { padding: 7rem 0; }

.sec-header {
  text-align: center;
  margin-bottom: 4rem;
}
.sec-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--electric);
  margin-bottom: 1rem;
}
.sec-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.sec-desc {
  color: var(--text2);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* ══════════════════ ABOUT ══════════════════════════════════ */
.about-section {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }
}

.about-panel {
  padding: 1.8rem;
}

.about-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,212,255,0.72);
  margin-bottom: 1rem;
}

.about-copy {
  color: var(--text2);
  line-height: 1.8;
  font-size: 0.96rem;
}

.about-copy + .about-copy {
  margin-top: 1rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text2);
  line-height: 1.7;
  font-size: 0.92rem;
}

.about-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(226,232,240,0.86);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.035);
}

/* ══════════════════ SPECIALIZATIONS CARDS ════════════════════ */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.spec-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.spec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, var(--cbg, rgba(0,212,255,0.08)) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: inherit;
}
.spec-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--c, 0,212,255), 0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px color-mix(in srgb, var(--c, #00d4ff) 15%, transparent);
}
.spec-card:hover::before { opacity: 1; }

.card-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c, #00d4ff) 50%, transparent 100%);
  opacity: 0.6;
}
.spec-card:hover .card-topbar { opacity: 1; }

.card-icon-wrap {
  width: 52px; height: 52px;
  background: var(--cbg, rgba(0,212,255,0.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}
.spec-card:hover .card-icon-wrap {
  box-shadow: 0 0 16px color-mix(in srgb, var(--c,#00d4ff) 30%, transparent);
}
.card-icon { width: 26px; height: 26px; }

.card-num {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.card-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text2);
  margin-bottom: 1.1rem;
}
.card-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.card-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.5;
}
.feat-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c, #00d4ff);
  flex-shrink: 0;
  margin-top: 0.45rem;
  box-shadow: 0 0 4px var(--c, #00d4ff);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c, #00d4ff);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.card-cta:hover { border-color: var(--c, #00d4ff); gap: 0.5rem; }
.card-cta svg { flex-shrink: 0; }

/* ══════════════════ AI SHOWCASE ══════════════════════════════ */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 960px) {
  .showcase-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
}

/* Video Player */
.vplayer-col { display: flex; flex-direction: column; gap: 1.25rem; }

.vplayer {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r2);
  overflow: hidden;
  background: #020408;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
/* Glassmorphism wrapper around the player */
.vplayer-glass-wrap {
  position: relative;
  border-radius: var(--r2);
  padding: 3px;
  background: linear-gradient(135deg, rgba(0,212,255,0.25) 0%, rgba(167,139,250,0.15) 50%, rgba(0,245,200,0.2) 100%);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.12),
    0 8px 40px rgba(0,0,0,0.55),
    0 0 60px rgba(0,212,255,0.06);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.vplayer-glass-wrap .vplayer {
  box-shadow: none;
  border: none;
}

/* iframe */
.vplayer-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  z-index: 1;
}

/* Fallback overlay (shown if iframe errors) */
.vplayer-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
}
.vplayer-fallback.hidden { display: none; }
.vplayer-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.vplayer-fallback-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: rgba(8,12,24,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 100px;
  color: var(--electric);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.yt-watch-btn:hover {
  background: rgba(0,212,255,0.12);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
  transform: translateY(-2px);
}

/* Placeholder */
.vplayer-placeholder {
  position: absolute;
  inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
}
.vplayer-placeholder.hidden { opacity: 0; pointer-events: none; }

.vph-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #080c18 50%, #0d1020 100%);
}
.vph-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.06) 0%, transparent 60%);
  animation: bgPulse 4s ease-in-out infinite;
}
@keyframes bgPulse {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.vph-center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}
.vph-play-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(0,212,255,0.1);
  border: 2px solid rgba(0,212,255,0.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.vph-play-btn:hover {
  background: rgba(0,212,255,0.2);
  box-shadow: var(--glow-e);
  transform: scale(1.08);
}

.vph-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.06) 2px, rgba(0,0,0,0.06) 4px);
  pointer-events: none; z-index: 1;
}

/* Corner brackets */
.vph-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(0,212,255,0.5);
  z-index: 3;
}
.vph-corner-tl { top:12px; left:12px; border-top:2px solid; border-left:2px solid; }
.vph-corner-tr { top:12px; right:12px; border-top:2px solid; border-right:2px solid; }
.vph-corner-bl { bottom:12px; left:12px; border-bottom:2px solid; border-left:2px solid; }
.vph-corner-br { bottom:12px; right:12px; border-bottom:2px solid; border-right:2px solid; }

/* AI Badge */
.vplayer-aibadge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 4;
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--electric);
  letter-spacing: 0.05em;
}
.aibadge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--electric);
  animation: pulseDot 2s ease-in-out infinite;
}

/* Controls */
.vplayer-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 1.5rem 1rem 0.75rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.vplayer:hover .vplayer-controls { opacity: 1; }

.vprogress-wrap { padding: 0.4rem 0; cursor: pointer; }
.vprogress-bg {
  position: relative;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: visible;
}
.vprogress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--electric), var(--tq));
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}
.vprogress-thumb {
  position: absolute;
  top: 50%; right: -6px;
  width: 12px; height: 12px;
  background: var(--electric);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 6px var(--electric);
  opacity: 0;
  transition: opacity 0.2s;
}
.vprogress-wrap:hover .vprogress-thumb { opacity: 1; }
.vprogress-wrap:hover .vprogress-bg { height: 5px; }

.vctrl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.vctrl-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.vctrl-btn:hover { color: var(--electric); background: rgba(0,212,255,0.1); }

.vvol-wrap { display: flex; align-items: center; gap: 0.4rem; }
.vvol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 64px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.vvol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--electric);
  cursor: pointer;
}

.vinfo { padding: 0 0.25rem; }
.vtag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.vtag.electric { background: rgba(0,212,255,0.1); border:1px solid rgba(0,212,255,0.3); color: var(--electric); }
.vtag.turquoise { background: rgba(0,245,200,0.1); border:1px solid rgba(0,245,200,0.3); color: var(--tq); }
.vtag.amber { background: rgba(245,158,11,0.1); border:1px solid rgba(245,158,11,0.3); color: var(--am); }

/* Pipeline Stepper */
.pipeline-col { padding-top: 0.5rem; }

.pipeline-steps { display: flex; flex-direction: column; gap: 0; }

.pipeline-step {
  display: flex;
  gap: 1.25rem;
  cursor: pointer;
  transition: opacity 0.3s;
}
.pipeline-step:not(.active) { opacity: 0.5; }
.pipeline-step:hover { opacity: 1; }

.ps-indicator {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0;
  width: 24px;
}
.ps-ring {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.pipeline-step.active .ps-ring {
  border-color: var(--electric);
  box-shadow: 0 0 12px rgba(0,212,255,0.4);
}
.ps-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.3s;
}
.pipeline-step.active .ps-dot { background: var(--electric); }

.ps-line {
  flex: 1;
  width: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4px 0;
  min-height: 28px;
}

.ps-body {
  padding-bottom: 1.75rem;
  flex: 1;
}
.ps-meta {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.ps-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--bb, rgba(0,212,255,0.1));
  color: var(--bc, #00d4ff);
  border: 1px solid var(--bc, #00d4ff);
  letter-spacing: 0.05em;
}

.ps-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.pipeline-step:not(.active) .ps-title { color: var(--text2); }

.ps-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text3);
  margin-bottom: 0.6rem;
  max-width: 340px;
}
.pipeline-step.active .ps-desc { color: var(--text2); }

.ps-tech {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.ps-tech code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  padding: 0.18rem 0.55rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  color: var(--text2);
}

/* ══════════════════ TECHNICAL PORTFOLIO ═════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.code-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.code-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0,212,255,0.05);
}

.cc-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.cc-dots { display: flex; gap: 5px; }
.cc-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.cc-file {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text3);
  flex: 1;
}
.cc-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.cc-status.live { background: rgba(0,202,78,0.1); color: #00ca4e; border:1px solid rgba(0,202,78,0.3); }
.cc-status.dev  { background: rgba(0,212,255,0.08); color: var(--electric); border:1px solid rgba(0,212,255,0.2); }
.cc-status.rd   { background: rgba(245,158,11,0.08); color: var(--am); border:1px solid rgba(245,158,11,0.2); }

.cc-body { padding: 1.25rem; }
.cc-comment {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(0,245,200,0.45);
  margin-bottom: 0.5rem;
}
.cc-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.cc-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 1rem;
}
.cc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.ctag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  padding: 0.18rem 0.6rem;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text2);
  white-space: nowrap;
}
.ctag.green { background: rgba(0,202,78,0.08); border-color: rgba(0,202,78,0.25); color: #4ade80; }
.ctag.tq    { background: rgba(0,245,200,0.08); border-color: rgba(0,245,200,0.25); color: var(--tq); }
.ctag.pu    { background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.25); color: var(--pu); }
.ctag.am    { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); color: var(--am); }

/* ══════════════════ CONTACT ══════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.4fr 0.85fr; gap: 3.5rem; align-items: start; }
}

.contact-layout.contact-layout-simple {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.contact-layout.contact-layout-simple .cinfo {
  gap: 1.1rem;
}

.cform { padding: 2rem; }
.cform-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 540px) { .cform-row { grid-template-columns: 1fr 1fr; } }

.cfield { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.cfield:last-of-type { margin-bottom: 0; }
.cform-row .cfield { margin-bottom: 0; }

.clabel {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cinput {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.cinput::placeholder { color: var(--text3); }
.cinput:focus {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.cselect { cursor: pointer; }
.cselect option { background: #0c1022; color: var(--text); }
.ctextarea { resize: vertical; min-height: 120px; }

.csubmit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--electric), var(--tq));
  color: #080c18;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s, opacity 0.3s;
  box-shadow: 0 4px 24px rgba(0,212,255,0.25);
}
.csubmit:hover:not(:disabled) {
  box-shadow: var(--glow-e), 0 8px 32px rgba(0,212,255,0.35);
  transform: translateY(-2px);
}
.csubmit:disabled { opacity: 0.7; cursor: not-allowed; }

.csuccess {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0,245,200,0.08);
  border: 1px solid rgba(0,245,200,0.25);
  border-radius: var(--r);
  font-size: 0.875rem;
  color: var(--tq);
}

/* Contact info sidebar */
.cinfo { display: flex; flex-direction: column; gap: 1rem; }
.cinfo-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}
.cinfo-card p:last-child {
  word-break: break-word;
}
.cinfo-icon {
  width: 40px; height: 40px;
  background: var(--ib, rgba(0,212,255,0.1));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.cinfo-quote {
  padding: 1.25rem;
  margin-top: 0.5rem;
}

/* ══════════════════ FOOTER ══════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 100%);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-main { grid-template-columns: 1fr 1.5fr; }
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 1rem;
}
.footer-link-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link-list a {
  font-size: 0.85rem;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link-list a:hover { color: var(--electric); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ══════════════════ RESPONSIVE ════════════════════════════ */
@media (max-width: 640px) {
  .sec-padding { padding: 5rem 0; }
  .hero-title { line-height: 1.05; }
  .hero-stats { gap: 1rem; }
  .stat-sep { display: none; }
  .about-panel { padding: 1.4rem; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}

@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-badge { font-size: 0.68rem; }
  .footer-links-grid { grid-template-columns: 1fr; }
}
