/* ============================================================
   Skormatik — açık (light) tema + teal vurgu
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-2: #f2f9f7;          /* hafif teal tint bölüm zemini */
  --bg-3: #e9f4f1;
  --surface: #ffffff;
  --surface-2: #f4faf9;
  --border: #e5eeec;
  --border-strong: #cfe6e0;

  --ink: #0f2a2e;           /* koyu metin */
  --text: #16343a;
  --text-muted: #5d7379;
  --text-dim: #90a6ab;

  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --teal-soft: #5eead4;
  --teal-deep: #0f766e;
  --cyan: #0891b2;

  --ok: #059669;
  --warn: #d97706;
  --err: #dc2626;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 46, 0.05);
  --shadow: 0 16px 40px -18px rgba(15, 42, 46, 0.18);
  --shadow-teal: 0 14px 34px -14px rgba(13, 148, 136, 0.4);
  --grad: linear-gradient(135deg, #14b8a6, #0d9488 60%, #0f766e);
  --grad-text: linear-gradient(120deg, #0d9488, #0891b2);
  --max: 1180px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* Sayfa yalnızca açık tema — tarayıcının zorunlu koyu modunu (Auto Dark) engelle */
:root { color-scheme: light only; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------------- Logo (ikon + wordmark) ---------------- */
.brand {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--font); font-weight: 800; font-size: 22px;
  letter-spacing: -0.6px; color: var(--ink); line-height: 1;
}
.brand::before {
  content: ""; flex-shrink: 0; width: 1.24em; height: 1.24em;
  margin-right: 0.42em; border-radius: 0.34em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='32' y2='32' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%232dd4bf'/%3E%3Cstop offset='1' stop-color='%230d9488'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='32' height='32' rx='9' fill='url(%23g)'/%3E%3Cpath d='M9 16.5l4.5 4.5L23 11' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.brand .accent { color: var(--teal); }
.brand .dot { display: none; }
.brand.lg { font-size: 30px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-teal); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { background: #fff; border-color: var(--border-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--teal); color: var(--teal-deep); }
.btn-danger { background: #fff; border-color: #f3c4c4; color: var(--err); }
.btn-danger:hover { background: #fdeded; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Navbar ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-deep); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 26px; cursor: pointer; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; padding: 110px 0 90px; overflow: hidden;
  background:
    radial-gradient(720px 420px at 82% -6%, rgba(20,184,166,.12), transparent 60%),
    radial-gradient(620px 420px at -5% 20%, rgba(8,145,178,.08), transparent 55%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.05; font-weight: 800; letter-spacing: -1.6px; color: var(--ink); }
.hero p.lead { margin: 22px 0 30px; font-size: 19px; color: var(--text-muted); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .4px; text-transform: uppercase;
  background: #e7f7f3; border: 1px solid var(--border-strong); color: var(--teal-deep);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 10px var(--teal-bright); }

/* Hero demo card */
/* Koyu "ürün ekranı" mockup — açık hero üzerinde yüzer */
.demo-card {
  background: linear-gradient(165deg, #103036, #0a2024);
  border: 1px solid rgba(45, 212, 191, 0.18); border-radius: 20px;
  box-shadow: 0 40px 80px -28px rgba(10, 32, 36, 0.55), 0 8px 24px -10px rgba(10, 32, 36, 0.35);
  padding: 22px; position: relative;
}
.demo-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  border-radius: 20px 20px 0 0; background: var(--grad);
}
.demo-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 16px; }
.demo-head .dots { display: flex; gap: 6px; }
.demo-head .dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.demo-head .title { font-size: 13px; color: rgba(255,255,255,.5); margin-left: 6px; }
.demo-file { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; margin-bottom: 16px; }
.demo-file .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-size: 18px; color:#fff; }
.demo-file > div > div:first-child { color: #eafaf6; }
.demo-file .dim { color: rgba(255,255,255,.45) !important; }
.demo-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.demo-step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.7); }
.demo-step .check { width: 20px; height: 20px; border-radius: 50%; background: rgba(45,212,191,.18); color: var(--teal-soft); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.demo-score { text-align: center; padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(45,212,191,.2); border-radius: 14px; }
.demo-score .num { font-size: 52px; font-weight: 800; line-height: 1; background: linear-gradient(120deg, #5eead4, #2dd4bf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.demo-score .lbl { font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.4); text-transform: uppercase; margin-top: 6px; }
.demo-feedback { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.fb-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.82); }
.fb-item.ok { border-left: 3px solid var(--teal-soft); }
.fb-item.warn { border-left: 3px solid #fbbf24; }

/* ---------------- Sections ---------------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head .kicker { color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin: 12px 0; color: var(--ink); }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.step-num { font-size: 46px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step-card h3 { font-size: 20px; margin: 6px 0 10px; color: var(--ink); }
.step-card p { color: var(--text-muted); font-size: 15px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; background: #e7f7f3; border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.feature p { color: var(--text-muted); font-size: 15px; }
.feature.wide { grid-column: span 2; background: linear-gradient(135deg, #f0faf7, #ffffff); }
.feature .metric { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; }
.feature .metric .big { font-size: 40px; font-weight: 800; color: var(--ink); }
.feature .metric .vs { color: var(--text-dim); font-size: 14px; }

/* Stats band */
.stats-band { background: linear-gradient(180deg, var(--bg-2), #fff); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .value { font-size: clamp(32px, 5vw, 50px); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { color: var(--text-muted); margin-top: 6px; font-size: 15px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag { padding: 8px 16px; border-radius: 999px; background: #e7f7f3; border: 1px solid var(--border-strong); font-size: 13px; color: var(--teal-deep); font-weight: 600; }
.about-cards { display: grid; gap: 16px; }
.about-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.about-card h4 { color: var(--teal); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.about-card p { color: var(--text-muted); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; background: #e7f7f3; border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-item .k { font-size: 13px; color: var(--text-dim); }
.contact-item .v { font-weight: 600; color: var(--ink); }

/* CTA banner */
.cta-band { text-align: center; }
.cta-inner { background: var(--grad); border-radius: 28px; padding: 62px 32px; box-shadow: var(--shadow-teal); }
.cta-inner h2 { font-size: clamp(28px, 4vw, 42px); color: #fff; font-weight: 800; letter-spacing: -1px; }
.cta-inner p { color: rgba(255,255,255,.9); font-size: 18px; margin: 12px 0 26px; }
.cta-inner .btn { background: #fff; color: var(--teal-deep); }
.cta-inner .btn:hover { background: #ecfdf9; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 58px 0 28px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 38px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--text-muted); font-size: 15px; }
.footer a:hover { color: var(--teal-deep); }
.footer .desc { color: var(--text-muted); font-size: 15px; max-width: 300px; margin-top: 12px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; text-align: center; color: var(--text-dim); font-size: 14px; }

/* ---------------- Forms ---------------- */
.form-input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--border-strong); color: var(--ink);
  font-size: 15px; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance: none; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.form-row .help { font-size: 13px; color: var(--text-dim); margin-top: 6px; }
.form-row .errorlist { list-style: none; color: var(--err); font-size: 13px; margin-top: 6px; }

/* ---------------- Alerts ---------------- */
.alerts { position: fixed; top: 88px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); animation: slideIn .3s ease; background:#fff; border:1px solid var(--border); }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.alert-info { background: #ecfeff; border-color: #a5f3fc; color: #155e75; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ============================================================
   Uygulama (panel) arayüzü
   ============================================================ */
.app-shell { min-height: 100vh; background: var(--bg-2); }
.app-main { max-width: 1080px; margin: 0 auto; padding: 40px 24px 80px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.page-head .sub { color: var(--text-muted); font-size: 15px; margin-top: 4px; }
.breadcrumb { font-size: 14px; color: var(--text-dim); margin-bottom: 14px; }
.breadcrumb a { color: var(--teal); }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.tile .v { font-size: 32px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tile .l { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--ink); }

/* list of exams */
.exam-list { display: grid; gap: 14px; }
.exam-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s, box-shadow .2s; }
.exam-item:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.exam-item .meta h3 { font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.exam-item .meta .m { color: var(--text-dim); font-size: 13px; }
.exam-item .nums { display: flex; gap: 22px; align-items: center; text-align: center; }
.exam-item .nums .n { font-size: 20px; font-weight: 700; color: var(--ink); }
.exam-item .nums .k { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; }

/* table */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); padding: 12px 14px; border-bottom: 1px solid var(--border); }
.table td { padding: 14px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: middle; color: var(--text); }
.table tr:hover td { background: var(--bg-2); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-pending { background: #eef2f2; color: var(--text-muted); }
.badge-processing { background: #fef3c7; color: var(--warn); }
.badge-done { background: #d1fae5; color: var(--ok); }
.badge-error { background: #fee2e2; color: var(--err); }
.score-pill { font-weight: 800; font-size: 16px; }

/* score ring */
.ring-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ring { position: relative; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; }
.ring .inner { position: absolute; inset: 12px; background: #fff; border-radius: 50%; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-sm); }
.ring .inner .n { font-size: 34px; font-weight: 800; }
.ring .inner .max { font-size: 13px; color: var(--text-dim); }

/* feedback columns */
.fb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fb-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fb-list li { display: flex; gap: 10px; padding: 12px 14px; background: var(--bg-2); border-radius: 10px; font-size: 14px; }
.fb-list.strengths li { border-left: 3px solid var(--ok); }
.fb-list.improve li { border-left: 3px solid var(--warn); }
.crit-table td .bar { height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; width: 120px; }
.crit-table td .bar span { display: block; height: 100%; background: var(--grad); }

/* empty state */
.empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty .ic { font-size: 48px; margin-bottom: 14px; opacity: .7; }
.empty h3 { color: var(--ink); font-size: 20px; margin-bottom: 8px; }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px;
  background: radial-gradient(720px 440px at 50% -8%, rgba(20,184,166,.14), transparent 60%), var(--bg-2); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 40px 34px; box-shadow: var(--shadow); }
.auth-card .brand { display:flex; justify-content:center; margin: 0 auto 20px; }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 6px; color: var(--ink); }
.auth-card .sub { text-align: center; color: var(--text-muted); font-size: 15px; margin-bottom: 26px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-alt a { color: var(--teal); font-weight: 600; }

/* utilities */
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; } .gap { gap: 12px; } .between { justify-content: space-between; } .center { align-items: center; }
.wrap { flex-wrap: wrap; }
.right { text-align: right; }
.hidden { display: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fb-cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; box-shadow: var(--shadow); }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .stats-grid, .tiles, .footer-grid { grid-template-columns: 1fr; }
  .exam-item { flex-direction: column; align-items: flex-start; }
  .alerts { left: 16px; right: 16px; max-width: none; }
}
