/* Ana sayfa: ilk taslağın açılışı + dokuz modül kapısı + cihazlar + kart şeridi + puan tablosu */
.home-hero { padding: 168px 24px 128px; text-align: center; }
.home-hero .in { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; display: grid; justify-items: center; gap: 26px; }
.home-hero h1 { font-size: clamp(40px, 6.4vw, 82px); line-height: 1.02; }
.home-hero .rot { display: inline-block; color: var(--lime); min-height: 1.02em; }
.mark { width: 104px; height: 104px; border-radius: 26px; overflow: hidden; transform: rotate(-9deg); box-shadow: 0 18px 40px rgba(202, 232, 75, 0.18), 0 6px 18px rgba(0, 0, 0, 0.4); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; color: var(--on-ink-muted); font-size: 16px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--on-ink); font-weight: 600; font-size: 15px; }
.chip .ico { width: 18px; height: 18px; color: var(--lime); }
.home-hero .btns { justify-content: center; margin-top: 10px; }
.tiles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tile { position: absolute; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); animation: float 8s ease-in-out infinite; }
.tile .ico { width: 34px; height: 34px; }
.tile.s { width: 66px; height: 66px; border-radius: 18px; }
.tile.s .ico { width: 26px; height: 26px; }
.t-white { background: var(--paper); color: var(--ink); }
.t-lime { background: var(--lime); color: var(--ink); }
.t-dark { background: var(--ink-2); color: var(--lime); border: 1px solid rgba(255, 255, 255, 0.08); }
.t-tint { background: var(--lime-tint); color: var(--lime-text); }

.statement { padding-block: 140px 0; text-align: center; display: grid; gap: 48px; }
.kicker { font: 600 22px/1.3 var(--font-display); letter-spacing: -0.01em; }
.inl-mark { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.18em; border-radius: .26em; overflow: hidden; transform: rotate(-8deg); margin-right: .12em; }
.ring { position: relative; display: inline-block; margin: 0 .12em; }
.ring svg { position: absolute; left: -8%; top: -14%; width: 116%; height: 132%; overflow: visible; pointer-events: none; }
.ring path { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; }
.inl-tile { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; vertical-align: -0.28em; border-radius: .3em; background: var(--paper); box-shadow: 0 6px 20px rgba(14, 15, 16, 0.14); color: var(--lime-text); }
.inl-tile .ico { width: .66em; height: .66em; }

