/* АЙТЕХ — стилове върху Tailwind (Play CDN) */

:root {
    --ink-950: #061420;
    --ink-900: #0a1f2e;
    --ink-850: #0e2839;
    --ink-800: #123044;
    --teal: #17939b;
    --teal-light: #3fb8be;
    --brass: #c08b2c;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Manrope включва български локализирани форми (и, т, г…) заради lang="bg".
       Изключени са, за да съвпада с макета — махнете реда за българските форми. */
    font-feature-settings: "locl" 0;
}

/* ---------- Фонове ---------- */

/* Мрежа от тънки линии, избледняваща към краищата */
.grid-lines::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 58px 58px;
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 30%, transparent 100%);
    pointer-events: none;
}

/* Меки светлинни петна зад героя */
.glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 380px at 78% 22%, rgba(23, 147, 155, .28), transparent 70%),
        radial-gradient(520px 340px at 8% 78%, rgba(192, 139, 44, .16), transparent 70%);
    pointer-events: none;
}

.dot-grid {
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* ---------- Лаптоп ---------- */

.laptop-base {
    clip-path: polygon(1.5% 0, 98.5% 0, 100% 100%, 0 100%);
}

/* ---------- Диаграми ---------- */

.donut {
    background: conic-gradient(var(--teal) 0 75%, rgba(255, 255, 255, .10) 75% 100%);
}

.donut::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 9999px;
    background: var(--ink-850);
}

/* ---------- Появяване при скрол ---------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Дребни поправки ---------- */

.tabnum {
    font-variant-numeric: tabular-nums;
}

input:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}
