:root{
  --bg: #f2ecff;
  --white: #ffffff;
  --text: #1b1631;
  --muted: rgba(27, 22, 49, .72);

  --purple: #4b2b7b;
  --purple2: #2f1c52;
  --orange: #f39b1d;
  --orange2:#ffb347;

  --card: rgba(255,255,255,.76);
  --stroke: rgba(255,255,255,.35);
  --shadow: 0 20px 60px rgba(20, 10, 40, .18);
  --radius: 16px;
  --radius2: 22px;

  --container: 1080px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 30% -10%, rgba(75,43,123,.25), transparent 60%),
              radial-gradient(1000px 500px at 80% 20%, rgba(243,155,29,.18), transparent 55%),
              linear-gradient(#f6f2ff, #efe7ff);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand__logo{ height: 106px; }

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav__link{
  font-weight: 600;
  font-size: 14px;
  opacity: .85;
}
.nav__link:hover{ opacity: 1; }

.nav__cta{ display:flex; gap: 10px; margin-left: 8px; }

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}
.pill--orange{
  background: linear-gradient(180deg, var(--orange2), var(--orange));
  color: #2a1a00;
}
.pill--purple{
  background: linear-gradient(180deg, #5f3aa0, var(--purple));
  color: #fff;
}

.burger{
  display:none;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
  border-radius: 12px;
  height: 38px;
  width: 44px;
  cursor: pointer;
}

/* =========================
   HERO (TEK PARÇA - ÇAKIŞMA YOK)
   banner full cover + overlay + yazı üstte
========================= */

.hero{
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 42px 0 28px;
}

/* Banner görseli: full cover */
.hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://project-kargomobil.orbitcreative.io/assets/images/hero-card-visual.png") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
}

/* Karartma + renk efektleri */
.hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28,18,52,.12) 0%, rgba(40,18,70,.58) 55%, rgba(35,20,60,.78) 100%),
    radial-gradient(900px 420px at 20% 10%, rgba(243,155,29,.22), transparent 55%);
}