/* dokuz modül */
.mods { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mod { display: flex; flex-direction: column; background: var(--soft); border-radius: var(--r-xl); text-decoration: none; overflow: hidden; transition: background .2s, transform .2s; min-width: 0; }
.mod:hover { background: var(--soft-2); transform: translateY(-2px); }
.mod .vis { height: 186px; padding: 26px 26px 0; display: flex; align-items: flex-end; justify-content: center; }
.mod .card { width: 100%; max-width: 290px; background: var(--paper); border-radius: 14px 14px 0 0; box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 9px; font-size: 13px; }
.mod .card.dk { background: var(--ink); color: var(--on-ink); }
.mod .cap { display: grid; grid-template-columns: 44px 1fr 20px; gap: 14px; align-items: center; padding: 22px 24px 24px; }
.mod .cap b { display: block; font: 600 20px/1.2 var(--font-display); letter-spacing: -0.01em; }
.mod .cap small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.mod .cap > .ico { color: var(--lime-text); width: 20px; height: 20px; transition: transform .2s; }
.mod:hover .cap > .ico { transform: translateX(3px); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.row span { color: var(--muted); }
.mod .card.dk .row span { color: var(--on-ink-muted); }
.mini-ci { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; }
.mini-ci .box { width: 18px; height: 18px; border-radius: 5px; }
.mini-ci .box .ico { width: 12px; height: 12px; }
.big-n { font: 700 30px/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.big-n small { font: 500 13px var(--font-sans); color: var(--muted); margin-left: 4px; }
.stack { display: flex; }
.stack .av { width: 28px; height: 28px; font-size: 11px; border: 2px solid var(--paper); margin-left: -8px; }
.stack .av:first-child { margin-left: 0; }
.vid { height: 74px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; color: var(--lime); }
.vid .ico { width: 26px; height: 26px; fill: var(--lime); stroke: none; }
.scan-mini { position: relative; height: 70px; border-radius: 10px; background: var(--ink-3); overflow: hidden; }
.scan-mini i { position: absolute; border: 1.5px solid var(--lime); border-radius: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 56'%3E%3Ccircle cx='20' cy='15' r='9' fill='%23ffffff' fill-opacity='.22'/%3E%3Cpath d='M3 56c0-17 7-27 17-27s17 10 17 27z' fill='%23ffffff' fill-opacity='.22'/%3E%3C/svg%3E") center bottom / 78% auto no-repeat, rgba(202, 232, 75, .06); }
.scan-mini i::before { content: ""; position: absolute; top: -1.5px; left: -1.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); transform: translate(-40%, -40%); }
.scan-mini { background: linear-gradient(180deg, #2c3034 0%, #23262a 70%, #1d2023 100%); }
.scan-mini .ts { position: absolute; right: 8px; bottom: 6px; font: 600 10px/1 var(--font-sans); letter-spacing: .04em; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }
.cam-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cam-hd b { font-weight: 600; }
.cam-hd .live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11px; font-weight: 600; color: var(--on-ink); }
.cam-hd .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255, 77, 77, .2); animation: cmLive 1.6s ease-in-out infinite; }
@keyframes cmLive { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .cam-hd .live::before { animation: none; } }

/* cihazlar */
.devices { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dev { background: var(--soft); border-radius: var(--r-xl); padding: 34px 30px; display: grid; gap: 18px; align-content: start; }
.dev.ink { background: var(--ink); color: var(--on-ink); }
.dev h3 { font-size: 26px; }
.dev .where { color: var(--muted); font-size: 15px; margin-top: -10px; }
.dev.ink .where { color: var(--on-ink-muted); }
.dev ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dev li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; }
.dev li .ico { width: 18px; height: 18px; stroke-width: 2.5; color: var(--lime-text); margin-top: 3px; }
.dev.ink li .ico { color: var(--lime); }

/* kart şeridi */
.discover { margin-top: 128px; padding-top: 120px; background: linear-gradient(var(--paper), var(--soft)); }
.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 36px auto 0; padding: 5px; border-radius: 14px; background: var(--soft); overflow-x: auto; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 0; background: transparent; font: 500 15px var(--font-sans); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab .ico { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(14, 15, 16, 0.12); }
.rail { margin-top: 48px; overflow: hidden; padding-bottom: 110px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 20px; width: max-content; animation: slide 60s linear infinite; padding: 8px 0; }
.rail:hover .track { animation-play-state: paused; }
.rc { width: 270px; flex: none; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.rc:nth-child(even) { margin-top: 26px; }
.rch { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; }
.rch b { display: block; font-size: 14px; line-height: 1.2; }
.rch small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.rcb { padding: 4px 14px 14px; display: grid; gap: 8px; }
.rcb .mini-ci { font-size: 13px; line-height: 1.35; }
.rcf { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 10px 14px; font-size: 12px; color: var(--muted); }
@keyframes slide { to { transform: translateX(-50%); } }

/* puan tablosu */
.report { background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl); display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 72px 0 0 64px; overflow: hidden; }
.report h2 { font-size: clamp(32px, 3.6vw, 46px); }
.report .txt { display: grid; gap: 18px; padding-bottom: 72px; }
.report .txt p { color: var(--on-ink-muted); max-width: 420px; }
.report .txt a { color: var(--lime); font-weight: 600; text-decoration: none; }
.panel { background: var(--paper); color: var(--ink); border-radius: var(--r-lg) 0 0 0; padding: 26px 28px; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.panel-h b { font: 600 20px var(--font-display); }
.rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--soft); font-weight: 700; font-size: 13px; }
.rank.one { background: var(--lime); }
.delta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.delta i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); }
.delta i .ico { width: 13px; height: 13px; stroke-width: 2.5; }
.up { color: var(--done); } .up i { background: var(--done); }
.dn { color: var(--late); } .dn i { background: var(--late); }

/* sonuç duvarı */
.wall { margin-top: 56px; columns: 3 300px; column-gap: 14px; }
.fc { break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: block; text-decoration: none; }
.fc:hover { border-color: rgba(14, 15, 16, 0.22); }
.fc p { padding: 22px 22px 20px; font-size: 16px; line-height: 1.6; }
.fc .ff { display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: var(--soft); }
.fc .ff b { font-size: 15px; display: block; }
.fc .ff small { display: block; color: var(--muted); font-size: 13px; }
.fc .ff .tl { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; }
.fc .ff .tl .ico { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .home-hero { padding: 132px 18px 96px; }
  .tile.opt { display: none; }
  .mods { grid-template-columns: 1fr 1fr; }
  .devices { grid-template-columns: 1fr; }
  .report { grid-template-columns: 1fr; padding: 48px 0 0 28px; }
  .report .txt { padding-bottom: 8px; padding-right: 28px; }
}
@media (max-width: 640px) {
  .mods { grid-template-columns: 1fr; }
  .tile.mid { display: none; }
  .tile { width: 58px; height: 58px; border-radius: 16px; }
  .tile .ico { width: 24px; height: 24px; }
  .tile.s { width: 46px; height: 46px; border-radius: 14px; }
  .tile.s .ico { width: 19px; height: 19px; }
  .mark { width: 84px; height: 84px; border-radius: 22px; }
}
