/* ==========================================================================
   Netway — netway.net.tr
   Renkler logodan ornekelendi: turkuaz #3fccd6 / #199ca4, magenta #e50045
   ========================================================================== */

:root {
  --teal-50: #f0fbfc;
  --teal-100: #d7f4f7;
  --teal-200: #a9e8ee;
  --teal-400: #3fccd6;
  --teal-500: #12a3ad;
  --teal-600: #0d818b;
  --teal-700: #0a636b;

  --ink-900: #06272d;
  --ink: #0b3a42;
  --ink-700: #14505a;

  --magenta: #e50045;
  --magenta-600: #c3003b;

  --slate-600: #4d6a72;
  --slate-400: #7d979e;
  --line: #dce8ea;

  --bg: #ffffff;
  --bg-soft: #f5fafb;
  --surface: #ffffff;
  --text: #0b3a42;
  --text-soft: #4d6a72;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 39, 45, 0.06), 0 2px 8px rgba(6, 39, 45, 0.05);
  --shadow: 0 4px 12px rgba(6, 39, 45, 0.07), 0 12px 32px rgba(6, 39, 45, 0.08);
  --shadow-lg: 0 8px 24px rgba(6, 39, 45, 0.1), 0 24px 60px rgba(6, 39, 45, 0.12);

  --wrap: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
    Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
}
a:hover {
  color: var(--teal-700);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  color: var(--ink-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 88px 0;
}
.section--soft {
  background: var(--bg-soft);
}
.section--tight {
  padding: 60px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-100);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head p {
  color: var(--text-soft);
  font-size: 1.06rem;
  margin: 0;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-soft);
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 0, 69, 0.28);
}
.btn--primary:hover {
  background: var(--magenta-600);
  color: #fff;
  box-shadow: 0 10px 26px rgba(229, 0, 69, 0.34);
}

.btn--teal {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 6px 18px rgba(18, 163, 173, 0.28);
}
.btn--teal:hover {
  background: var(--teal-600);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-900);
}
.btn--ghost:hover {
  border-color: var(--teal-400);
  background: var(--teal-50);
  color: var(--teal-700);
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.92rem;
}

/* ---------- Ust bar + menu ---------- */

.topbar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}
.topbar a {
  color: rgba(255, 255, 255, 0.72);
}
.topbar a:hover {
  color: #fff;
}
.topbar__contact {
  display: flex;
  gap: 22px;
  align-items: center;
}
.topbar__contact span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img {
  height: 40px;
  width: auto;
  border-radius: 9px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.brand__sub {
  font-size: 0.7rem;
  color: var(--slate-400);
  letter-spacing: 0.02em;
}

.nav {
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.nav__link:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}
.nav__link.active {
  color: var(--teal-600);
}
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-500);
}
.nav__caret {
  width: 10px;
  height: 10px;
  transition: transform 0.18s ease;
}
.nav__item:hover .nav__caret {
  transform: rotate(180deg);
}

.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 248px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.nav__sub a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}
.nav__sub small {
  display: block;
  font-weight: 400;
  color: var(--slate-400);
  font-size: 0.78rem;
}

.header__cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Menu icindeki butonlar yalnizca mobil govdede gorunur */
.nav__mobile-cta {
  display: none;
}

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
}
.burger span::before {
  transform: translateY(-6px);
}
.burger span::after {
  transform: translateY(6px);
}
body.nav-open .burger span {
  background: transparent;
}
body.nav-open .burger span::before {
  transform: rotate(45deg);
}
body.nav-open .burger span::after {
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #06272d 0%, #0a636b 58%, #12a3ad 100%);
  color: #fff;
  padding: 92px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 78% 18%,
      rgba(63, 204, 214, 0.4),
      transparent 46%
    ),
    radial-gradient(circle at 12% 82%, rgba(229, 0, 69, 0.22), transparent 44%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #3fccd6, #a9e8ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #a9e8ee;
  border: 1px solid rgba(169, 232, 238, 0.3);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__badges svg {
  color: var(--teal-400);
  flex-shrink: 0;
}

/* Hero gorseli: giris ekrani maketi */
.mock {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 12px;
}
.mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.mock__url {
  margin-left: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 3px 12px;
}
.mock__screen {
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  color: var(--ink);
}
.mock__logo {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 12px;
}
.mock__screen h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.mock__screen p {
  margin: 0 0 18px;
  font-size: 0.84rem;
  color: var(--slate-400);
}
.mock__field {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.82rem;
  color: var(--slate-400);
  background: var(--bg-soft);
}
.mock__btn {
  height: 42px;
  border-radius: 9px;
  background: var(--magenta);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.mock__foot {
  margin-top: 14px;
  font-size: 0.68rem;
  color: var(--slate-400);
}

/* ---------- Guven bandi ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 30px 0;
}
.trust__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 22px;
}
.logo-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-kayma 38s linear infinite;
}
.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}
@keyframes logo-kayma {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logos {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  flex: 0 0 auto;
}
.logos img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.2s ease;
}
.logos img:hover {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .logos[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Kart izgaralari ---------- */

.grid {
  display: grid;
  gap: 22px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-100);
  color: var(--teal-600);
  margin-bottom: 16px;
}
.card__icon--magenta {
  background: #ffe3ec;
  color: var(--magenta);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}
.card__link svg {
  transition: transform 0.15s ease;
}
.card:hover .card__link svg {
  transform: translateX(3px);
}

/* Cozum kartlari: tiklanabilir tum yuzey */
.card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.card--link:hover {
  color: inherit;
}

/* ---------- Ozellik listesi (kucuk) ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.features strong {
  display: block;
  color: var(--ink-900);
  font-size: 0.97rem;
}
.features span {
  color: var(--text-soft);
  font-size: 0.88rem;
}
.features .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-600);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ---------- Zikzak satirlar ---------- */

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
.row + .row {
  margin-top: 92px;
}
.row--flip .row__media {
  order: -1;
}
.row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--teal-50), var(--teal-100));
  border: 1px solid var(--line);
  padding: 30px;
  display: grid;
  place-items: center;
  min-height: 300px;
}
.row ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.row ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.row ul li svg {
  flex-shrink: 0;
  color: var(--teal-500);
  margin-top: 5px;
}

