/* Muhas.app tanıtım sayfası. Renkler uygulamanın açık temasıyla aynı (src/theme/tokens.ts, store/content/brand.json). */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-500.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-600.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-700.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/inter-800.woff2) format('woff2'); }

:root {
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-400: #60a5fa;
  --primary-soft: #eff6ff;
  --primary-ring: rgba(37, 99, 235, 0.18);
  --indigo: #6366f1;
  --income: #059669;
  --income-soft: #ecfdf5;
  --expense: #e11d48;
  --expense-soft: #fff1f2;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --fg: #111827;
  --muted: #6b7280;
  --subtle: #9ca3af;
  --border: #e5e7eb;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px -8px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 2px 4px rgba(17, 24, 39, 0.04), 0 24px 60px -16px rgba(17, 24, 39, 0.22);
  --shadow-blue: 0 10px 30px -10px rgba(37, 99, 235, 0.55);
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--font);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; color: var(--fg); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.icon { flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
.container-narrow { max-width: 820px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: #fff; padding: 10px 14px; border-radius: 10px; transition: top 0.2s; }
.skip:focus { top: 12px; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--indigo), #06b6d4);
}

/* ---------------------------------------------------------------- Düğmeler */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font); letter-spacing: -0.01em; border-radius: 12px; padding: 12px 18px;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 22px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, #3b82f6, var(--primary)); color: #fff; box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--fg); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); border-color: var(--border); color: var(--fg); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow); }
.btn-ghost .icon { transform: none !important; }
.btn.is-soon { cursor: default; color: var(--muted); }
.btn.is-soon:hover { transform: none; box-shadow: none; }
.btn-light { background: #fff; color: var(--primary-600); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35); }
.btn-glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.3); }

/* Üzerine gelince düğmede kayan parıltı */
.shine::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}
.shine:hover::after { transition: transform 0.8s var(--ease); transform: translateX(120%) skewX(-20deg); }

/* ---------------------------------------------------------------- Üst menü */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom-color: rgba(229, 231, 235, 0.8); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark { border-radius: 8px; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.6); transition: transform 0.4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a:not(.btn) { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #374151; transition: color 0.2s, background-color 0.2s; }
.nav-links > a:not(.btn):hover { color: var(--fg); background: rgba(17, 24, 39, 0.05); }
.nav-lang { display: inline-flex; align-items: center; gap: 6px; }
.nav-signin { margin-left: 6px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded='true'] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Ortak bölüm */
.section { padding: 112px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.pill { text-transform: none; letter-spacing: 0; font-size: 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(37, 99, 235, 0.18); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--income); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(5, 150, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); } }

