:root {
  --topbar-height: 54px;
  --main-bg: #e8ebf6;
  --blue-1: #083bde;
  --blue-2: #0c67f5;
  --blue-3: #30a3ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--main-bg);
  color: #0f172a;
}

main {
  scroll-snap-type: y mandatory;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: var(--topbar-height);
  background: #1553df;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

.menu-button {
  position: absolute;
  left: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 12px;
  background: #fff;
}

.topbar-center-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: min(300px, 82vw);
  height: 100vh;
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  box-shadow: 6px 0 24px rgba(2, 12, 40, 0.2);
  padding: 18px 16px;
}

.side-menu.open {
  transform: translateX(0);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(8, 22, 71, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.close-menu {
  border: none;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: #1e3a8a;
  cursor: pointer;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-links a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 600;
  background: #e7efff;
  border-radius: 10px;
  padding: 12px;
}

.panel {
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  padding-top: var(--topbar-height);
}

.panel.reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.panel.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.panel-giris {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  background: #0b1225;
  overflow: hidden;
  position: relative;
}

.giris-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.giris-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 28, 0.68);
}

.giris-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 6vh, 62px) 20px 20px;
  position: relative;
  z-index: 2;
}

.giris-copy {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--topbar-height));
  padding-top: clamp(10px, 2vh, 26px);
}

.giris-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.giris-brand-icon {
  width: clamp(72px, 8vw, 108px);
  height: auto;
  object-fit: contain;
}

.giris-brand-title {
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.giris-checklist {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 10px;
  max-width: 760px;
}

.giris-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(12px);
  animation: lineReveal 0.5s ease forwards;
}

.giris-checklist li::after {
  content: "✓";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.4);
  animation: tickPop 0.4s ease forwards;
}

.giris-checklist li:nth-child(1) {
  animation-delay: 0.15s;
}

.giris-checklist li:nth-child(1)::after {
  animation-delay: 0.55s;
}

.giris-checklist li:nth-child(2) {
  animation-delay: 0.4s;
}

.giris-checklist li:nth-child(2)::after {
  animation-delay: 0.8s;
}

.giris-checklist li:nth-child(3) {
  animation-delay: 0.65s;
}

.giris-checklist li:nth-child(3)::after {
  animation-delay: 1.05s;
}

.store-buttons {
  margin-top: clamp(56px, 12vh, 130px);
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 240px));
  gap: 14px;
}

.store-btn {
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  min-height: 96px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.giris-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(20px, 5vw, 70px);
  position: relative;
  z-index: 2;
}

.banner-carousel {
  display: block;
  width: min(980px, 97%);
}

.banner-stage {
  position: relative;
  height: min(76vh, 760px);
  perspective: 1200px;
  cursor: grab;
  user-select: none;
}

.banner-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 30vw, 460px);
  height: clamp(420px, 68vh, 760px);
  transform-style: preserve-3d;
  transition: transform 0.55s ease, filter 0.55s ease, opacity 0.55s ease;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  opacity: 0.45;
  pointer-events: none;
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.banner-card.active {
  transform: translate(-50%, -50%) translateX(0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 4;
  filter: brightness(1);
}

.banner-card.prev {
  transform: translate(-50%, -50%) translateX(-46%) rotateY(-28deg) scale(0.87);
  z-index: 3;
  filter: brightness(0.88);
}

.banner-card.next {
  transform: translate(-50%, -50%) translateX(46%) rotateY(28deg) scale(0.87);
  z-index: 3;
  filter: brightness(0.88);
}

.banner-card.hidden-left {
  transform: translate(-50%, -50%) translateX(-95%) rotateY(-40deg) scale(0.75);
  z-index: 1;
  opacity: 0;
}

.banner-card.hidden-right {
  transform: translate(-50%, -50%) translateX(95%) rotateY(40deg) scale(0.75);
  z-index: 1;
  opacity: 0;
}

.discover-next {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 2;
}

.discover-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discover-arrow {
  font-size: 1.95rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
  animation: bounceDown 1.35s ease-in-out infinite;
}

.floating-contact {
  position: absolute;
  right: 56px;
  bottom: 82px;
  z-index: 3;
  width: 92px;
  height: 92px;
  border: none;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

@keyframes lineReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tickPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.panel-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9ff;
}

.panel-placeholder h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: #2d4499;
}

