/* Tanıtım sitesi – ana sayfaya özel bölümler (landing.css'in üstüne) */

/* ---------- Hero ---------- */
.hm-hero { padding-bottom: 72px; }
.hm-tv-wrap { position: relative; }
.hm-float { position: absolute; z-index: 3; display: flex; gap: .7rem; align-items: center; padding: .7rem 1rem .7rem .75rem; border-radius: 16px; color: #e2e8f0; background: rgba(15, 18, 40, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); animation: hm-bob 6s ease-in-out infinite; pointer-events: none; }
.hm-float > i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; color: #fff; flex: none; }
.hm-float b { display: block; font-family: var(--font-head); font-size: .95rem; color: #fff; line-height: 1.2; }
.hm-float span { font-size: .78rem; color: #94a3b8; }
.hm-float-1 { top: 12%; left: -64px; }
.hm-float-1 > i { background: linear-gradient(135deg, #f59e0b, #f97316); }
.hm-float-2 { top: 44%; right: -72px; animation-delay: -2s; }
.hm-float-2 > i { background: linear-gradient(135deg, #6366f1, #a855f7); }
.hm-float-3 { bottom: 30%; left: -40px; animation-delay: -4s; }
.hm-float-3 > i { background: linear-gradient(135deg, #10b981, #059669); }
@keyframes hm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1240px) { .hm-float-1 { left: -16px; } .hm-float-2 { right: -16px; } .hm-float-3 { left: -10px; } }
@media (max-width: 991.98px) { .hm-float { display: none; } }

.hm-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 980px; margin: 64px auto 0; padding: 0; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.hm-stats > div { padding: 22px 20px; text-align: center; }
.hm-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .08); }
.hm-stats dt { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1; color: #fff; letter-spacing: -.03em; }
.hm-stats dt small { font-size: .5em; font-weight: 700; color: #c4b5fd; letter-spacing: 0; }
.hm-stats dd { margin: .45rem 0 0; font-size: .86rem; color: #94a3b8; }
@media (max-width: 767.98px) {
    .hm-stats { grid-template-columns: repeat(2, 1fr); }
    .hm-stats > div:nth-child(3) { border-left: 0; }
    .hm-stats > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- Pano şeridi ---------- */
.hm-marquee { padding: 22px 0; background: #070a1a; border-top: 1px solid rgba(255, 255, 255, .06); overflow: hidden; display: grid; gap: 12px; }
.hm-marquee-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-marquee-track { display: flex; gap: 12px; width: max-content; animation: hm-scroll 70s linear infinite; }
.hm-marquee-rev .hm-marquee-track { animation-direction: reverse; animation-duration: 80s; }
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
.hm-tag { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .5rem 1rem; border-radius: 99px; font-size: .9rem; font-weight: 500; color: #cbd5e1; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.hm-tag i { color: #a5b4fc; }
@keyframes hm-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hm-marquee-track, .hm-float { animation: none; } }

/* ---------- Bir okul günü ---------- */
.hm-day-grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 48px; align-items: center; }
.hm-day-tabs { position: relative; display: grid; gap: 8px; }
.hm-day-tab { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: var(--muted); transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.hm-day-tab time { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); min-width: 52px; padding-top: 1px; font-variant-numeric: tabular-nums; }
.hm-day-tab span { font-size: .92rem; line-height: 1.45; }
.hm-day-tab b { display: block; color: var(--ink); font-size: 1rem; }
.hm-day-tab:hover { background: var(--soft); }
.hm-day-tab.is-active { background: #fff; border-color: #c7d2fe; box-shadow: 0 14px 30px -18px rgba(79, 70, 229, .55); }
.hm-day-tab.is-active time { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-day-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 6px 16px 0; }
.hm-day-progress span { display: block; height: 100%; width: 0; background: var(--brand-grad); }
.hm-day-tv .tv-stand { width: 18%; }

/* Örnek pano ekranı (görsel; içerikler örnektir) */
.hm-screen { --hs-bg: #060b17; --hs-card: rgba(255, 255, 255, .06); --hs-line: rgba(255, 255, 255, .09); --hs-accent: #3b82f6; --hs-hl: #fbbf24; --hs-fg: #e8eef9;
    position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; container-type: inline-size; color: var(--hs-fg); font-size: 1.6cqw;
    background: radial-gradient(120% 90% at 0% 0%, rgba(59, 130, 246, .22), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(168, 85, 247, .18), transparent 55%), var(--hs-bg);
    display: grid; grid-template-rows: auto 1fr auto; padding: 2.2cqw 2.4cqw 0; gap: 1.6cqw; }
.hm-screen[data-scene="ogle"] { --hs-accent: #f97316; --hs-hl: #fde047; background: radial-gradient(120% 90% at 0% 0%, rgba(249, 115, 22, .2), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(250, 204, 21, .12), transparent 55%), #170a0e; }
.hm-screen[data-scene="teneffus"] { --hs-accent: #10b981; background: radial-gradient(120% 90% at 0% 0%, rgba(16, 185, 129, .2), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(6, 182, 212, .14), transparent 55%), #03130d; }
.hm-screen[data-scene="sayac"] { --hs-accent: #a855f7; --hs-hl: #f9a8d4; background: radial-gradient(120% 90% at 50% 0%, rgba(168, 85, 247, .28), transparent 60%), #0d0720; }
.hm-screen[data-scene="pansiyon"] { --hs-accent: #fbbf24; background: radial-gradient(120% 90% at 0% 0%, rgba(251, 191, 36, .14), transparent 55%), #1c1410; }
.hm-screen, .hm-screen * { transition: background-color .5s; }

.hs-top { display: flex; align-items: center; gap: 1.2cqw; }
.hs-logo { width: 3.6cqw; height: 3.6cqw; border-radius: 1cqw; display: grid; place-items: center; background: var(--hs-accent); color: #fff; font-size: 2cqw; transition: background .5s; }
.hs-school { font-family: var(--font-head); font-weight: 700; font-size: 2.1cqw; flex: 1; }
.hs-weather { font-size: 1.7cqw; opacity: .85; }
.hs-weather i { color: var(--hs-hl); }
.hs-clock { font-family: var(--font-head); font-weight: 800; font-size: 3cqw; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.hs-scene { display: none; min-height: 0; animation: hs-in .6s ease both; }
.hm-screen[data-scene="sabah"] .hs-scene[data-for="sabah"],
.hm-screen[data-scene="teneffus"] .hs-scene[data-for="teneffus"],
.hm-screen[data-scene="ogle"] .hs-scene[data-for="ogle"],
.hm-screen[data-scene="sayac"] .hs-scene[data-for="sayac"],
.hm-screen[data-scene="pansiyon"] .hs-scene[data-for="pansiyon"] { display: block; }
@keyframes hs-in { from { opacity: 0; transform: translateY(1.2cqw) scale(.985); } to { opacity: 1; transform: none; } }

.hs-split, .hs-dorm { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6cqw; height: 100%; }
.hs-scene { overflow: hidden; }
.hs-col { display: grid; grid-template-rows: 1fr auto; gap: 1.6cqw; min-height: 0; }
.hs-card { border-radius: 1.4cqw; background: var(--hs-card); border: 1px solid var(--hs-line); padding: 1.8cqw 2cqw; min-height: 0; overflow: hidden; }
.hs-label { display: inline-flex; align-items: center; gap: .6cqw; font-size: 1.25cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hs-accent); }
.hs-card h4, .hs-scene h4 { color: #fff !important; font-family: var(--font-head); font-weight: 800; font-size: 3.4cqw; line-height: 1.1; margin: 1.2cqw 0 1cqw; letter-spacing: -.02em; }
.hs-card p { font-size: 1.7cqw; line-height: 1.5; opacity: .78; margin: 0; }
.hs-ann { display: flex; flex-direction: column; background: linear-gradient(135deg, rgba(59, 130, 246, .28), rgba(59, 130, 246, .06)); }
.hs-ann h4 { font-size: 3.8cqw; margin-top: auto; }
.hs-dots { display: flex; gap: .6cqw; margin-top: 1.6cqw; }
.hs-dots i { width: 1.6cqw; height: .5cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .25); }
.hs-dots i.on { width: 3.6cqw; background: var(--hs-hl); }
.hs-list { list-style: none; padding: 0; margin: 1.2cqw 0 0; display: grid; gap: .9cqw; font-size: 1.75cqw; }
.hs-list b { display: inline-block; min-width: 7cqw; color: var(--hs-hl); font-weight: 700; }
.hs-status b { display: block; font-family: var(--font-head); font-size: 2.6cqw; margin-top: .6cqw; color: #fff; }

.hs-ring-wrap { display: grid; grid-template-columns: auto 1fr; gap: 4cqw; align-items: center; height: 100%; padding: 0 2cqw; }
.hs-ring { position: relative; width: 26cqw; height: 26cqw; }
.hs-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hs-ring circle { fill: none; stroke-width: 9; }
.hs-ring .bg { stroke: rgba(255, 255, 255, .1); }
.hs-ring .fg { stroke: var(--hs-accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; animation: hs-ring 1.4s .2s cubic-bezier(.2, .8, .2, 1) forwards; }
.hm-screen:not([data-scene="teneffus"]) .hs-ring .fg { animation: none; }
@keyframes hs-ring { to { stroke-dashoffset: 110; } }
.hs-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hs-ring b { font-family: var(--font-head); font-size: 6cqw; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.hs-ring span { font-size: 1.6cqw; opacity: .7; margin-top: .6cqw; }
.hs-next h4 { font-size: 4cqw; }
.hs-next > p { font-size: 2cqw; opacity: .7; margin: 0 0 2cqw; }
.hs-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .8cqw; font-size: 1.7cqw; }
.hs-timeline li { display: flex; justify-content: space-between; padding: .8cqw 1.4cqw; border-radius: .9cqw; background: var(--hs-card); border: 1px solid var(--hs-line); }
.hs-timeline li span { opacity: .7; font-variant-numeric: tabular-nums; }
.hs-timeline li.done { opacity: .45; }
.hs-timeline li.now { background: var(--hs-accent); border-color: transparent; color: #04130d; font-weight: 700; }
.hm-screen[data-scene="pansiyon"] .hs-timeline li.now { color: #1c1410; }
.hs-timeline-lg { margin-top: 1.4cqw; gap: 1cqw; font-size: 2cqw; }
.hs-timeline-lg li { padding: 1.1cqw 1.6cqw; }

.hs-menu { height: 100%; display: flex; flex-direction: column; }
.hs-menu-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; margin-top: 1.6cqw; }
.hs-menu-grid > div { display: flex; flex-direction: column; justify-content: flex-end; gap: .4cqw; padding: 1.8cqw; border-radius: 1.4cqw; background: var(--hs-card); border: 1px solid var(--hs-line); }
.hs-food { font-size: 6cqw; line-height: 1; margin-bottom: auto; }
.hs-menu-grid b { font-family: var(--font-head); font-size: 2.2cqw; color: #fff; line-height: 1.15; }
.hs-menu-grid small { font-size: 1.35cqw; opacity: .7; }
.hs-total { margin: 1.4cqw 0 0; font-size: 1.8cqw; color: var(--hs-hl); font-weight: 600; }

.hs-count { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hs-count h4 { font-size: 4.4cqw; }
.hs-count-grid { display: grid; grid-template-columns: repeat(4, 13cqw); gap: 1.6cqw; margin: 1cqw 0 2cqw; }
.hs-count-grid div { padding: 1.8cqw 0 1.4cqw; border-radius: 1.4cqw; background: var(--hs-card); border: 1px solid var(--hs-line); }
.hs-count-grid b { display: block; font-family: var(--font-head); font-size: 6cqw; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hs-count-grid span { font-size: 1.4cqw; opacity: .7; text-transform: uppercase; letter-spacing: .1em; }
.hs-count > p { font-size: 1.9cqw; font-style: italic; opacity: .8; margin: 0; max-width: 70cqw; }

.hs-ticker { margin: 0 -2.4cqw; padding: 1.1cqw 2.4cqw; background: var(--hs-hl); color: #111; font-weight: 600; font-size: 1.6cqw; white-space: nowrap; overflow: hidden; transition: background .5s; }
.hs-ticker span { display: inline-block; padding-left: 100%; animation: hs-ticker 26s linear infinite; }
.hs-ticker i { margin-right: .5cqw; }
@keyframes hs-ticker { to { transform: translateX(-100%); } }

@media (max-width: 991.98px) {
    .hm-day-grid { grid-template-columns: 1fr; gap: 28px; }
    .hm-day-tabs { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
    .hm-day-tab { flex-direction: column; gap: 4px; scroll-snap-align: start; border-color: var(--line); }
    .hm-day-progress { display: none; }
    .hm-day-tv { order: -1; }
}

/* ---------- Bento ---------- */
.hm-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hm-bento-card { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; overflow: hidden; }
.hm-bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.hm-bento-card h3 { font-size: 1.12rem; font-weight: 700; margin: 16px 0 6px; }
.hm-bento-card p { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--muted); }
.hm-bento-card.is-hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, #111538 0%, #1e1b4b 100%); border-color: transparent; color: #c7d2fe; }
.hm-bento-card.is-hero h3 { color: #fff; font-size: 1.6rem; }
.hm-bento-card.is-hero p { color: #a5b4cb; font-size: 1.02rem; max-width: 460px; }
.hm-bento-card.is-hero .feature-icon { background: rgba(251, 191, 36, .15); color: #fbbf24; }
.hm-sync { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.hm-sync-src, .hm-sync-dst span { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: 12px; font-size: .88rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.hm-sync-src { flex-direction: column; padding: 1rem 1.1rem; }
.hm-sync-src i { font-size: 1.6rem; color: #a5b4fc; }
.hm-sync-dst { display: grid; gap: 8px; }
.hm-sync-dst i { color: #34d399; }
.hm-sync-lines { display: grid; gap: 22px; }
.hm-sync-lines i { position: relative; display: block; height: 2px; background: repeating-linear-gradient(90deg, rgba(165, 180, 252, .35) 0 6px, transparent 6px 12px); overflow: hidden; }
.hm-sync-lines i::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 12px #fbbf24; animation: hm-packet 2.4s linear infinite; }
.hm-sync-lines i:nth-child(2)::after { animation-delay: .5s; }
.hm-sync-lines i:nth-child(3)::after { animation-delay: 1s; }
@keyframes hm-packet { from { left: 0; } to { left: calc(100% - 8px); } }
@media (max-width: 1199.98px) { .hm-bento { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .hm-bento { grid-template-columns: 1fr; } .hm-bento-card.is-hero { grid-column: auto; grid-row: auto; } }
@media (min-width: 768px) and (max-width: 1199.98px) { .hm-bento { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pano galerisi ---------- */
.hm-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: -20px 0 36px; }
.hm-filter-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--body); font-weight: 600; font-size: .92rem; transition: all .15s; }
.hm-filter-btn span { font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 99px; background: var(--soft); color: var(--muted); }
.hm-filter-btn:hover { border-color: #c7d2fe; color: var(--ink); }
.hm-filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.hm-filter-btn.is-active span { background: rgba(255, 255, 255, .15); color: #fff; }
.hm-panos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.hm-pano { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s, opacity .25s; }
.hm-pano:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.hm-pano h3 { font-size: 1rem; font-weight: 700; margin: 2px 0 4px; }
.hm-pano p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.hm-pano-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.g-bilgi .hm-pano-icon { background: #eef2ff; color: #4f46e5; }
.g-yasam .hm-pano-icon { background: #ecfdf5; color: #059669; }
.g-medya .hm-pano-icon { background: #fdf4ff; color: #c026d3; }
.g-deger .hm-pano-icon { background: #fef2f2; color: #dc2626; }
.hm-pano.is-hidden { display: none; }
.hm-pano.is-in { animation: hs-in .35s ease both; }

/* ---------- Tasarım (koyu bölüm) ---------- */
.hm-design { background: radial-gradient(800px 400px at 85% 20%, rgba(124, 58, 237, .28), transparent 60%), linear-gradient(180deg, #0b0f2a, #070a1a); color: #a5b4cb; }
.hm-design .section-title { color: #fff; }
.hm-design .section-lead { color: #a5b4cb; }
.check-list-dark b { color: #fff; }
.check-list-dark i { color: #a5b4fc; }
.hm-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-swatch { text-align: center; }
.hm-swatch-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; padding: 9% 9% 18%; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 6%; background: var(--sw-bg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 14px 30px -16px rgba(0, 0, 0, .8); transition: transform .2s; }
.hm-swatch-screen i { border-radius: 4px; background: var(--sw-card); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sw-fg) 10%, transparent); }
.hm-swatch-screen i:first-child { grid-row: span 2; background: linear-gradient(160deg, var(--sw-accent), var(--sw-card) 75%); }
.hm-swatch-screen em { position: absolute; left: 0; right: 0; bottom: 0; height: 11%; border-radius: 0 0 10px 10px; background: var(--sw-hl); }
.hm-swatch:hover .hm-swatch-screen { transform: translateY(-3px) scale(1.03); }
.hm-swatch span { display: block; margin-top: 8px; font-size: .78rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 575.98px) { .hm-palette { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cihazlar ---------- */
.hm-devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.hm-device { padding: 26px 18px; text-align: center; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fafaff); }
.hm-device i { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 1.6rem; color: #fff; background: var(--brand-grad); box-shadow: 0 12px 24px -12px rgba(79, 70, 229, .8); }
.hm-device b { display: block; margin: 14px 0 4px; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.hm-device span { font-size: .86rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 991.98px) { .hm-devices { grid-template-columns: repeat(2, 1fr); } .hm-device:last-child { grid-column: span 2; } }

/* landing.css'teki ikili bölüm küçük ekranda tek sütun */
@media (max-width: 991.98px) {
    .home .split, .home .split-reverse { grid-template-columns: 1fr; gap: 40px; }
}
