/* Tanıtım sayfası. Renkler ve düğmeler app.css'ten gelir. */
.topbar-inner { gap: 20px; }
.topbar .nav { flex: 1; }
.topbar .lang-switch { margin-left: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.hero { max-width: 1080px; margin: 0 auto; padding: 64px 24px 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill { display: inline-block; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--text-2); max-width: 520px; }
.try { margin-top: 18px; color: var(--primary); font-weight: 600; }
.hero-links { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.demo { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 12px 40px rgba(16, 24, 40, .10); padding: 24px; text-align: center; }
.demo-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #98a2b3; }
.dot.ok { background: var(--success); } .dot.busy { background: var(--primary); animation: blink 1.2s infinite; } .dot.bad { background: var(--danger); }
@keyframes blink { 50% { opacity: .3; } }

.orb { height: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 6px; }
.orb span { width: 12px; height: 28px; border-radius: 8px; background: var(--primary); opacity: .25; transition: opacity .3s; }
.orb.live span { opacity: 1; animation: bar 1s ease-in-out infinite; }
.orb.live span:nth-child(2) { animation-delay: .15s; } .orb.live span:nth-child(3) { animation-delay: .3s; }
@keyframes bar { 0%, 100% { height: 24px; } 50% { height: 84px; } }
.orb.wait span { animation: bar 1.6s ease-in-out infinite; opacity: .6; height: 24px; }
.orb.wait span:nth-child(2) { animation-delay: .25s; } .orb.wait span:nth-child(3) { animation-delay: .5s; }

.demo-msg { min-height: 44px; color: var(--muted); font-size: 14px; }
.demo-msg.err { color: var(--danger); }
.demo-actions { display: flex; justify-content: center; gap: 10px; margin: 12px 0 4px; flex-wrap: wrap; }
.demo-actions .btn { padding: 12px 22px; font-size: 15px; }
.demo-end { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--primary-soft); text-align: left; }
.demo-end p { margin: 4px 0 12px; color: var(--text-2); font-size: 14px; }
.demo-end[hidden] { display: none; }
.demo-note { margin-top: 16px; font-size: 12px; color: var(--muted); }

.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
section.wrap { padding-top: 56px; padding-bottom: 8px; }
.sec-title { font-size: 24px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--text-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; margin-bottom: 12px; }
.step h3, .feat h3 { color: var(--text); font-size: 16px; margin-bottom: 6px; }
.step p, .feat p { color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }

.shot { text-align: center; }
.shot .sub { color: var(--muted); margin: -12px 0 20px; }
.shot img { width: 100%; max-width: 920px; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 12px 40px rgba(16, 24, 40, .10); }

.cta { text-align: center; padding: 72px 24px; }
.cta h2 { font-size: 28px; margin-bottom: 8px; }
.cta p { color: var(--muted); margin-bottom: 20px; }
.foot { max-width: 1080px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

}
}

.meters { display: grid; gap: 8px; margin: 6px auto 4px; max-width: 320px; text-align: left; }
.meters[hidden] { display: none; }
.meters div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.meters i { height: 8px; border-radius: 6px; background: var(--gray-soft); overflow: hidden; }
.meters b { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 6px; transition: width .08s linear; }

.devices { margin: 6px auto 2px; max-width: 360px; text-align: left; }
.devices summary { cursor: pointer; list-style: none; text-align: center; font-size: 13px; color: var(--muted); padding: 6px; }
.devices summary::-webkit-details-marker { display: none; }
.devices summary::after { content: " ▾"; }
.devices[open] summary::after { content: " ▴"; }
.devices label { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.devices label[hidden] { display: none; }
.devices select { min-width: 0; width: 100%; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text-2); }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

@media (max-width: 860px) {
  /* Telefonda deneme kartı, metnin hemen altında ve ikincil bağlantıların üstünde durur. */
  .hero { grid-template-columns: 1fr; padding: 32px 20px 28px; gap: 0; }
  .hero-text { display: contents; }
  .pill { order: 1; justify-self: start; }
  .hero h1 { order: 2; margin-bottom: 12px; }
  .lead { order: 3; }
  .try { order: 4; margin-top: 14px; }
  .demo { order: 5; margin-top: 20px; }
  .hero-links { order: 6; margin-top: 20px; }
  .hero h1 { font-size: 30px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .topbar .nav { display: none; }
  .topbar-inner { gap: 10px; padding: 0 16px; height: 56px; }
  .topbar-inner .lang-switch { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; font-size: 14px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 26px; line-height: 1.2; }
  .lead { font-size: 15px; }
  .try { font-size: 14px; }
  .hero-links { gap: 12px; }

  .demo { padding: 20px 16px 16px; border-radius: 16px; box-shadow: 0 8px 28px rgba(16, 24, 40, .08); }
  .orb { height: 72px; margin: 6px 0 2px; gap: 7px; }
  .orb span { width: 10px; }
  @keyframes bar { 0%, 100% { height: 18px; } 50% { height: 56px; } }
  .demo-msg { font-size: 14px; line-height: 1.45; min-height: 0; margin-bottom: 4px; }
  .demo-actions { flex-direction: column; gap: 10px; margin: 12px 0 6px; }
  .demo-actions .btn { width: 100%; padding: 14px 18px; font-size: 16px; border-radius: 10px; }
  .devices label { grid-template-columns: 1fr; gap: 4px; }
  .devices select { font-size: 16px; padding: 11px 12px; }
  .meters div { grid-template-columns: 70px 1fr; }
  .demo-end { padding: 14px; }
  .demo-end .btn { width: 100%; padding: 13px 18px; font-size: 16px; }
  .demo-note { font-size: 11.5px; margin-top: 12px; }

  .band { padding: 28px 0; }
  section.wrap { padding-top: 40px; }
  .sec-title { font-size: 21px; margin-bottom: 16px; }
  .chips span { font-size: 13px; padding: 7px 13px; }
  .step, .feat { padding: 18px; }
  .cta { padding: 48px 20px; }
  .cta h2 { font-size: 23px; }
  .cta .btn { width: 100%; max-width: 320px; padding: 13px 18px; font-size: 16px; }
  .foot { flex-direction: column; gap: 4px; padding: 20px; }
