/* ===========================================================
   Mevlana Bilgisayar — Modern stil sistemi
   Tek dosya, harici font/istek yok (performans için).
   =========================================================== */

:root {
  --blue-900: #0b2a4a;
  --blue-800: #103e6e;
  --blue-700: #15528f;
  --blue-600: #1f6fb8;
  --blue-500: #2b8cd6;
  --blue-100: #e7f1fb;
  --teal-500: #12b5c4;
  --teal-600: #0e95a2;
  --amber-500: #f5a623;
  --green-600: #1f9d55;
  --red-600: #d64545;

  --ink: #14202e;
  --muted: #5a6b7b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft-2: #eef4fa;

  --shadow-sm: 0 1px 2px rgba(16, 42, 74, .06), 0 1px 3px rgba(16, 42, 74, .08);
  --shadow-md: 0 6px 18px rgba(16, 42, 74, .10);
  --shadow-lg: 0 18px 40px rgba(16, 42, 74, .16);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --container: 1160px;
  --header-h: 70px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-500); }

h1, h2, h3, h4 { line-height: 1.2; color: var(--blue-900); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.4vw + 1rem, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: linear-gradient(160deg, var(--blue-900), var(--blue-700)); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; color: var(--teal-600); margin-bottom: .7rem;
}
.section--ink .eyebrow { color: #8fd6df; }

.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--ink .lead { color: #cfe0f0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--blue-600), var(--teal-500)); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { color: #fff; box-shadow: var(--shadow-lg); }
.btn--ghost { background: #fff; color: var(--blue-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--blue-700); border-color: var(--blue-500); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1.1; }
.brand img { height: 42px; width: auto; display: block; }
.brand small { display: block; width: 100%; font-size: .7rem; font-weight: 600; color: var(--teal-600); letter-spacing: .01em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .55rem .7rem; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--blue-100); color: var(--blue-700); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-100); }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--blue-900); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(18,181,196,.25), transparent 60%),
              linear-gradient(155deg, var(--blue-900), var(--blue-700));
  color: #fff; padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39.5h40M39.5 0v40' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: #d7e6f5; font-size: 1.18rem; max-width: 36ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.15); }
.hero-float {
  position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: .9rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem;
}
.hero-float strong { color: var(--blue-800); font-size: 1.25rem; display: block; line-height: 1.1; }
.hero-float span { font-size: .78rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--blue-700); font-weight: 800; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f0; }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-100), #d6ecf6); color: var(--blue-700); margin-bottom: 1rem;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Product card */
.product {
  display: flex; flex-direction: column; overflow: hidden; padding: 0; background:#fff;
}
.product .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft-2); border-bottom: 1px solid var(--line); }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--teal-600); background: #e3f7f9; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem;
}
.product .body p { color: var(--muted); font-size: .96rem; }
.product .body .btn { margin-top: auto; align-self: flex-start; }

/* Feature list with checks */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; color: #38475a; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2315528f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Split feature section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative;
}
.price.featured { border-color: var(--blue-500); box-shadow: var(--shadow-md); }
.price.featured::before {
  content: "En Popüler"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500)); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .3rem .9rem; border-radius: 999px; letter-spacing: .03em;
}
.price h3 { margin-bottom: .2rem; }
.price .sub { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.price .amount { font-size: 1.05rem; font-weight: 700; color: var(--teal-600); margin-bottom: 1.2rem; }
.price ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .55rem; font-size: .95rem; color: #38475a; }
.price ul li { padding-left: 1.6rem; position: relative; }
.price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }
.price .btn { margin-top: auto; }

/* ---------- Page header (sub pages) ---------- */
.page-hero {
  background: radial-gradient(900px 400px at 85% -20%, rgba(18,181,196,.22), transparent 60%),
              linear-gradient(150deg, var(--blue-900), var(--blue-700));
  color: #fff; padding: clamp(2.6rem, 5vw, 4rem) 0;
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #cfe0f0; max-width: 60ch; margin: 0; }
.breadcrumb { font-size: .85rem; color: #9cc2e0; margin-bottom: .9rem; }
.breadcrumb a { color: #cfe0f0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; background: #fff; }
table.data thead th {
  background: var(--blue-800); color: #fff; text-align: left; padding: .85rem 1rem; font-weight: 700; font-size: .88rem;
  letter-spacing: .02em; position: sticky; top: 0;
}
table.data td { padding: .8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:nth-child(even) { background: var(--bg-soft); }
table.data tbody tr:hover { background: var(--blue-100); }
.badge {
  display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  background: var(--blue-100); color: var(--blue-700);
}
.badge--new { background: #e3f7e9; color: var(--green-600); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details[open] { border-color: var(--blue-500); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--blue-900);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue-500); transition: transform .2s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq .answer p { margin: 0 0 .8rem; }
.faq .answer :last-child { margin-bottom: 0; }

/* ---------- Reference logos / list ---------- */
.ref-cat { margin-bottom: 2.4rem; }
.ref-cat h3 { display: flex; align-items: center; gap: .6rem; }
.ref-cat h3 .count { font-size: .8rem; font-weight: 700; color: var(--teal-600); background: #e3f7f9; padding: .15rem .6rem; border-radius: 999px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ic { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { display: block; color: var(--blue-900); }
.info-list span, .info-list a { color: var(--muted); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Bank card */
.bank-card { max-width: 620px; }
.bank-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px dashed var(--line); }
.bank-row:first-of-type { border-top: 0; }
.bank-row span { color: var(--muted); }
.bank-row b { color: var(--blue-900); font-variant-numeric: tabular-nums; }
.copy-btn { background: var(--blue-100); border: 0; color: var(--blue-700); border-radius: 8px; padding: .3rem .6rem; font-size: .8rem; font-weight: 700; cursor: pointer; }

/* ---------- Callout ---------- */
.callout {
  border-left: 4px solid var(--amber-500); background: #fff8ec; padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0;
  color: #6b5320;
}
.callout b { color: #8a6512; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #c6d6e6; padding: 3.2rem 0 1.6rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.4rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #c6d6e6; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-brand img { height: 40px; margin-bottom: .8rem; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { color: #9fb6cc; max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: #8ba6c1; font-size: .85rem; }
.footer-bottom .mevlana-quote { font-style: italic; color: #9fcad0; }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shots figure { margin: 0; }
.shots img { border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: 100%; }
.shots figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; text-align: center; }

.phone-shots { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .6rem; }
.phone-shots img { height: 360px; width: auto; border-radius: 18px; box-shadow: var(--shadow-md); flex: none; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .6rem 1rem 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .28s ease; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .85rem .6rem; border-radius: 8px; }
  .nav-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .stats, .shots { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { position: static; margin-top: 1rem; display: inline-flex; }
}

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