/* === ROOT === */
:root {
  --bg:#07090d; --surface:#0e1218; --glass:rgba(255,255,255,.06); --stroke:rgba(255,255,255,.09);
  --muted:#9aa4b2; --text:#e9eef6; --brand:#8157ff; --brand-2:#a66bff; --accent:#00e5a8;
  --radius:22px; --radius-sm:14px; --shadow:0 12px 40px rgba(0,0,0,.45);
  --container:1200px; --gap:20px;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
  background:
    radial-gradient(1000px 520px at 80% -10%, rgba(129,87,255,.25), transparent),
    radial-gradient(900px 400px at 10% 0%, rgba(166,107,255,.18), transparent),
    linear-gradient(180deg,#06070a,#0a0f16 40%, #0b1119 100%);
  color: var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; display: block;}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: auto; padding: 0 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content:center; gap: .6rem;
  padding: 1rem 1.2rem; border-radius: 999px;
  background: linear-gradient(90deg,var(--brand),var(--brand-2));
  color: #fff; font-weight: 700; border: 0; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 1px solid var(--stroke); color: var(--text); }

.kicker { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }

/* === HEADER === */
header {
  position: sticky; top: 0;
  backdrop-filter: saturate(150%) blur(10px);
  background: rgba(8,12,18,.65);
  z-index: 30;
  border-bottom: 1px solid var(--stroke);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; gap: .7rem; align-items: center; font-weight: 900; }
.logo img { height: 45px; }
.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-links a { opacity: .9; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.hamburger {
  display: none; background: transparent; border: 0; color: var(--text);
  font-size: 28px; cursor: pointer;
}

/* === MOBILE DRAWER MENU === */
.drawer {
  position: fixed; left: 0; right: 0; bottom: -100%;
  background: var(--surface);
  border-top-left-radius: 24px; border-top-right-radius: 24px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.5);
  padding: 18px 16px 28px;
  z-index: 99;
  transition: bottom .45s ease;
}
.drawer.active { bottom: 0; }
.drawer .handle {
  width: 56px; height: 5px; background: rgba(255,255,255,.2);
  border-radius: 999px; margin: 6px auto 14px;
}
.drawer a {
  display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06);
  text-align:center;
}
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 60;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* === HERO === */
.hero { padding: 96px 0 36px; height: 70dvh; display: flex; align-items: center; justify-content: center; flex-direction: column;}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.headline {
  font-size: clamp(34px,5.2vw,60px); line-height: 1.05; margin: .2rem 0 1rem;
  font-weight: 900; letter-spacing: -.01em;
}
.gradient {
  background: linear-gradient(90deg,var(--brand),var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--muted); font-size: 1.15rem; }
.hero-card {
  background: linear-gradient(180deg,var(--glass),rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  padding: 18px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* === SECTIONS === */
section { padding: 72px 0; border-top: 1px solid var(--stroke); }
h2 { font-size: clamp(28px,3.8vw,38px); margin: 0 0 18px; }
.section-sub { color: var(--muted); max-width: 720px; }

/* === SERVICES === */
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 28px; }
.card {
  background: linear-gradient(180deg,var(--glass),rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  padding: 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin: .2rem 0 .6rem; }
.card p { color: var(--muted); }
.card ul { margin: .6rem 0 0; padding-left: 18px; color: var(--muted); }

/* === WHY US === */
.why { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 22px; }
.why .list { display: grid; gap: 12px; }
.why .list li {
  list-style: none; background: rgba(255,255,255,.04);
  padding: 14px; border-radius: 12px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.why-item {
  background: linear-gradient(180deg, var(--glass), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  padding: 22px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform .25s ease, box-shadow .3s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

.why-icon {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
}

.why-text h3 {
  margin: 0 0 .3rem;
  font-weight: 800;
}

.why-text p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .why-item {
    flex-direction: row;
  }
}

/* === REFERENCES === */
.refs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 24px; }
.ref { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.ref .media { overflow: hidden; border-radius: 18px; }
.ref .media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1) brightness(.96);
  transition: transform .3s ease;
}
.ref:hover .media img { transform: scale(1.05); }
.ref .label {
  position: absolute; left: 14px; top: 14px;
  background: #fffb00; color: #000; font-weight: 900;
  border-radius: 10px; padding: 6px 10px;
}
.ref .meta { margin: .8rem 0 .2rem; font-weight: 800; }
.ref .tags { color: var(--muted); font-size: .95rem; }

/* === ABOUT === */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; margin-top: 10px; }

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.contact-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .4s ease;
}

.contact-img img:hover {
  transform: scale(1.03);
}

.contact-form h2 {
  margin-bottom: 0.6rem;
  font-weight: 900;
}

