/* ============================================
   FADI SHEHAB — PORTFOLIO CSS
   Premium Dark Cybersecurity Theme
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #16161f;
  --bg-card: rgba(22, 22, 31, 0.6);
  --bg-glass: rgba(22, 22, 31, 0.45);

  /* Accent colors */
  --accent-cyan: #00e5ff;
  --accent-cyan-dim: rgba(0, 229, 255, 0.15);
  --accent-green: #00ff88;
  --accent-green-dim: rgba(0, 255, 136, 0.12);
  --accent-purple: #a855f7;
  --accent-purple-dim: rgba(168, 85, 247, 0.12);
  --accent-orange: #ff6b35;
  --accent-gradient: linear-gradient(135deg, #00e5ff 0%, #00ff88 50%, #a855f7 100%);
  --accent-gradient-text: linear-gradient(135deg, #00e5ff 0%, #00ff88 100%);
  --accent-gradient-purple: linear-gradient(135deg, #a855f7 0%, #00e5ff 100%);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 229, 255, 0.2);

  /* Shadows */
  --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.15);
  --shadow-glow-green: 0 0 30px rgba(0, 255, 136, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 120px);
  --container-max: 1200px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: 3px;
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(0, 229, 255, 0.25);
  color: #fff;
}

/* ---------- Animated Grid Background ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.08) 0%, transparent 60%);
}

/* ---------- Noise Overlay ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background: 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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  position: relative;
  z-index: 2;
}

/* ---------- Section ---------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.nav-logo .logo-bracket {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bg-primary);
  background: var(--accent-gradient);
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.35);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 50px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.15);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 28px;
  animation: pulse-badge 3s ease-in-out infinite;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: blink 2s ease-in-out infinite;
}

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

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

.hero-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
}

.hero-name .gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-title .separator {
  color: var(--accent-cyan);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bg-primary);
  background: var(--accent-gradient);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 4px 25px rgba(0, 229, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-accent);
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

/* Hero image area */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.6;
  animation: rotate-border 8s linear infinite;
}

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-primary);
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-primary);
}

/* Floating orbit elements */
.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(0, 229, 255, 0.12);
  border-radius: 50%;
  animation: rotate-slow 30s linear infinite;
}

.orbit-ring-1 {
  width: 480px;
  height: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-2 {
  width: 560px;
  height: 560px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-direction: reverse;
  animation-duration: 40s;
}

@keyframes rotate-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge .badge-icon {
  font-size: 1.1rem;
}

.floating-badge:nth-child(2) { animation-delay: -1s; }
.floating-badge:nth-child(3) { animation-delay: -2s; }
.floating-badge:nth-child(4) { animation-delay: -3s; }

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

.fb-top-right { top: 10%; right: -10%; }
.fb-bottom-right { bottom: 10%; right: -5%; }
.fb-bottom-left { bottom: 5%; left: -10%; }
.fb-top-left { top: 15%; left: -15%; }

/* Stats row */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-text p strong {
  color: var(--accent-cyan);
  font-weight: 600;
}

.about-philosophy {
  margin-top: 32px;
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-cyan);
}

.about-philosophy .quote-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.about-philosophy p {
  font-style: italic;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Info cards grid */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-out-expo);
}

.about-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-cyan);
}

.about-card .card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.about-card .card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-card .card-val {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.skill-category {
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.skill-category:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.skill-category:hover::before {
  opacity: 1;
}

.skill-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.skill-cat-icon.dev { background: var(--accent-cyan-dim); }
.skill-cat-icon.sec { background: var(--accent-green-dim); }
.skill-cat-icon.biz { background: var(--accent-purple-dim); }

.skill-cat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.skill-cat-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, 0.2);
  background: var(--accent-cyan-dim);
}

/* ---------- PROJECTS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 48px;
}

.project-card {
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.project-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.project-card-header {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-card-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.project-card-visual.proj-1 {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a1a2e 50%, #16213e 100%);
}

.project-card-visual.proj-2 {
  background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0d2818 100%);
}

.project-card-visual .visual-icon {
  font-size: 5rem;
  position: relative;
  z-index: 2;
}

.project-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(0, 229, 255, 0.15) 0%, transparent 60%);
}

.project-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
}

.badge-saas {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.badge-security {
  background: var(--accent-green-dim);
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.project-card-body {
  padding: 28px;
}

.project-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-chip {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.project-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.15);
  transition: all 0.3s;
}

.project-link:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--accent-cyan);
}

/* Impact highlight */
.project-impact {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.1);
}

.project-impact .impact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.project-impact p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- CREDENTIALS ---------- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.credential-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-out-expo);
}

.credential-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-cyan);
}

.credential-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.credential-icon.edu { background: var(--accent-purple-dim); }
.credential-icon.cert { background: var(--accent-cyan-dim); }
.credential-icon.badge { background: var(--accent-green-dim); }

.credential-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.credential-info .credential-org {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 6px;
}

.credential-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.credential-verify {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 500;
}

.credential-verify:hover {
  text-decoration: underline;
}

/* ---------- ACHIEVEMENTS ---------- */
.achievement-card {
  margin-top: 48px;
  padding: 40px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  transition: all 0.4s var(--ease-out-expo);
}

.achievement-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow-cyan);
}

.achievement-visual {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
}

.achievement-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achievement-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.achievement-content .achievement-role {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.achievement-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
}

.achievement-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.achievement-tag {
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

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

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- CONTACT ---------- */
.contact-wrapper {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s var(--ease-out-expo);
}

.contact-item:hover {
  border-color: var(--border-accent);
  transform: translateX(8px);
  box-shadow: var(--shadow-glow-cyan);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item-icon.email-icon { background: var(--accent-cyan-dim); }
.contact-item-icon.linkedin-icon { background: var(--accent-purple-dim); }
.contact-item-icon.github-icon { background: var(--accent-green-dim); }

.contact-item-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact form */
.contact-form {
  padding: 36px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.contact-form h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 4px 25px rgba(0, 229, 255, 0.25);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.4);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer-copy .heart {
  color: var(--accent-cyan);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.footer-social:hover {
  color: var(--accent-cyan);
  border-color: var(--border-accent);
  background: var(--accent-cyan-dim);
  transform: translateY(-3px);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Terminal typing ---------- */
.terminal-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-cyan);
  margin-left: 3px;
  animation: cursor-blink 1s step-end infinite;
  vertical-align: text-bottom;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-image-wrapper {
    width: 280px;
    height: 280px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .floating-badge {
    display: none;
  }

  .orbit-ring {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .achievement-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-image-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Glow orbs (decorative) ---------- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-cyan {
  width: 400px;
  height: 400px;
  background: rgba(0, 229, 255, 0.06);
}

.glow-orb-purple {
  width: 350px;
  height: 350px;
  background: rgba(168, 85, 247, 0.05);
}

.glow-orb-green {
  width: 300px;
  height: 300px;
  background: rgba(0, 255, 136, 0.04);
}
