:root {
  --bg: #050b18;
  --bg-2: #081428;
  --panel: rgba(12, 30, 56, 0.6);
  --border: rgba(34, 230, 255, 0.22);
  --cyan: #22e6ff;
  --blue: #1e6bff;
  --text: #e6f1ff;
  --muted: #93a8c4;
  --grad: linear-gradient(90deg, #1e6bff, #22e6ff);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(ellipse at top, #0b2247 0%, var(--bg) 60%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 230, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 230, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.container { width: min(1200px, 92%); margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.invert { filter: invert(1) brightness(1.4); }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px; border: none;
  background: var(--grad); color: #021022; font-weight: 700; cursor: pointer;
  box-shadow: 0 0 24px rgba(34, 230, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s; font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(34, 230, 255, 0.6); }
.btn--ghost { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); box-shadow: none; }
.btn--sm { padding: 0.5rem 1.2rem; }

/* Brand */
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand__icon { width: 48px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900; font-size: 1.55rem; color: #fff; }
.brand__name span, .hero__brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font-size: 0.6rem; letter-spacing: 0.32em; color: var(--muted); margin-top: 4px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 11, 24, 0.85); backdrop-filter: blur(12px); border-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--cyan); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--cyan); transition: 0.3s; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 110px 0 60px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.hero__logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero__logo img { width: 96px; height: 80px; filter: drop-shadow(0 0 16px rgba(34, 230, 255, 0.5)); }
.hero__brand { font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; text-shadow: 0 0 30px rgba(30, 107, 255, 0.4); }
.hero__sub { letter-spacing: 0.45em; color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.hero__title { font-family: "Exo 2", sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: 1rem; }
.hero__text { color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; }
.stats strong { font-family: "Exo 2", sans-serif; font-size: 2rem; color: var(--cyan); }
.stats span { display: block; color: var(--muted); font-size: 0.85rem; }
.stats .plus::after { content: "+"; }

.frame {
  position: relative; border-radius: var(--radius); padding: 6px;
  background: linear-gradient(135deg, rgba(34, 230, 255, 0.6), rgba(30, 107, 255, 0.15), rgba(34, 230, 255, 0.5));
  box-shadow: 0 0 60px rgba(34, 230, 255, 0.25);
  animation: float 6s ease-in-out infinite;
}
.frame img { border-radius: calc(var(--radius) - 4px); }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Sections */
.section { padding: 100px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(8, 20, 40, 0.8), transparent); }
.section__head { text-align: center; margin-bottom: 3.5rem; }
.section__head h2, .contact h2 { font-family: "Exo 2", sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); }
.section__head p { color: var(--muted); margin-top: 0.5rem; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.78rem; font-weight: 600; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(8px); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card__media { position: relative; height: 190px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 40, 0.95)); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 0 2rem 2rem; position: relative; z-index: 1; margin-top: -28px; }
.card--wide { grid-column: span 2; flex-direction: row; }
.card--wide .card__media { height: auto; flex: 0 0 46%; }
.card--wide .card__media::after { background: linear-gradient(90deg, transparent 50%, rgba(8, 20, 40, 0.95)); }
.card--wide .card__body { margin-top: 0; padding: 2rem; align-self: center; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 230, 255, 0.12), transparent 40%);
}
.card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 0 40px rgba(34, 230, 255, 0.18); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: rgba(34, 230, 255, 0.08); border: 1px solid var(--border);
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3, .card__title { font-family: "Exo 2", sans-serif; font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.03em; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card__tags { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.card__tags img { width: 30px; height: 30px; transition: transform 0.2s; }
.card__tags img:hover { transform: scale(1.2); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chips li { font-size: 0.75rem; padding: 0.3rem 0.8rem; border: 1px solid var(--border); border-radius: 999px; color: var(--cyan); }

.card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.card__more {
  margin-top: 1.4rem; background: none; border: none; padding: 0; cursor: pointer;
  color: var(--cyan); font: inherit; font-weight: 600; font-size: 0.9rem;
}
.card__more span { display: inline-block; transition: transform 0.2s; }
.card:hover .card__more span { transform: translateX(5px); }

/* Service modal */
body.no-scroll { overflow: hidden; }
.modal {
  margin: auto; width: min(920px, 94vw); max-height: 90vh; padding: 0; border: 1px solid var(--border);
  border-radius: 22px; background: #081428; color: var(--text); overflow: hidden;
  box-shadow: 0 0 80px rgba(34, 230, 255, 0.2);
}
.modal[open] { display: flex; flex-direction: column; animation: modalIn 0.3s ease; }
.modal::backdrop { background: rgba(2, 6, 14, 0.8); backdrop-filter: blur(6px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(5, 11, 24, 0.75); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.modal__close:hover { border-color: var(--cyan); color: var(--cyan); }
.modal__media { position: relative; height: 220px; flex: none; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, #081428); }
.modal__content { padding: 0 2.2rem 2.2rem; overflow-y: auto; margin-top: -40px; position: relative; }
.modal__content h2 { font-family: "Exo 2", sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.3rem 0 0.8rem; }
.modal__intro { color: var(--muted); margin-bottom: 1.8rem; }
.modal__content h4 { font-family: "Exo 2", sans-serif; color: var(--cyan); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.modal__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; margin-bottom: 1.8rem; }
.modal__list { list-style: none; display: grid; gap: 0.55rem; }
.modal__list li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
.modal__list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.modal__steps { list-style: none; counter-reset: step; display: grid; gap: 0.7rem; }
.modal__steps li { counter-increment: step; display: flex; gap: 0.8rem; align-items: center; font-size: 0.95rem; }
.modal__steps li::before {
  content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; color: #021022; background: var(--grad);
}
.modal .chips { margin-top: 0; }
.modal__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 1.5rem; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.tech {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem; min-width: 130px;
  padding: 1.5rem 1rem; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
}
.tech img { width: 48px; height: 48px; }
.tech span { font-size: 0.85rem; color: var(--muted); }
@keyframes scroll { to { transform: translateX(calc(-50% - 0.75rem)); } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.contact__info p { color: var(--muted); margin: 1rem 0 1.5rem; }
.contact__list { list-style: none; display: grid; gap: 0.8rem; }
.contact__list span { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 0.7rem; border-radius: 10px; border: 1px solid var(--border); color: var(--cyan); }
.form { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 12px; font: inherit; color: var(--text);
  background: rgba(5, 11, 24, 0.7); border: 1px solid var(--border); outline: none; transition: border-color 0.2s;
}
.form select option { background: var(--bg-2); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); }
.form__status { color: var(--cyan); font-size: 0.9rem; min-height: 1.2em; }
.form__status.error { color: #ff6b81; }
.form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: 0.9rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner, .contact { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; gap: 1.2rem; padding: 2rem;
    background: rgba(5, 11, 24, 0.97); border-bottom: 1px solid var(--border);
    /* kapalıyken tamamen ekran dışında (eskiden -120% üstte ~28px kalıp logoyu örtüyordu) */
    transform: translateY(calc(-100% - 80px)); visibility: hidden;
    transition: transform 0.3s, visibility 0s 0.3s;
  }
  .nav__links.open { transform: none; visibility: visible; transition: transform 0.3s; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards, .form__row, .modal__grid { grid-template-columns: 1fr; }
  .modal__content { padding: 0 1.4rem 1.6rem; }
  .modal__media { height: 160px; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .card--wide .card__media { height: 190px; flex: none; }
  .card--wide .card__media::after { background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 40, 0.95)); }
  .card--wide .card__body { margin-top: -28px; padding: 0 2rem 2rem; }
  .stats { gap: 1.5rem; }
}

/* ===== Çok sayfalı yapı (2026-10) ===== */
.nav__links a.active:not(.btn) { color: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section--tight { padding: 50px 0 70px; }
.page-hero { padding: 130px 0 30px; }
.page-hero h1 { font-family: "Exo 2", sans-serif; font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; margin: 0.4rem 0 1rem; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 1.05rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current] { color: var(--text); }
.service-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.service-hero .card__icon { margin-bottom: 0.8rem; }
.service-hero p { margin-bottom: 1.8rem; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.panel h2 { font-family: "Exo 2", sans-serif; font-size: 1.35rem; margin-bottom: 1.2rem; }
.panel .chips { margin-top: 0; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.other-services { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.other-services a { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); font-weight: 600; transition: border-color 0.2s, transform 0.2s; }
.other-services a:hover { border-color: var(--cyan); transform: translateY(-3px); }
.other-services svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process { list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process li { counter-increment: p; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.process li::before { content: "0" counter(p); display: block; font-family: "Exo 2", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--cyan); margin-bottom: 0.6rem; }
.process strong { display: block; margin-bottom: 0.4rem; }
.process span { color: var(--muted); font-size: 0.92rem; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(135deg, rgba(30, 107, 255, 0.18), rgba(34, 230, 255, 0.08)); }
.cta h2 { font-family: "Exo 2", sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0.3rem 0 0.4rem; }
.cta p { color: var(--muted); }
.cta .btn { flex: none; }
.tech-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tech-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.tech-group__head h2 { margin: 0; }
.link-more { color: var(--cyan); font-size: 0.88rem; font-weight: 600; }
.tech-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.8rem; }
.tech-grid .tech { width: auto; padding: 1rem 0.5rem; }
.tech-grid .tech img { width: 40px; height: 40px; }
.tech__mono { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--cyan); font-family: "Exo 2", sans-serif; font-weight: 800; }
.contact__info h2 { font-family: "Exo 2", sans-serif; font-size: 1.5rem; margin-bottom: 1.2rem; }
.contact__info a:hover { color: var(--cyan); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer__about { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; max-width: 340px; }
.footer__title { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.9rem; }
.footer__links { list-style: none; display: grid; gap: 0.45rem; color: var(--muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--cyan); }
.footer__bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 960px) {
  .service-hero, .detail-grid, .tech-groups { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .other-services { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .page-hero { padding: 105px 0 10px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 30px 0 50px; }
  .panel { padding: 1.4rem; }
  .process, .other-services, .footer__grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 1.8rem; }
  .hero { min-height: auto; padding-top: 100px; }
}
.card__more { display: inline-block; margin-top: 1.3rem; }
@media (max-width: 720px) { .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; } .tech-grid .tech { min-width: 0; } .tech-grid .tech { padding: 0.8rem 0.3rem; } .tech-grid .tech span { font-size: 0.75rem; text-align: center; overflow-wrap: anywhere; } }
.section--cta { padding-top: 20px; }