.grad {
  background: linear-gradient(100deg, var(--primary) 0%, var(--indigo) 40%, #06b6d4 70%, var(--primary) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* Kaydırınca beliren öğeler (JS .in ekler; JS yoksa her şey görünür) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* İmleci izleyen parlama (kartlar) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, 0.1), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.hero-bg .b1 { width: 560px; height: 560px; left: -120px; top: -160px; background: radial-gradient(circle, #93c5fd, transparent 65%); animation: drift1 18s ease-in-out infinite; }
.hero-bg .b2 { width: 520px; height: 520px; right: -140px; top: 40px; background: radial-gradient(circle, #c7d2fe, transparent 65%); animation: drift2 22s ease-in-out infinite; }
.hero-bg .b3 { width: 420px; height: 420px; left: 40%; bottom: -220px; background: radial-gradient(circle, #a7f3d0, transparent 65%); opacity: 0.45; animation: drift3 20s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(80px, 60px) scale(1.08); } }
@keyframes drift2 { 50% { transform: translate(-70px, 50px) scale(0.94); } }
@keyframes drift3 { 50% { transform: translate(-60px, -40px) scale(1.1); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-title { font-size: clamp(38px, 4.7vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero-title .grad { display: inline-block; padding-bottom: 0.06em; }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: #4b5563; max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.hero-note .icon { color: var(--income); }
.hero-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { font-size: 13px; font-weight: 500; color: #374151; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border); }

.hero-visual { position: relative; height: 560px; perspective: 1400px; }
.depth { transition: transform 0.6s var(--ease); will-change: transform; }
.hero-visual .hero-browser { position: absolute; left: 0; top: 40px; width: 92%; }
.hero-visual .hero-phone { position: absolute; right: 0; bottom: 0; width: 210px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(229, 231, 235, 0.9); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; z-index: 3;
}
.float-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.float-card strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.fc-income strong { color: var(--income); }
.fc-expense strong { color: var(--expense); }
.fc-vat strong { font-size: 14px; }
.fc-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.fc-icon.in { background: var(--income-soft); color: var(--income); }
.fc-icon.out { background: var(--expense-soft); color: var(--expense); }
.fc-icon.ok { background: var(--primary-soft); color: var(--primary); }
.fc-income { left: -28px; top: 0; animation: bob 6s ease-in-out infinite; }
.fc-expense { left: 18%; bottom: 36px; animation: bob 7s ease-in-out -2s infinite; }
.fc-vat { right: -18px; top: 96px; animation: bob 6.5s ease-in-out -4s infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* ---------------------------------------------------------------- Cihaz çerçeveleri */
.browser { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f9fafb; border-bottom: 1px solid var(--border); }
.browser-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #e5e7eb; }
.browser-bar > span:nth-child(1) { background: #fca5a5; }
.browser-bar > span:nth-child(2) { background: #fcd34d; }
.browser-bar > span:nth-child(3) { background: #86efac; }
.browser-url { margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px 14px; transform: translateX(-20px); }
.browser img { width: 100%; }

.phone { position: relative; border-radius: 40px; padding: 9px; background: linear-gradient(145deg, #1f2937, #0b0f19); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08); }
.phone img { border-radius: 32px; width: 100%; background: #f7f7f8; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); background: #0b0f19; border-radius: 12px; z-index: 2; }

/* ---------------------------------------------------------------- Kayan özellik bandı */
.marquee { padding: 22px 0; border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 40px; padding-right: 40px; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #374151; white-space: nowrap; }
.marquee li .icon { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Çalışma alanları */
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ws-card { padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.ws-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, 0.25); }
.ws-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 20px; background: linear-gradient(135deg, #3b82f6, var(--indigo)); box-shadow: var(--shadow-blue); }
.ws-card:nth-child(2) .ws-icon { background: linear-gradient(135deg, #10b981, #0891b2); box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.55); }
.ws-card:nth-child(3) .ws-icon { background: linear-gradient(135deg, #8b5cf6, var(--primary)); box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.55); }
.ws-card h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.ws-card p { margin-top: 10px; color: var(--muted); }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; padding: 3px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }

/* ---------------------------------------------------------------- Ekran turu (yapışkan telefon) */
.showcase { background: linear-gradient(180deg, transparent, #eef2ff 30%, #eef2ff 70%, transparent); }
.sc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
.sc-steps { display: flex; flex-direction: column; }
.sc-step { display: flex; gap: 20px; padding: 30px 26px; border-radius: 20px; min-height: clamp(150px, 24vh, 220px); align-items: center; opacity: 0.45; transition: opacity 0.4s var(--ease), background-color 0.4s, box-shadow 0.4s; cursor: pointer; }
.sc-step.is-active { opacity: 1; background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow); }
.sc-num { font-size: 14px; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 10px; padding: 6px 9px; font-variant-numeric: tabular-nums; flex: none; }
.sc-step h3 { font-size: 22px; }
.sc-step p { margin-top: 8px; color: var(--muted); }
.sc-inline { display: none; }
.sc-stage { position: sticky; top: calc(var(--nav-h) + 40px); display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 10px 0 30px; }
.sc-glow { position: absolute; width: 420px; height: 420px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 65%); filter: blur(30px); z-index: -1; animation: drift2 16s ease-in-out infinite; }
.sc-phone { width: 300px; aspect-ratio: 585 / 1266; padding: 10px; }
.sc-phone img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.sc-phone img.is-active { opacity: 1; transform: none; }
.sc-dots { display: flex; gap: 6px; }
.sc-dots span { width: 7px; height: 7px; border-radius: 999px; background: #c7d2fe; transition: width 0.4s var(--ease), background-color 0.3s; }
.sc-dots span.is-active { width: 22px; background: var(--primary); }

/* ---------------------------------------------------------------- Özellikler */
.fg-group + .fg-group { margin-top: 56px; }
.fg-title { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.fg-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.fg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.f-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, 0.25); }
.f-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s; }
.f-card:hover .f-icon { transform: rotate(-6deg) scale(1.08); background: var(--primary); color: #fff; }
.f-card h4 { font-size: 17px; letter-spacing: -0.015em; }
.f-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- Cihazlar (sekme + tarayıcı) */
.devices { background: var(--surface); border-block: 1px solid var(--border); overflow: hidden; }
.dv-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.dv-tab { position: relative; overflow: hidden; font: 600 14px var(--font); padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: #4b5563; cursor: pointer; transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.dv-tab:hover { color: var(--fg); }
.dv-tab.is-active { background: var(--primary-soft); color: var(--primary); border-color: rgba(37, 99, 235, 0.3); }
.dv-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(0); }
.dv-tab.is-active .dv-bar.run { animation: fill var(--dur, 5s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.dv-browser { max-width: 1040px; margin: 0 auto; transform-style: preserve-3d; transition: transform 0.5s var(--ease); }
.dv-stack { position: relative; aspect-ratio: 16 / 9; background: #f7f7f8; }
.dv-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.7s var(--ease), transform 1s var(--ease); }
.dv-stack img.is-active { opacity: 1; transform: none; }
.dv-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 36px; color: #374151; font-weight: 500; }
.dv-points li { display: inline-flex; align-items: center; gap: 8px; }
.dv-points .icon { color: var(--primary); }

/* ---------------------------------------------------------------- Planlar */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; }
.plan-price { margin-top: 14px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.plan-desc { margin-top: 6px; color: var(--muted); }
.plan ul { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--income); margin-top: 4px; }
.plan-pro { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--primary), var(--indigo), #06b6d4) border-box; box-shadow: 0 30px 60px -24px rgba(37, 99, 235, 0.35); }
.plan-pro .plan-price { background: linear-gradient(100deg, var(--primary), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-badge { position: absolute; top: -13px; left: 36px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fff; padding: 6px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--indigo)); box-shadow: var(--shadow-blue); }

/* ---------------------------------------------------------------- Güven */
.security { padding-top: 40px; }
.se-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.se-item { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.se-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--income); background: var(--income-soft); margin-bottom: 16px; position: relative; }
.se-icon::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed rgba(5, 150, 105, 0.35); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.se-item h3 { font-size: 17px; }
.se-item p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- SSS */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: box-shadow 0.3s, border-color 0.3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(37, 99, 235, 0.25); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--muted); flex: none; transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s; }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--primary-soft); color: var(--primary); }
.faq-a { padding: 0 22px 20px; color: #4b5563; }
.faq-item[open] .faq-a { animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------- Son çağrı */
.cta-band { padding: 40px 0 112px; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; padding: 80px 32px; border-radius: 32px; background: linear-gradient(135deg, #1d4ed8, #2563eb 40%, #4f46e5); box-shadow: 0 40px 80px -30px rgba(37, 99, 235, 0.6); }
.cta-card h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.cta-card p { margin: 16px auto 0; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, 0.85); }
.cta-card .hero-actions { justify-content: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg .b1 { width: 420px; height: 420px; left: -80px; top: -160px; background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%); animation: drift1 14s ease-in-out infinite; }
.cta-bg .b2 { width: 380px; height: 380px; right: -60px; bottom: -180px; background: radial-gradient(circle, rgba(6, 182, 212, 0.6), transparent 65%); animation: drift2 16s ease-in-out infinite; }
.cta-card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.25; background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }

/* ---------------------------------------------------------------- Alt bilgi */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 300px; }
.footer h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #374151; transition: color 0.2s; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.made-by a { font-weight: 700; color: var(--fg); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; padding-bottom: 1px; }
.made-by a:hover { color: var(--primary); background-size: 100% 1.5px; }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; }
.nf .hero-bg { position: fixed; }
.nf-card { text-align: center; max-width: 520px; }
.nf-code { font-size: 120px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.nf-card h1 { margin-top: 12px; font-size: 32px; }
.nf-card p { margin-top: 12px; color: var(--muted); }
.nf-card .nf-en { font-size: 14px; color: var(--subtle); }
.nf-card .btn { margin-top: 28px; }

/* ---------------------------------------------------------------- Duyarlı düzen */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-chips, .hero-note { justify-content: center; }
  .hero-visual { max-width: 720px; width: 100%; margin: 0 auto; height: 520px; }
  .se-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(var(--nav-h) - 6px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px 14px; }
  .nav-links .btn { margin-top: 6px; padding: 14px; }
  .nav-signin { margin-left: 0; }
  .nav:has(.nav-links.is-open) { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); }
  .ws-grid { grid-template-columns: 1fr; }
  .sc-grid { grid-template-columns: 1fr; }
  .sc-stage { display: none; }
  .sc-step { opacity: 1; min-height: 0; flex-wrap: wrap; background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-sm); margin-bottom: 16px; cursor: default; }
  .sc-step > div { flex: 1; min-width: 0; }
  .sc-inline { display: block; width: min(260px, 72vw); margin: 18px auto 0; flex-basis: 100%; max-width: 260px; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-visual { height: 400px; }
  .hero-visual .hero-browser { width: 100%; top: 20px; }
  .hero-visual .hero-phone { width: 140px; right: 4px; }
  .fc-income { left: 0; top: -14px; }
  .fc-expense { left: 0; bottom: 10px; }
  .fc-vat { display: none; }
  .float-card { padding: 9px 12px 9px 9px; }
  .float-card strong { font-size: 15px; }
  .fc-icon { width: 30px; height: 30px; }
  .btn-lg { width: 100%; }
  .se-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-card { padding: 56px 22px; border-radius: 24px; }
  .plan { padding: 28px; }
  .browser-url { transform: none; font-size: 11px; padding: 3px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