@media (max-width: 900px) {
  .panel-giris {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .giris-right {
    align-items: flex-start;
    justify-content: center;
    padding: 8px 12px 0;
    order: 1;
  }

  .giris-left {
    align-items: flex-start;
    justify-content: center;
    order: 2;
    padding-top: 8px;
  }

  .giris-copy {
    min-height: auto;
    padding-top: 0;
    max-width: 100%;
  }

  .giris-title-row {
    gap: 10px;
  }

  .giris-brand-icon {
    width: clamp(56px, 12vw, 76px);
  }

  .giris-brand-title {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
  }

  .giris-checklist {
    gap: 10px;
    max-width: 100%;
  }

  .giris-checklist li {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
    gap: 10px;
  }

  .giris-checklist li::after {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .proje-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .proje-content {
    max-width: 100%;
  }

  .proje-block {
    padding-bottom: 8px;
  }

  .arac-card {
    flex: 0 0 78vw;
  }

  .store-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 34px;
  }

  .store-btn {
    min-height: 82px;
    font-size: 0.9rem;
  }

  .banner-carousel {
    width: min(100%, 720px);
  }

  .banner-stage {
    height: min(48vh, 460px);
  }

  .banner-card {
    width: clamp(220px, 62vw, 320px);
    height: clamp(320px, 46vh, 460px);
  }

  .discover-next {
    bottom: 8px;
  }

  .floating-contact {
    right: 20px;
    bottom: 74px;
    width: 76px;
    height: 76px;
    font-size: 0.82rem;
  }
}

.panel-proje-araclar {
  display: flex;
  flex-direction: column;
  background: #f8f9ff;
  position: relative;
  overflow: hidden;
}

.proje-araclar-head {
  flex-shrink: 0;
  padding: 16px clamp(20px, 4vw, 48px) 0;
}

.projelerimiz-main-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: #2d4499;
  font-weight: 800;
}

.proje-block {
  flex-shrink: 0;
  padding: 8px clamp(20px, 4vw, 48px) 12px;
}

.proje-showcase {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}

.araclar-block {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.araclar-section-title {
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #475569;
  font-weight: 600;
  padding: 4px 16px 10px;
  flex-shrink: 0;
}

.proje-app-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 900px;
}

.proje-app-icon {
  width: clamp(180px, 22vw, 260px);
  height: clamp(180px, 22vw, 260px);
  object-fit: contain;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #e8f0ff 100%);
  box-shadow:
    0 22px 50px rgba(37, 99, 235, 0.28),
    0 8px 18px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotateY(-14deg) rotateX(6deg) translateZ(0);
  transition: transform 0.35s ease;
}

.proje-app-icon-wrap:hover .proje-app-icon {
  transform: rotateY(-10deg) rotateX(4deg) translateY(-6px);
}

.proje-content {
  max-width: 680px;
}

.proje-heading {
  color: #1e293b;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.proje-text {
  color: #475569;
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  line-height: 1.7;
  font-weight: 500;
}

.araclar-cards-wrap {
  flex: 1;
  min-height: 0;
  padding: 8px 0 24px;
  overflow: hidden;
}

.araclar-cards-track {
  display: flex;
  gap: 18px;
  padding: 12px clamp(20px, 4vw, 48px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  align-items: stretch;
}

.araclar-cards-track::-webkit-scrollbar {
  height: 8px;
}

.araclar-cards-track::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
}

.arac-card {
  flex: 0 0 clamp(220px, 24vw, 280px);
  scroll-snap-align: start;
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 20px 18px 22px;
  min-height: clamp(300px, 42vh, 380px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardFloat 4s ease-in-out infinite;
}

.arac-card:nth-child(2n) {
  animation-delay: 0.4s;
}

.arac-card:nth-child(3n) {
  animation-delay: 0.8s;
}

.arac-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.arac-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #64748b;
}

.arac-icon svg {
  width: 56px;
  height: 56px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arac-card-body {
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

.arac-card h4 {
  color: #1e3a8a;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.arac-card p {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 500;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
