/* =============================================
   BARIŞBOLAT.COM.TR — Personal Website Styles
   ============================================= */

:root {
  --bg-primary:       #050510;
  --bg-secondary:     #0a0a1f;
  --bg-card:          rgba(255, 255, 255, 0.03);
  --border:           rgba(255, 255, 255, 0.08);
  --border-hover:     rgba(99, 102, 241, 0.45);

  --accent-primary:   #6366f1;
  --accent-secondary: #22d3ee;
  --accent-purple:    #a855f7;
  --accent-glow:      rgba(99, 102, 241, 0.3);

  --text-primary:     #f1f5f9;
  --text-secondary:   #94a3b8;
  --text-muted:       #475569;

  --gradient:         linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --gradient-rev:     linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);

  --font-main:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:     'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:           16px;
  --radius-sm:        8px;
  --radius-full:      9999px;
}

/* ─── Reset ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; }

/* ─── Animated Background ─── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.13;
  animation: orbFloat 22s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 700px; height: 700px;
  background: var(--accent-primary);
  top: -250px; left: -250px;
  animation-delay: 0s;
}
.orb-2 {
  width: 550px; height: 550px;
  background: var(--accent-secondary);
  top: 38%; right: -180px;
  animation-delay: -8s;
}
.orb-3 {
  width: 450px; height: 450px;
  background: var(--accent-purple);
  bottom: -120px; left: 28%;
  animation-delay: -15s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(35px, -35px) scale(1.06); }
  50%       { transform: translate(-25px, 45px) scale(0.94); }
  75%       { transform: translate(45px, 25px) scale(1.03); }
}

/* ─── Navigation ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(5, 5, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: var(--transition);
}
.nav-logo:hover { opacity: 0.8; }

.logo-bracket { color: var(--accent-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

.nav-links a:not(.nav-cta):hover,
.nav-links a.active:not(.nav-cta) {
  color: var(--text-primary);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  box-shadow: 0 0 22px var(--accent-glow);
  transition: var(--transition) !important;
}
.nav-cta:hover {
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.55) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 16, 0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.mobile-link {
  color: var(--text-primary);
  font-size: 1.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  transition: var(--transition);
  display: inline-block;
}
.mobile-link:hover {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(6px);
}

/* ─── Hero ─── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 130px 2rem 5rem;
}

.hero-container {
  max-width: 820px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
  animation: fadeInDown 0.8s ease forwards;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulseGreen 2s ease infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.55rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.cursor {
  color: var(--accent-primary);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 32px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(99, 102, 241, 0.55);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: rgba(99, 102, 241, 0.06);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  animation: fadeInUp 0.8s ease 0.75s both;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px; height: 42px;
  background: var(--border);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}
.scroll-mouse {
  width: 22px; height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding: 5px 0;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ─── Sections Common ─── */
.section {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual { display: flex; justify-content: center; }

.avatar-container {
  position: relative;
  width: 220px; height: 220px;
  flex-shrink: 0;
}

.avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-primary), var(--accent-secondary), var(--accent-purple), var(--accent-primary));
  opacity: 0.5;
  animation: spinRing 10s linear infinite;
}
.avatar-ring::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--bg-primary);
  border-radius: 50%;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.avatar-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(99, 102, 241, 0.12) 100%);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
}
.avatar-inner i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tag-float {
  position: absolute;
  background: rgba(5, 5, 16, 0.92);
  border: 1px solid var(--border);
  color: var(--accent-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  animation: tagFloat 3.5s ease-in-out infinite;
}

.tag-1 { top: 8px;  right: -28px; animation-delay: 0s; }
.tag-2 { bottom: 32px; right: -36px; animation-delay: -1.1s; }
.tag-3 { bottom: 8px;  left: -28px; animation-delay: -2.2s; }
.tag-4 { top: 32px;  left: -36px; animation-delay: -0.6s; }

@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

.about-lead {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.about-lead strong { color: var(--accent-primary); font-weight: 700; }

.about-text {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.85;
  font-size: 0.975rem;
}

.about-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.trait {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.trait:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.05);
}
.trait i { color: var(--accent-primary); width: 16px; flex-shrink: 0; }

/* ─── Companies ─── */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.company-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.75rem;
  align-items: start;
}
.company-featured .company-icon {
  grid-row: 1 / 4;
  width: 64px;
  height: 64px;
  font-size: 1.6rem;
  margin-bottom: 0;
}
.company-featured .company-badge {
  grid-column: 2;
}
.company-featured h3 {
  grid-column: 2;
  font-size: 1.6rem;
}
.company-featured .company-legal {
  grid-column: 2;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.company-featured > p:not(.company-legal) {
  grid-column: 2;
}
.company-featured .company-tags {
  grid-column: 2;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.company-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.company-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 32px var(--accent-glow);
}
.company-card:hover::after { opacity: 0.04; }

.company-icon {
  width: 52px; height: 52px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.3rem;
  color: var(--accent-primary);
  transition: var(--transition);
}
.company-card:hover .company-icon {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.45);
}

.company-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}
.company-badge.main {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.company-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.company-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.35rem;
}
.company-legal {
  font-size: 0.7rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.5 !important;
}

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.company-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-secondary);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ─── Skills ─── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.875rem;
  transition: var(--transition);
}
.skill-category:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}
.skill-cat-header i { font-size: 1.25rem; color: var(--accent-primary); }
.skill-cat-header h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.skill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: default;
  user-select: none;
}
.skill-tag:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.06);
}

