/* ==========================================================================
   mertoz.dev - Premium Modern Portfolio Stylesheet
   Designed with Dark Glassmorphism, Neon Accents & Fluid Micro-Interactions
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #06090e;
  --bg-card: rgba(13, 19, 32, 0.65);
  --bg-card-hover: rgba(20, 29, 48, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.4);

  --text-primary: #f3f4f6;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #00f2fe;
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  --accent-violet: #6366f1;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #818cf8 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(168, 85, 247, 0.15));
  --gradient-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --nav-height: 72px;
  --max-width: 1140px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Glowing Ambient Orbs */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00f2fe, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8a2be2, transparent 70%);
  top: 40%;
  right: -150px;
  animation-duration: 25s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0284c7, transparent 70%);
  bottom: -50px;
  left: 20%;
  animation-duration: 18s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Common Typography & Accents */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #050811;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(6, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(6, 9, 14, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.03);
}

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

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

.logo-ext {
  color: var(--text-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link-cta {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  background: rgba(0, 242, 254, 0.2);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-role-wrapper {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 38px;
  display: flex;
  align-items: center;
}

.role-dynamic {
  color: var(--accent-cyan);
  margin-left: 6px;
}

.cursor-blink {
  animation: blink 1s infinite;
  color: var(--accent-purple);
  margin-left: 3px;
}

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

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}

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

.hero-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Terminal Visual */
.terminal-card {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 254, 0.08);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  flex-grow: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-badge {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.terminal-body {
  padding: 22px;
  font-size: 0.85rem;
  line-height: 1.8;
}

.t-prompt { color: var(--accent-cyan); margin-right: 6px; }
.t-cmd { color: #fff; font-weight: 500; }
.t-cyan { color: var(--accent-cyan); }
.t-green { color: #34d399; }
.t-gray { color: #94a3b8; }
.t-indent { padding-left: 20px; color: #94a3b8; }
.t-key { color: var(--accent-purple); }
.t-str { color: #38bdf8; }

.terminal-cursor {
  display: inline-block;
  color: var(--accent-cyan);
  animation: blink 1s infinite;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  padding: 36px 28px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.icon-blue { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.icon-cyan { background: rgba(0, 242, 254, 0.12); color: #00f2fe; }

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   PROJECTS SECTION (BytePeeX Spotlight)
   ========================================================================== */
.featured-project-card {
  position: relative;
  padding: 44px;
  margin-bottom: 36px;
  border: 1px solid rgba(0, 242, 254, 0.25);
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.8), rgba(8, 12, 22, 0.9));
}

.project-spotlight-tag {
  position: absolute;
  top: 24px;
  left: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffb703;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.project-content-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.project-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-summary {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

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

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.project-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Project Preview Mockup */
.mockup-window {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.mockup-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 10px;
}

.mockup-canvas {
  padding: 24px;
}

.code-art {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.code-art-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.code-pill {
  color: var(--accent-cyan);
  font-weight: 600;
}

.code-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
}

.code-art pre code {
  color: #cbd5e1;
  line-height: 1.6;
}

.c-keyword { color: #f43f5e; }
.c-str { color: #38bdf8; }
.c-comment { color: #64748b; font-style: italic; }

/* GitHub Banner */
.github-cta-banner {
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.github-cta-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.github-cta-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   EXPERIENCE & EDUCATION TIMELINE
   ========================================================================== */
.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #06090e;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.timeline-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.timeline-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  top: 24px;
  left: -40px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
  z-index: 2;
}

.marker-edu {
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.timeline-card {
  padding: 28px 32px;
}

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

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-cyan);
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

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

.timeline-tags span {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.linkedin-notice {
  text-align: center;
  margin-top: 48px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.linkedin-notice a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.linkedin-notice a:hover {
  text-decoration: underline;
  color: #fff;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.skill-category {
  padding: 32px 28px;
}

.skill-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-cyan { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.dot-purple { background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }
.dot-blue { background: var(--accent-blue); box-shadow: 0 0 10px var(--accent-blue); }

.skill-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.skill-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.skill-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

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

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-box {
  padding: 60px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(8, 12, 22, 0.95));
}

.contact-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 16px 0 14px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #fff;
  transition: all var(--transition-normal);
  text-align: left;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-card-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.card-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.contact-card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--accent-cyan);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
  position: relative;
  z-index: 1;
  background: #04060a;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  margin-right: 14px;
}

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

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-role-wrapper {
    justify-content: center;
  }

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

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

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

  .project-content-grid {
    grid-template-columns: 1fr;
  }

  .featured-project-card {
    padding: 32px 24px;
  }

  .project-spotlight-tag {
    left: 24px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(6, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.35s ease-in-out;
  }

  .nav-menu.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .github-cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
