/* PingDoor landing-v2 — Qoorbell-inspired structure (self-contained) */
:root {
  --navy-950: #050b1a;
  --navy-900: #0a1628;
  --navy-800: #12203a;
  --navy-700: #1a2d4d;
  --blue-500: #2f6bff;
  --blue-400: #4d84ff;
  --blue-600: #1e54e8;
  --mint: #d8f5e5;
  --mint-text: #0f7a4a;
  --ink: #0b1b33;
  --muted: #5b6b82;
  --line: #e6ebf3;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(10, 22, 40, 0.12);
  --font: Inter, "Segoe UI", sans-serif;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: #f1f5f9;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  flex-shrink: 0;
  font-weight: 900;
  font-size: 1.5rem; /* 24px — Qoorbell */
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  transition: color .3s;
}
.site-header.is-scrolled .brand { color: #2563eb; }
.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
  min-width: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.site-header.is-scrolled .nav-links a { color: #64748b; }
.site-header.is-scrolled .nav-links a:hover { color: #0f172a; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color .2s;
}
.lang-switch:hover { color: #fff; }
.site-header.is-scrolled .lang-switch { color: #64748b; }
.site-header.is-scrolled .lang-switch:hover { color: #0f172a; }
.lang-switch .chev { opacity: 0.75; margin-top: 1px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}
.site-header.is-scrolled .nav-toggle {
  border-color: #e2e8f0;
  background: #fff;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: #fff; border-radius: 2px;
}
.site-header.is-scrolled .nav-toggle span { background: #0f172a; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.28);
}
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  background: var(--blue-500);
  border: 1px solid var(--blue-500);
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.28);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn-header:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.site-header.is-scrolled .btn-header {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.site-header.is-scrolled .btn-header:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-sm { padding: 9px 14px; font-size: 0.9rem; }
.link-quiet {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color .2s;
}
.link-quiet:hover { color: #fff; }
.site-header.is-scrolled .link-quiet { color: #64748b; }
.site-header.is-scrolled .link-quiet:hover { color: #0f172a; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(47,107,255,0.35), transparent 60%),
    linear-gradient(180deg, #0a1428 0%, var(--navy-950) 100%);
  color: #fff;
  padding: 140px 0 250px;
  text-align: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero > .container { position: relative; z-index: 1; }
.hero-eyebrow {
  margin: 0 0 22px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(183, 197, 223, 0.9);
}
/* Qoorbell: text-5xl → lg:text-8xl (48→96), font-black, leading-[0.95] */
.hero h1 {
  margin: 0 auto 2rem;
  max-width: 18ch;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 900;
}
.hero h1 .accent {
  display: inline;
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin: 0 auto 2rem;
  max-width: 42rem; /* 672px */
  color: #b7c5df;
  font-size: 1.25rem; /* 20px */
  line-height: 1.625;
  font-weight: 400;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  padding: 18px 40px;
}

.feature-strip {
  margin-top: -56px;
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}
.showcase {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: 0 28px 60px rgba(0,0,0,0.35);
  outline: 1px solid rgba(255,255,255,0.1);
  background: #0b1730;
}
.showcase-track { position: absolute; inset: 0; }
.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
  z-index: 0;
}
.showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.showcase-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,20,48,0.88) 0%, rgba(8,20,48,0.55) 48%, transparent 78%);
}
.showcase-slide[data-tone="blue"] .showcase-overlay {
  background: linear-gradient(90deg, rgba(15,40,95,0.88) 0%, rgba(15,40,95,0.5) 50%, transparent 100%);
}
.showcase-slide[data-tone="indigo"] .showcase-overlay {
  background: linear-gradient(90deg, rgba(40,28,95,0.88) 0%, rgba(40,28,95,0.5) 50%, transparent 100%);
}
.showcase-slide[data-tone="teal"] .showcase-overlay {
  background: linear-gradient(90deg, rgba(8,55,60,0.88) 0%, rgba(8,55,60,0.5) 50%, transparent 100%);
}
.showcase-slide[data-tone="violet"] .showcase-overlay {
  background: linear-gradient(90deg, rgba(55,20,80,0.88) 0%, rgba(55,20,80,0.5) 50%, transparent 100%);
}
.showcase-slide[data-tone="navy"] .showcase-overlay {
  background: linear-gradient(90deg, rgba(8,18,48,0.9) 0%, rgba(8,18,48,0.52) 50%, transparent 100%);
}
.showcase-slide[data-tone="steel"] .showcase-overlay {
  background: linear-gradient(90deg, rgba(30,41,59,0.9) 0%, rgba(30,41,59,0.52) 50%, transparent 100%);
}
.showcase-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(20px, 4vw, 56px);
  max-width: 34rem;
  color: #fff;
}
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
}
.showcase-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
}
.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.showcase-copy p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  max-width: 34ch;
}
.showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(8,18,40,0.45);
  color: #fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.showcase-nav:hover { background: rgba(8,18,40,0.7); }
.showcase-nav.prev { left: 12px; }
.showcase-nav.next { right: 12px; }
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 4;
  display: flex; gap: 8px; justify-content: center;
}
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.45); cursor: pointer; padding: 0;
}
.carousel-dots button.active {
  width: 22px; border-radius: 8px; background: #fff;
}

