/* TerapiERP
   Panel laciverti #112445, düğme #4265DD, logo teal #47BFBD, sözcük laciverti #061943 */

:root {
  --navy: #061943;
  --panel: #112445;
  --blue: #4265dd;
  --blue-dark: #3456c9;
  --teal: #47bfbd;
  --teal-ink: #075863;
  --ink: #17304d;
  --muted: #4a5d76;
  --line: #e1e8f2;
  --mist: #e9eef6;
  --card: #ffffff;
  --soft: #f6f8fb;
  --danger: #b42318;
  --shadow: 0 24px 60px rgba(17, 36, 69, 0.14);
  --radius: 28px;
  --header: 76px;
  --font: "Poppins", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
}

body.nav-open { overflow: hidden; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

img { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--blue-dark); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.15rem, 4.4vw, 3.55rem); margin-bottom: 14px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); margin-bottom: 12px; }
h3 { font-size: 1.12rem; margin-bottom: 8px; }

p { margin-bottom: 0; }

::selection { background: #d7f4f3; color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(17, 36, 69, 0.08);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header);
}

.brand { display: flex; align-items: center; text-decoration: none; }

.brand img { height: 48px; width: auto; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-panel a {
  color: #243656;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
}

.nav-panel a:hover { background: #f3f6fb; color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--blue-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn-line {
  background: #fff;
  color: var(--navy);
  border-color: #d5deee;
}

.btn-line:hover { background: #f4f7fb; color: var(--navy); }

.btn-block { width: 100%; }

.btn:disabled { opacity: 0.7; cursor: wait; }

.nav-panel a.btn { color: #fff; margin-left: 8px; }
.nav-panel a.btn:hover { background: var(--blue-dark); color: #fff; }

.hero { padding: 22px 0 6px; }

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 620px;
}

.hero-copy,
.hero-visual,
.demo-copy,
.demo-form { min-width: 0; }

.hero-copy {
  position: relative;
  padding: 48px 44px;
  color: #fff;
  background:
    radial-gradient(420px 280px at 0% 100%, rgba(71, 191, 189, 0.2), transparent 70%),
    var(--panel);
  overflow: hidden;
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy::before {
  width: 440px;
  height: 440px;
  right: -150px;
  bottom: -180px;
}

.hero-copy::after {
  width: 280px;
  height: 280px;
  right: -70px;
  bottom: -80px;
}

.hero-copy > * { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-copy .eyebrow,
.manifesto .eyebrow,
.demo-copy .eyebrow { color: var(--teal); }

.ask {
  margin: 0 0 8px;
  color: var(--teal);
  font-weight: 600;
  font-size: 1.05rem;
}

.hero-copy h1,
.manifesto h2,
.demo-copy h2 { color: #fff; }

.lede {
  max-width: min(46ch, 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.hero-copy .lede { margin-bottom: 22px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.points {
  list-style: none;
  padding: 0;
  margin: 26px 0 18px;
  display: grid;
  gap: 10px;
}

.points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.points .ico {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: 0 0 auto;
}

.fine {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.hero-visual {
  background: var(--soft);
  padding: 28px 28px 28px 12px;
  display: flex;
  align-items: center;
}

.hero-shot { position: relative; width: 100%; }

.hero-panel {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1px solid #e4ebf4;
  box-shadow: 0 16px 40px rgba(17, 36, 69, 0.12);
  background: #fff;
}

.hero-login {
  position: absolute;
  width: min(320px, 70%);
  right: 14px;
  bottom: 14px;
  height: auto;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 16px 36px rgba(6, 25, 67, 0.28);
}

.facts {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.facts li {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
}

.facts li:nth-child(1) { box-shadow: inset 0 3px 0 #47bfbd; }
.facts li:nth-child(2) { box-shadow: inset 0 3px 0 #4265dd; }
.facts li:nth-child(3) { box-shadow: inset 0 3px 0 #12a36a; }
.facts li:nth-child(4) { box-shadow: inset 0 3px 0 #e0a106; }

.facts .k {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #607089;
}

.facts strong {
  display: block;
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.facts span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.band { padding: clamp(64px, 8vw, 96px) 0; }

.band-white { background: #fff; }

.section-head { max-width: 700px; margin-bottom: 28px; }

.section-head p,
.module p,
.sector p,
.why p,
.step p { color: var(--muted); }

.section-head p { font-size: 1.05rem; }

.cases, .modules, .sectors, .why, .steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cases, .why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why { grid-template-columns: repeat(4, 1fr); }

.case, .module, .sector, .why li, .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
}

.band-white .case,
.band-white .why li,
.band-white .step { background: var(--soft); }

.case-no, .step-no {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.module {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module:hover {
  transform: translateY(-3px);
  border-color: #c9d6ea;
  box-shadow: 0 16px 40px rgba(17, 36, 69, 0.08);
}

.chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e7f6f6;
  color: var(--teal-ink);
  margin-bottom: 14px;
}

.ico { width: 22px; height: 22px; display: block; }

.mod-k {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal-ink);
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shots {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: start;
}

figure { margin: 0; }

.shot-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: auto;
  max-height: 640px;
  box-shadow: 0 12px 32px rgba(17, 36, 69, 0.06);
}

.shot-frame img { width: 100%; height: auto; }

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.seen {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seen li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 500;
}

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.sector h3 { margin-bottom: 8px; }

.text-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.manifesto {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(71, 191, 189, 0.22), transparent 46%),
    var(--panel);
  color: #fff;
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 0;
}

.wave { width: min(240px, 70%); height: auto; margin: 0 auto 18px; color: var(--teal); }

.manifesto .lede {
  margin-inline: auto;
  font-size: 1.12rem;
}

.lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.lines li {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.demo-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-copy {
  padding: 40px 36px;
  background:
    radial-gradient(360px 220px at 0% 100%, rgba(71, 191, 189, 0.2), transparent 70%),
    var(--panel);
  color: #fff;
}

.demo-copy .lede { margin: 12px 0 22px; }

.demo-copy ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.demo-copy li + li { margin-top: 8px; }

.demo-form { padding: 36px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.field label { font-size: 0.86rem; font-weight: 600; color: var(--navy); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7dfec;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfcfe;
}

.field textarea { min-height: 110px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(66, 101, 221, 0.16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }

.err { min-height: 0; color: var(--danger); font-size: 0.78rem; }

.form-note { margin: 10px 0 0; color: var(--muted); font-size: 0.84rem; }

.form-status { margin-top: 10px; font-weight: 600; color: var(--navy); }

.success {
  background: #f3fbf8;
  border: 1px solid #cdeedf;
  border-radius: 16px;
  padding: 22px;
}

.success h3 { margin-bottom: 8px; }

.success p { color: var(--muted); margin-bottom: 16px; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: #0d1c38;
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 54px;
  height: auto;
  background: #fff;
  border-radius: 14px;
  padding: 5px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.footer-brand span { color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; }

.site-footer h2 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 4px 0;
}

.site-footer a:hover { color: #fff; }

.site-footer p { margin-top: 8px; }

.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(var(--header) + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(6, 25, 67, 0.16);
  }

  .nav-panel.is-open { display: flex; }

  .nav-panel a { padding: 12px; }
  .nav-panel a.btn { margin: 6px 0 0; }

  .hero-card, .demo-card, .shots, .why, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card { min-height: 0; }

  .hero-visual { padding: 8px 16px 20px; }
  .hero-copy { padding: 32px 24px 26px; }
  .hero-panel { height: 420px; }
  .hero-login { position: static; width: 100%; margin-top: 12px; }

  .facts, .cases, .modules, .sectors { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .facts, .cases, .modules, .sectors, .why, .steps, .form-row { grid-template-columns: 1fr; }
  .hero-panel { height: 300px; }
  .hero-card, .demo-card { border-radius: 20px; }
  .demo-copy, .demo-form { padding: 24px 18px; }
  .brand img { height: 40px; }
  .shot-frame { max-height: 480px; }
}

@media (max-width: 420px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .hero-copy { padding: 28px 18px 22px; }
  .hero-copy h1, .hero-copy .lede { overflow-wrap: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .module:hover { transform: none; }
}