/* ─── Projects ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.875rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card.featured {
  border-color: rgba(99, 102, 241, 0.32);
  background: rgba(99, 102, 241, 0.04);
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.project-card.featured:hover {
  box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 40px var(--accent-glow);
}

.project-glow {
  position: absolute;
  top: -60%; left: -60%;
  width: 220%; height: 220%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.project-icon.ai      { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.project-icon.wa      { background: rgba(34, 197, 94, 0.15);  color: #22c55e; }
.project-icon.finance { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.project-icon.qr      { background: rgba(34, 211, 238, 0.15); color: #22d3ee; }
.project-icon.iot     { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.project-icon.remote  { background: rgba(249, 115, 22, 0.15); color: #f97316; }

.project-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
}
.project-status.active {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.project-status.dev {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-tech span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

/* ─── Vision ─── */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
}
.vision-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.vision-num {
  font-size: 3.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: rgba(99, 102, 241, 0.1);
  position: absolute;
  top: 0.875rem; right: 1.25rem;
  line-height: 1;
  user-select: none;
}

.vision-card > i {
  font-size: 1.6rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  display: block;
}

.vision-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.vision-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ─── Contact ─── */
.contact-wrapper {
  text-align: center;
  padding: 4.5rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 680px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.contact-wrapper::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact-wrapper h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 0 32px var(--accent-glow);
  margin-bottom: 2.25rem;
}
.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 55px rgba(99, 102, 241, 0.55);
}

.social-links {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
}

.social-link {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-3px);
  background: rgba(99, 102, 241, 0.1);
}

/* ─── Footer ─── */
footer {
  position: relative;
  z-index: 1;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer-sub {
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(12px);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 36px rgba(99, 102, 241, 0.6);
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Keyframes ─── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid {
    grid-template-columns: 240px 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section { padding: 4.5rem 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .about-traits { grid-template-columns: repeat(2, 1fr); }
  .trait { justify-content: center; }

  .companies-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.6rem; }

  .contact-wrapper { padding: 3rem 1.5rem; }
}

@media (max-width: 520px) {
  .vision-grid { grid-template-columns: 1fr; }
  .about-traits { grid-template-columns: 1fr; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.4rem; }

  .hero-badge { font-size: 0.75rem; }

  .company-featured {
    grid-template-columns: 1fr;
  }
  .company-featured .company-icon {
    grid-row: auto;
    margin-bottom: 0.75rem;
  }
  .company-featured .company-badge,
  .company-featured h3,
  .company-featured .company-legal,
  .company-featured > p:not(.company-legal),
  .company-featured .company-tags {
    grid-column: 1;
  }
}

/* ─── Intro Screen ─── */
#introScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050510;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: all;
}

.intro-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.intro-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: introLogoIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes introLogoIn {
  from { opacity: 0; transform: scale(0.3) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.intro-logo-text {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 48px rgba(99, 102, 241, 0.65));
}

.intro-br { opacity: 0.65; }

.intro-sub {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.intro-dots {
  display: flex;
  gap: 7px;
  margin-top: 0.4rem;
}

.intro-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: introDotPulse 1.1s ease-in-out infinite;
}
.intro-dots span:nth-child(2) { animation-delay: 0.18s; background: var(--accent-secondary); }
.intro-dots span:nth-child(3) { animation-delay: 0.36s; background: var(--accent-purple); }

@keyframes introDotPulse {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.35; }
  40%            { transform: scale(1.3);  opacity: 1; }
}

/* ─── Glitch animasyon ─── */
.glitch-active {
  animation: glitchWave 0.12s steps(1) 0s 5, glitchSettle 0.55s ease 0.6s both;
  position: relative;
}

/* RGB kırmızı/mavi "ghost" kopyalar */
.glitch-active::before,
.glitch-active::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}
.glitch-active::before {
  animation: glitchR 0.55s steps(2) 0s 4;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
  color: #ef4444;
  background: none;
  -webkit-text-fill-color: rgba(239,68,68,0.75);
}
.glitch-active::after {
  animation: glitchB 0.55s steps(2) 0.08s 4;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
  color: #22d3ee;
  background: none;
  -webkit-text-fill-color: rgba(34,211,238,0.75);
}

@keyframes glitchWave {
  0%   { transform: translate(0); }
  20%  { transform: translate(-4px, 2px) skewX(-3deg); }
  40%  { transform: translate(4px, -2px) skewX(3deg); }
  60%  { transform: translate(-3px, 3px) skewX(-1.5deg); }
  80%  { transform: translate(3px, -3px) skewX(2deg); }
  100% { transform: translate(0); }
}

@keyframes glitchSettle {
  0%   { filter: blur(6px) brightness(2.5); transform: scale(0.88); opacity: 0.2; }
  40%  { filter: blur(2px) brightness(1.6); transform: scale(1.04); opacity: 0.8; }
  70%  { filter: blur(0.5px) brightness(1.1); transform: scale(0.99); opacity: 0.95; }
  100% { filter: none; transform: scale(1); opacity: 1; }
}

@keyframes glitchR {
  0%   { transform: translateX(-5px); }
  50%  { transform: translateX(4px); }
  100% { transform: translateX(-2px); }
}

@keyframes glitchB {
  0%   { transform: translateX(5px); }
  50%  { transform: translateX(-4px); }
  100% { transform: translateX(2px); }
}

/* Intro exit: tüm ekran yukarı kayar */
#introScreen.intro-exit {
  transform: translateY(-100%);
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}
