:root {
  --bg: #05070b;
  --bg-2: #080c12;
  --bg-3: #0d131c;
  --surface: rgba(12, 18, 28, 0.72);
  --surface-solid: #101722;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --cyan-dim: rgba(34, 211, 238, 0.14);
  --orange: #fb7c22;
  --orange-2: #ff9a45;
  --orange-dim: rgba(251, 124, 34, 0.16);
  --text: #f4f7fb;
  --muted: #93a0b5;
  --muted-2: #6b778c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 82px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--cyan);
  color: #041016;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%);
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orbs::before,
.bg-orbs::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.bg-orbs::before {
  background: #146a88;
  top: -180px;
  right: -80px;
}

.bg-orbs::after {
  background: #8a3b12;
  bottom: 10%;
  left: -160px;
  opacity: 0.18;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.page {
  position: relative;
  z-index: 1;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.22rem;
  background: linear-gradient(90deg, var(--cyan) 0%, #7dd3fc 42%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

h1,
h2,
h3,
.display {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-weight: 750;
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.section {
  padding: 108px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .kicker {
  justify-content: center;
}

.section-head.center .kicker::before {
  display: none;
}

.section-head h2 {
  margin: 12px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(90deg, #1ad4f0, #4cc9f0 40%, #ff8a2a);
  color: #071018;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(251, 124, 34, 0.28);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: var(--cyan-dim);
}

.btn-full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 11, 0.42);
  backdrop-filter: blur(16px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(22px);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  min-width: 42px;
  height: 34px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lang-btn.active {
  color: #071018;
  background: linear-gradient(90deg, var(--cyan), var(--orange-2));
}

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

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 550;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  border-radius: 99px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: 0.25s var(--ease);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 48px 0 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.05) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.88) 0%, rgba(5, 7, 11, 0.58) 46%, rgba(5, 7, 11, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.12) 0%, rgba(5, 7, 11, 0.55) 100%);
}

.page-hero .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.78) 0%, rgba(5, 7, 11, 0.42) 52%, rgba(5, 7, 11, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18) 0%, rgba(5, 7, 11, 0.5) 100%);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy.reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

.hero-copy h1 {
  margin: 16px 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  width: fit-content;
}

.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--cyan-2), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.page-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding: 92px 0 86px;
  overflow: hidden;
}

.page-hero .hero-media {
  z-index: 0;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 16ch;
  margin: 14px 0 16px;
}

.cards-4,
.cards-3,
.cards-2,
.portfolio-grid {
  display: grid;
  gap: 20px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card,
.process-card,
.project-card,
.value-card,
.testimonial,
.blog-card,
.method-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.service-card:hover,
.process-card:hover,
.project-card:hover,
.value-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(251, 124, 34, 0.08);
}

.service-card .thumb,
.project-card .thumb,
.blog-card .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
}

.service-card .thumb img,
.project-card .thumb img,
.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .thumb img,
.project-card:hover .thumb img,
.blog-card:hover .thumb img {
  transform: scale(1.07);
}

.crop-tl img { object-position: 8% 12%; transform: scale(1.85); }
.crop-tr img { object-position: 92% 12%; transform: scale(1.85); }
.crop-bl img { object-position: 10% 90%; transform: scale(1.85); }
.crop-br img { object-position: 90% 90%; transform: scale(1.85); }

.service-card:hover .crop-tl img,
.service-card:hover .crop-tr img,
.service-card:hover .crop-bl img,
.service-card:hover .crop-br img {
  transform: scale(1.95);
}

.card-body {
  padding: 22px;
}

.num {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--orange-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan-2);
  font-size: 0.74rem;
  font-weight: 650;
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--cyan-2);
  font-weight: 650;
  font-size: 0.92rem;
}

.process-card {
  padding: 28px 24px 26px;
  position: relative;
}

.process-card .num {
  font-size: 0.82rem;
}

.process-card p {
  color: var(--muted);
  margin-top: 10px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  transition: 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  color: #071018;
  background: linear-gradient(90deg, var(--cyan), var(--orange-2));
  border-color: transparent;
}

.project-card.hidden {
  display: none;
}

.project-card .card-body h3 {
  margin: 10px 0 8px;
}

.project-card .card-body p {
  color: var(--muted);
  font-size: 0.94rem;
}

.testimonials {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.testimonial {
  padding: 32px;
}

.testimonial p {
  font-size: 1.12rem;
  margin: 8px 0 24px;
}

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #071018;
}

.author small {
  display: block;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 380px;
  display: grid;
  align-items: end;
  padding: 48px;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.15), rgba(5, 7, 11, 0.78) 70%);
}

.cta-band .content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-band .content p {
  color: #d7dee8;
  margin: 12px 0 22px;
}

.site-footer {
  padding: 72px 0 28px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 32px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--muted);
}

.site-footer h4 {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

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

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.socials a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.copyright {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--border);
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value-card {
  padding: 24px;
}

.value-card i,
.method-card i,
.service-detail i,
.value-card svg,
.method-card svg,
.contact-list svg {
  color: var(--cyan-2);
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
}

.value-card p,
.method-card p {
  color: var(--muted);
  margin-top: 8px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
}

.service-detail + .service-detail {
  margin-top: 20px;
}

.service-detail:nth-of-type(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-detail:nth-of-type(even) img {
  order: 2;
}

#dijital-varlik,
#icerik,
#buyume,
#yazilim,
#velvet,
#atlas,
#ember,
#aura,
#lumora,
#novatech {
  scroll-margin-top: 110px;
}

.service-detail img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
}

.service-detail ul {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.service-detail li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.service-detail li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  position: absolute;
  left: 0;
  top: 9px;
}

.case {
  padding: 0 0 22px;
}

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

.framework {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.framework div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.framework strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 6px;
}

.framework p {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}

.contact-card,
.form-card {
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(5, 8, 14, 0.7);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #fb7185;
}

.field .error-msg {
  color: #fb7185;
  font-size: 0.78rem;
  min-height: 1em;
}

.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-2);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(251, 113, 133, 0.1);
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.25);
}

.form-error.show {
  display: block;
}

.botcheck {
  display: none !important;
}

.methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.method-card {
  padding: 24px;
}

.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.vm article {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), rgba(255, 255, 255, 0.02));
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}

.reveal.visible {
  animation: fadeUp 0.8s var(--ease) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-panel {
  display: none;
}

@media (max-width: 1100px) {
  .cards-4,
  .values,
  .methods,
  .framework,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials,
  .split,
  .split.reverse,
  .service-detail,
  .service-detail:nth-of-type(even),
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-of-type(even) img {
    order: -1;
  }

  .split.reverse img {
    order: -1;
  }
}

@media (max-width: 860px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-panel {
    display: none;
    position: fixed;
    inset: var(--header-h) 16px 16px;
    background: rgba(8, 12, 18, 0.94);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    z-index: 60;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-panel.open {
    display: flex;
  }

  .mobile-panel a {
    font-size: 1.15rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  .cards-3,
  .cards-2,
  .hero-stats,
  .form-grid,
  .vm,
  .copyright {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 28px;
    min-height: 420px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 64px;
  }
}

@media (max-width: 640px) {
  .cards-4,
  .values,
  .methods,
  .framework,
  .footer-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero-actions,
  .cta-band .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}
