/* ═══════════════════════════════════════════════════════
   KAVIN MANICKANNAN — CINEMATIC SRE PORTFOLIO
   Style: Futuristic / Sci-Fi | Dark Blue + Cyan + Purple
═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base:        #020818;
  --bg-section:     #060f2a;
  --bg-card:        rgba(8, 20, 55, 0.85);
  --bg-card-hover:  rgba(12, 28, 70, 0.95);

  --cyan:           #00d4ff;
  --cyan-dim:       rgba(0, 212, 255, 0.15);
  --cyan-glow:      rgba(0, 212, 255, 0.4);
  --purple:         #7c3aed;
  --purple-dim:     rgba(124, 58, 237, 0.15);
  --purple-glow:    rgba(124, 58, 237, 0.4);

  --text-primary:   #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  --border:         rgba(0, 212, 255, 0.18);
  --border-hover:   rgba(0, 212, 255, 0.5);

  --font-display:   'Orbitron', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'Share Tech Mono', monospace;

  --nav-height:     72px;
  --section-gap:    120px;
  --radius:         12px;
  --radius-lg:      20px;

  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--cyan-dim); color: var(--cyan); }

/* ── SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ── CURSOR GLOW ──────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear;
}

/* ── NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(2, 8, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 2px;
  transition: var(--transition);
}

.nav-logo:hover { text-shadow: 0 0 20px var(--cyan); }

.logo-bracket { color: var(--purple); }

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

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg-base);
  background: var(--cyan);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: #fff;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-height) 24px 80px;
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 1px;
}

.badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-sub-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--purple);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.hero-name-last {
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan);
  text-stroke: 2px var(--cyan);
}

/* Glitch Effect */
.glitch {
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  color: var(--cyan);
  animation: glitch-1 3.5s infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
}

.glitch::after {
  color: var(--purple);
  animation: glitch-2 3.5s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translateX(0); opacity: 0; }
  91% { transform: translateX(-4px); opacity: 0.8; }
  93% { transform: translateX(4px); opacity: 0.8; }
  95% { transform: translateX(-2px); opacity: 0.6; }
  97% { transform: translateX(0); opacity: 0; }
}

@keyframes glitch-2 {
  0%, 92%, 100% { transform: translateX(0); opacity: 0; }
  93% { transform: translateX(4px); opacity: 0.8; }
  95% { transform: translateX(-4px); opacity: 0.8; }
  97% { transform: translateX(2px); opacity: 0.6; }
  99% { transform: translateX(0); opacity: 0; }
}

.hero-typing-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--cyan);
  margin-bottom: 20px;
  min-height: 2rem;
}

.typing-prefix { color: var(--purple); }

.typing-cursor {
  animation: blink 1s step-end infinite;
  color: var(--cyan);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(0,212,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  gap: 0;
  row-gap: 20px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--purple);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  animation: float-y 2s ease-in-out infinite;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 3px;
}

