.about {
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, 0.08), transparent 58%),
    radial-gradient(720px 420px at 100% 0%, rgba(241, 90, 41, 0.10), transparent 52%),
    radial-gradient(circle at 18% 28%, rgba(56, 189, 248, 0.07) 0 1px, transparent 2px),
    linear-gradient(rgba(90, 140, 190, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 140, 190, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 56px 56px, 56px 56px;
}

.about h1 { max-width: 18ch; }

.about .btn {
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease, border-color 0.28s ease;
}
.about .btn-primary:hover {
  transform: scale(1.04);
  filter: brightness(1.08);
  box-shadow: 0 0 26px rgba(241, 90, 41, 0.42), 0 12px 28px rgba(215, 38, 61, 0.3);
}
.about .btn-ghost:hover {
  transform: scale(1.03);
  border-color: color-mix(in srgb, var(--orange) 55%, var(--line));
  box-shadow: 0 0 18px rgba(241, 90, 41, 0.18);
}

.about-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}
.about-hero::before {
  inset: auto -80px 8% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 68%);
}
.about-hero::after {
  left: 6%;
  top: -18%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(241, 90, 41, 0.22), rgba(215, 38, 61, 0.1) 40%, transparent 70%);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  pointer-events: none;
}
.hero-net line,
.hero-net circle {
  stroke: rgba(241, 90, 41, 0.45);
  fill: none;
}
.hero-net circle { fill: rgba(241, 90, 41, 0.35); stroke: none; }
.hero-net .pulse {
  stroke-dasharray: 6 14;
  animation: netFlow 18s linear infinite;
}

.about-hero .wrap { position: relative; z-index: 1; }
.about-hero .lede { max-width: 64ch; }

.about-hero .kicker,
.about-hero h1,
.about-hero .lede,
.about-hero .hero-actions {
  animation: riseIn 0.7s ease both;
}
.about-hero h1 { animation-delay: 0.08s; }
.about-hero .lede { animation-delay: 0.16s; }
.about-hero .hero-actions { animation-delay: 0.24s; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
#hizmetler .card.reveal { transition-delay: calc(var(--i, 0) * 70ms); }

.about #hizmetler .card,
.about .why-grid article,
.about .portfolio .grid-3 .card {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.about #hizmetler .card:hover,
.about .why-grid article:hover,
.about .portfolio .grid-3 .card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--orange) 55%, var(--line));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 22px rgba(241, 90, 41, 0.16);
}

.tech-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #38bdf8 28%, var(--line));
  background: color-mix(in srgb, var(--card) 78%, #0a1628);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.04), 0 24px 50px rgba(0, 0, 0, 0.28);
}
.stack-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  pointer-events: none;
}
.stack-net path {
  fill: none;
  stroke: rgba(56, 189, 248, 0.7);
  stroke-width: 1;
  stroke-dasharray: 5 12;
  animation: netFlow 22s linear infinite;
}

.stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}
.stack-row h3 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  font-weight: 800;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 18, 30, 0.72);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.badge:hover {
  transform: scale(1.06);
  border-color: color-mix(in srgb, var(--orange) 50%, var(--line));
  box-shadow: 0 0 16px rgba(241, 90, 41, 0.28);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.why-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.why-grid h3 { margin: 0 0 8px; font-size: 1.02rem; }
.why-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.portfolio .card {
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.05), transparent 42%),
    var(--card);
}

.portfolio-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}
.portfolio-feature .devices { min-height: 280px; }
.portfolio-feature .phone {
  width: 148px;
  right: -4px;
  bottom: -22px;
}
.portfolio-feature .laptop { position: relative; }
.portfolio-feature .laptop img,
.portfolio-feature .phone img {
  filter: brightness(0.84) saturate(0.92);
  transition: filter 0.4s ease;
}
.portfolio-feature .laptop::before,
.portfolio-feature .phone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 15, 22, 0.42));
  transition: opacity 0.4s ease;
}
.portfolio-feature .phone::before { border-radius: 14px; }
.portfolio-feature:hover .laptop img,
.portfolio-feature:hover .phone img {
  filter: brightness(1) saturate(1);
}
.portfolio-feature:hover .laptop::before,
.portfolio-feature:hover .phone::before {
  opacity: 0;
}

.nav a[aria-current="page"] { color: var(--text); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); opacity: 0.65; }
  to { transform: translate(70px, 36px) scale(1.12); opacity: 1; }
}
@keyframes netFlow {
  to { stroke-dashoffset: -220; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .about h1 { max-width: none; }
  .portfolio-feature { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .about .btn,
  .about #hizmetler .card,
  .badge,
  .reveal,
  .portfolio-feature .laptop img,
  .portfolio-feature .phone img,
  .portfolio-feature .laptop::before,
  .portfolio-feature .phone::before {
    transition: none;
  }
  .about-hero .kicker,
  .about-hero h1,
  .about-hero .lede,
  .about-hero .hero-actions,
  .about-hero::after,
  .hero-net .pulse,
  .stack-net path {
    animation: none;
  }
  .reveal { opacity: 1; transform: none; }
}