/* ---------- Adimlar ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(18, 163, 173, 0.3);
}
.steps h3 {
  font-size: 1.05rem;
  margin: 6px 0 6px;
}
.steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

/* ---------- Istatistik ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
.stats__num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--teal-500);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stats__label {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ---------- Kanun kartlari ---------- */

.law {
  border-left: 3px solid var(--teal-500);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.law h3 {
  margin-bottom: 4px;
}
.law__meta {
  font-size: 0.82rem;
  color: var(--slate-400);
  margin-bottom: 12px;
}
.law p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.law ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 0.94rem;
}
.law ul li {
  margin-bottom: 6px;
}

/* ---------- Sayfa basligi (ic sayfalar) ---------- */

.pagehead {
  background: linear-gradient(140deg, #06272d, #0a636b);
  color: #fff;
  padding: 62px 0 58px;
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 25%,
    rgba(63, 204, 214, 0.28),
    transparent 50%
  );
  pointer-events: none;
}
.pagehead .wrap {
  position: relative;
  z-index: 1;
}
.pagehead h1 {
  color: #fff;
  margin-bottom: 10px;
}
.pagehead p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 62ch;
  margin: 0;
  font-size: 1.08rem;
}

.crumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.crumbs a {
  color: rgba(255, 255, 255, 0.75);
}
.crumbs a:hover {
  color: #fff;
}
.crumbs span {
  margin: 0 7px;
  opacity: 0.5;
}

/* ---------- CTA seridi ---------- */

.cta {
  background: linear-gradient(120deg, #0a636b, #12a3ad 60%, #3fccd6);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 88% 15%,
    rgba(255, 255, 255, 0.18),
    transparent 45%
  );
  pointer-events: none;
}
.cta > * {
  position: relative;
  z-index: 1;
}
.cta h2 {
  color: #fff;
  margin-bottom: 6px;
}
.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.cta__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cta .btn--primary {
  background: #fff;
  color: var(--teal-700);
  box-shadow: 0 6px 18px rgba(6, 39, 45, 0.2);
}
.cta .btn--primary:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

/* ---------- Formlar ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
}
.field .req {
  color: var(--magenta);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.97rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(63, 204, 214, 0.18);
}
.field__hint {
  font-size: 0.8rem;
  color: var(--slate-400);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--teal-500);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.form-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  font-size: 0.86rem;
  color: var(--teal-700);
}
/* Gonderim sonucu: renkleri degiskene degil magenta/teal'in saydam
   tonuna dayandiriyoruz, boylece koyu temada da okunur kaliyor. */
.form-note--ok {
  border-color: var(--teal-500);
  font-weight: 600;
}
.form-note--err {
  background: rgba(229, 0, 69, 0.08);
  border-color: rgba(229, 0, 69, 0.4);
  color: var(--magenta);
  font-weight: 600;
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Iletisim ---------- */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-list .card__icon {
  margin-bottom: 0;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.contact-list strong {
  display: block;
  color: var(--ink-900);
  font-size: 0.95rem;
}
.contact-list a,
.contact-list span {
  color: var(--text-soft);
  font-size: 0.95rem;
}
.map {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  filter: grayscale(0.25);
}

/* ---------- SSS ---------- */

.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  background: var(--surface);
  transition: border-color 0.15s ease;
}
.faq details[open] {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal-500);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.66);
  padding: 66px 0 0;
  font-size: 0.93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
}
.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  margin-bottom: 9px;
}
.footer a {
  color: rgba(255, 255, 255, 0.66);
}
.footer a:hover {
  color: var(--teal-400);
}
.footer__brand img {
  height: 42px;
  border-radius: 9px;
  margin-bottom: 14px;
}
.footer__brand p {
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer__contact svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--teal-400);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Yukari cik ---------- */

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}
.totop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.totop:hover {
  background: var(--teal-600);
}