@media (max-width: 760px) {
  .showcase {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }
  .showcase-overlay {
    background: linear-gradient(180deg, rgba(8,20,48,0.25) 0%, rgba(8,20,48,0.82) 48%, rgba(8,20,48,0.95) 100%) !important;
  }
  .showcase-copy {
    align-items: flex-end;
    padding: 20px 18px 42px;
    max-width: none;
  }
  .showcase-nav { display: none; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 18px;
  margin: 28px auto 0;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy-900);
  letter-spacing: -0.03em;
}
.stat span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 88px 0; }
.section.soft { background: var(--surface-soft); }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--radius-pill);
  background: var(--mint); color: var(--mint-text);
  font-weight: 700; font-size: 0.85rem; margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem); /* ~32→48 — Qoorbell h2 */
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy-900);
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.tile h3 { margin: 0 0 8px; font-size: 1.1rem; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.tile .icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eef3ff; color: var(--blue-500);
  margin-bottom: 14px; font-size: 1.2rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plans-loading,
.plans-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
}
.plans-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border: 3px solid #dbe4f5;
  border-top-color: var(--blue-500);
  border-radius: 50%;
  animation: plans-spin 0.8s linear infinite;
}
@keyframes plans-spin {
  to { transform: rotate(360deg); }
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.plan-card:hover {
  border-color: #c7d7f5;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.plan-card.is-popular {
  border-color: var(--blue-500);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.12);
}
.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue-500);
}
.plan-badge.is-discount {
  background: #ecfdf3;
  color: #0f7a4a;
}
.plan-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  padding-right: 72px;
}
.plan-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.plan-price-original {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}
.plan-price-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1;
}
.plan-price-period {
  color: var(--muted);
  font-size: 0.92rem;
}
.plan-price-monthly {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.plan-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: #334155;
  font-size: 0.94rem;
  border-bottom: 1px solid #f1f5f9;
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
}
.plan-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.plan-card .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.plans-footnote {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.plans-footnote a { color: var(--blue-500); text-decoration: none; }
.plans-footnote a:hover { text-decoration: underline; }

.compare-duel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
}
.compare-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px 22px 8px;
  min-width: 0;
}
.compare-panel--pd {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-color: rgba(47, 107, 255, 0.35);
  background:
    linear-gradient(180deg, rgba(47, 107, 255, 0.06), transparent 40%),
    #fff;
  box-shadow: 0 12px 28px rgba(15, 40, 95, 0.06);
}
.compare-panel--trad {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #f8fafc;
}
.compare-panel-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.compare-panel-head h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.compare-panel--pd .compare-panel-head h3 { color: var(--blue-600); }
.compare-panel--trad .compare-panel-head h3 { color: #64748b; font-weight: 700; }
.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.compare-list li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.compare-list li:last-child { border-bottom: 0; }
.compare-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.compare-panel--pd .compare-list strong {
  color: var(--mint-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}
.compare-value {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.35;
}
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  margin: 0 -8px;
  z-index: 1;
}
.compare-vs span {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.25);
}

.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 64px;
  margin-bottom: 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-500); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item button {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px;
  cursor: pointer; font-weight: 700; color: var(--ink);
}
.faq-item .faq-body {
  display: none; padding: 0 18px 16px; color: var(--muted);
}
.faq-item.open .faq-body { display: block; }
.faq-item .chev { color: var(--blue-500); font-weight: 800; }

