/* "ADIM Nedir?" (/ozel-egitim-ogrenci-takip-sistemi) sayfasına özel stiller.
   Ortak kabuk (değişkenler, header, footer, düğmeler) site.css içindedir;
   bu dosya ondan SONRA yüklenir. */

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
  background: #eef5ff url("/assets/assets/ui/backgrounds/adim_role_selection_background_landscape.webp") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 52%, rgba(255, 255, 255, .38) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #fff 100%);
}
.hero .cloud { position: absolute; opacity: .7; pointer-events: none; }
.hero .cloud-large { left: -40px; top: 40px; width: 220px; }
.hero .cloud-small { right: -24px; top: 24px; width: 150px; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
  align-items: center;
  gap: 48px;
}

.hero h1 {
  margin: 20px 0 18px;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; margin-top: 32px; }

/* ---------- Cihaz çerçeveleri (gerçek ekran görüntüleri) ---------- */

.device-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(21, 101, 192, .25);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.device-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.device-label.activity { color: var(--teacher); border-color: rgba(118, 85, 217, .25); }
.device-label.family { color: var(--family); border-color: rgba(22, 139, 63, .25); }

.browser-frame {
  border-radius: 18px;
  background: #1b2330;
  padding: 0 8px 8px;
  box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; gap: 6px; padding: 11px 6px 9px; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a4556; }
.browser-frame img,
.tablet-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #f4f7fb;
}

.tablet-frame {
  border-radius: 24px;
  background: #1b2330;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.tablet-frame img { border-radius: 14px; }

/* ---------- Bölümler ---------- */

.section { padding: 80px 0; }
.section.soft { background: var(--soft); }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.5px;
}
.section-head p { margin: 0; font-size: 16.5px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9dcf3; }
.feature-card p { margin: 0; }
.feature-card strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 18px; }
.feature-card .icon { transition: transform .22s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover .icon { transform: scale(1.06); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
.split p { font-size: 16.5px; }
.split p + p { margin-top: 14px; }

.panel {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.panel p { margin: 0; font-size: 16.5px; }

.check-list { margin: 22px 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 38px; color: var(--ink); font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 900;
}

.trust {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  box-shadow: var(--shadow-lg);
  color: #d3deea;
}
.trust .shield {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}
.trust .shield svg { width: 28px; height: 28px; }
.trust h2 { color: #fff; }
.trust p { margin: 0 0 22px; font-size: 16.5px; }
.trust a:not(.btn) { color: #fff; font-weight: 700; }

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

@media (max-width: 1099px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }
  .split-visual { max-width: 620px; margin: 0 auto; width: 100%; }
}

@media (max-width: 767px) {
  .hero { padding: 40px 0 64px; }
  .section { padding: 56px 0; }
  .card-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 24px; }
  .trust { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .lead { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover, .feature-card:hover .icon { transform: none; }
}