/* ---------- Giris animasyonu ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero__grid,
  .row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .row--flip .row__media {
    order: 0;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .topbar__contact span:nth-child(2) {
    display: none;
  }

  .burger {
    display: flex;
  }
  .header__cta {
    display: none;
  }
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 16px 22px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    display: none;
  }
  body.nav-open .nav {
    display: block;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav__link {
    padding: 13px 12px;
    font-size: 1rem;
    justify-content: space-between;
  }
  .nav__link.active::after {
    display: none;
  }
  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--teal-200);
    border-radius: 0;
    margin: 2px 0 8px 14px;
    padding: 0 0 0 8px;
    display: none;
  }
  .nav__item.open .nav__sub {
    display: block;
  }
  .nav__item.open .nav__caret {
    transform: rotate(180deg);
  }
  .nav__mobile-cta {
    margin-top: 14px;
    display: grid;
    gap: 10px;
  }
  .nav__mobile-cta .btn {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 38px 28px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 62px 0 68px;
  }
  .form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  /* Telefon her zaman gorunur kalir; ust barda tek basina yeterli. */
  .topbar {
    font-size: 0.8rem;
  }
  .brand__sub {
    display: none;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .logos {
    gap: 44px;
    padding-right: 44px;
  }
  .logos img {
    height: 46px;
  }
}

/* ---------- Koyu tema ---------- */

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06232a;
    --bg-soft: #082c34;
    --surface: #0b333c;
    --text: #dff0f2;
    --text-soft: #9dbcc2;
    --ink-900: #eaf7f9;
    --ink: #dff0f2;
    --line: #164a55;
    --teal-50: #0b333c;
    --teal-100: #103f49;
    --teal-200: #16606c;
    --slate-400: #7fa3aa;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4), 0 24px 60px rgba(0, 0, 0, 0.45);
  }
  .header {
    background: rgba(6, 35, 42, 0.9);
  }
  .burger {
    background: var(--surface);
  }
  .nav {
    background: var(--bg);
  }
  .nav__sub {
    background: var(--surface);
  }
  .trust {
    background: var(--bg);
  }
  .field input,
  .field select,
  .field textarea {
    background: var(--bg-soft);
    color: var(--text);
  }
  .logos img {
    filter: none;
  }
  .mock__screen {
    background: #0b333c;
    color: var(--text);
  }
  .mock__field {
    background: #06232a;
  }
  .card__icon--magenta {
    background: #4a0f22;
  }
  .row__media {
    background: linear-gradient(150deg, #0b333c, #103f49);
  }
  /* --ink-900 koyu temada acik renge donuyor; ust bar ve footer zemini
     beyaz uzerine beyaz yazi olmasin diye sabit koyu tonda tutulur. */
  .topbar,
  .footer {
    background: #041b21;
  }

  /* --teal-50 koyu temada koyulasiyor; uzerindeki --teal-700 yazi da koyu
     oldugu icin koyu-uzerine-koyu kaliyordu. Yazi acik tona alinir. */
  .btn--ghost:hover,
  .nav__link:hover,
  .nav__sub a:hover,
  .form-note {
    color: var(--teal-400);
  }

  /* CTA icindeki beyaz buton hover'da koyulasip kayboluyordu; acik kalir. */
  .cta .btn--primary:hover {
    background: #dff2f4;
    color: #0a636b;
  }
}

/* ---------- Mobil uygulama / magaza rozetleri ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #06272d;
  color: #fff;
  border: 1px solid #06272d;
  line-height: 1.15;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.store-badge:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.store-badge svg {
  flex: none;
  fill: currentColor;
}
.store-badge span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.72;
}
.store-badge strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
}

.app-phone {
  width: 232px;
  margin: 0 auto;
  border-radius: 30px;
  padding: 12px;
  background: #06272d;
  box-shadow: var(--shadow-lg);
}
.app-phone__screen {
  border-radius: 20px;
  background: var(--surface);
  padding: 26px 18px 22px;
  text-align: center;
}
.app-phone__screen img {
  width: 84px;
  margin: 0 auto 14px;
}
.app-phone__screen h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.app-phone__screen p {
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.app-phone__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  margin-bottom: 8px;
}
.app-phone__stat b {
  color: var(--teal-600);
}

@media (prefers-color-scheme: dark) {
  .store-badge {
    background: #000;
    border-color: var(--line);
  }
}

@media (max-width: 520px) {
  .stores .store-badge {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