.contact-form p.section-sub {
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.contact-form form {
  display: grid;
  gap: 14px;
  max-width: 540px;
}

.contact-form input,
.contact-form textarea {
  background: #0b0f14;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(129,87,255,.25);
}

.contact-form .btn {
  margin-top: 8px;
}

.form-status {
  font-size: .9rem;
  color: var(--muted);
  margin-top: .6rem;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-img img {
    max-width: 440px;
    margin: 0 auto 24px;
  }
}

/* === FOOTER === */
footer { padding: 28px 0; color: var(--muted); font-size: .95rem; }

/* === OFFER POPUP === */
.offer {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: opacity .4s ease;
  opacity: 0;
}
.offer.active { display: grid; opacity: 1; }
.offer .sheet {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  max-width: 680px;
  width: 90%;
  padding: 26px 30px;
  color: var(--text);
  text-align: left;
  position: relative;
  transform: translateY(20px);
  animation: popup-in .4s ease forwards;
}
.offer h3 { margin: .4rem 0 .6rem; font-size: 1.4rem; font-weight: 800; }
.offer .btn { margin-top: 1rem; }
.offer .close-offer {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent; border: 0;
  font-size: 1.6rem; color: var(--muted);
  cursor: pointer; transition: color .2s;
}
.offer .close-offer:hover { color: var(--text); }
@keyframes popup-in {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === REVEAL ANIMATION === */
.reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-card { margin-top: 24px; }
  .services { grid-template-columns: 1fr 1fr; }
  .refs-grid { grid-template-columns: 1fr 1fr; }
  .about, .why { grid-template-columns: 1fr; }
  nav .nav-links { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 600px) {
  .services, .refs-grid { grid-template-columns: 1fr; }
  h2 { font-size: 1.6rem; }
  .headline { font-size: 2rem; }
  .btn { padding: .9rem 1rem; font-size: .9rem; }
}
/* === LEFT EDGE TEASER (when popup closed) === */
.offer-teaser{
  position: fixed;
  left: 0;
  bottom: 55%;
  z-index: 98;
  background: linear-gradient(90deg,var(--brand),var(--brand-2));
  color: #fff;
  border: 0;
  padding: .85rem 1rem .85rem .8rem;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transform: translateX(-82%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s ease, opacity .25s ease, box-shadow .2s ease;
}
.offer-teaser.show{
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.offer-teaser:hover{
  box-shadow: 0 14px 36px rgba(0,0,0,.55);
}
.offer-teaser .pulse{
  display:inline-block;
  width:8px; height:8px; border-radius:50%;
  background:#00e5a8; margin-right:.5rem;
  box-shadow: 0 0 0 0 rgba(0,229,168,.8);
  animation: pulse 1.6s infinite;
  vertical-align: middle;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(0,229,168,.9); }
  70%{ box-shadow:0 0 0 12px rgba(0,229,168,0); }
  100%{ box-shadow:0 0 0 0 rgba(0,229,168,0); }
}

/* Responsive iyileştirme */
@media (max-width: 768px){
  .offer-teaser{ bottom: 0%; font-size: .9rem; }
}
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
  font-size: 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover .icon-wrap {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 28px rgba(0,0,0,.45);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  margin-top: 28px;
}

.about-text h2 {
  font-weight: 900;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .4s ease;
}

.about-img img:hover {
  transform: scale(1.03);
}

/* responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img img {
    max-width: 480px;
    margin: 0 auto;
  }
}
.footer {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  padding: 64px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo img {
  height: 34px;
  margin-bottom: 10px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-newsletter h4 {
  color: var(--text);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover {
  color: var(--brand);
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #0b0f14;
  color: var(--text);
  min-width: 220px;
}

.footer-newsletter .btn {
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--stroke);
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  transition: color .2s;
}
.footer-bottom a:hover {
  color: var(--text);
}

/* responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-newsletter form {
    flex-direction: column;
  }
}
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}
/* === FLOAT BUTTONS === */
.float-buttons {
  position: fixed;
  left: 0.8rem;
  bottom: 43%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 900;
}
.float-buttons.show {
  opacity: 1;
  pointer-events: auto;
}
.float-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.phone { background: #007aff; }

/* === SCROLL TOP BUTTON === */
.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.45);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .3s ease;
  z-index: 999;
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile{
  display: none;
}
/* === MOBILE ADJUSTMENTS === */
@media(max-width:768px){
  .float-buttons { left: 0; bottom: 3.5rem; gap: 10px;  border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 0; border-top-left-radius: 0; }
  .float-btn { width: 40px; height: 40px; font-size: 20px; }
  .scroll-top { width: 40px; height: 40px; font-size: 1.3rem; right: .9rem; bottom: .9rem; }
  .mobile{ display: inline;  }
  .pc{ display: none;  }
}
