:root {
  --page: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --ink: #142334;
  --ink-soft: #5c6a79;
  --blue: #145fe8;
  --blue-dark: #0b49b8;
  --blue-soft: #e5edff;
  --green: #0f7655;
  --green-soft: #ddf5ea;
  --line: #dfe5eb;
  --danger: #a72f36;
  --danger-soft: #fff0f1;
  --radius-small: 12px;
  --radius: 20px;
  --radius-large: 30px;
  --shadow: 0 24px 70px rgba(20, 35, 52, 0.13);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.compact-container {
  width: min(920px, calc(100% - 40px));
}

.privacy-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}


.download-hash {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 229, 235, 0.88);
  background: rgba(247, 248, 245, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.02em;
}


.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.header-nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(20, 95, 232, 0.25);
  outline-offset: 3px;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 26px rgba(20, 95, 232, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #c7d0d9;
  background: #f9fafb;
}

.button-small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 0.86rem;
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.hero {
  padding: 88px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.hero-copy {
  min-width: 0;
}

.badge {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-footnote {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}















.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 40px;
  text-align: center;
}

.left-heading {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-heading > p:not(.eyebrow) {
  margin: 13px 0 0;
  color: var(--ink-soft);
}

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

.step-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 850;
}

.step-card h3,
.benefit-item h3,
.download-card h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.step-card p,
.benefit-item p,
.download-card > p:not(.platform-label) {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.benefit-item {
  display: flex;
  min-width: 0;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(213, 221, 229, 0.92);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
}

.check {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.form-container {
  width: min(760px, calc(100% - 40px));
}

.price-line strong {
  color: var(--ink);
}

.form-card {
  padding: clamp(24px, 6vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 22px 64px rgba(20, 35, 52, 0.1);
}

.form-field + .form-field {
  margin-top: 18px;
}

.form-field label,
.license-result label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.88rem;
  font-weight: 750;
}

.form-field input,
.license-result textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfd7df;
  border-radius: var(--radius-small);
  background: #fbfcfd;
  color: var(--ink);
}

.form-field input {
  min-height: 50px;
  padding: 11px 13px;
}

.form-field input::placeholder {
  color: #929dab;
}

.form-field input:focus,
.license-result textarea:focus {
  border-color: var(--blue);
}

.form-submit {
  width: 100%;
  margin-top: 24px;
}

.form-privacy,
.result-instruction,
.license-expiry {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.form-message {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-message[data-kind="error"] {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--danger-soft);
  color: var(--danger);
}

.license-result {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.result-kicker {
  margin: 0 0 17px;
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 850;
}

.license-result textarea {
  min-height: 138px;
  resize: vertical;
  padding: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 17px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.platform-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-link {
  width: 100%;
  margin-top: 24px;
}

.download-message {
  min-height: 1.5em;
  margin: 16px 0 0;
  color: var(--ink-soft);
  text-align: center;
}

.faq-container {
  width: min(780px, calc(100% - 40px));
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 38px 20px 0;
  cursor: pointer;
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 5px;
  content: "+";
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -5px 38px 21px 0;
  color: var(--ink-soft);
}

.site-footer {
  /* Logo satırı metinden yüksek olduğu için şerit kalınlaşıyordu;
     dolgu buna göre kısıldı ve toplam yükseklik logosuz haliyle
     aynı kaldı. */
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-copy {
  /* Slogan solda, logo sağda, aynı satırda. Grid yerine flex:
     şeridi kalınlaştırmadan ikisini yan yana hizalıyor. */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo küçük ve alt bilgi şeridinin yüksekliğini artırmıyor -
   satır yüksekliğiyle aynı hizada kalıyor. */
.footer-logo {
  height: 36px;
  width: auto;
  flex: none;
  opacity: 0.85;
}

@media (max-width: 620px) {
  .footer-logo {
    height: 30px;
  }
}

.footer-copy p {
  max-width: 900px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .header-nav {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }


  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  /* Telefonda üstteki ana eylem düğmesi ölçüldüğünde 38 piksel
     yüksekliğindeydi; parmakla güvenle basılabilmesi için en az 44
     piksel olmalı. Öğrencilerin çoğu siteye telefondan giriyor ve bu
     düğme sayfanın birincil eylemi. */
  .button-small {
    min-height: 44px;
    padding: 11px 16px;
  }

  .container,
  .compact-container,
  .form-container,
  .faq-container {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 0.92rem;
  }


  .header-inner > .button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.75rem;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .button,
  .result-actions .button {
    width: 100%;
  }




  .section {
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .steps-grid,
  .benefit-grid,
  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-card,
  .benefit-item,
  .download-card {
    padding: 21px;
  }

  .form-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .faq-list details p {
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}


/* --- Marka: logo görseli + iki satır ad --- */
.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* --- Hero görseli: maskot --- */
/* --- Uygulama maketi (hero) ---
   Maket bir tur once kaldirilmisti; el notlarindaki istek uzerine
   geri getirildi ve stilleri git gecmisinden birebir alindi. */
.app-mockup {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 5px 10px;
}

.window-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #c4ccd5;
}

.mockup-name {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 750;
}

.mockup-body {
  min-height: 330px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f5f7fa;
}

.mockup-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 14px;
  margin-bottom: 11px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  font-size: 0.82rem;
}

.mockup-field span {
  flex: 0 0 auto;
  color: var(--ink-soft);
}

.mockup-field strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.mockup-time {
  width: 72%;
}

.mockup-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.mockup-courses span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #174da9;
  font-size: 0.75rem;
  font-weight: 780;
}

.mockup-button {
  padding: 12px;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

.mockup-status {
  margin-top: 18px;
  padding: 12px;
  border-radius: 11px;
  background: var(--green-soft);
  color: #105f47;
  font-size: 0.76rem;
}

.mockup-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.app-mockup {
    width: min(620px, 100%);
  }

.app-mockup {
    padding: 11px;
    border-radius: 22px;
  }

.mockup-body {
    min-height: 300px;
    padding: 16px;
  }

.mockup-time {
    width: 100%;
  }


/* --- Hero: uygulama maketi + sağ üstte küçük maskot --- */
.hero-gorsel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

.hero-gorsel .app-mockup {
  width: 100%;
}

/* Maskot maketin sağ üst köşesine oturuyor: ürünü örtmeden
   ona eşlik ediyor. */
.hero-maskot {
  position: absolute;
  /* Maketin başlık çubuğunun ÜSTÜNE taşıyor, üstünü ÖRTMÜYOR -
     maketteki "İTÜ Ders AI Agent" yazısı okunur kalmalı. */
  top: -74px;
  right: -26px;
  width: 146px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero-maskot {
    width: 96px;
    top: -52px;
    right: -6px;
  }
}

/* --- "O saniyeyi hepimiz kaçırdık" bölümü --- */
.dert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.dert-gorsel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.dert-gorsel img {
  width: min(100%, 240px);
  height: auto;
}

/* Kırmızı uyarı, uygulamadaki gerçek hata satırının aynısı gibi
   görünsün - anlatılan şeyin örneği olduğu anlaşılsın. */
.dert-uyari {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #f3c9cc;
  border-radius: var(--radius-small);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

.dert-metin h2 {
  margin-bottom: 14px;
}

.dert-metin p {
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.dert-metin p strong {
  color: var(--ink);
}

/* --- "Nasıl çalışır": işaretlenmiş gerçek arayüz --- */
.nasil-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.45fr);
  gap: 40px;
  align-items: center;
}

.nasil-gorsel {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.nasil-yan {
  text-align: center;
}

.nasil-yan img {
  width: min(100%, 210px);
  height: auto;
}

.nasil-yan p {
  color: var(--ink-soft);
  margin-top: 12px;
}

@media (max-width: 860px) {
  .dert-grid,
  .nasil-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* Telefonda önce dert, sonra görsel - metin yukarıda kalsın. */
  .dert-metin { order: -1; }

  .nasil-yan img {
    width: min(58%, 170px);
  }
}

/* Anahtar alındığında çıkan kutlama maskotu. Yalnızca başarı
   anında görünür - o yüzden lazy yükleniyor. */
.sonuc-maskot {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 4px;
}


/* Alt bilgi sloganı */
.footer-slogan {
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* İndirme kartındaki dosya boyutu. Öğrenci 42 MB'lık bir dosyayı
   telefon internetiyle indirip indirmeyeceğine karar verebilmeli. */
.download-meta {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  min-height: 1.2em;
}
