/* =========================================================
   WebX Bilişim — ana stil dosyası
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-dark: #0b1020;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6475;
  --border: #e5e9f2;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --accent: #7c3aed;
  --cyan: #06b6d4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }
.muted { color: var(--muted); }

.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa 60%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 12px;
  font-weight: 700; font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .8); }
.btn--primary:hover { background: var(--primary-600); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s ease, box-shadow .25s ease;
  color: #fff;
}
.header.is-scrolled {
  background: rgba(11, 16, 32, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.15rem; }
.logo__mark {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 800; letter-spacing: -.04em; font-size: .95rem;
  white-space: nowrap; flex: none;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .8);
}
.logo__mark span { color: #a5f3fc; }
.logo__text { font-weight: 600; }
.logo__text strong { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; opacity: .85; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
  padding: calc(var(--header-h) + 72px) 0 110px;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(500px 400px at 85% 30%, rgba(124, 58, 237, .30), transparent 60%),
    radial-gradient(500px 300px at 60% 100%, rgba(6, 182, 212, .18), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.badge {
  display: inline-block;
  padding: .4rem .9rem; margin-bottom: 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  color: #c7d2fe;
}
.lead { font-size: 1.15rem; color: #b6bfd3; max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: #b6bfd3; font-size: .95rem; }
.hero__points li { display: flex; align-items: center; gap: .5rem; }
.hero__points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(34, 211, 238, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Hero görseli (mockup) */
.hero__visual { position: relative; height: 420px; }
.mock {
  position: absolute;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.mock--browser { inset: 0 40px 40px 0; overflow: hidden; animation: float 7s ease-in-out infinite; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.mock__bar i:nth-child(1) { background: #f87171; }
.mock__bar i:nth-child(2) { background: #fbbf24; }
.mock__bar i:nth-child(3) { background: #34d399; }
.mock__bar span { margin-left: 12px; font-size: .75rem; color: #94a3b8; background: rgba(255,255,255,.06); padding: 3px 12px; border-radius: 6px; }
.mock__body { padding: 26px; }
.sk { background: rgba(255,255,255,.12); border-radius: 8px; }
.sk--title { height: 22px; width: 65%; margin-bottom: 14px; background: linear-gradient(90deg, rgba(96,165,250,.6), rgba(167,139,250,.5)); }
.sk--line { height: 10px; width: 90%; margin-bottom: 10px; }
.sk--line.short { width: 55%; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.sk--card { height: 110px; border-radius: 12px; }
.sk--card:nth-child(2) { background: rgba(124, 58, 237, .25); }
.mock--phone {
  width: 160px; height: 290px; right: 0; bottom: 0;
  padding: 30px 16px 16px;
  border-radius: 28px;
  background: rgba(15, 23, 42, .85);
  animation: float 7s ease-in-out -3.5s infinite;
}
.mock__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 50px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); }
.sk--avatar { width: 52px; height: 52px; border-radius: 50%; margin: 10px auto 18px; background: linear-gradient(135deg, var(--cyan), var(--accent)); }
.mock--phone .sk--line { margin-left: auto; margin-right: auto; }
.sk--btn { height: 34px; margin-top: 70px; border-radius: 10px; background: var(--primary); }
.code-chip {
  position: absolute; left: -10px; bottom: 70px;
  padding: .55rem .9rem; border-radius: 10px;
  background: #0f172a; border: 1px solid rgba(255,255,255,.12);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; color: #34d399;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out -1s infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Bölümler ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 56px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; margin-bottom: .8rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--primary);
}
.eyebrow--light { color: #93c5fd; }

/* Kartlar */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 52px; height: 52px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
}
.card__icon svg, .contact__list svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Süreç */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step {
  position: relative; padding: 30px 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step__num {
  display: inline-block; margin-bottom: 14px;
  font-size: 2rem; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Neden biz */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.split .btn { margin-top: .5rem; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.features li {
  padding: 24px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .4rem;
}
.features strong { font-size: 1.05rem; }
.features span { color: var(--muted); font-size: .95rem; }

/* Teknolojiler */
.tech__title { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.tech { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tech li {
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: .92rem; color: #334155;
}

/* SSS */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .2s;
}
.faq details[open] { border-color: #c7d2fe; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* İletişim */
.section--cta {
  background: var(--bg-dark); color: #fff; position: relative; overflow: hidden;
}
.section--cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 360px at 10% 10%, rgba(37,99,235,.3), transparent 60%),
    radial-gradient(500px 360px at 90% 90%, rgba(124,58,237,.25), transparent 60%);
}
.contact { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__info p { color: #b6bfd3; font-size: 1.05rem; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact__list svg { stroke: #93c5fd; flex: none; }
.contact__list a:hover { color: #93c5fd; }

.form {
  display: grid; gap: 16px;
  padding: 32px; border-radius: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: .88rem; font-weight: 600; color: #cbd5e1; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit; font-size: .97rem;
  color: #fff;
  background: rgba(15, 23, 42, .6);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.form select option { color: #0f172a; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,.25);
}
.form .is-invalid { border-color: #f87171; }
.form__status { margin: 0; font-size: .92rem; min-height: 1.4em; color: #93c5fd; }
.form__status.is-error { color: #fca5a5; }

/* Footer */
.footer { background: #070b16; color: #94a3b8; padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.logo--footer { color: #fff; }
.footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__nav a:hover { color: #fff; }
.footer__copy { margin: 0; font-size: .9rem; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); transition: border-color .2s, color .2s, background .2s;
}
.social a:hover { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
/* Kaydırınca belirme animasyonu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Duyarlı (responsive) ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; height: 380px; }
  .split, .contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px;
    background: rgba(11, 16, 32, .97);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav .btn { margin-top: 16px; }
  .header.menu-open { background: rgba(11, 16, 32, .97); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 48px) 0 80px; }
  .cards, .steps, .features, .form__row { grid-template-columns: 1fr; }
  .card, .form { padding: 24px; }
  .hero__visual { height: 320px; }
  .mock--browser { inset: 0 30px 50px 0; }
  .mock--phone { width: 130px; height: 240px; }
  .sk--card { height: 80px; }
  .sk--btn { margin-top: 40px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

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