:root {
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #10233f;
  --muted: #61718b;
  --line: #dfe7f2;
  --primary: #124b9f;
  --primary-dark: #0d3f86;
  --success: #1f8f5f;
  --success-dark: #16724b;
  --accent: #f28c28;
  --shadow: 0 18px 48px rgba(15, 35, 65, 0.08);
  --radius-2xl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
input,
select,
button {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223, 231, 242, 0.9);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand {
  text-decoration: none;
  color: inherit;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #1b61c1);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(18, 75, 159, 0.22);
  flex: 0 0 auto;
}

.brand h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--primary);
  font-weight: 900;
}

.brand p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a.link {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.2s ease;
}

.nav a.link:hover {
  background: #edf4ff;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 75, 159, 0.2);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: #cadef4;
}

.btn-success {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: #fff;
  box-shadow: 0 14px 32px rgba(31, 143, 95, 0.18);
}

.hero {
  padding: 34px 0 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section-box,
.flow-lane,
.feature-card,
.sector-card,
.sector-note,
.security-card,
.summary-card,
.footer-box,
.modal-card,
.highlight-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-2xl);
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.hero-copy h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 690px;
}

.hero-copy h2 span {
  color: var(--primary);
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-visual {
  border-radius: var(--radius-2xl);
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.visual-frame {
  position: relative;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 26px 28px 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 58, 125, 0.92), rgba(8, 40, 86, 0.88)),
    url("https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=1400&q=80")
      center/cover no-repeat;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 18, 38, 0.04),
    rgba(5, 18, 38, 0.34)
  );
}

.visual-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding-top: 2px;
}

.visual-content h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.visual-content p {
  margin: 14px 0 0;
  color: #dcebff;
  font-size: 15px;
  line-height: 1.85;
}

.visual-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.visual-mini-box {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px;
  backdrop-filter: blur(4px);
}

