/* Akıllı Zihin – Çok Yakında */
:root {
  --bg: #0b1026;
  --bg-2: #111739;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.10);
  --text: #e8ebff;
  --muted: #a5acd6;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --radius: 20px;
  --max: 1180px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, #1d1b5a 0%, transparent 60%),
              radial-gradient(900px 700px at -10% 30%, #0f2e4a 0%, transparent 60%),
              var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); }
abbr[title] { text-decoration: none; cursor: help; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Arka plan */
#neural-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.glow { position: fixed; border-radius: 50%; filter: blur(90px); z-index: -2; opacity: .35; pointer-events: none; }
.glow--one { width: 420px; height: 420px; background: var(--violet); top: -120px; right: -80px; }
.glow--two { width: 360px; height: 360px; background: var(--cyan); bottom: -140px; left: -100px; opacity: .2; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 16, 38, .55);
  border-bottom: 1px solid transparent;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.2rem; letter-spacing: -.01em; }
.brand strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; transition: color .2s, background .2s; }
.site-header nav a:hover { color: var(--text); background: var(--surface); }
.site-header nav a.nav-cta { color: #fff; background: var(--surface); border: 1px solid var(--border); }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--primary { background: var(--grad); color: #0b1026; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, .7); }
.btn--ghost { color: var(--text); border: 1px solid var(--border); background: var(--surface); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--lg { font-size: 1.1rem; padding: 16px 30px; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 56px 24px 40px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  min-height: min(calc(100svh - 80px), 860px);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px; font-size: .9rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); margin: 0 0 20px;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name { display: block; background: linear-gradient(120deg, #fff, #c7c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.motto { font-size: clamp(1.1rem, 2vw, 1.35rem); font-style: italic; color: #d6d9ff; margin: 0 0 16px; }
.motto em { color: var(--cyan); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.exam-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.exam-chips li { font-size: .82rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: rgba(255,255,255,.03); }

.hero__visual { margin: 0; position: relative; }
.hero__visual img { width: 100%; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(124,92,255,.35)); }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Bölümler */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__head p:last-child { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--cyan); margin: 0 0 10px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }

/* Kartlar */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px 160px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin: 0; font-size: 1.35rem; }
.card__long { color: var(--accent); font-size: .88rem; font-weight: 600; margin: 4px 0 10px; }
.card p:last-child { color: var(--muted); font-size: .93rem; margin: 0; position: relative; }

/* Yapay zekâ bölümü */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.features li { padding-left: 34px; position: relative; color: var(--muted); }
.features li strong { color: var(--text); }
.features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--grad) center / 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

.chat {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(13, 18, 48, .75); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(124,92,255,.15) inset;
  overflow: hidden;
}
.chat__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
.chat__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.chat__bar .dot:nth-child(2) { background: #febc2e; }
.chat__bar .dot:nth-child(3) { background: #28c840; }
.chat__title { margin-left: 10px; font-size: .85rem; color: var(--muted); }
.chat__body { height: 320px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.5; animation: pop .3s ease-out; }
.msg--user { align-self: flex-end; background: var(--grad); color: #0b1026; border-bottom-right-radius: 4px; font-weight: 500; }
.msg--ai { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg--ai .who { display: block; font-size: .75rem; color: var(--cyan); font-weight: 700; margin-bottom: 2px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.chat__topics { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--border); }
.chat__topics button {
  font: inherit; font-size: .85rem; cursor: pointer; color: var(--text);
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  transition: background .2s, border-color .2s;
}
.chat__topics button:hover, .chat__topics button[aria-pressed="true"] { background: rgba(124,92,255,.25); border-color: var(--violet); }

/* İstatistikler */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 20px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--muted); }
.stat__num { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* SSS */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; margin-bottom: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* İletişim */
.contact {
  text-align: center; margin-bottom: 40px; border-radius: 28px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(124,92,255,.35), transparent 70%), rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.contact p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }
.contact p strong { color: var(--text); }

/* Footer */
.site-footer { text-align: center; padding: 30px 24px 50px; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 4px 0; }
.motto--small { font-size: 1rem; }

/* Kaydırınca belirme */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Duyarlı tasarım */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 32px; text-align: left; }
  .hero__visual { max-width: 360px; margin: 0 auto; order: -1; }
  .ai { grid-template-columns: 1fr; }
  .site-header nav li:not(:last-child) { display: none; }
}
@media (max-width: 520px) {
  .cards, .stats { grid-template-columns: 1fr; }
  .section { padding: 56px 18px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
