/**
 * Durmaz Digital Enterprise Web Architecture
 * © 2026 Durmaz Digital. All rights reserved.
 * Next-Gen AI & Web Engineering Agency - https://durmazdigital.com
 */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0b1120;
  --bg-tertiary: #111a33;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(22, 34, 62, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.18);
  --border-neon: rgba(99, 102, 241, 0.4);

  --accent-red: #e30a17;
  --accent-red-glow: rgba(227, 10, 23, 0.35);
  --accent-indigo: #6366f1;
  --accent-indigo-glow: rgba(99, 102, 241, 0.35);
  --accent-cyan: #00f2fe;
  --accent-cyan-glow: rgba(0, 242, 254, 0.35);
  --accent-emerald: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Orbitron', monospace, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(227, 10, 23, 0.05) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
  will-change: left, top;
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}

/* Matrix Background & Ambient Lights */
.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.ambient-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.ambient-1 {
  top: -120px;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
}

.ambient-2 {
  top: 35%;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
}

.ambient-3 {
  bottom: 5%;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Glassmorphism */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-bright);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px -5px var(--accent-indigo-glow);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.glass-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Mechanical Tactile Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s ease, background 0.2s ease;
  border: none;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn:active, .choice-card:active, .filter-btn:active {
  transform: translateY(3px) scale(0.97) !important;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.6) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #b7000c);
  color: #ffffff;
  box-shadow: 0 5px 0 #7f0007, 0 8px 25px var(--accent-red-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #7f0007, 0 12px 30px rgba(227, 10, 23, 0.6);
}

.btn-primary:active {
  transform: translateY(4px) !important;
  box-shadow: 0 1px 0 #7f0007, 0 2px 10px rgba(227, 10, 23, 0.4) !important;
}

.btn-cyber {
  background: linear-gradient(135deg, var(--accent-indigo), #4338ca);
  color: #ffffff;
  box-shadow: 0 5px 0 #312e81, 0 8px 25px var(--accent-indigo-glow);
}

.btn-cyber:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #312e81, 0 12px 30px rgba(99, 102, 241, 0.6);
}

.btn-cyber:active {
  transform: translateY(4px) !important;
  box-shadow: 0 1px 0 #312e81, 0 2px 10px rgba(99, 102, 241, 0.4) !important;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-glass-bright);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 6px 0 rgba(0, 242, 254, 0.3), 0 0 20px var(--accent-cyan-glow);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 rgba(0, 242, 254, 0.2) !important;
}

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

/* Audio FX Toggle Switch */
.audio-fx-toggle {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 940;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-bright);
  border-radius: 9999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.audio-fx-toggle:hover {
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.audio-fx-toggle.active {
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.audio-fx-toggle .sound-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.audio-fx-toggle.active .sound-dot {
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 1.5s infinite;
}

.btn-glow-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: 0.75s;
}

.btn-glow-shimmer:hover::before {
  left: 150%;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid rgba(227, 10, 23, 0.45);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(227, 10, 23, 0.25), inset 0 0 10px rgba(0, 242, 254, 0.1);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 242, 254, 0.35), transparent 45%);
  animation: logoAuraSpin 5s linear infinite;
  opacity: 0.7;
}

@keyframes logoAuraSpin {
  100% { transform: rotate(360deg); }
}

.logo-icon img,
.logo-icon svg {
  position: relative;
  z-index: 2;
  display: block;
  filter: drop-shadow(0 0 6px rgba(227, 10, 23, 0.6));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-icon {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5), inset 0 0 12px rgba(227, 10, 23, 0.3);
  transform: translateY(-2px);
}

.brand-logo:hover .logo-icon img,
.brand-logo:hover .logo-icon svg {
  transform: scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title span {
  color: var(--accent-red);
}

.brand-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-indigo));
  transition: width var(--transition-fast);
}

.nav-item a:hover,
.nav-item a.active {
  color: #ffffff;
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-glass-bright);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(11, 17, 32, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  border-left: 1px solid var(--border-glass-bright);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.drawer-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
}

.drawer-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav a span {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 175px;
  padding-bottom: 110px;
  overflow: hidden;
}

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

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

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 900;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-mini {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-glass);
}

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

.stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-val span {
  color: var(--accent-red);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Futuristic Terminal */
.hero-visual-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(25px);
  padding: 26px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 30px -10px var(--accent-indigo-glow);
  position: relative;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 20px;
}

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

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
}

.terminal-body {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.8;
  color: #a5b4fc;
}

