/* ==========================================================================
   BANBOSH — sdílený design systém (podstránky)
   Drží stejnou identitu jako index.html: #00ff88 / dark / Space Grotesk
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #00ff88;
    --secondary: #00d4ff;
    --accent: #7c3aed;
    --dark: #060608;
    --surface: #0c0c10;
    --surface2: #131318;
    --border: rgba(255,255,255,0.06);
    --border-2: rgba(255,255,255,0.12);
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.5);
    --text-dim: rgba(255,255,255,0.3);
    --radius: 18px;
    --maxw: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* obsah nad částicovým pozadím (#bgParticles je z-index:0) */
#site-footer, main { position: relative; z-index: 1; }
/* hlavička musí být NAD <main> i částicemi, jinak main překryje fixní nav a chytá kliknutí */
#site-header { position: relative; z-index: 1000; }

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    z-index: 1100;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    box-shadow: 0 0 12px rgba(0,255,136,0.5);
    transition: width 0.1s linear; pointer-events: none;
}

/* === NAVIGACE === */
.nav {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 72px; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background: rgba(6,6,8,0.82);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.nav-logo img { height: 38px; width: auto; object-fit: contain; border-radius: 4px; }
.nav-center { display: flex; gap: 34px; }
.nav-center a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em;
    transition: color 0.25s; position: relative;
}
.nav-center a:hover, .nav-center a.active { color: var(--text); }
.nav-center a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--primary); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 14px; position: relative; }

.lang-btn {
    background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.38); color: var(--primary);
    padding: 8px 15px; border-radius: 100px; cursor: pointer;
    font-family: inherit; font-size: 0.82rem; font-weight: 700;
    display: flex; align-items: center; gap: 8px; transition: all 0.25s;
    box-shadow: 0 0 0 0 rgba(0,255,136,0.35);
}
.lang-btn:hover { border-color: var(--primary); background: rgba(0,255,136,0.16); color: var(--primary); box-shadow: 0 0 16px -2px rgba(0,255,136,0.45); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 12px; padding: 6px; display: none; min-width: 150px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.lang-dropdown.active { display: block; animation: fadeDown 0.2s ease; }
.lang-option {
    padding: 9px 14px; cursor: pointer; border-radius: 8px;
    font-size: 0.85rem; color: var(--text-muted); transition: all 0.15s;
}
.lang-option:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.lang-option.active { color: var(--primary); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-muted); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
    display: none; position: fixed; top: 72px; left: 0; width: 100%;
    background: rgba(6,6,8,0.98); backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border); padding: 18px 24px 28px; z-index: 999;
    animation: slideDown 0.3s ease;
}
.mobile-nav.active { display: block; }
.mobile-nav a {
    display: block; color: var(--text-muted); text-decoration: none;
    padding: 14px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }

@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* === TLAČÍTKA === */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; text-decoration: none; font-weight: 600;
    font-size: 0.95rem; border-radius: 14px; cursor: pointer;
    font-family: inherit; border: 1px solid transparent;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn-primary { background: var(--primary); color: var(--dark); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(0,255,136,0.28); }
.btn-secondary { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(0,255,136,0.05); }
.btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }
.magnetic { will-change: transform; }

/* === SEKCE / TYPOGRAFIE === */
.section { padding: 110px 0; position: relative; }
.section-label {
    font-size: 0.75rem; color: var(--primary); text-transform: uppercase;
    letter-spacing: 0.15em; font-weight: 600; margin-bottom: 16px; display: block;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700;
    letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 18px;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; max-width: 620px; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: heroFlow 8s ease infinite;
}
@keyframes heroFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.divider { height: 1px; background: var(--border); }

/* === SUBPAGE HERO === */
.subhero {
    position: relative; padding: 160px 0 80px; overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.subhero::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(900px 400px at 15% 0%, rgba(0,255,136,0.10), transparent 60%),
        radial-gradient(800px 400px at 85% 20%, rgba(0,212,255,0.08), transparent 60%);
}
.subhero .container { position: relative; z-index: 1; }
.subhero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700;
    letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 22px; max-width: 16ch;
}
.subhero p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; max-width: 620px; }
.subhero .crumb {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
    font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
    border: 1px solid var(--border); padding: 7px 16px; border-radius: 100px;
}
.subhero .crumb .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 8px var(--primary); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* === GLASS KARTY === */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.glass {
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
    border: 1px solid var(--border);
    border-radius: 20px; padding: 32px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    position: relative; overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s, box-shadow 0.4s;
}
.glass::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(circle at 50% -10%, rgba(0,255,136,0.08), transparent 65%);
}
.glass:hover { transform: translateY(-6px); border-color: rgba(0,255,136,0.28); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.glass:hover::after { opacity: 1; }

.card-ico {
    width: 56px; height: 56px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(0,255,136,0.18), rgba(0,212,255,0.14));
    border: 1px solid rgba(0,255,136,0.2); margin-bottom: 20px;
}
.card-ico svg { width: 26px; height: 26px; }
.glass h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.glass p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.badge {
    display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--secondary);
    background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25);
    padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.link-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: gap 0.3s;
}
.link-cta svg { width: 15px; height: 15px; }
.glass:hover .link-cta { gap: 14px; }