.cta-band {
  background: linear-gradient(135deg, var(--navy-900), #13284d);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.cta-band p { margin: 0 0 22px; color: #b7c5df; }

.contact-form {
  display: grid; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px;
}
.contact-form label { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.site-footer {
  background: var(--navy-950);
  color: #c5d0e4;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.site-footer h3, .site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.9rem;
}

.cookie-root {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  pointer-events: none;
}
.cookie {
  pointer-events: auto;
  width: 100%;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  padding: 22px 0;
}
.cookie[hidden],
.cookie-pill[hidden] { display: none !important; }
.cookie-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cookie-copy {
  min-width: 0;
  flex: 1;
}
.cookie-copy strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.cookie-copy p {
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 52rem;
}
.cookie-privacy {
  color: var(--blue-500);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.cookie-privacy:hover { text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cookie-btn-ghost {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
}
.cookie-btn-ghost:hover { background: #f9fafb; }
.cookie-btn-primary {
  background: var(--blue-500);
  color: #fff;
}
.cookie-btn-primary:hover { background: var(--blue-600); }
.cookie-pill {
  pointer-events: auto;
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 81;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.cookie-pill:hover { background: #e5e7eb; }

/* Language menu host */
.lang-menu button.active,
.lang-menu button[aria-current="true"] {
  background: #eef2ff !important;
  font-weight: 700;
}

/* Contact page */
.page-hero {
  padding: 120px 0 48px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(47, 107, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #eef3ff 0%, var(--surface-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy-900);
}
.page-hero p:not(.section-badge) {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.2fr);
  gap: 28px;
  align-items: start;
}
.contact-aside h2,
.contact-panel h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.contact-panel-lead {
  margin: -8px 0 18px;
  color: var(--muted);
}
.contact-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef3ff;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-row h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.contact-row p { margin: 0; color: var(--muted); }
.contact-row a { color: var(--blue-500); font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }
.contact-meta { margin-top: 4px !important; font-size: 0.9rem; }

.contact-social { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-social h3 { margin: 0 0 12px; font-size: 1rem; }
.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.contact-social-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-social-links a:hover { color: var(--blue-500); }

.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.contact-form-full select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.contact-form-full input:focus,
.contact-form-full textarea:focus,
.contact-form-full select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}
.contact-form-msg { margin: 0; font-size: 0.9rem; color: var(--muted); }

.contact-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef8;
  height: 420px;
}
.contact-map-wrap #contact-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .page-hero { padding-top: 100px; }
  .contact-map-wrap,
  .contact-map-wrap #contact-map { height: 320px; min-height: 320px; }
}

/* Blog page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover {
  border-color: #c7d7f5;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.blog-card-media {
  height: 120px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8eefc, #f5f7fb);
  color: var(--blue-500);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.blog-card.tone-navy .blog-card-media {
  background: linear-gradient(135deg, #12203a, #1a2d4d);
  color: #fff;
}
.blog-card.tone-mint .blog-card-media {
  background: linear-gradient(135deg, #d8f5e5, #eefaf4);
  color: var(--mint-text);
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px;
  flex: 1;
}
.blog-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-500);
}
.blog-card-body h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--navy-900);
}
.blog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.blog-read {
  align-self: flex-start;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.blog-read:hover { text-decoration: underline; }
.blog-soon {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
.blog-soon h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}
.blog-soon p {
  margin: 0;
  color: var(--muted);
}

.about-story {
  max-width: 46rem;
}
.about-story h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--navy-900);
}
.about-story p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
}
.about-tile {
  padding: 28px;
  min-height: 100%;
}
.about-tile h3 {
  font-size: 1.35rem;
  color: var(--blue-600);
}
.about-values .tile .icon {
  background: #eef3ff;
  color: var(--blue-500);
  font-size: 1rem;
}

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Legal pages */
body.legal-page {
  background: var(--surface-soft);
}
/* Fixed header (72px) altına içerik girmesin */
body.legal-page > section#top {
  padding-top: 7.5rem !important; /* ~120px: nav + nefes payı */
}
body.legal-page > .page-hero {
  padding-top: 120px;
}
body.legal-page .site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #f1f5f9;
  z-index: 50;
}
body.legal-page .brand { color: #2563eb; }
body.legal-page .nav-links a,
body.legal-page .link-quiet,
body.legal-page .lang-switch { color: #64748b; }
body.legal-page .nav-links a:hover,
body.legal-page .link-quiet:hover,
body.legal-page .lang-switch:hover { color: #0f172a; }
body.legal-page .btn-header {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
body.legal-page .nav-toggle {
  border-color: #e2e8f0;
  background: #fff;
}
body.legal-page .nav-toggle span { background: #0f172a; }
.legal-hero {
  padding: 120px 0 40px;
  background: linear-gradient(180deg, #eef4ff 0%, var(--surface-soft) 100%);
}
.legal-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.legal-hero .badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
}
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 12px 18px;
  margin-top: 16px; color: var(--muted); font-size: 0.92rem;
}
.legal-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 48px;
  display: grid;
  gap: 20px;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}
.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.legal-card .prose p { margin: 0.5rem 0; color: #334155; }
.legal-card .prose ul { margin: 0.5rem 0; padding-left: 1.2rem; color: #334155; }
.legal-card a { color: #2563eb; font-weight: 600; }
.legal-toc ol {
  margin: 0; padding-left: 1.2rem;
  display: grid; gap: 6px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
.legal-toc a { color: #334155; }
.legal-toc a:hover { color: #2563eb; }

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .link-quiet { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-end { gap: 12px; }
  .nav-actions .lang-switch { display: inline-flex; }
  body.legal-page .nav-actions .lang-switch { display: inline-flex !important; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { color: #334155; }
  .showcase, .grid-2, .grid-3, .grid-4, .footer-grid, .stats, .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-card.is-popular { transform: none; }
  .stats { gap: 18px; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
  .cookie-pill { left: 12px; right: 12px; bottom: 12px; text-align: center; }
  .compare-duel {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .compare-panel--pd,
  .compare-panel--trad {
    border-radius: var(--radius-md);
  }
  .compare-vs {
    width: 100%;
    margin: -4px 0;
  }
}
