:root {
  --navy: #2c3e50;
  --navy-deep: #22313f;
  --green: #27ae60;
  --green-dark: #1f8f4e;
  --blue: #3498db;
  --red: #e74c3c;
  --orange: #f39c12;
  --purple: #9b59b6;
  --teal: #1abc9c;
  --page: #f4f7f9;
  --card: #ffffff;
  --ink: #1f2d3a;
  --muted: #62748a;
  --line: #dfe6ec;
  --shadow: 0 12px 32px rgba(31, 45, 58, 0.08);
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--space);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 14px rgba(31, 45, 58, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-text small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  background: var(--green);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--green-dark);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.4rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vh, 4rem) var(--space) clamp(2rem, 5vh, 3rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(39, 174, 96, 0.12);
  color: var(--green-dark);
  font-size: 0.83rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 44ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: #c3d0da;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-badges li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-shot {
  margin: 0;
}

.shot-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(31, 45, 58, 0.16);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 0.8rem;
  background: var(--navy-deep);
}

.shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.hero-shot img,
.wide-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot figcaption,
.wide-shot figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Barkod durum çubuğu */

.scan-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem var(--space);
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
}

.scan-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Sections */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 4.75rem) var(--space);
}

.section-alt {
  max-width: none;
  background: #fff;
  border-block: 1px solid var(--line);
}

.section-alt > * {
  max-width: var(--max);
  margin-inline: auto;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}

.section-head h2,
.split h2,
.contact h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-head p,
.split-lede,
.contact-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

/* Adımlar */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 1.4rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.step-no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Modüller */

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-grid li {
  position: relative;
  padding: 1.35rem 1.3rem 1.35rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-grid li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--blue);
}

.module-grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.m-blue::before { background: var(--blue); }
.m-green::before { background: var(--green); }
.m-red::before { background: var(--red); }
.m-orange::before { background: var(--orange); }
.m-purple::before { background: var(--purple); }
.m-teal::before { background: var(--teal); }

.module-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 650;
}

.module-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Geniş ekran görüntüsü */

.wide-shot {
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.wide-shot img {
  border-radius: 8px;
}

/* e-Okul bölümü */

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.split-lede {
  margin-bottom: 1.4rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink);
  font-size: 0.99rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.stat-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
}

.stat-list strong {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

/* İletişim */

.contact-inner {
  max-width: 680px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.9rem 0 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.14);
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.93rem;
  font-weight: 600;
}

.contact-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-note a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding: 1.4rem var(--space);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .stat-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .menu-btn {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: var(--space);
    left: var(--space);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.6rem;
    border-radius: 12px;
    background: var(--navy-deep);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .steps,
  .module-grid,
  .contact-form,
  .stat-list {
    grid-template-columns: 1fr;
  }
}