/* === PROCES TIMELINE === */
.timeline { position: relative; margin-top: 50px; }
.timeline-step {
    display: grid; grid-template-columns: 90px 1fr; gap: 28px; align-items: start;
    padding: 0 0 50px; position: relative;
}
.timeline-step::before {
    content: ''; position: absolute; left: 44px; top: 60px; bottom: -10px; width: 2px;
    background: linear-gradient(var(--primary), transparent); opacity: 0.35;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:last-child::before { display: none; }
.timeline-num {
    width: 88px; height: 88px; border-radius: 22px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700;
    background: var(--surface); border: 1px solid var(--border-2); color: var(--primary);
}
.timeline-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; margin-bottom: 10px; }
.timeline-body p { color: var(--text-muted); line-height: 1.7; max-width: 640px; }
.timeline-body ul { margin-top: 14px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.timeline-body li { color: var(--text-muted); font-size: 0.92rem; padding-left: 26px; position: relative; }
.timeline-body li::before {
    content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
    border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

/* === METRIKY === */
.metrics { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; }
.metric { text-align: center; }
.metric-value {
    font-family: 'Space Grotesk', sans-serif; font-size: 3.2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1; margin-bottom: 8px;
}
.metric-label { font-size: 0.85rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* === CINEMATIC PLACEHOLDER (pro vizuály dodané později) === */
.cinematic {
    position: relative; width: 100%; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--border-2); aspect-ratio: 16 / 10;
    background:
        radial-gradient(120% 80% at 20% 0%, rgba(0,255,136,0.14), transparent 55%),
        radial-gradient(120% 90% at 90% 100%, rgba(124,58,237,0.18), transparent 55%),
        linear-gradient(150deg, #0a0f15, #0d0d12 60%, #0a0a0e);
}
.cinematic[data-img] { background-image: var(--bg); background-size: cover; background-position: center; }
.cinematic::after {
    content: attr(data-label); position: absolute; left: 18px; bottom: 16px;
    font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-dim);
}
.cinematic .scanline {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background: repeating-linear-gradient(transparent 0 3px, rgba(255,255,255,0.015) 3px 4px);
}
.cinematic .glow-orb {
    position: absolute; width: 46%; height: 46%; border-radius: 50%; filter: blur(50px);
    background: radial-gradient(circle, rgba(0,255,136,0.4), transparent 70%);
    top: 18%; left: 12%; animation: orbFloat 9s ease-in-out infinite;
}
@keyframes orbFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40%, 30%); } }

