:root {
  --bg: #050915;
  --card: #0b1224;
  --surface: #0f1a33;
  --text: #e5e7eb;
  --muted: #9aa7c4;
  --line: #1f2b45;
  --primary: #7dd3fc;
  --primary-dark: #38bdf8;
  --accent: #f97316;
  --shadow: 0 25px 70px rgba(5, 9, 21, 0.55);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 32px;
  backdrop-filter: blur(10px);
  background: rgba(5, 9, 21, 0.78);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 67px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
}

.btn.primary:hover {
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.35);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn.outline {
  border: 1px solid var(--primary);
  color: var(--text);
  background: rgba(125, 211, 252, 0.08);
}

.btn.full {
  width: 100%;
  background: #0b152b;
  color: #fff;
}

.btn.large {
  padding: 14px 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

.shape {
  position: absolute;
  width: 460px;
  height: 460px;
  filter: blur(130px);
  opacity: 0.8;
  z-index: 0;
}

.blur-one {
  background: radial-gradient(
    circle at 30% 30%,
    rgba(56, 189, 248, 0.38),
    transparent 55%
  );
  top: -80px;
  left: -120px;
}

.blur-two {
  background: radial-gradient(
    circle at 70% 50%,
    rgba(249, 115, 22, 0.32),
    transparent 60%
  );
  bottom: -140px;
  right: -200px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  margin: 10px 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 6px;
}

.lede {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stat-number {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
}

.stat-label {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.hero-panel {
  background: var(--card);
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 12px;
}

.panel-head,
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-label {
  font-weight: 700;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--primary-dark), var(--accent));
  color: #0b1224;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.pill.muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
}

.pill.link {
  background: rgba(125, 211, 252, 0.12);
  color: var(--primary);
  border: 1px solid rgba(125, 211, 252, 0.4);
}

.panel-body {
  display: grid;
  gap: 12px;
}

.list-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(
    120deg,
    rgba(56, 189, 248, 0.1),
    rgba(249, 115, 22, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.list-title {
  margin: 0;
  font-weight: 700;
}

.list-desc {
  margin: 2px 0 0;
  color: var(--muted);
}

.panel-note {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border-radius: 12px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

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

.work-card {
  background: var(--card);
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.work-meta {
  display: flex;
  gap: 8px;
}

.work-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.work-card p {
  margin: 0;
  color: var(--muted);
}

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

.tags span {
  padding: 6px 9px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9rem;
}

.tags.small span {
  font-size: 0.85rem;
}

.timeline {
  display: grid;
  gap: 22px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: flex-start;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.15);
  margin-left: 4px;
  margin-top: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.profile-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(125, 211, 252, 0.12);
  box-shadow: var(--shadow);
  align-items: start;
}

.profile-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
  border: 2px solid rgba(125, 211, 252, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: #0b1224;
}

.profile-photo.ugurcan {
  object-position: center 15%;
}

.profile-body {
  display: grid;
  gap: 10px;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.profile-bio {
  margin: 0;
  color: var(--muted);
}

.resume {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.resume strong {
  color: #fff;
  font-weight: 700;
}

.cta {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(120deg, #0b152b, #0a1022);
  color: #f3f4f6;
  border-radius: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-box .muted {
  color: #e5e7eb;
}

.cta-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cta .btn.outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #f8fafc;
}

.footer {
  padding: 30px 0 40px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  align-items: flex-start;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: var(--text);
}

@media (max-width: 1024px) {
  .top-bar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .actions {
    width: 100%;
  }

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

  .stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    position: static;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-actions,
  .actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn.large {
    width: 100%;
  }

  .timeline::before {
    left: 9px;
  }

  .timeline-item {
    grid-template-columns: 22px 1fr;
  }

  .profile-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