.terminal-line {
  margin-bottom: 8px;
}

.code-keyword { color: #f43f5e; font-weight: 600; }
.code-fn { color: #38bdf8; }
.code-str { color: #34d399; }
.code-num { color: #fbbf24; }
.code-comment { color: #64748b; font-style: italic; }

.ai-scan-box {
  margin-top: 20px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px dashed var(--accent-indigo);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-scan-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.radar-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-cyan);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

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

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--accent-cyan);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 0 25px var(--accent-indigo-glow);
  transform: scale(1.08);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #ffffff;
}

.service-text {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.service-link svg {
  transition: transform var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(5px);
}

/* Portfolio Section */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 20px var(--accent-red-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-bright);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px -5px var(--accent-indigo-glow);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b1329 0%, #1e1b4b 100%);
  transition: transform var(--transition-smooth);
}

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

.project-badge-top {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  z-index: 2;
}

.project-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-client {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.project-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.meta-col {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.meta-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

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

/* Process 4 Steps */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step-card {
  padding: 32px 24px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-indigo));
  color: #ffffff;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 24px;
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Interactive Project Calculator / Wizard */
.wizard-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--accent-red-glow);
  position: relative;
}

.wizard-steps-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: all var(--transition-fast);
}

.wizard-step-node.active {
  opacity: 1;
}

.wizard-step-node.completed {
  opacity: 0.9;
  color: var(--accent-emerald);
}

.node-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-glass-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.wizard-step-node.active .node-circle {
  border-color: var(--accent-red);
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-red-glow);
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

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

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.choice-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s ease, background 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  user-select: none;
}

.choice-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(99, 102, 241, 0.25);
}

.choice-card:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 rgba(99, 102, 241, 0.4) !important;
}

.choice-card.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-indigo);
  box-shadow: 0 4px 0 var(--accent-indigo), 0 0 25px var(--accent-indigo-glow);
}

.choice-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 12px;
  margin-bottom: 6px;
}

.choice-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
}

.author-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all var(--transition-normal);
  color: #ffffff;
  position: relative;
}

.float-whatsapp {
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}

.float-call {
  background: linear-gradient(135deg, var(--accent-indigo), #3730a3);
  box-shadow: 0 6px 20px var(--accent-indigo-glow);
}

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.7);
}

/* Footer */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .process-timeline,
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding-top: 130px;
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .hero-stats-mini {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .wizard-box {
    padding: 24px;
  }
}

/* ========================================================
   15 SURPRISE CYBER LAB & MECHANICAL KEYBOARD SUITE
   ======================================================== */

/* 1. Cyber Keyboard Deck (İnteraktif Mekanik Klavye Masası) */
.cyber-keyboard-deck {
  background: rgba(11, 17, 32, 0.9);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--accent-indigo-glow);
  margin-top: 50px;
}

.keyboard-screen-hud {
  background: #04070d;
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hud-key-info {
  display: flex;
  flex-direction: column;
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.hud-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #ffffff;
}

.hud-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 600px;
}

.keyboard-keys-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.mech-key {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 0 #070b14, 0 10px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 84px;
}

.mech-key:hover {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #070b14, 0 12px 20px var(--accent-cyan-glow);
}

.mech-key:active, .mech-key.key-pressed {
  transform: translateY(5px) !important;
  box-shadow: 0 1px 0 #070b14, 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  border-color: var(--accent-red) !important;
  background: var(--accent-red) !important;
  color: #ffffff !important;
}

.key-cap {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  display: block;
}

.key-sub {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.mech-key:hover .key-sub {
  color: var(--accent-cyan);
}

.mech-key.key-pressed .key-sub {
  color: #ffffff;
}

/* 2. Live Global Network Ping HUD */
.network-ping-badge {
  position: fixed;
  top: 90px;
  right: 30px;
  z-index: 95;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-bright);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ping-signal {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 1.2s infinite;
}

/* 3. Reading Scroll Progress Bar */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan), var(--accent-indigo));
  z-index: 1000;
  width: 0%;
  transition: width 0.05s ease-out;
}

/* 4. Click Cyber Particle */
.cyber-click-ripple {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleFx 0.45s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  z-index: 9999;
}

@keyframes rippleFx {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; border-color: var(--accent-red); }
  50% { border-color: var(--accent-cyan); }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

@media (max-width: 900px) {
  .keyboard-keys-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .keyboard-keys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .network-ping-badge {
    display: none;
  }
}
