:root{
  --bg:#0b1220;
  --muted:#a8b3cf;
  --text:#e8eeff;
  --primary:#4f8cff;
  --primary2:#7c4dff;
  --ring:rgba(79,140,255,.35);
  --border:rgba(255,255,255,.08);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 500px at 20% 0%,rgba(124,77,255,.20),transparent 60%),
    radial-gradient(1000px 500px at 80% 10%,rgba(79,140,255,.25),transparent 60%),
    var(--bg);
  color:var(--text);
}

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

.container{
  width:min(1100px,92%);
  margin:0 auto;
}

/* ===== Header ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
  background:linear-gradient(to bottom,rgba(11,18,32,.92),rgba(11,18,32,.70));
  border-bottom:1px solid var(--border);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:14px;
}

.brand{display:flex;align-items:center;gap:10px}
.brand__mark{
  width:36px;height:36px;
  border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  font-weight:800;
}
.brand__text{font-weight:800;letter-spacing:.3px}

.nav{display:flex;align-items:center;gap:14px}
.nav a{color:var(--muted);font-weight:600;font-size:14px}
.nav a:hover{color:var(--text)}

.nav__pill{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text)!important;
}
.nav__pill--primary{
  background:linear-gradient(135deg,rgba(79,140,255,.95),rgba(124,77,255,.95));
  border-color:transparent;
  box-shadow:0 12px 30px rgba(79,140,255,.18);
}

.burger{
  display:none;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
}

.notice{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:10px 0 16px 0;
}
.notice__icon{margin-top:2px;color:#ffd36a}
.notice__text{color:var(--muted);font-size:13px;line-height:1.35}

/* ===== Hero ===== */
.hero{padding:72px 0 48px 0}
.hero__grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}

.h1{
  font-size:44px;
  line-height:1.05;
  margin:0 0 12px 0;
  letter-spacing:-.6px;
}

.lead{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  margin:0 0 18px 0;
}

.badges{display:flex;flex-wrap:wrap;gap:10px}
.badge{
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  padding:10px 12px;
  border-radius:14px;
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}

/* ===== Sections (Fix: yapışma yok) ===== */
.section{
  padding:64px 0;
}
.section__title{
  font-size:20px;
  font-weight:900;
  margin:0 0 12px 0;
}
.muted{color:var(--muted)}

/* ===== Cards / Grid ===== */
.card{
  border:1px solid var(--border);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  border-radius:18px;
  padding:22px;
  box-shadow:0 22px 60px rgba(0,0,0,.35);
}

.card__title{
  font-size:16px;
  font-weight:800;
  margin:0 0 6px 0;
}

.card__muted{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  margin:0 0 14px 0;
}

.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease;
}
.btn:hover{
  border-color:rgba(255,255,255,.18);
  transform:translateY(-1px);
}
.btn--primary{
  border-color:transparent;
  background:linear-gradient(135deg,rgba(79,140,255,.95),rgba(124,77,255,.95));
  box-shadow:0 14px 38px rgba(79,140,255,.18);
}

/* ===== Forms ===== */
.form{width:min(520px,96%);margin:32px auto}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
label{color:var(--muted);font-size:13px;font-weight:700}

input,select,textarea{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 4px var(--ring)}

.alert{
  border-radius:14px;
  padding:12px 12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  margin-bottom:12px;
}
.alert--ok{border-color:rgba(93,255,189,.25)}
.alert--err{border-color:rgba(255,93,122,.25)}

/* ===== Tables ===== */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--border);
}
.table th,.table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
}
.table th{
  color:var(--text);
  font-size:12px;
  letter-spacing:.3px;
  text-transform:uppercase;
}
.table tr:last-child td{border-bottom:none}

/* ===== Question Answers ===== */
.answer-options{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px;
}
.answer-option{
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
  transition:background .15s ease;
}
.answer-option:hover{
  background:rgba(255,255,255,.05);
}
.answer-option.correct{
  border-color:rgba(93,255,189,.25);
  background:rgba(93,255,189,.10);
}
.answer-option.incorrect{
  border-color:rgba(255,93,122,.25);
  background:rgba(255,93,122,.10);
}

/* ===== Chat Messages ===== */
.chat-container{
  max-width:640px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  height:500px;
  overflow-y:auto;
}
.chat-message{
  padding:8px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-size:13px;
}
.chat-message.self{
  align-self:flex-end;
  background:linear-gradient(135deg,rgba(79,140,255,.95),rgba(124,77,255,.95));
}
.chat-input{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.chat-input input{
  flex:1;
}


/* ===== Packages helpers ===== */
.price{
  font-size:28px;
  font-weight:900;
  letter-spacing:-.4px;
  margin:10px 0 6px 0;
}
.price small{font-size:13px;color:var(--muted);font-weight:700}
.list{
  margin:10px 0 14px 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.list li{color:var(--muted);font-weight:600;font-size:13px;line-height:1.35}
.list i{color:#7bf2b5;margin-right:8px}

/* ===== Footer (Fix: boşluk var) ===== */
.footer{
  margin-top:72px;
  border-top:1px solid var(--border);
  background:rgba(0,0,0,.15);
}
.footer__grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:16px;
  padding:26px 0;
}
.footer__title{font-weight:900;margin-bottom:8px}
.footer__muted{color:var(--muted);line-height:1.5}
.footer__bottom{padding:14px 0 26px 0;color:var(--muted);font-size:13px}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr;gap:18px}
  .grid3{grid-template-columns:1fr;gap:16px}
}

@media (max-width: 880px){
  .burger{display:inline-flex}
  .nav{display:none}

  body.nav-open .nav{
    display:flex;
    position:fixed;
    left:4%;
    right:4%;
    top:74px;
    padding:14px;
    border-radius:18px;
    background:rgba(11,18,32,.95);
    border:1px solid var(--border);
    flex-direction:column;
    gap:10px;
    z-index:60;
  }

  .section{padding:52px 0}
}

@media (max-width: 520px){
  .section{padding:44px 0}
  .card{padding:18px}
  .h1{font-size:34px}
  .btn{width:100%}
  .footer__grid{grid-template-columns:1fr;gap:12px}
}
