/* ==========================================================================
   SALIH TEKNIK - MODERN CYBER-ENGINEERING DESIGN SYSTEM
   Author: Salih Hüseyin Dağcı (salihteknik.com.tr)
   Theme: High-Tech Enterprise Dark Glassmorphism & Cyber Emerald/Cyan
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #080b11;
  --bg-surface: #0f1523;
  --bg-card: rgba(18, 25, 41, 0.75);
  --bg-card-hover: rgba(26, 36, 60, 0.85);
  --bg-glass: rgba(15, 22, 38, 0.65);
  --bg-glass-border: rgba(255, 255, 255, 0.08);

  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.35);
  --accent-blue: #3a7bd5;
  --accent-blue-glow: rgba(58, 123, 213, 0.3);
  --accent-emerald: #00e676;
  --accent-emerald-glow: rgba(0, 230, 118, 0.3);
  --accent-amber: #ffab00;
  --accent-purple: #9d4edd;
  --accent-red: #ff3366;

  --text-main: #f0f4fc;
  --text-secondary: #9cb1d1;
  --text-muted: #5e7292;
  --text-code: #00e5ff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevations & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px var(--accent-cyan-glow);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(58, 123, 213, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(0, 230, 118, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1f2b45;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #fff;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, var(--accent-cyan) 60%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0.9rem 0;
  background: rgba(11, 16, 28, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(58, 123, 213, 0.25));
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  animation: logo-shine 6s infinite;
}

@keyframes logo-shine {
  0% { transform: translateX(-150%) rotate(45deg); }
  20%, 100% { transform: translateX(150%) rotate(45deg); }
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-login {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12), rgba(58, 123, 213, 0.18));
  color: #fff;
  border: 1px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.btn-login:hover {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #050811;
  box-shadow: 0 0 25px var(--accent-cyan-glow);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #060a14;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
  color: #000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--bg-glass-border);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--bg-glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Visual / Avatar Card */
.hero-visual-card {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 28, 47, 0.8), rgba(12, 17, 30, 0.95));
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 210, 255, 0.1);
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-emerald));
}

.avatar-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #050811;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .avatar-img {
  transform: scale(1.03);
}