.visual-mini-box strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.visual-mini-box span {
  display: block;
  margin-top: 8px;
  color: #dcebff;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

.highlight-wrap {
  padding: 6px 0 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.highlight-card {
  border-radius: 22px;
  padding: 20px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(180deg, #edf4ff, #d8e9ff);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px #dce7f3;
}

.highlight-card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.highlight-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.section {
  padding: 18px 0 0;
}

.section-title {
  text-align: center;
  margin-bottom: 22px;
}

.section-title .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(18, 75, 159, 0.15);
}

.section-title h3 {
  margin: 16px 0 0;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-title p {
  margin: 14px auto 0;
  max-width: 900px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section-box {
  border-radius: 32px;
  padding: 28px;
  overflow: hidden;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  position: relative;
  min-height: 210px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fbfdff;
  padding: 22px 18px;
  text-align: center;
}

.step-no {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(31, 143, 95, 0.22);
}

.step-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eff6ff, #dcecff);
  font-size: 34px;
}

.step-card h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
}

.lanes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.flow-lane {
  border-radius: 28px;
  overflow: hidden;
  background: #fbfdff;
}

.lane-head {
  padding: 22px 22px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.lane-head h4 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.lane-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  margin-top: 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(18, 75, 159, 0.15);
}

.lane-badge.blue {
  background: linear-gradient(135deg, var(--primary), #1760c5);
}
.lane-badge.green {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
}
.lane-body {
  padding: 20px;
}

.illustration {
  position: relative;
  min-height: 286px;
  border-radius: 24px;
  border: 1px solid #dbe5f2;
  background: linear-gradient(180deg, #eef5fc, #e6eef8);
  padding: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.scene-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.scene-bubble,
.scene-label {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dce6f3;
  box-shadow: 0 10px 18px rgba(16, 35, 63, 0.06);
}

.scene-bubble {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.scene-label {
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 220px;
  color: var(--primary);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.service-row,
.device-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.person-card,
.desk-card,
.phone-card,
.car-card,
.qr-box {
  position: relative;
}

.person-card {
  width: 88px;
  height: 132px;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(180deg, #1d63c5, #0d458d);
  box-shadow: 0 14px 24px rgba(16, 35, 63, 0.12);
}

.person-card:before {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffd1ad;
  top: -18px;
  left: 20px;
}

.person-card:after {
  content: "";
  position: absolute;
  width: 42px;
  height: 16px;
  border-radius: 8px;
  background: #0b3770;
  top: 20px;
  left: 23px;
}

.desk-card {
  flex: 1;
  min-width: 120px;
  height: 70px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dce6f3;
  box-shadow: 0 10px 18px rgba(16, 35, 63, 0.08);
}

.qr-box {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px),
    linear-gradient(#111 10px, transparent 10px),
    linear-gradient(90deg, transparent 62px, #111 62px),
    linear-gradient(transparent 62px, #111 62px),
    repeating-linear-gradient(90deg, #111 0 6px, #fff 6px 12px),
    repeating-linear-gradient(#111 0 6px, #fff 6px 12px);
  background-size:
    72px 72px,
    72px 72px,
    72px 72px,
    72px 72px,
    12px 12px,
    12px 12px;
  background-color: #fff;
  border: 1px solid #dce6f3;
  box-shadow: 0 10px 18px rgba(16, 35, 63, 0.08);
}

.phone-card {
  width: 120px;
  height: 198px;
  border-radius: 28px;
  background: linear-gradient(180deg, #215db7, #0f4388);
  padding: 14px;
  box-shadow: 0 16px 30px rgba(16, 35, 63, 0.14);
}

.phone-card:before {
  content: "";
  display: block;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #eff6ff, #dbe9ff);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.phone-notch {
  position: absolute;
  width: 38px;
  height: 6px;
  border-radius: 999px;
  background: #c2d8ff;
  top: 10px;
  left: 41px;
}

.phone-cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: 56px;
  height: 22px;
  border-radius: 999px;
  background: #f7a033;
  box-shadow: 0 10px 16px rgba(242, 140, 40, 0.24);
}

.car-card {
  width: 178px;
  height: 72px;
  border-radius: 40px 40px 24px 24px;
  background: linear-gradient(180deg, #2362c4, #0f458d);
  box-shadow: 0 14px 24px rgba(16, 35, 63, 0.12);
}

.car-card:before,
.car-card:after {
  content: "";
  position: absolute;
  bottom: -12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #17304b;
  box-shadow: inset 0 0 0 7px #dbe5f2;
}

.car-card:before {
  left: 20px;
}
.car-card:after {
  right: 20px;
}

.middle-band,
.middle-band-primary {
  width: min(560px, 100%);
  margin: 0 auto;
  min-height: 82px;
  border-radius: 24px;
  padding: 18px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.middle-band h5,
.middle-band-primary h5 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.middle-band span {
  font-size: 30px;
}

.middle-band-primary {
  background: linear-gradient(135deg, var(--primary), #1a63c8);
  border-color: transparent;
}

.middle-band-primary h5 {
  color: #fff;
}

.platform-wrap {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.side-box,
.platform-box {
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.side-box {
  min-height: 164px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-box .icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.side-box h5 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.side-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
}

.platform-box {
  min-width: 340px;
  overflow: hidden;
}

.platform-box .top {
  padding: 24px 20px 18px;
  background: linear-gradient(135deg, var(--primary), #1a63c8);
  color: #fff;
}

.platform-box .top h5 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.platform-box .bottom {
  padding: 18px 18px 22px;
  color: var(--primary);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.center-car {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.center-car .car-card {
  width: 260px;
  height: 92px;
}

.center-arrow {
  font-size: 42px;
  font-weight: 900;
  color: var(--success);
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  border-radius: 30px;
  padding: 28px;
}

.feature-card .badge-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.feature-card .badge-inline.green {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
}

.feature-card h4 {
  margin: 0;
  font-size: 33px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e4edf8;
  background: #f8fbff;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex: 0 0 auto;
}

.sector-wrap {
  border-radius: 32px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.sector-card {
  border-radius: 22px;
  padding: 18px 12px;
  text-align: center;
}

.sector-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #edf4ff, #d8e9ff);
  box-shadow: inset 0 0 0 1px #dce7f3;
  font-size: 32px;
}

.sector-icon.green {
  background: linear-gradient(180deg, #eafaf2, #d4f2e2);
  box-shadow: inset 0 0 0 1px #d8efdf;
}

.sector-card h6 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sector-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 700;
}

.sector-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.sector-note {
  border-radius: 24px;
  padding: 22px;
}

.sector-note h4 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.sector-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.security-card {
  border-radius: 26px;
  padding: 24px;
}

.security-card h5 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.security-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.summary-card {
  border-radius: 32px;
  padding: 34px;
  text-align: center;
  background: linear-gradient(135deg, #103e80, #1b60bf);
  color: #fff;
}

.summary-card h4 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.summary-card p {
  margin: 14px auto 0;
  max-width: 930px;
  color: #d9e8ff;
  font-size: 17px;
  line-height: 1.9;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.footer {
  padding: 22px 0 36px;
}

.footer-box {
  border-radius: 26px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.footer-links a {
  color: var(--muted);
  transition: 0.2s ease;
}
.footer-links a:hover {
  color: var(--primary);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 300;
  background: rgba(7, 18, 38, 0.48);
}

.modal:target {
  display: flex;
}

.modal-card {
  position: relative;

  max-height: min(88vh, 700px);
  overflow: auto;
  border-radius: 22px;
  padding: 16px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
  font-size: 17px;
}

.modal-head {
  padding-right: 30px;
}

.modal-head h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.modal-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.field-group {
  display: grid;
  gap: 5px;
}

.field-group label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}

.field-group input,
.field-group select {
  width: 100%;
  min-height: 32px;
  border-radius: 11px;
  border: 1px solid #d6e2f1;
  background: #fbfdff;
  padding: 0 12px;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}

.field-group input:focus,
.field-group select:focus {
  border-color: #7da4db;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 75, 159, 0.08);
}

.helper {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1160px) {
  .hero-grid,
  .dual-grid,
  .lanes-grid,
  .sector-notes,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .highlight-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .platform-box {
    min-width: auto;
  }
  .sector-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .visual-mini {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-copy,
  .hero-visual,
  .section-box,
  .feature-card,
  .sector-wrap,
  .summary-card,
  .security-card,
  .sector-note {
    padding: 22px;
  }
  .hero-copy h2 {
    font-size: 38px;
  }
  .section-title h3,
  .lane-head h4,
  .feature-card h4,
  .summary-card h4,
  .visual-content h3 {
    font-size: 30px;
  }
  .middle-band h5,
  .middle-band-primary h5,
  .platform-box .top h5 {
    font-size: 26px;
  }
  .platform-box .bottom {
    font-size: 22px;
  }
  .service-row,
  .device-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  .scene-top {
    position: static;
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
  }
  .illustration {
    min-height: auto;
  }
  .sector-grid,
  .visual-mini {
    grid-template-columns: repeat(2, 1fr);
  }
  .visual-frame {
    padding: 22px;
    min-height: 380px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 20px, 1240px);
  }
  .hero-copy h2 {
    font-size: 32px;
  }
  .highlight-grid,
  .steps-grid,
  .sector-grid,
  .security-grid,
  .visual-mini {
    grid-template-columns: 1fr;
  }
  .lane-badge {
    padding: 0 16px;
  }
  .middle-band h5,
  .middle-band-primary h5 {
    font-size: 22px;
  }
  .brand h1 {
    font-size: 22px;
  }
  .brand p {
    font-size: 12px;
  }
  .modal {
    padding: 12px;
  }
  .modal-card {
    padding: 14px;
  }
}

.brand-logo {
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7f2;
  box-shadow: 0 12px 26px rgba(18, 75, 159, 0.12);
  flex: 0 0 auto;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  background: #fff;
}

.modal.show {
  display: flex;
}

.notice-wrap {
  padding: 10px 0 0;
}
.notice-box {
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.notice-box.success {
  background: #eefaf3;
  border-color: #cde8d8;
  color: #166b44;
}
.notice-box.error {
  background: #fff1ef;
  border-color: #f1cbc4;
  color: #b63c2f;
}

.agreement-row {
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid #dbe6f2;
  background: #f8fbff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--text);
}
.agreement-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0;
  accent-color: var(--primary);
  flex: 0 0 auto;
  pointer-events: none;
  align-self: center;
}
.agreement-link {
  color: #0d3f86 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.modal-large .modal-card {
  width: min(820px, 100%);
  max-height: min(90vh, 820px);
  padding: 16px;
}
.modal-text-body {
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}
.modal-text-body h2,
.modal-text-body h3 {
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.3;
}
.modal-text-body p,
.modal-text-body ul {
  margin: 0 0 12px;
}
.modal-text-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  position: sticky;
  bottom: -16px;
  background: #fff;
}

.sss-accordion {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.sss-item {
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: #f8fbff;
  overflow: hidden;
}
.sss-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 15px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.sss-button strong {
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
}
.sss-content {
  display: none;
  border-top: 1px solid #dbe6f2;
  background: #fff;
}
.sss-item.active .sss-content {
  display: block;
}
.sss-item.active .sss-button strong {
  transform: rotate(45deg);
}
.sss-content-inner {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

.modal-card {
  width: min(420px, 100%);
}
.modal-close {
  position: sticky;
  top: 8px;
  right: 0;
  margin-left: auto;
  z-index: 20;
}
.field-error {
  display: none;
  margin-top: 6px;
  border: 1px solid #f2c7c0;
  background: #fff1ef;
  color: #c0392b;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}
.field-error.show {
  display: block;
}
.field-group input.is-invalid,
.field-group select.is-invalid,
.field-group textarea.is-invalid {
  border-color: #e67c73 !important;
  box-shadow: 0 0 0 3px rgba(230, 124, 115, 0.12) !important;
}
.field-group input.is-valid,
.field-group select.is-valid,
.field-group textarea.is-valid {
  border-color: #7db893 !important;
}
.footer-links a {
  color: var(--muted);
  transition: 0.2s ease;
}
.footer-links a:hover {
  color: var(--primary);
}
.sss-accordion {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.sss-item {
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: #f8fbff;
  overflow: hidden;
}
.sss-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 15px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.sss-button strong {
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
  transition: 0.2s ease;
}
.sss-content {
  display: none;
  border-top: 1px solid #dbe6f2;
  background: #fff;
}
.sss-item.active .sss-content {
  display: block;
}
.sss-item.active .sss-button strong {
  transform: rotate(45deg);
}
.sss-content-inner {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

.modal {
  z-index: 9999;
}
#modal-hata-sonuc {
  z-index: 10050;
  align-items: flex-start;
  padding-top: 44px;
  background: rgba(7, 18, 38, 0.58);
}
#modal-basarili-sonuc {
  z-index: 10040;
  align-items: flex-start;
  padding-top: 44px;
  background: rgba(7, 18, 38, 0.52);
}
#modal-hata-sonuc .modal-card,
#modal-basarili-sonuc .modal-card {
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(9, 24, 48, 0.22);
  border: 1px solid #e7edf6;
}
#modal-hata-sonuc .modal-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f7 100%);
}
#modal-basarili-sonuc .modal-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
}
.field-error {
  border-color: #efc3bc;
  background: #fff7f5;
  color: #b64a3b;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 700;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-grid.form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
}
.full-span {
  grid-column: 1 / -1;
}
@media (max-width: 720px) {
  .form-grid.form-grid-2 {
    grid-template-columns: 1fr;
  }
  .full-span {
    grid-column: auto;
  }
}

/* Final v6 modal and form refinements */
#modal-kayit .modal-card {
  width: min(860px, calc(100% - 28px));
  max-width: 860px;
  padding: 20px 20px 18px;
}

#modal-kayit .modal-head h4 {
  font-size: 30px;
}

#modal-kayit .modal-head p {
  font-size: 15px;
}

#modal-kayit .field-group {
  gap: 4px;
}

#modal-kayit input,
#modal-kayit select {
  min-height: 46px;
  padding: 9px 12px;
  font-size: 15px;
}

#modal-kayit input::placeholder,
#modal-kayit textarea::placeholder {
  font-size: 14px;
}

#modal-kayit .agreement-row {
  font-size: 15px;
  line-height: 1.45;
  align-items: center;
  padding: 9px 12px;
}

#modal-kayit .agreement-row > span {
  font-size: 15px;
  display: flex;
  align-items: center;
  min-height: 20px;
}

#modal-kayit .agreement-link {
  font-size: 15px;
}

#modal-kayit .field-error {
  font-size: 13px;
  margin-top: 4px;
  padding: 9px 12px;
}

@media (max-width: 900px) {
  #modal-kayit .modal-card {
    width: min(760px, calc(100% - 24px));
  }
}

@media (max-width: 720px) {
  #modal-kayit .modal-card {
    width: min(100%, calc(100% - 18px));
    padding: 16px 14px 14px;
  }

  #modal-kayit .modal-head h4 {
    font-size: 26px;
  }

  #modal-kayit input,
  #modal-kayit select {
    min-height: 44px;
    padding: 9px 11px;
    font-size: 14px;
  }

  #modal-kayit .agreement-row,
  #modal-kayit .agreement-row > span,
  #modal-kayit .agreement-link {
    font-size: 14px;
  }
}

/* Sözleşme ve KVKK okuma akışı */
.agreement-modal-card {
  background: #f4f6f9;
  border: 1px solid #dfe4ec;
  box-shadow: 0 20px 52px rgba(16, 35, 63, 0.12);
}
.agreement-scroll-box {
  background: #ffffff;
  border: 1px solid #e7ebf1;
  border-radius: 18px;
  padding: 20px 22px;
  max-height: min(62vh, 620px);
  overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}
.agreement-scroll-box::after {
  content: "";
  position: sticky;
  display: block;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 34px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.96)
  );
  pointer-events: none;
}
.agreement-scroll-box:not(.is-read) {
  filter: saturate(0.96);
}
.agreement-scroll-box h1,
.agreement-scroll-box h2,
.agreement-scroll-box h3 {
  color: var(--text);
}
.agreement-scroll-box p,
.agreement-scroll-box li {
  color: #33455f;
}
.agreement-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
}
.agreement-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.agreement-read-note {
  font-size: 12px;
  font-weight: 700;
  color: #90a0b6;
  line-height: 1.45;
  transition: 0.2s ease;
}
.agreement-read-note.is-active {
  color: var(--success);
}
.agreement-small-btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 13px;
}
.agreement-approve-btn[disabled] {
  opacity: 0.5;
  filter: saturate(0.8);
  box-shadow: none;
}
.agreement-approve-btn:not([disabled]) {
  opacity: 1;
}
@media (max-width: 720px) {
  .agreement-scroll-box {
    padding: 16px 16px;
    max-height: 58vh;
  }
  .agreement-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .agreement-footer-actions {
    width: 100%;
    justify-content: stretch;
  }
  .agreement-footer-actions .agreement-small-btn {
    flex: 1 1 0;
  }
  .agreement-read-note {
    text-align: center;
  }
}

/* Sözleşme son düzenleme */
.agreement-modal-card {
  border-radius: 28px;
  padding: 18px 18px 16px;
}
.agreement-scroll-box {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 22px;
  padding: 20px 22px;
}
.agreement-scroll-box::after {
  height: 20px;
  bottom: -12px;
}
.agreement-footer {
  justify-content: flex-end;
  gap: 0;
  padding: 12px 4px 4px;
  min-height: 58px;
}
.agreement-read-note {
  display: none !important;
}
.agreement-footer-actions {
  margin-left: auto;
  gap: 10px;
  padding-right: 2px;
}
.agreement-small-btn {
  min-height: 38px;
  padding: 0 13px;
  font-size: 12px;
  border-radius: 13px;
}
.agreement-approve-btn {
  min-width: 184px;
}
.modal-large .modal-close {
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  line-height: 1;
  padding: 0;
  color: #d84c4c;
  border-color: #d7dee8;
  background: #f8fafc;
}
.modal-large .modal-close:hover {
  color: #c63c3c;
  background: #fff;
}
@media (max-width: 720px) {
  .agreement-modal-card {
    padding: 14px 14px 12px;
  }
  .agreement-scroll-box {
    border-radius: 18px;
    padding: 16px 16px;
  }
  .agreement-footer {
    min-height: auto;
    padding: 10px 0 0;
  }
  .agreement-footer-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .agreement-small-btn {
    min-height: 36px;
    font-size: 12px;
  }
}

/* v8 sözleşme modal son düzeltmeler */
.agreement-modal-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 30px;
}
.agreement-scroll-box {
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e3e8f0;
  padding: 20px 22px;
  max-height: min(62vh, 620px);
}
.agreement-scroll-box::after {
  display: none;
}
.agreement-footer {
  margin-top: 10px;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 22px;
  padding: 10px 14px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.agreement-footer-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: auto;
  padding: 0;
}
.agreement-read-note {
  display: none !important;
}
.agreement-small-btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  border-radius: 14px;
}
.agreement-approve-btn {
  min-width: 190px;
}
.modal-large .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  border-radius: 50%;
  color: #d74a4a;
  border: 1px solid #d7dee8;
  background: #f8fafc;
  z-index: 4;
}
.modal-large .modal-close:hover {
  color: #c63d3d;
  background: #fff;
}
@media (max-width: 720px) {
  .agreement-modal-card {
    padding: 14px 14px 12px;
    border-radius: 24px;
  }
  .agreement-scroll-box {
    border-radius: 18px;
    padding: 16px 16px;
    max-height: 58vh;
  }
  .agreement-footer {
    border-radius: 18px;
    padding: 10px 12px;
    min-height: 56px;
  }
  .agreement-footer-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .agreement-approve-btn {
    min-width: 172px;
  }
}