/* İçerik üstte */
.hero__content{
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

/* Text kart */
.hero__text{
  width: min(820px, 100%);
  padding: 22px 22px 26px;
  border-radius: var(--radius2);
  background: rgba(18, 10, 35, .38);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  margin-bottom: 18px;
}

.hero h1{
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .1px;
}
.hl{ color: #fff; }
.hl2{ color: #ffd28d; }
.hl3{ color: #ffe0ad; }

.hero__buttons{ display:flex; gap: 14px; flex-wrap: wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.btn--orange{
  background: linear-gradient(180deg, var(--orange2), var(--orange));
  color: #2a1a00;
}
.btn--purple{
  background: linear-gradient(180deg, #6a46ac, var(--purple));
  color:#fff;
}
.btn--ghost{
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}

/* Sections */
.section{ padding: 46px 0; }
.section--soft{
  padding-top: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25));
}
.section__title{
  margin: 0 0 18px;
  text-align:center;
  font-size: 24px;
  font-weight: 950;
  color: var(--purple2);
}
.section__title--small{ margin-top: 28px; }

.muted{ color: var(--muted); }

/* Cards */
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card{
  background: var(--card);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 40px rgba(20, 10, 40, .10);
}
.card__icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(75,43,123,.12);
  color: var(--purple2);
  margin-bottom: 12px;
}
.card__icon--orange{ background: rgba(243,155,29,.16); color:#7a3f00; }
.card__icon--purple{ background: rgba(75,43,123,.16); color: var(--purple2); }
.card h3{ margin: 0 0 6px; font-size: 16px; font-weight: 950; }
.card p{ margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* Steps */
.how{ margin-top: 10px; }
.steps4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.step{
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.step__num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color: #fff;
  background: linear-gradient(180deg, #6a46ac, var(--purple));
  flex: 0 0 auto;
}
.step h4{ margin: 0 0 6px; font-size: 14px; font-weight: 950; }
.step p{ margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* App area */
.app{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:center;
  padding: 18px;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(75,43,123,.14), rgba(255,255,255,.45));
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--shadow);
}
.store{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.store__btn{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(18, 10, 35, .82);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  min-width: 180px;
}
.store__btn i{ font-size: 22px; }
.store__btn span{ display:flex; flex-direction: column; line-height: 1.05; }
.store__btn small{ opacity: .8; font-weight: 600; font-size: 11px; }
.store__btn:hover{ filter: brightness(1.05); }

.phone{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 20px 60px rgba(20, 10, 40, .22);
  background: rgba(255,255,255,.25);
}
.phone img{ width: 100%; height: auto; }

/* Service grid (bottom boxes) */
.serviceGrid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.serviceBox{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(55, 30, 92, .78);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 50px rgba(20, 10, 40, .16);
}
.serviceBox img{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255,255,255,.12);
}
.serviceBox h4{ margin: 0 0 3px; font-size: 13.5px; font-weight: 950; }
.serviceBox p{ margin: 0; font-size: 12px; opacity: .85; }
.serviceBox i{ margin-left:auto; opacity: .9; }
.serviceBox:hover{ filter: brightness(1.04); transform: translateY(-1px); transition: .12s; }

/* Mini sections */
.mini{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  padding: 18px;
  box-shadow: 0 16px 50px rgba(20,10,40,.10);
}
.mini h2{ margin: 0 0 8px; font-weight: 950; color: var(--purple2); }
.rowBtns{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.rowBtns .btn--ghost{ color: var(--purple2); background: rgba(75,43,123,.10); border-color: rgba(75,43,123,.18); }

/* Footer */
.footer{
  margin-top: 10px;
  background: linear-gradient(180deg, rgba(55, 30, 92, .96), rgba(35, 18, 60, .98));
  color: #fff;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 34px 0;
}
.footer__logo{ height: 28px; margin-bottom: 10px; filter: brightness(1.05); }
.footer h4{ margin: 0 0 10px; font-size: 14px; font-weight: 950; }
.footer a{
  display:block;
  padding: 6px 0;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  opacity: .92;
}
.footer a:hover{ opacity: 1; }
.social{ display:flex; gap: 10px; margin-top: 8px; }
.social a{
  width: 38px;
  height: 38px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer__bottomInner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  color: rgba(255,255,255,.86);
  font-size: 13px;
}

/* Active link */
.nav__link.is-active{
  opacity: 1;
  color: var(--purple2);
  position: relative;
}
.nav__link.is-active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), rgba(75,43,123,.9));
}
.pill.is-active{
  outline: 3px solid rgba(243,155,29,.25);
}

/* Page header block */
.pageHead{
  padding: 42px 0 22px;
}
.pageHead__box{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 50px rgba(20,10,40,.10);
  padding: 18px;
}
.breadcrumb{
  display:flex;
  gap:10px;
  align-items:center;
  font-size: 13px;
  color: rgba(27,22,49,.65);
}
.breadcrumb a{ opacity: .9; }
.breadcrumb a:hover{ opacity: 1; }
.pageTitle{
  margin: 10px 0 6px;
  font-size: 28px;
  font-weight: 950;
  color: var(--purple2);
}
.pageDesc{ margin: 0; color: var(--muted); }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 860px){
  .grid2{ grid-template-columns: 1fr; }
}

.table{
  width: 100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.7);
}
.table th, .table td{
  padding: 12px 12px;
  text-align:left;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.table th{
  font-weight: 950;
  color: var(--purple2);
  background: rgba(75,43,123,.08);
}
.table tr:last-child td{ border-bottom: none; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.8);
}
.badge--ok{ background: rgba(22,163,74,.10); border-color: rgba(22,163,74,.20); color: #0f5132; }
.badge--mid{ background: rgba(243,155,29,.12); border-color: rgba(243,155,29,.22); color: #7a3f00; }
.badge--vip{ background: rgba(75,43,123,.12); border-color: rgba(75,43,123,.22); color: var(--purple2); }

.panel{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 50px rgba(20,10,40,.10);
  padding: 18px;
}
.panel h3{ margin: 0 0 10px; font-weight: 950; color: var(--purple2); }
.panel p{ margin: 0; color: var(--muted); line-height: 1.5; }

.form{
  display:grid;
  gap: 10px;
}
.input{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  outline: none;
}
.input:focus{
  border-color: rgba(75,43,123,.35);
  box-shadow: 0 0 0 4px rgba(75,43,123,.12);
}
textarea.input{
  height: 110px;
  padding: 10px 12px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 980px){
  .cards3{ grid-template-columns: 1fr; }
  .steps4{ grid-template-columns: 1fr 1fr; }
  .app{ grid-template-columns: 1fr; }
  .serviceGrid{ grid-template-columns: 1fr 1fr; }
  .footer__grid{ grid-template-columns: 1fr 1fr; }

  .nav{
    display:none;
    position:absolute;
    left: 0;
    right: 0;
    top: 62px;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.is-open{ display:flex; }
  .nav__cta{ margin-left: 0; }
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
}

@media (max-width: 560px){
  .steps4{ grid-template-columns: 1fr; }
  .serviceGrid{ grid-template-columns: 1fr; }
  .hero__content{ min-height: 380px; }
  .hero{ min-height: 380px; }
}