.scroll-wheel {
  width: 24px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes float-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn svg { width: 16px; height: 16px; transition: var(--transition); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: var(--bg-base);
  box-shadow: 0 0 24px rgba(0,212,255,0.25);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0,212,255,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── SECTIONS ─────────────────────────────────────────── */
.section {
  padding: var(--section-gap) 24px;
  position: relative;
}

.section-dark { background: var(--bg-section); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  margin: 0 auto;
  border-radius: 2px;
}

/* ── FADE-IN ANIMATION ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ABOUT ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.avatar-frame {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.3);
}

.ring-1 { width: 220px; height: 220px; animation: spin 20s linear infinite; border-color: rgba(0,212,255,0.4); }
.ring-2 { width: 180px; height: 180px; animation: spin 15s linear infinite reverse; border-color: rgba(124,58,237,0.4); }
.ring-3 { width: 140px; height: 140px; border-color: rgba(0,212,255,0.2); }

@keyframes spin { to { transform: rotate(360deg); } }

.avatar-initials {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 2px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  z-index: 1;
  box-shadow: 0 0 40px rgba(0,212,255,0.2);
}

.avatar-scan {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scan 3s ease-in-out infinite;
  border-radius: 50%;
}

@keyframes scan {
  0%, 100% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  50% { top: 100%; }
}

.about-info-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.info-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.info-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.chip-icon { font-size: 1rem; }

.about-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 500;
}

.about-body {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

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

.about-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.domain-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
}

.domain-tag:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── SKILLS ───────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.skill-category:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px rgba(0,212,255,0.05);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.skill-cat-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: var(--cyan-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 100px;
  transition: var(--transition);
  cursor: default;
}

.tier-1 {
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.35);
  color: var(--cyan);
}

.tier-2 {
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  color: #a78bfa;
}

.tier-3 {
  background: rgba(226,232,240,0.06);
  border: 1px solid rgba(226,232,240,0.15);
  color: var(--text-secondary);
}

.skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,212,255,0.2);
}

/* Certifications */
.certs-row { }

.certs-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--border-hover);
}

.cert-icon { font-size: 1.8rem; }

.cert-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.cert-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-org {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 1px;
}

.cert-badge.active {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #4ade80;
}

.cert-badge.in-progress {
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.3);
  color: #fbbf24;
}

/* ── EXPERIENCE / TIMELINE ────────────────────────────── */
.company-banner {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 48px;
}

.company-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.company-logo-block {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  padding: 10px 24px;
  border-radius: 8px;
}

.company-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
}

.company-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.company-tenure {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -34px; top: 28px;
  width: 14px; height: 14px;
  background: var(--bg-base);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-glow);
  z-index: 1;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 40px rgba(0,212,255,0.06);
  transform: translateX(4px);
}

.timeline-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-client {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 100px;
  border: 1px solid var(--border);
}

.timeline-industry-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding: 3px 10px;
  background: rgba(124,58,237,0.1);
  border-radius: 100px;
  border: 1px solid rgba(124,58,237,0.25);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.timeline-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-bullets li::before {
  content: '▶';
  position: absolute;
  left: 0; top: 4px;
  font-size: 0.5rem;
  color: var(--cyan);
}

.timeline-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  color: var(--cyan);
}

/* ── SERVICES ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  overflow: hidden;
  cursor: default;
}

.service-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,212,255,0.08), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-card-glow { opacity: 1; }

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,212,255,0.1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.service-features li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ── CONTACT ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-item-icon {
  font-size: 1.2rem;
  width: 36px;
  text-align: center;
}

.contact-item-body {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-item-value {
  font-size: 0.87rem;
  color: var(--text-primary);
  margin-top: 2px;
}

.contact-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #4ade80;
}

.avail-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Contact CTA */
.contact-cta-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 360px;
}

.contact-cta-icon { font-size: 2.4rem; }

.contact-cta-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
}

.contact-cta-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-cta-card .btn { margin-top: 8px; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 3px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

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

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(2,8,24,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 4px;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { flex-direction: row; align-items: flex-start; }
  .avatar-frame { width: 120px; height: 120px; flex-shrink: 0; }
  .ring-1 { width: 120px; height: 120px; }
  .ring-2 { width: 95px; height: 95px; }
  .ring-3 { width: 70px; height: 70px; }
  .avatar-initials { width: 60px; height: 60px; font-size: 1rem; }

  .skills-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { padding: 20px; }
  .hero-stat { padding: 0 16px; }
  .stat-num { font-size: 1.8rem; }
  .timeline { padding-left: 24px; }
  .timeline::before { left: 6px; }
  .timeline-dot { left: -22px; }
  .timeline-card { padding: 20px; }
  .footer-container { flex-direction: column; text-align: center; }
  .contact-cta-wrap { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .hero-stat-divider { display: none; }
  .hero-stats { gap: 16px; }
}
