:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #1e60d4;
  --accent-hover: #184db0;
  --wa: #25d366;
  --ticker-bg: #0b0e13;
  --infobar-bg: #1e60d4;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --font: "Segoe UI", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --header-main-h: 72px;
  --max: 1240px;
}
[data-theme="dark"] {
  --bg: #000;
  --surface: #1c1c1e;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  --mobile-nav-h: 0px;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header – laptopservisi.tr style */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-ticker {
  background: var(--ticker-bg);
  color: #fff;
  overflow: hidden;
  height: 36px;
  display: none;
}
.ticker-track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  height: 100%;
  animation: ticker 40s linear infinite;
}
.header-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: .45rem;
  white-space: nowrap; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; opacity: .92;
}
.ticker-item:hover { opacity: 1; }
.ticker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tick, #3b82f6); flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.header-infobar {
  background: var(--infobar-bg);
  color: #fff;
  font-size: .82rem;
  display: none;
}
.infobar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 38px; padding-block: .35rem;
}
.infobar-left, .infobar-right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.infobar-item, .infobar-phone {
  display: inline-flex; align-items: center; gap: .4rem; opacity: .95;
}
.infobar-phone:hover { opacity: 1; text-decoration: underline; }
.header-main {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-main-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #1e60d4, #3b82f6);
  box-shadow: 0 4px 12px rgba(30, 96, 212, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; color: #111827; letter-spacing: -.02em; }
.brand-tld { color: #f97316; }
.brand-text small {
  color: #dc2626; font-size: .62rem; font-weight: 800;
  letter-spacing: .06em; margin-top: .1rem;
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn-whatsapp {
  background: var(--wa) !important; color: #fff !important;
  font-weight: 800; letter-spacing: .03em; font-size: .85rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover { filter: brightness(1.05); }
.btn-sell {
  background: var(--accent) !important; color: #fff !important;
  font-weight: 800; letter-spacing: .03em; font-size: .85rem;
  box-shadow: 0 6px 16px rgba(30, 96, 212, .35);
}
.btn-sell:hover { filter: brightness(1.06); background: var(--accent-hover) !important; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
  display: grid; place-items: center; cursor: pointer; color: var(--text);
  flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; background: currentColor; margin: 3px 0; transition: .2s;
}

.hero {
  position: relative; min-height: min(88vh, 720px);
  display: flex; align-items: flex-end; padding: 4rem 0 3.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(30, 96, 212, 0.18), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(30, 96, 212, 0.25), transparent 55%),
    linear-gradient(180deg, #111 0%, #000 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
  margin: 0.5rem 0 0.75rem; max-width: 12ch;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted); max-width: 36ch; margin: 0 0 1.5rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: 0; border-radius: 980px; padding: 0.7rem 1.25rem;
  font: inherit; font-weight: 600; cursor: pointer; transition: transform .2s, background .2s, color .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(0,0,0,0.06); color: var(--text); }
.btn-light { background: #fff; color: var(--text); }
.btn-lg { padding: 0.9rem 1.5rem; }
/* After .btn so display:none wins (same specificity otherwise leaks CTAs on mobile) */
.btn.header-cta { display: none; }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 200; transform-origin: left;
}

@media (max-width: 899px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .brand { min-width: 0; max-width: calc(100% - 52px); }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-text strong {
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-text small { display: none; }
  .brand-mark { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; }
  .header-inner { min-height: 60px; gap: .5rem; }
  .header-actions { gap: 0; flex-shrink: 0; margin-left: auto; }
}

@media (max-width: 380px) {
  .brand-text strong { font-size: .86rem; }
}

@media (min-width: 900px) {
  .header-ticker, .header-infobar { display: block; }
  .btn.header-cta { display: inline-flex; }
}