/* === FORMULÁŘ === */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; background: var(--surface2);
    border: 1px solid rgba(0,255,136,0.25); border-radius: 12px; color: var(--text);
    font-family: inherit; font-size: 0.95rem; outline: none; resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,255,136,0.15);
}
.form-group select { appearance: none; cursor: pointer; padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300ff88' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; }
.form-group select option { background: #111116; color: #fff; }
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
.form-consent label { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; cursor: pointer; }
.form-consent a { color: var(--primary); text-decoration: none; }

/* === FOOTER === */
.footer {
    padding: 44px 40px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--text-muted); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.25s; display: inline-flex; }
.footer-social a:hover { color: var(--primary); }
.footer-social svg { width: 20px; height: 20px; }
.footer-copy { color: var(--text-dim); font-size: 0.8rem; }

/* === BROWSER MOCKUP (ukázky webů) === */
.browser-mock {
    display: block; text-decoration: none; color: inherit;
    border: 1px solid var(--border-2); border-radius: 16px; overflow: hidden;
    background: #0e0e12; box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s, border-color 0.4s;
}
.browser-mock:hover { transform: translateY(-6px); border-color: rgba(0,255,136,0.3); box-shadow: 0 30px 70px rgba(0,0,0,0.55); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.browser-bar i:nth-child(1) { background: #ff5f56; } .browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #27c93f; }
.browser-url { margin-left: 8px; flex: 1; display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-family: monospace; font-size: 12px; color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-url svg { width: 12px; height: 12px; opacity: 0.6; flex-shrink: 0; color: var(--primary); }
.browser-view { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #0a0a0e; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; transition: object-position 5.5s ease; }
.browser-mock:hover .browser-view img { object-position: 50% 100%; }
.browser-open {
    position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
    background: rgba(6,6,8,0.82); border: 1px solid rgba(0,255,136,0.4); color: var(--primary);
    font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px;
    backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s;
}
.browser-open svg { width: 13px; height: 13px; }
.browser-mock:hover .browser-open { opacity: 1; }

/* === YOUTUBE LITE-EMBED (facade) === */
.yt-facade {
    position: relative; display: block; border-radius: 16px; overflow: hidden;
    aspect-ratio: 16 / 9; background: #0a0a0e; border: 1px solid var(--border-2); cursor: pointer;
}
.yt-facade .yt-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.3s; }
.yt-facade:hover .yt-thumb { transform: scale(1.04); filter: brightness(0.82); }
.yt-facade .yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.yt-facade .yt-play span {
    width: 72px; height: 72px; border-radius: 50%; background: rgba(0,255,136,0.92);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0,255,136,0.4);
    transition: transform 0.3s;
}
.yt-facade:hover .yt-play span { transform: scale(1.12); }
.yt-facade .yt-play svg { width: 28px; height: 28px; color: #060608; margin-left: 4px; }
.yt-facade .yt-title {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75)); font-size: 14px; font-weight: 600; pointer-events: none;
}
.yt-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-facade.no-id { cursor: default; }
.yt-placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: radial-gradient(circle at 50% 35%, rgba(0,255,136,0.1), transparent 60%), linear-gradient(160deg, #0c1016, #0a0a0e);
    color: var(--text-dim); font-size: 13px; text-align: center; padding: 20px;
}
.yt-placeholder .yt-ph-ico { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(0,255,136,0.3); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.yt-placeholder .yt-ph-ico svg { width: 26px; height: 26px; margin-left: 3px; }

/* === PRÉMIOVÉ DEVICE MOCKUPY (kovové viditelné rámečky) === */
.device-stage {
    position: relative; perspective: 1500px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: inherit;
}
.device-stage::before {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
    width: 86%; height: 80%; left: 7%; top: 9%;
    background: radial-gradient(circle, rgba(0,255,136,0.32), rgba(0,212,255,0.12) 45%, transparent 70%);
    filter: blur(72px); opacity: 0.7; transition: opacity 0.5s;
}
.device-stage:hover::before { opacity: 1; }
.device {
    position: relative; z-index: 1; width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
    will-change: transform;
}
.device-glass {
    position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 4;
    background: linear-gradient(125deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.06) 16%, transparent 40%);
    mix-blend-mode: screen;
}

/* kovový rámeček — viditelný i na tmavém pozadí (světlý lem + glow ring + stín) */
.tablet, .phone {
    background: linear-gradient(150deg, #4b4e57 0%, #21242b 42%, #3b3f48 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.24),
        inset 0 0 0 1px rgba(255,255,255,0.07),
        0 0 0 1px rgba(255,255,255,0.12),
        0 40px 80px -22px rgba(0,0,0,0.92),
        0 0 80px -8px rgba(0,255,136,0.36);
}

/* --- TABLET (na šířku) --- */
.tablet { padding: 14px; border-radius: 26px; position: relative; }
.tablet .t-screen { position: relative; border-radius: 13px; overflow: hidden; background: #0a0a0e; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.7); }
.tablet .t-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0e; }
.tablet .t-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.tablet .t-cam { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: #06070a; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); z-index: 6; }

/* --- TELEFON --- */
.phone { width: 256px; max-width: 82%; margin: 0 auto; padding: 11px; border-radius: 44px; position: relative; }
.phone .ph-screen { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 33px; background: #0a0a0e; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.7); }
.phone .ph-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.phone .ph-notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 32%; height: 16px; background: #06070a; border-radius: 0 0 12px 12px; z-index: 6; }
.phone::before, .phone::after { content: ''; position: absolute; right: -2px; width: 3px; border-radius: 0 2px 2px 0; background: linear-gradient(#5a5e68, #2a2d34); }
.phone::before { top: 96px; height: 32px; }
.phone::after { top: 138px; height: 52px; }

/* cinematic placeholder uvnitř zařízení vyplní displej */
.t-shot .cinematic, .ph-screen .cinematic {
    position: absolute; inset: 0; width: 100%; height: 100%;
    aspect-ratio: auto; border: none; border-radius: 0;
}
.t-shot .browser-open { z-index: 5; }
.device-stage:hover .browser-open { opacity: 1; }

@media (max-width: 768px) {
    .phone { width: 210px; max-width: 76%; }
    .device-stage::before { filter: blur(54px); }
}

/* === REFERENCE KARTA (živá appka) === */
.ref-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch; }
.ref-card .ref-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.ref-card .ref-visual { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.ref-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gplay-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border-2); text-decoration: none; color: var(--text);
    transition: all 0.3s;
}
.gplay-badge:hover { background: rgba(255,255,255,0.1); border-color: rgba(0,255,136,0.3); transform: translateY(-2px); }
.gplay-badge svg { width: 22px; height: 22px; }
.gplay-badge .gp-txt { display: flex; flex-direction: column; line-height: 1.15; }
.gplay-badge .gp-sub { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.gplay-badge .gp-name { font-size: 0.9rem; font-weight: 600; }
@media (max-width: 768px) {
    .ref-card { grid-template-columns: 1fr; }
    .ref-card .ref-visual { min-height: 200px; order: -1; }
}

/* === VIDEO SMYČKA APPKY (lehká, lazy, autoplay v viewportu) === */
.app-loop-wrap { margin-top: 20px; }
.app-loop {
    display: block; width: 100%; max-width: 320px; aspect-ratio: 16 / 9;
    border-radius: 14px; object-fit: cover; background: #0a0a0e;
    border: 1px solid var(--border-2);
    box-shadow: 0 16px 40px -16px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,255,136,0.12);
}
.app-loop-cap { font-size: 0.72rem; color: var(--text-dim); margin-top: 8px; letter-spacing: 0.04em; }

/* === NOVINKY — původní vzhled (featured + filtry + auto-fill grid) === */
.page-hero { padding: 140px 24px 52px; text-align: center; max-width: 720px; margin: 0 auto; }
.page-hero .page-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 18px; }
.page-hero .page-label::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; display: inline-block; box-shadow: 0 0 8px var(--primary); }
.page-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 24px 48px; }
.filter-btn { padding: 8px 20px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.25s; text-transform: uppercase; letter-spacing: 0.06em; font-family: inherit; }
.filter-btn:hover, .filter-btn.active { border-color: rgba(0,255,136,0.4); color: var(--primary); background: rgba(0,255,136,0.06); }

.news-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px 100px; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.news-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-6px); border-color: rgba(0,255,136,0.25); box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.news-card.featured { grid-column: 1 / -1; flex-direction: row; }
.news-card.featured .card-img { width: 45%; flex-shrink: 0; height: auto; min-height: 280px; }
.news-card.featured .card-body { padding: 40px; }
.news-card.featured .card-title { font-size: 1.7rem; }
.news-card.featured .card-desc { font-size: 1rem; -webkit-line-clamp: 4; }
.card-img { height: 200px; overflow: hidden; position: relative; background: #0c0c12; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.news-card:hover .card-img img { transform: scale(1.05); }
.badge-new { position: absolute; top: 14px; right: 14px; background: var(--primary); color: #060608; font-size: 10px; font-weight: 800; padding: 4px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.08em; display: flex; align-items: center; gap: 5px; box-shadow: 0 0 12px rgba(0,255,136,0.5); }
.badge-new::before { content: ''; width: 5px; height: 5px; background: #060608; border-radius: 50%; display: inline-block; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.card-tag-icon { display: inline-flex; align-items: center; color: var(--primary); }
.card-tag-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 100px; background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2); color: var(--primary); }
.card-date { font-size: 11px; color: var(--text-muted); margin-left: auto; display: flex; align-items: center; gap: 5px; }
.card-date::before { content: ''; width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }
.card-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-read { margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.card-read::after { content: '→'; transition: transform 0.2s; }
.news-card:hover .card-read::after { transform: translateX(4px); }
.no-articles { text-align: center; padding: 80px 24px; color: var(--text-muted); grid-column: 1 / -1; }
@media (max-width: 768px) {
    .news-card.featured { flex-direction: column; }
    .news-card.featured .card-img { width: 100%; height: 220px; min-height: 0; }
    .news-card.featured .card-body { padding: 24px; }
    .news-card.featured .card-title { font-size: 1.3rem; }
    .news-grid { grid-template-columns: 1fr; gap: 20px; }
    .page-hero { padding-top: 120px; }
}

/* === SCROLL REVEAL === */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONZIVITA === */
@media (max-width: 1024px) {
    .nav { padding: 0 24px; }
    .container { padding: 0 24px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 80px 0; }
}
@media (max-width: 768px) {
    .nav { padding: 0 18px; height: 64px; }
    .nav-center { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-nav { top: 64px; }
    .subhero { padding: 130px 0 60px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .metrics { gap: 36px; }
    .footer { padding: 34px 20px; flex-direction: column; text-align: center; }
    .timeline-step { grid-template-columns: 64px 1fr; gap: 18px; }
    .timeline-num { width: 62px; height: 62px; font-size: 1.5rem; border-radius: 16px; }
    .timeline-step::before { left: 31px; top: 44px; }
}
@media (max-width: 440px) {
    .container { padding: 0 16px; }
    .subhero h1 { font-size: 2rem; }
    .glass { padding: 24px; }
    .metric-value { font-size: 2.4rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; justify-content: center; }
}

/* === REDUKOVANÝ POHYB === */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .gradient-text { animation: none !important; }
    .cinematic .glow-orb { animation: none !important; }
}