/* v9 sözleşme modal kesin düzeltme */
.agreement-modal-card {
  position: relative !important;
  overflow: visible !important;
}
.agreement-modal-card .modal-close {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  margin: 0 !important;
  z-index: 20 !important;
}
.agreement-scroll-box {
  overflow: auto !important;
  border-radius: 22px !important;
}
.agreement-footer {
  background: #fff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  padding: 10px 14px !important;
}
.agreement-footer-actions {
  width: 100% !important;
  justify-content: flex-end !important;
}

/* v10 sözleşme satırı ve görünmez tetikleyici */
.agreement-row > span,
.agreement-row > span span,
.agreement-link {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}
.agreement-link {
  text-decoration: underline;
  color: var(--primary);
}
.agreement-end-sentinel {
  width: 100%;
  height: 2px;
  opacity: 0;
  pointer-events: none;
}


.sifre-karti{border-left:4px solid #f97316;background:linear-gradient(135deg,#fff7ed,#fff)}
.badge-zorunlu{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#ffedd5;color:#c2410c;font-size:12px;font-weight:800}
.compact-form{gap:10px!important;align-items:end}
.form-actions-inline{display:flex;align-items:end;justify-content:flex-end}
.auth-alert.warning{background:#fff7ed;color:#9a3412;border-color:#fed7aa}

/* Final ön yüz mobil hamburger menü */
.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  min-height: 46px;
  border: 1px solid #dbe6f4;
  border-radius: 15px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 28px rgba(15, 35, 65, 0.08);
  transition: 0.2s ease;
}
.mobile-menu-btn span {
  width: 21px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease, width .18s ease;
}
.mobile-menu-btn span:nth-child(2) { width: 16px; }
.mobile-menu-btn span:nth-child(3) { width: 24px; }
.mobile-menu-btn.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}
.mobile-menu-btn.is-active span:nth-child(1) { width: 23px; transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-active span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.mobile-menu-btn.is-active span:nth-child(3) { width: 23px; transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .topbar-inner {
    min-height: 66px;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    padding: 8px 0;
  }
  .brand { gap: 10px; min-width: 0; }
  .brand-logo,
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand h1 { font-size: 20px; }
  .brand p {
    max-width: 210px;
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-menu-btn { display: inline-flex; flex: 0 0 auto; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 120;
    width: 100% !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-content: stretch !important;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(219, 230, 244, .96);
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 48px rgba(15,35,65,.16);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a.link,
  .nav .btn {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    border-radius: 14px;
    font-size: 13px;
  }
  .nav a.link {
    background: #f3f7fc;
    color: var(--text);
  }
}

@media (max-width: 520px) {
  .topbar { position: sticky; }
  .brand p { max-width: 155px; }
  .brand h1 { font-size: 18px; }
  .brand-logo,
  .brand-mark { width: 38px; height: 38px; border-radius: 13px; }
  .mobile-menu-btn { width: 42px; height: 42px; min-height: 42px; border-radius: 14px; }
}


/* Final v11: mobil menü, iki satır logo ve sabit mobil giriş başvurusu */
.brand p {
  display: grid;
  gap: 1px;
  line-height: 1.15;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.brand p span {
  display: block;
}
.side-box .check-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  box-shadow: 0 14px 28px rgba(31, 143, 95, .18);
}
.mobile-bottom-actions {
  display: none;
}
@media (max-width: 980px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .topbar-inner {
    min-height: 64px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 8px 0 !important;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 9px;
  }
  .brand-logo,
  .brand-mark {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 13px !important;
  }
  .brand h1 {
    font-size: 20px !important;
    line-height: 1 !important;
  }
  .brand p {
    max-width: 190px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    position: relative !important;
    z-index: 1100 !important;
  }
  .nav {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
    border: 1px solid rgba(219, 230, 244, .96) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 22px 48px rgba(15, 35, 65, .16) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
  }
  .nav.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
  .nav a.link,
  .nav .btn {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }
  .nav a.link {
    background: #f3f7fc !important;
    color: var(--text) !important;
  }
  .mobile-bottom-actions {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 9px;
    border: 1px solid rgba(219, 230, 244, .9);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 44px rgba(15, 35, 65, .18);
    backdrop-filter: blur(14px);
  }
  .mobile-action-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
    text-align: center;
  }
  .mobile-action-login {
    color: var(--primary);
    background: #edf4ff;
    border: 1px solid #cfe0f5;
  }
  .mobile-action-apply {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 26px rgba(18, 75, 159, .18);
  }
  .platform-box .bottom {
    font-size: 22px !important;
    padding: 16px 14px 18px !important;
  }
  .platform-box .top h5 {
    font-size: 28px !important;
  }
}
@media (max-width: 520px) {
  .brand h1 { font-size: 18px !important; }
  .brand p { max-width: 155px !important; font-size: 10.5px !important; }
  .brand-logo,
  .brand-mark {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .mobile-bottom-actions { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); }
  .mobile-action-btn { min-height: 46px; font-size: 12.5px; }
}


/* Final v12: mobil alt bar koyu tema ve dark/light mode */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.theme-toggle-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #dbe6f4;
  background: #ffffff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 35, 65, 0.08);
  transition: .2s ease;
}
.theme-toggle-btn .theme-icon {
  font-size: 15px;
  line-height: 1;
}
.theme-toggle-btn:hover {
  transform: translateY(-1px);
}
body.theme-dark {
  --bg: #0d1829;
  --white: #122237;
  --text: #e8eef8;
  --muted: #a8b8cf;
  --line: rgba(122, 147, 181, 0.25);
  --primary: #6ea8ff;
  --primary-dark: #4b87e2;
  --success: #35b67a;
  --success-dark: #239763;
  --accent: #f3a24c;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
body.theme-dark .topbar,
body.theme-dark .card,
body.theme-dark .hero-card,
body.theme-dark .step-card,
body.theme-dark .side-box,
body.theme-dark .modal-card,
body.theme-dark .faq-item,
body.theme-dark .platform-box .top,
body.theme-dark .platform-box .bottom,
body.theme-dark .nav,
body.theme-dark .theme-toggle-btn,
body.theme-dark .mobile-menu-btn,
body.theme-dark .mobile-bottom-actions {
  background-color: #122237 !important;
  color: var(--text);
  border-color: rgba(122, 147, 181, 0.25) !important;
}
body.theme-dark .topbar {
  background: rgba(12, 22, 37, 0.92) !important;
  border-bottom-color: rgba(122, 147, 181, 0.18) !important;
}
body.theme-dark .nav a.link {
  background: rgba(255,255,255,.05) !important;
  color: var(--text) !important;
}
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea {
  background: #0f1b2d;
  color: var(--text);
  border-color: rgba(122, 147, 181, 0.3);
}
body.theme-dark .btn-outline {
  border-color: rgba(122, 147, 181, 0.35);
  color: var(--text);
}
body.theme-dark .theme-toggle-btn,
body.theme-dark .mobile-menu-btn {
  background: #16283f;
  color: #f8fbff;
}
body.theme-dark .brand p,
body.theme-dark .hero-copy p,
body.theme-dark .section-head p,
body.theme-dark .side-box p,
body.theme-dark .faq-item p,
body.theme-dark .field-help,
body.theme-dark .muted,
body.theme-dark .footer-links a {
  color: var(--muted);
}
@media (max-width: 980px) {
  .nav .btn {
    display: none !important;
  }
  .mobile-bottom-actions {
    background: linear-gradient(135deg, #0d2240 0%, #243245 100%) !important;
    border-color: rgba(255,255,255,.08) !important;
    box-shadow: 0 20px 44px rgba(3, 10, 22, .34) !important;
  }
  .mobile-action-btn {
    gap: 9px;
    color: #fff !important;
  }
  .mobile-action-btn .mobile-action-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,.14);
    font-size: 14px;
    font-weight: 900;
    flex: 0 0 26px;
  }
  .mobile-action-login {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: #eef5ff !important;
  }
  .mobile-action-apply {
    background: linear-gradient(135deg, #f28c28, #e8790f) !important;
    border: 1px solid rgba(255,255,255,.10);
    color: #fff !important;
    box-shadow: none !important;
  }
  body.theme-dark .mobile-bottom-actions {
    background: linear-gradient(135deg, #0a1626 0%, #1b2737 100%) !important;
  }
  body.theme-dark .mobile-action-login {
    background: rgba(255,255,255,.06) !important;
  }
}
@media (max-width: 640px) {
  .theme-toggle-btn {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
  }
  .theme-toggle-btn .theme-label {
    display: none;
  }
}


/* Final v13: görünür tema butonu, tam genişlik mobil alt şerit, daha köşeli tasarım */
:root {
  --radius-2xl: 24px;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
}
.topbar-inner { display: flex !important; align-items: center !important; }
.topbar .nav { margin-left: auto; }
.topbar-actions {
  margin-left: 10px;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  position: relative;
  z-index: 1250;
  flex: 0 0 auto;
}
.theme-toggle-btn {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 46px;
}
.theme-toggle-btn .theme-icon { font-size: 17px; }
.card,.hero-card,.step-card,.side-box,.modal-card,.faq-item,.stat-card,.platform-box,.platform-box .top,.platform-box .bottom,.btn,.nav a.link,.nav .btn,.mobile-menu-btn,.theme-toggle-btn,.field-group input,.field-group select,.field-group textarea,input,select,textarea { border-radius: 16px !important; }
.btn,.nav a.link,.nav .btn,.mobile-action-btn { border-radius: 12px !important; }
.brand-logo,.brand-mark { border-radius: 12px !important; }
.modal-card { border-radius: 20px !important; }
.mobile-bottom-actions { border-radius: 0 !important; }
@media (max-width: 980px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important; }
  .topbar-inner { gap: 8px !important; }
  .topbar .nav { margin-left: 0 !important; }
  .topbar-actions { margin-left: auto !important; }
  .theme-toggle-btn {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 12px !important;
  }
  .theme-toggle-btn .theme-label { display: none !important; }
  .mobile-menu-btn { border-radius: 12px !important; }
  .mobile-bottom-actions {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    gap: 10px !important;
  }
  .sector-card,.sektor-card,.sector-item,.sektor-item,#sektorler .card,#sektorler .feature-card { padding: 20px 16px !important; }
  .sector-card .icon,.sektor-card .icon,.sector-item .icon,.sektor-item .icon,#sektorler .icon,#sektorler .emoji,#sektorler .card-icon {
    width: 58px !important;
    height: 58px !important;
    font-size: 32px !important;
    line-height: 1 !important;
  }
  #sektorler h3,#sektorler h4,#sektorler .card h3,#sektorler .card h4,#sektorler .sector-title,#sektorler .sektor-title {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
  #sektorler p,#sektorler .card p { font-size: 14px !important; line-height: 1.55 !important; }
}
@media (max-width: 520px) {
  .mobile-bottom-actions { left: 0 !important; right: 0 !important; bottom: 0 !important; }
}


/* Final v14: dark mode uyum, buton ikonları, başvuru sadeleştirme */
.nav .btn,
.mobile-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  font-weight: 900 !important;
}
.nav-btn-icon,
.mobile-action-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 999px !important;
  display: inline-grid !important;
  place-items: center !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
}
.nav-action-login,
.mobile-action-login {
  background: linear-gradient(135deg, #202d3d, #334154) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}
.nav-action-login .nav-btn-icon,
.mobile-action-login .mobile-action-icon {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
}
.nav-action-apply,
.mobile-action-apply {
  background: linear-gradient(135deg, #f28c28, #f07711) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 24px rgba(240,119,17,.22) !important;
}
.nav-action-apply .nav-btn-icon,
.mobile-action-apply .mobile-action-icon {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
.security-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
}
.security-card .security-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: var(--primary);
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(18,75,159,.10);
}
.security-card h5 { margin-top: 2px !important; }
.security-card p { grid-column: 1 / -1; }
.summary-card .cta-row { display: none !important; }
body.theme-dark {
  background: #081321 !important;
}
body.theme-dark .topbar,
body.theme-dark .modal-card,
body.theme-dark .security-card,
body.theme-dark .highlight-card,
body.theme-dark .summary-card,
body.theme-dark .sss-item,
body.theme-dark .sss-button,
body.theme-dark .agreement-row,
body.theme-dark .agreement-modal-card,
body.theme-dark .modal-text-body,
body.theme-dark .form-grid,
body.theme-dark .hero-card,
body.theme-dark .step-card,
body.theme-dark .side-box,
body.theme-dark .platform-box .top,
body.theme-dark .platform-box .bottom {
  background: #112238 !important;
  color: #eef5ff !important;
  border-color: rgba(130,158,196,.28) !important;
}
body.theme-dark .highlight-card,
body.theme-dark .security-card,
body.theme-dark .sss-button,
body.theme-dark .agreement-row {
  background: #142841 !important;
}
body.theme-dark .modal-head h4,
body.theme-dark .modal-card h4,
body.theme-dark .modal-card h5,
body.theme-dark .security-card h5,
body.theme-dark .highlight-card h4,
body.theme-dark .sss-button span,
body.theme-dark .agreement-link,
body.theme-dark label,
body.theme-dark .field-group label {
  color: #f6f9ff !important;
}
body.theme-dark .modal-head p,
body.theme-dark .security-card p,
body.theme-dark .highlight-card p,
body.theme-dark .helper,
body.theme-dark .field-help,
body.theme-dark .sss-content-inner,
body.theme-dark .agreement-row span,
body.theme-dark .section-title p,
body.theme-dark .hero-copy p {
  color: #bfd0e7 !important;
}
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea,
body.theme-dark .field-group input,
body.theme-dark .field-group select,
body.theme-dark .field-group textarea {
  background: #0b192b !important;
  color: #f6f9ff !important;
  border-color: rgba(137,164,202,.32) !important;
}
body.theme-dark input::placeholder,
body.theme-dark textarea::placeholder {
  color: #7f93af !important;
  opacity: 1 !important;
}
body.theme-dark .agreement-row input[type="checkbox"],
body.theme-dark input[type="checkbox"] {
  background: #0b192b !important;
  border-color: rgba(137,164,202,.45) !important;
  accent-color: #f28c28;
}
body.theme-dark .sss-button strong {
  color: #70a7ff !important;
}
body.theme-dark .modal-close {
  background: #f3f7ff !important;
  color: #8fa1bb !important;
}
body.theme-dark .security-card .security-icon {
  background: rgba(112,167,255,.16) !important;
  color: #70a7ff !important;
}
@media (max-width: 980px) {
  .mobile-action-btn {
    min-height: 52px !important;
    font-size: 15px !important;
    letter-spacing: -.01em;
  }
  .mobile-action-btn .mobile-action-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 16px !important;
  }
  .security-card .security-icon {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}


/* Final v15: sözleşme dark mode okunabilirlik ve mobil lacivert giriş */
body.theme-dark .agreement-modal-card,
body.theme-dark .agreement-scroll-box,
body.theme-dark .modal-text-body {
  background: #102138 !important;
  color: #f6f9ff !important;
  border-color: rgba(170, 194, 230, .34) !important;
}
body.theme-dark .agreement-scroll-box *,
body.theme-dark .modal-text-body *,
body.theme-dark .modal-text-body h1,
body.theme-dark .modal-text-body h2,
body.theme-dark .modal-text-body h3,
body.theme-dark .modal-text-body h4,
body.theme-dark .modal-text-body p,
body.theme-dark .modal-text-body li,
body.theme-dark .modal-text-body strong,
body.theme-dark .modal-text-body span,
body.theme-dark .modal-text-body ul,
body.theme-dark .modal-text-body ol {
  color: #f4f8ff !important;
  opacity: 1 !important;
}
body.theme-dark .agreement-scroll-box h1,
body.theme-dark .agreement-scroll-box h2,
body.theme-dark .agreement-scroll-box h3 {
  color: #ffffff !important;
}
body.theme-dark .agreement-footer {
  background: #f8fbff !important;
  border-color: rgba(210, 222, 240, .95) !important;
  color: #10233f !important;
}
body.theme-dark .agreement-small-btn {
  background: #ffffff !important;
  color: #124b9f !important;
  border-color: #d9e4f3 !important;
}
body.theme-dark .agreement-approve-btn,
body.theme-dark .agreement-approve-btn:not([disabled]) {
  background: linear-gradient(135deg, #3f8cff, #2165d7) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
body.theme-dark .agreement-modal-card .modal-close,
body.theme-dark .modal-large .modal-close,
body.theme-dark .modal-close {
  background: #ffffff !important;
  color: #0f2542 !important;
  border: 2px solid #d8e4f4 !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.26) !important;
  opacity: 1 !important;
}
body.theme-dark .agreement-modal-card .modal-close:hover,
body.theme-dark .modal-close:hover {
  background: #f28c28 !important;
  color: #ffffff !important;
  border-color: #f28c28 !important;
}
.nav-action-login,
.mobile-action-login {
  background: linear-gradient(135deg, #071a33, #0c2c55) !important;
  color: #ffffff !important;
  border-color: rgba(118, 157, 216, .32) !important;
}
.nav-action-login .nav-btn-icon,
.mobile-action-login .mobile-action-icon {
  background: rgba(96, 165, 250, .20) !important;
  color: #ffffff !important;
}
.mobile-action-btn,
.nav-action-login,
.nav-action-apply {
  color: #ffffff !important;
}
.mobile-action-btn span,
.nav-action-login span,
.nav-action-apply span {
  color: inherit !important;
}
@media (max-width: 980px) {
  .mobile-action-login {
    background: linear-gradient(135deg, #06172d, #0b2a52) !important;
    border-color: rgba(255,255,255,.18) !important;
  }
}


/* Final v15: firma giriş butonu, pasif panel ve admin firma akışı */
.nav .btn.btn-outline {
  background: linear-gradient(135deg, #5f9df7, #3f7fe2) !important;
  color: #fff !important;
  border-color: rgba(95,157,247,.38) !important;
  box-shadow: 0 12px 24px rgba(63,127,226,.20) !important;
}
.nav .btn.btn-outline::before {
  content: '↪';
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-weight: 900;
}
.mobile-action-login {
  background: linear-gradient(135deg, #5f9df7, #3f7fe2) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: none !important;
}
.mobile-action-login .mobile-action-icon::before {
  content: '↪';
}
.mobile-action-login .mobile-action-icon {
  font-size: 0 !important;
}
.mobile-action-login .mobile-action-icon::before {
  font-size: 15px !important;
}
.admin-firma-aksiyon {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.admin-firma-modal-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.admin-firma-modal-grid > div {
  border:1px solid var(--line);
  border-radius:14px;
  padding:13px;
  background:rgba(246,249,253,.72);
}
.admin-firma-modal-grid strong {display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;}
.admin-firma-modal-grid span {font-weight:900;color:var(--text);}
@media (max-width: 760px){.admin-firma-modal-grid{grid-template-columns:1fr;}}
body.theme-dark .admin-firma-modal-grid > div {
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.12);
}


/* Final v16: tek ikonlu mavi firma girişi ve panel akış düzeltmeleri */
.nav .btn.btn-outline.nav-action-login,
.nav-action-login,
.mobile-action-login {
  background: linear-gradient(135deg, #5f9df7, #3f7fe2) !important;
  color: #ffffff !important;
  border-color: rgba(95,157,247,.45) !important;
  box-shadow: 0 12px 24px rgba(63,127,226,.22) !important;
}
.nav .btn.btn-outline.nav-action-login::before,
.nav-action-login::before {
  content: none !important;
  display: none !important;
}
.nav-action-login .nav-btn-icon,
.mobile-action-login .mobile-action-icon {
  background: rgba(255,255,255,.18) !important;
  color: #ffffff !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  margin-right: 0 !important;
}
.mobile-action-login .mobile-action-icon::before {
  content: none !important;
  display: none !important;
}
.mobile-action-login .mobile-action-icon {
  font-size: 16px !important;
}
@media (max-width: 980px) {
  .mobile-action-login {
    background: linear-gradient(135deg, #5f9df7, #3f7fe2) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.16) !important;
  }
}
.firma-sinirli-uyari {
  border-color:#f5c56b !important;
  background:#fffaf0 !important;
}
body.theme-dark .firma-sinirli-uyari {
  background:rgba(245,158,11,.10) !important;
  border-color:rgba(245,197,107,.35) !important;
  color:#f8fbff !important;
}
body.theme-dark .firma-sinirli-uyari .not-kutu {
  background:rgba(255,255,255,.05) !important;
  color:#e8eef8 !important;
}
.firma-durum-akis {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.firma-durum-akis .akis-kutu {
  border:1px solid var(--line);
  background:var(--card);
  border-radius:16px;
  padding:14px;
}
.firma-durum-akis .akis-kutu strong{display:block;font-size:14px;margin-bottom:4px;}
.firma-durum-akis .akis-kutu small{color:var(--muted);font-weight:700;line-height:1.45;}
@media(max-width:760px){.firma-durum-akis{grid-template-columns:1fr;}}


/* Final düzeltme: dark mode okunurluk ve mobil firma girişi rengi */
body.theme-dark {
  background:#0d1829 !important;
  color:#eef5ff !important;
}
body.theme-dark .topbar,
body.theme-dark .modal-card,
body.theme-dark .faq-item,
body.theme-dark .sss-item,
body.theme-dark .card,
body.theme-dark .side-box,
body.theme-dark .feature-card,
body.theme-dark .sector-card,
body.theme-dark .sektor-card,
body.theme-dark .hero-card,
body.theme-dark .step-card {
  background:#122237 !important;
  color:#eef5ff !important;
  border-color:rgba(143,169,205,.28) !important;
}
body.theme-dark .modal-card h1,
body.theme-dark .modal-card h2,
body.theme-dark .modal-card h3,
body.theme-dark .modal-card h4,
body.theme-dark .modal-card strong,
body.theme-dark .faq-item strong,
body.theme-dark .sss-item strong,
body.theme-dark .card h3,
body.theme-dark .card h4,
body.theme-dark .feature-card h3,
body.theme-dark .side-box h3 {
  color:#ffffff !important;
}
body.theme-dark .modal-card p,
body.theme-dark .modal-card li,
body.theme-dark .modal-card div,
body.theme-dark .modal-text-body,
body.theme-dark .agreement-scroll-box,
body.theme-dark .faq-item p,
body.theme-dark .sss-item p,
body.theme-dark .card p,
body.theme-dark .feature-card p,
body.theme-dark .side-box p {
  color:#d7e6fb !important;
}
body.theme-dark .modal-close {
  background:#ffffff !important;
  color:#10233f !important;
  border-color:#ffffff !important;
  opacity:1 !important;
}
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea {
  background:#0d1b2f !important;
  color:#ffffff !important;
  border-color:rgba(143,169,205,.38) !important;
}
body.theme-dark input::placeholder,
body.theme-dark textarea::placeholder { color:#9eb3ce !important; }
body.theme-dark label { color:#f4f8ff !important; }
body.theme-dark .agreement-actions,
body.theme-dark .modal-foot,
body.theme-dark .modal-footer {
  background:#0f1d31 !important;
  border-color:rgba(143,169,205,.25) !important;
}
body.theme-dark .nav a.link { background:rgba(255,255,255,.07) !important; color:#eef5ff !important; }
@media (max-width:980px){
  .mobile-action-login,
  body.theme-dark .mobile-action-login {
    background:linear-gradient(135deg,#5f9df6,#3f82ee) !important;
    border-color:rgba(255,255,255,.12) !important;
    color:#ffffff !important;
    box-shadow:0 12px 26px rgba(63,130,238,.22) !important;
  }
  .mobile-action-login .mobile-action-icon,
  body.theme-dark .mobile-action-login .mobile-action-icon {
    background:rgba(255,255,255,.18) !important;
    color:#ffffff !important;
  }
  .mobile-action-login .mobile-action-icon::before { content:"↪" !important; }
  .mobile-action-apply .mobile-action-icon::before { content:"✎" !important; }
}

/* Kısmi onay ve pasif işlem görünümü */
.mini-btn.passive, .btn-passive, button[disabled].mini-btn, button[disabled].btn {
  opacity: .55 !important;
  cursor: not-allowed !important;
  filter: grayscale(.25);
  pointer-events: auto;
}
.btn-passive {
  background: #e5e7eb !important;
  color: #64748b !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}
.theme-dark .btn-passive, .theme-dark .mini-btn.passive {
  background: #243245 !important;
  color: #93a4bb !important;
  border-color: rgba(148, 163, 184, .25) !important;
}


/* Final marka/logo + renk düzeltmeleri */
.brand-logo-dual,
.logo-resim {
  background: #fff;
  overflow: hidden;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-dark-img { display: none !important; }
body.theme-dark .logo-light-img { display: none !important; }
body.theme-dark .logo-dark-img { display: block !important; }

body.theme-dark .agreement-scroll-box,
body.theme-dark .modal-text-body,
body.theme-dark .modal-card {
  color: #f7fbff !important;
}
body.theme-dark .agreement-scroll-box *,
body.theme-dark .modal-text-body * {
  color: #f7fbff !important;
  opacity: 1 !important;
}
body.theme-dark .modal-close,
body.theme-dark .panel-modal-close {
  background: #f8fbff !important;
  color: #18314f !important;
  border-color: rgba(255,255,255,.45) !important;
}
.mobile-action-login,
.nav-action-login {
  color: #fff !important;
  background: linear-gradient(135deg, #5c9df7, #4c86e8) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 26px rgba(76,134,232,.25) !important;
}
.mobile-action-apply,
.nav-action-apply {
  color: #fff !important;
  background: linear-gradient(135deg, #ff9b2f, #f07a0b) !important;
  border-color: rgba(255,255,255,.12) !important;
}

/* Admin aksiyon butonları */
.mini-btn.success, .btn.btn-success { background:#18a35b!important; color:#fff!important; border-color:#18a35b!important; }
.mini-btn.danger, .btn.btn-danger { background:#fff1f1!important; color:#c62828!important; border-color:#ffc8c8!important; }
.mini-btn.warning, .btn.btn-warning { background:#fff6df!important; color:#9a6400!important; border-color:#ffe2a3!important; }
.mini-btn.passive, .btn.btn-passive { cursor:not-allowed!important; opacity:.58!important; background:#edf2f7!important; color:#8a99ad!important; }

/* Evrak satırları daha net */
.evrak-satir.red { display: none; }
.basvuru-modal-card .evrak-satir.red { display: grid; }
.evrak-satir-aksiyonlar form { display:inline-flex; gap:6px; align-items:center; flex-wrap:wrap; }
.admin-firma-aksiyon { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.inline-form { display:inline-flex; margin:0; }
.basvuru-liste-ust { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin: 0 0 12px; }
.basvuru-liste-ust .btn { min-height:38px; padding:8px 12px; }

/* Firma panel formları modern */
.panel-form-modern .alan input,
.panel-form-modern .alan select,
.panel-form-modern .alan textarea,
.firma-ayarlar-tabs input,
.firma-ayarlar-tabs select,
.firma-ayarlar-tabs textarea {
  width:100%;
  min-height:44px;
  border:1px solid #dce7f5;
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  color:#10233f;
  font-weight:700;
}
.panel-form-modern .alan label,
.firma-ayarlar-tabs label {
  display:block;
  font-size:13px;
  color:#5d6c84;
  font-weight:800;
  margin-bottom:6px;
}
body.theme-dark .panel-form-modern .alan input,
body.theme-dark .panel-form-modern .alan select,
body.theme-dark .panel-form-modern .alan textarea,
body.theme-dark .firma-ayarlar-tabs input,
body.theme-dark .firma-ayarlar-tabs select,
body.theme-dark .firma-ayarlar-tabs textarea {
  background:#0f1d31;
  color:#eef6ff;
  border-color:#2b4565;
}

/* Index logo dark/light fix */
.brand-logo-dual,.logo-resim{background:#fff;overflow:hidden}.logo-img{width:100%;height:100%;object-fit:contain;display:block}.logo-dark-img{display:none!important}body.theme-dark .logo-light-img{display:none!important}body.theme-dark .logo-dark-img{display:block!important}


/* 2026-06-03 düzeltme: sadece logo + dark mod liste okunurluğu */
.brand-only-logo {
  gap: 0 !important;
}
.brand-only-logo .brand-logo {
  width: 226px !important;
  height: 70px !important;
  border-radius: 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.brand-only-logo .brand-logo img,
.brand-logo-dual .logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}
.brand-only-logo h1,
.brand-only-logo p,
.brand-only-logo > div:not(.brand-logo) {
  display: none !important;
}

/* Sol panel logolarında da yazı yerine logo öne çıksın */
.logo-alani {
  gap: 8px !important;
}
.logo-alani .logo-resim {
  width: 86px !important;
  height: 44px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.logo-alani .logo-resim img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.logo-alani > div:not(.logo-resim) {
  display: none !important;
}

/* Dark mode: beyaz kutu üstünde beyaz yazı sorununu düzelt */
body.theme-dark .list-item,
body.theme-dark .feature-card .list-item,
body.theme-dark #egitim .list-item {
  background: rgba(255,255,255,0.075) !important;
  border-color: rgba(143,169,205,.28) !important;
  color: #f4f8ff !important;
}
body.theme-dark .list-item *,
body.theme-dark .feature-card .list-item * {
  color: #f4f8ff !important;
  opacity: 1 !important;
}
body.theme-dark .feature-card p,
body.theme-dark #egitim .feature-card p {
  color: #d9e7fb !important;
}
body.theme-dark .feature-card h4,
body.theme-dark #egitim .feature-card h4 {
  color: #ffffff !important;
}
body.theme-dark .dot {
  background: #ffad4a !important;
}

/* Light mode’da da liste yazıları net kalsın */
.list-item {
  color: #10233f;
}
.list-item * {
  color: inherit;
}

@media (max-width: 980px) {
  .brand-only-logo .brand-logo {
    width: 176px !important;
    height: 56px !important;
  }
}
@media (max-width: 520px) {
  .brand-only-logo .brand-logo {
    width: 154px !important;
    height: 48px !important;
  }
}


/* Firma listesi profesyonel akış düzeltmeleri */
.yetki-chip-list {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.firma-detail-columns {
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.firma-edit-section {
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.firma-edit-section h4,
.basvuru-bolum h4 {
  margin:0 0 10px;
  font-size:17px;
  font-weight:900;
}
.admin-firma-aksiyon .mini-btn {
  white-space:nowrap;
}
.evrak-satir.red {
  display:grid !important;
  opacity:.78;
}
.evrak-satir.red .evrak-satir-durum span {
  background:#fee2e2;
  color:#b91c1c;
}


/* 2026-06-05 Revizyon-12: temiz tek header tanımı - Rev10 görünümü korunur */
.topbar{
  background:#030b16!important;
  border-bottom:1px solid rgba(65,90,125,.32)!important;
}
.topbar .container.topbar-inner{
  width:min(1240px, calc(100% - 28px))!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  justify-content:flex-start!important;
}
.topbar-inner{
  background:transparent!important;
  min-height:104px!important;
  padding:6px 0!important;
  gap:18px!important;
}
.brand-only-logo{
  margin-left:0!important;
  margin-right:auto!important;
  padding-left:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 auto!important;
}
.brand-only-logo .brand-logo,
.brand-logo-dual{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.brand-only-logo .brand-logo{
  margin-left:0!important;
  width:300px!important;
  height:96px!important;
  padding:0!important;
  border-radius:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.brand-logo-dual img.logo-img,
.brand-only-logo .brand-logo img.logo-img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
.brand-logo-dual img.logo-img{display:none!important;}
body:not(.theme-dark) .brand-logo-dual img.logo-light-img{display:block!important;}
body:not(.theme-dark) .brand-logo-dual img.logo-dark-img{display:none!important;}
body.theme-dark .brand-logo-dual img.logo-light-img{display:none!important;}
body.theme-dark .brand-logo-dual img.logo-dark-img{display:block!important;}

.topbar .nav{
  margin-left:auto!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
body.theme-dark .topbar,
body.theme-dark .topbar .container.topbar-inner,
body.theme-dark .topbar-inner,
body.theme-dark .topbar .nav{
  background:#030b16!important;
}
body:not(.theme-dark) .topbar{
  background:#ffffff!important;
  border-bottom:1px solid rgba(205,218,236,.95)!important;
}
body:not(.theme-dark) .topbar .container.topbar-inner,
body:not(.theme-dark) .topbar-inner,
body:not(.theme-dark) .topbar .nav{
  background:#ffffff!important;
}
body.theme-dark .topbar .nav a.link{
  background:transparent!important;
  color:#e8f2ff!important;
  border-color:transparent!important;
}
body.theme-dark .topbar .nav a.link:hover{
  background:#0b1d33!important;
}
body:not(.theme-dark) .topbar .nav a.link{
  background:transparent!important;
  color:#172338!important;
  border-color:transparent!important;
}
body:not(.theme-dark) .topbar .nav a.link:hover{
  background:#edf4ff!important;
}

/* Sektör kartı eşit ölçü standardı korunur */
.sector-grid,
.sector-grid.sector-grid-all{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-auto-rows:1fr!important;
  align-items:stretch!important;
  gap:16px!important;
}
.sector-grid .sector-card,
.sector-grid-all .sector-card{
  width:100%!important;
  height:100%!important;
  min-height:258px!important;
  max-width:none!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:22px 16px!important;
}
.sector-grid .sector-icon,
.sector-grid-all .sector-icon{
  width:74px!important;
  height:74px!important;
  flex:0 0 74px!important;
  margin:0 auto 14px!important;
}
.sector-grid .sector-card h6,
.sector-grid-all .sector-card h6{
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
}
.sector-grid .sector-card p,
.sector-grid-all .sector-card p{
  min-height:46px!important;
  margin-top:10px!important;
  text-align:center!important;
}
@media(max-width:1180px){
  .topbar .container.topbar-inner{
    width:min(100% - 28px, 1240px)!important;
  }
  .brand-only-logo .brand-logo{width:285px!important;height:90px!important;}
  .sector-grid,.sector-grid.sector-grid-all{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  .topbar .container.topbar-inner{
    width:min(100% - 22px, 1240px)!important;
  }
  .brand-only-logo .brand-logo{width:224px!important;height:70px!important;}
  .sector-grid,.sector-grid.sector-grid-all{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:520px){
  .sector-grid,.sector-grid.sector-grid-all{grid-template-columns:1fr!important;}
  .sector-grid .sector-card,.sector-grid-all .sector-card{min-height:230px!important;}
}



/* AutoPay iyzico başvuru kriterleri ve sözleşme sayfaları */
.iyzico-criteria-section{background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)}
.iyzico-criteria-card{display:grid;grid-template-columns:1fr 420px;gap:22px;align-items:center;background:#fff;border:1px solid rgba(190,209,236,.9);border-radius:26px;padding:24px;box-shadow:0 20px 55px rgba(15,35,68,.08)}
.iyzico-criteria-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.iyzico-criteria-list a,.iyzico-criteria-list span{display:flex;align-items:center;min-height:48px;padding:13px 15px;border-radius:16px;background:#f8fafc;border:1px solid #e5edf7;color:#152238;text-decoration:none;font-weight:800}
.iyzico-criteria-list a:hover{background:#eef6ff;border-color:#b9d7ff;color:#0b5eea}
.iyzico-criteria-logos{text-align:center;background:#f8fafc;border:1px dashed #ccd9eb;border-radius:20px;padding:16px}
.iyzico-criteria-logos img{width:100%;max-width:390px;height:auto;display:block;margin:0 auto 10px}.iyzico-criteria-logos p{margin:0;color:#667085;font-size:14px;line-height:1.5}
.public-legal-body{background:#f3f7fc;color:#172338;font-family:Inter,Arial,Helvetica,sans-serif}.legal-topbar{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #e5edf7;box-shadow:0 8px 30px rgba(15,35,68,.05)}
.legal-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0}.legal-brand img{height:58px;max-width:190px;object-fit:contain}.legal-topbar nav{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.legal-topbar nav a{padding:10px 12px;border-radius:12px;text-decoration:none;color:#183154;font-weight:800;background:#f8fafc;border:1px solid #e5edf7}.legal-topbar nav a:hover{background:#eef6ff;color:#0b5eea}.legal-main{padding:34px 0 54px}.legal-card{background:#fff;border:1px solid #e4edf8;border-radius:26px;box-shadow:0 22px 60px rgba(15,35,68,.09);padding:34px;max-width:1120px;margin:0 auto}.legal-eyebrow{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef6ff;color:#0b5eea;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.legal-card>h1{font-size:38px;line-height:1.15;margin:16px 0 10px;color:#0b2241}.legal-summary{font-size:17px;line-height:1.7;color:#5d6b83;max-width:920px}.legal-content{margin-top:24px;color:#22304a;line-height:1.75}.legal-content h1{font-size:28px;line-height:1.25;margin:26px 0 12px;color:#0b2241}.legal-content h2{font-size:21px;line-height:1.35;margin:24px 0 10px;color:#0f4fa8}.legal-content p{margin:10px 0}.legal-content ul{padding-left:22px;margin:10px 0}.legal-content li{margin:7px 0}.legal-content .placeholder{background:#fff7ed;color:#9a3412;border-radius:7px;padding:1px 4px}.criteria-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.criteria-list div{background:#f8fafc;border:1px solid #e5edf7;border-radius:14px;padding:13px 15px;font-weight:800}.legal-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}.legal-list-item{display:block;padding:18px;border-radius:18px;background:#f8fafc;border:1px solid #e5edf7;text-decoration:none;color:#172338}.legal-list-item strong{display:block;font-size:17px;margin-bottom:6px}.legal-list-item span{color:#667085;line-height:1.5}.legal-list-item:hover{background:#eef6ff;border-color:#b9d7ff}.payment-logo-row{margin-top:24px;text-align:center}.payment-logo-row img{max-width:620px;width:100%;height:auto}.legal-footer{padding:22px 0 36px;color:#667085}.legal-footer .container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.legal-footer-links{display:flex;gap:10px;flex-wrap:wrap}.legal-footer-links a{color:#0b5eea;text-decoration:none;font-weight:800}
@media(max-width:900px){.iyzico-criteria-card{grid-template-columns:1fr}.iyzico-criteria-list,.legal-list-grid,.criteria-list{grid-template-columns:1fr}.legal-topbar-inner{align-items:flex-start;flex-direction:column}.legal-card{padding:24px}.legal-card>h1{font-size:30px}}

/* iyzico onay görünürlüğü - ayrı kriter sayfası kaldırıldı, logolar ana sayfa ve footerda açık gösterilir */
.visible-payment-logos{background:#ffffff!important;border:2px solid #dbeafe!important;box-shadow:0 16px 40px rgba(31,107,255,.10)!important}
.visible-payment-logos img{max-width:460px!important}
.footer-payment-logos{margin:12px 0 10px;max-width:520px;background:#fff;border:1px solid #dbe7f5;border-radius:16px;padding:8px 12px}
.footer-payment-logos img{display:block;width:100%;height:auto;max-height:82px;object-fit:contain}
.legal-payment-logos{flex-basis:100%;text-align:left;margin:4px 0 8px}.legal-payment-logos img{max-width:420px;background:#fff;border:1px solid #dbe7f5;border-radius:14px;padding:6px}
@media(max-width:700px){.footer-payment-logos,.legal-payment-logos img{max-width:100%}.visible-payment-logos img{max-width:100%!important}}


/* Footer güvenli ödeme alanı - sade iyzico onay görünümü */
.iyzico-criteria-section{display:none!important}
.footer-trust-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:10px 0 12px;
}
.footer-payment-logos{
  margin:0!important;
  max-width:260px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(219,231,245,.85)!important;
  border-radius:12px!important;
  padding:6px 10px!important;
  box-shadow:none!important;
}
.footer-payment-logos img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:38px!important;
  object-fit:contain!important;
}
.footer-trust-note{
  max-width:520px;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.45;
}
.footer-trust-note strong{
  display:block;
  color:#fff;
  font-size:13px;
  margin-bottom:2px;
}
.footer-trust-note span{
  display:block;
}
@media(max-width:700px){
  .footer-trust-row{align-items:flex-start;flex-direction:column}
  .footer-payment-logos{max-width:230px!important}
  .footer-payment-logos img{max-height:34px!important}
}

/* Profesyonel footer ve modal yasal sayfa düzeni */
.footer-box{
  justify-content:center!important;
  text-align:center!important;
  gap:12px!important;
}
.footer-box>p{
  flex:0 0 100%!important;
  text-align:center!important;
}
.footer-trust-row{
  width:100%!important;
  justify-content:center!important;
  align-items:center!important;
  gap:10px!important;
  margin:8px auto 10px!important;
}
.footer-payment-logos{
  max-width:170px!important;
  padding:4px 8px!important;
  border-radius:10px!important;
}
.footer-payment-logos img{
  max-height:26px!important;
}
.footer-trust-note{
  max-width:430px!important;
  text-align:left!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.footer-trust-note strong{
  font-size:12px!important;
}
.footer-links,
.footer-links-centered{
  width:100%!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  gap:8px 14px!important;
}
.footer-links a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:26px!important;
}
.legal-modal .modal-card,
.legal-modal-card{
  width:min(980px, calc(100vw - 34px))!important;
  height:min(82vh, 760px)!important;
  padding:16px!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:24px!important;
  background:#f5f8fc!important;
}
.legal-modal-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:4px 46px 12px 4px!important;
  border-bottom:1px solid #e2e8f2!important;
}
.legal-modal-head h4{
  margin:0!important;
  font-size:22px!important;
  line-height:1.2!important;
  color:var(--text)!important;
}
.legal-modal-head p{
  margin:4px 0 0!important;
  color:var(--muted)!important;
  font-size:13px!important;
  font-weight:700!important;
}
.legal-pdf-btn{
  min-height:38px!important;
  padding:0 14px!important;
  border-radius:12px!important;
  white-space:nowrap!important;
  font-size:13px!important;
}
.legal-modal-frame-wrap{
  flex:1 1 auto!important;
  min-height:0!important;
  margin-top:12px!important;
  border:1px solid #dce6f2!important;
  background:#fff!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.legal-modal-frame-wrap iframe{
  width:100%!important;
  height:100%!important;
  border:0!important;
  display:block!important;
  background:#fff!important;
}
@media(max-width:720px){
  .footer-trust-row{flex-direction:column!important}
  .footer-trust-note{text-align:center!important}
  .footer-payment-logos{max-width:150px!important}
  .footer-payment-logos img{max-height:22px!important}
  .legal-modal .modal-card,.legal-modal-card{height:88vh!important;width:calc(100vw - 18px)!important;padding:12px!important}
  .legal-modal-head{align-items:flex-start!important;flex-direction:column!important;padding-right:42px!important}
  .legal-pdf-btn{width:auto!important}
}

/* Sözleşmeler listesinde PDF butonları */
.legal-list-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:10px!important;
}
.legal-list-card .legal-list-main{
  text-decoration:none!important;
  color:inherit!important;
}
.legal-list-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  border-top:1px solid #e5edf7;
  padding-top:10px;
}
.legal-mini-link{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 11px;
  border-radius:10px;
  border:1px solid #d8e4f4;
  background:#fff;
  color:#174b92!important;
  font-size:12px;
  font-weight:900;
  text-decoration:none!important;
}
.legal-mini-link.pdf{
  color:#fff!important;
  background:#0f5bea;
  border-color:#0f5bea;
}


/* AutoPay footer - ortalı, sade ve profesyonel yapı */
.footer-box-pro{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:10px!important;
  padding:26px 28px 24px!important;
}
.footer-brand-center{width:100%;display:flex;justify-content:center;align-items:center;margin:0 auto 2px!important}
.footer-brand-logo{
  width:168px!important;
  max-width:48vw!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
}
.footer-trust-note-center{
  width:min(620px,100%)!important;
  max-width:620px!important;
  text-align:center!important;
  color:var(--muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
  margin:0 auto!important;
}
.footer-trust-note-center strong{
  display:block!important;
  color:var(--text)!important;
  font-size:14px!important;
  font-weight:900!important;
  margin-bottom:3px!important;
}
.footer-trust-note-center span{display:block!important}
.footer-box-pro .footer-payment-logos{
  margin:3px auto 4px!important;
  max-width:138px!important;
  width:138px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(213,225,240,.9)!important;
  border-radius:11px!important;
  padding:4px 7px!important;
  box-shadow:none!important;
}
.footer-box-pro .footer-payment-logos img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:22px!important;
  object-fit:contain!important;
}
.footer-legal-links{
  width:100%!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:7px 14px!important;
  margin-top:4px!important;
}
.footer-legal-links a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:25px!important;
  color:var(--muted)!important;
  font-size:13px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.footer-legal-links a:hover{color:var(--primary)!important}
.footer-copy{
  width:100%!important;
  order:99!important;
  margin:10px 0 0!important;
  padding-top:12px!important;
  border-top:1px solid var(--line)!important;
  color:var(--muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
  text-align:center!important;
}
body.theme-dark .footer-box-pro{background:#122237!important;border-color:rgba(122,147,181,.25)!important}
body.theme-dark .footer-trust-note-center, body.theme-dark .footer-legal-links a, body.theme-dark .footer-copy{color:#a8b8cf!important}
body.theme-dark .footer-trust-note-center strong{color:#eef5ff!important}
body:not(.theme-dark) .footer-box-pro{background:#ffffff!important;color:#172338!important}
body:not(.theme-dark) .footer-trust-note-center, body:not(.theme-dark) .footer-legal-links a, body:not(.theme-dark) .footer-copy{color:#667085!important}
body:not(.theme-dark) .footer-trust-note-center strong{color:#172338!important}

/* Modal sözleşmeler - dark/light uyumlu */
.legal-modal .modal-card,
.legal-modal-card{
  background:var(--white)!important;
  color:var(--text)!important;
  border:1px solid var(--line)!important;
  box-shadow:var(--shadow)!important;
}
.legal-modal-head{border-bottom-color:var(--line)!important}
.legal-modal-frame-wrap{background:var(--white)!important;border-color:var(--line)!important}
.legal-pdf-btn{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}
.legal-modal-page{margin:0!important;background:#fff!important;color:#172338!important;font-family:Inter,Arial,Helvetica,sans-serif!important}
.legal-modal-page.theme-dark{background:#122237!important;color:#e8eef8!important}
.legal-modal-page.theme-light{background:#ffffff!important;color:#172338!important}
.legal-modal-content{padding:22px 24px 30px!important;max-width:920px;margin:0 auto!important}
.legal-modal-content h1{font-size:28px!important;line-height:1.15!important;margin:8px 0 10px!important;color:inherit!important}
.legal-modal-content .legal-summary{color:#667085!important;line-height:1.6!important;margin:0 0 16px!important}
.legal-modal-page.theme-dark .legal-summary{color:#a8b8cf!important}
.legal-modal-content .legal-content{color:inherit!important;font-size:15px!important;line-height:1.75!important}
.legal-modal-content .legal-content h1,.legal-modal-content .legal-content h2,.legal-modal-content .legal-content h3{color:inherit!important;line-height:1.25!important}
.legal-modal-content .legal-content p,.legal-modal-content .legal-content li{color:inherit!important}
.sss-content-inner{color:var(--text)!important;background:var(--white)!important}
body.theme-dark .sss-content-inner{color:#e8eef8!important;background:#122237!important}

@media(max-width:720px){
  .footer-brand-logo{width:145px!important}
  .footer-box-pro .footer-payment-logos{width:122px!important;max-width:122px!important}
  .footer-legal-links{gap:6px 10px!important}
  .footer-legal-links a{font-size:12px!important}
  .legal-modal-content{padding:18px!important}
  .legal-modal-content h1{font-size:24px!important}
}


/* Son düzenleme: footer ödeme logoları biraz büyütüldü */
.footer-box-pro .footer-payment-logos{
  max-width:190px!important;
  width:190px!important;
  padding:5px 9px!important;
  border-radius:12px!important;
}
.footer-box-pro .footer-payment-logos img{
  max-height:34px!important;
}
@media(max-width:700px){
  .footer-box-pro .footer-payment-logos{
    max-width:172px!important;
    width:172px!important;
  }
  .footer-box-pro .footer-payment-logos img{
    max-height:30px!important;
  }
}


/* Son ince ayar: footer ödeme logoları büyütüldü, footer linkleri inceltildi */
.footer-box-pro .footer-payment-logos{
  max-width:240px!important;
  width:240px!important;
  padding:7px 11px!important;
}
.footer-box-pro .footer-payment-logos img{
  max-height:44px!important;
}
.footer-legal-links a,
.footer-links-centered a,
.footer-box-pro .footer-links a{
  font-weight:600!important;
  font-size:14px!important;
  letter-spacing:.01em!important;
}
@media(max-width:700px){
  .footer-box-pro .footer-payment-logos{max-width:210px!important;width:210px!important}
  .footer-box-pro .footer-payment-logos img{max-height:38px!important}
  .footer-legal-links a,.footer-links-centered a,.footer-box-pro .footer-links a{font-size:13px!important}
}

/* Final: sözleşme belgeleri dark mode içinde beyaz sayfa olarak okunur */
body.theme-dark .agreement-scroll-box .autopay-contract-doc,body.theme-dark .modal-text-body .autopay-contract-doc{background:#fff!important;color:#182b45!important;}
body.theme-dark .agreement-scroll-box .autopay-contract-doc *,body.theme-dark .modal-text-body .autopay-contract-doc *{color:#182b45!important;opacity:1!important;}
body.theme-dark .agreement-scroll-box .autopay-contract-doc h2,body.theme-dark .modal-text-body .autopay-contract-doc h2{color:#1260aa!important;}