.card-floating-badge {
  position: absolute;
  bottom: 2.2rem;
  left: 2.2rem;
  right: 2.2rem;
  background: rgba(10, 16, 28, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.badge-info h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.badge-info p {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.badge-verified {
  width: 32px;
  height: 32px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
}

/* ==========================================================================
   INTERACTIVE ARCHITECTURE TOPOLOGY (SALİHTEKNİK LIVE STACK)
   ========================================================================== */
.architecture-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent, rgba(12, 18, 32, 0.6) 50%, transparent);
  border-top: 1px solid var(--bg-glass-border);
  border-bottom: 1px solid var(--bg-glass-border);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

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

.topology-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.topology-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  align-items: stretch;
}

.topo-node {
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.topo-node.active-highlight {
  border-color: rgba(0, 210, 255, 0.5);
  background: linear-gradient(160deg, rgba(17, 28, 52, 0.9), rgba(10, 16, 29, 0.9));
}

.node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.node-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.node-wan { background: rgba(255, 51, 102, 0.15); color: var(--accent-red); border: 1px solid rgba(255, 51, 102, 0.3); }
.node-fw { background: rgba(255, 171, 0, 0.15); color: var(--accent-amber); border: 1px solid rgba(255, 171, 0, 0.3); }
.node-dmz { background: rgba(0, 210, 255, 0.15); color: var(--accent-cyan); border: 1px solid rgba(0, 210, 255, 0.3); }
.node-mgmt { background: rgba(0, 230, 118, 0.15); color: var(--accent-emerald); border: 1px solid rgba(0, 230, 118, 0.3); }

.node-vlan-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.node-title {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.node-ip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.node-details {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.node-connector {
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  z-index: 2;
}

.node-connector::after {
  content: '▶';
  position: absolute;
  right: -5px;
  top: -8px;
  font-size: 9px;
  color: var(--accent-cyan);
}

/* Live Traffic Simulation Terminal */
.terminal-card {
  margin-top: 2rem;
  background: #05080e;
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.terminal-header {
  background: #0c121d;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.term-dots {
  display: flex;
  gap: 6px;
}

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

.term-red { background: #ff5f56; }
.term-yellow { background: #ffbd2e; }
.term-green { background: #27c93f; }

.term-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #abb2bf;
  max-height: 220px;
  overflow-y: auto;
}

.cmd-line {
  color: var(--accent-emerald);
}

.log-success {
  color: #98c379;
}

.log-info {
  color: var(--accent-cyan);
}

.log-warn {
  color: #e5c07b;
}

/* ==========================================================================
   SKILLS & TECHNICAL INVENTORY (COMPREHENSIVE)
   ========================================================================== */
.skills-section {
  padding: 5rem 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.skill-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 210, 255, 0.08);
}

.skill-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.skill-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.skill-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* ==========================================================================
   FIELD OPERATIONS & HARDWARE SHOWCASE (BEFORE/AFTER & GALLERY)
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
  background: rgba(10, 15, 26, 0.7);
  border-top: 1px solid var(--bg-glass-border);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #060a14;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Before / After Special Slider Showcase */
.before-after-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.ba-header {
  padding: 1.5rem 2rem;
  background: rgba(15, 22, 38, 0.9);
  border-bottom: 1px solid var(--bg-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.ba-header h3 {
  font-size: 1.4rem;
  color: #fff;
}

.ba-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.ba-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  width: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-right: 3px solid var(--accent-cyan);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: #090e1a;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1rem;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.ba-badge {
  position: absolute;
  top: 1.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.ba-badge.before {
  right: 1.5rem;
  background: rgba(255, 51, 102, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 51, 102, 0.5);
}

.ba-badge.after {
  left: 1.5rem;
  background: rgba(0, 230, 118, 0.75);
  color: #050811;
  border: 1px solid rgba(0, 230, 118, 0.5);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: var(--shadow-md), 0 0 25px rgba(0, 210, 255, 0.1);
}

.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #080c14;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 12, 20, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.gallery-title {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.gallery-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   TECHNICAL ARTICLES & BLOG
   ========================================================================== */
.articles-section {
  padding: 5rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 210, 255, 0.08);
}

.article-cover {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0d1322;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-img {
  transform: scale(1.05);
}

.article-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.article-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  color: #fff;
  transition: var(--transition);
}

.article-card:hover .article-title {
  color: var(--accent-cyan);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-glass-border);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-cyan);
}

.read-more-link:hover {
  gap: 0.7rem;
  color: #fff;
}

/* ==========================================================================
   ENTERPRISE ECOSYSTEM & SOLUTION PARTNERS
   ========================================================================== */
.ecosystem-section {
  padding: 4.5rem 0;
  background: rgba(12, 18, 30, 0.5);
  border-top: 1px solid var(--bg-glass-border);
  border-bottom: 1px solid var(--bg-glass-border);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.partner-card {
  background: rgba(16, 23, 38, 0.6);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  background: rgba(22, 33, 56, 0.8);
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-3px);
}

.partner-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.partner-name {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.partner-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   EXPERIENCE & TIMELINE
   ========================================================================== */
.experience-section {
  padding: 5rem 0;
}

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

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

.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 2.75rem;
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateX(5px);
}

.timeline-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.timeline-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.timeline-desc ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.timeline-desc li {
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-section {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, transparent, rgba(14, 21, 37, 0.8) 100%);
  border-top: 1px solid var(--bg-glass-border);
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 210, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.contact-detail h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.contact-detail a, .contact-detail span {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--accent-cyan);
}

.quick-connect-form {
  background: rgba(10, 15, 27, 0.7);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--bg-glass-border);
  background: #05080e;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-copy-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.footer-social-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  width: fit-content;
}

.footer-social-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.footer-social-item:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-social-item:hover svg {
  transform: scale(1.12);
}

.footer-social-item.linkedin:hover {
  border-color: rgba(10, 102, 194, 0.6);
  background: rgba(10, 102, 194, 0.15);
  box-shadow: 0 0 15px rgba(10, 102, 194, 0.25);
}

.footer-social-item.instagram:hover {
  border-color: rgba(225, 48, 108, 0.6);
  background: rgba(225, 48, 108, 0.15);
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.25);
}

.footer-social-item.github:hover {
  border-color: rgba(0, 210, 255, 0.5);
  background: rgba(0, 210, 255, 0.12);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.footer-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-link {
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 14, 0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-lg);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 210, 255, 0.15);
  position: relative;
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--bg-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  z-index: 10;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.modal-body {
  padding: 2rem 1.75rem;
}

.modal-img-wrap {
  width: 100%;
  max-height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--bg-glass-border);
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #060910;
}

/* Article Reader Modal Details */
.article-reader-body h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--accent-cyan);
}

.article-reader-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.article-reader-body pre {
  background: #060911;
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #61afef;
  margin-bottom: 1.5rem;
}

.article-reader-body code {
  font-family: var(--font-mono);
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.article-reader-body ul, .article-reader-body ol {
  padding-left: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE / TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual-card {
    max-width: 520px;
    margin: 0 auto;
  }
  .topology-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .node-connector {
    display: none;
  }
  .contact-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .telemetry-bar {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 16, 28, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--bg-glass-border);
    backdrop-filter: blur(20px);
    gap: 1.2rem;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .topology-flow {
    grid-template-columns: 1fr;
  }
  .ba-container {
    height: 380px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
}
