/* --- ИСПОЛЬЗУЕМ ТОТ ЖЕ CSS, ЧТО И В SALES BOT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Sora:wght@400;600;700&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --bg-dark: #0a0a0f;
    --primary-purple: #9d00ff;
    --primary-cyan: #00d2ff;
    --primary-gold: #00d2ff;
    --text-main: #e0e0e0;
    --text-muted: #8a8a9b;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --border-light: rgba(255, 255, 255, 0.08);
    --code-bg: #0d1117;
}

body {
    margin: 0;
    background-color: #000000;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: 'Sora', sans-serif; color: #fff; }

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    padding-left: 15px;
    border-left: 4px solid var(--primary-cyan);
    display: flex; align-items: center; gap: 15px;
}

h3 {
    font-size: 1.4rem;
    color: var(--primary-cyan);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

strong { color: #fff; font-weight: 600; }

/* HERO */
.hero {
    padding: 4.5rem 0 4rem 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 3rem;
    text-align: center;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.hero-back-row {
    display: flex;
    justify-content: flex-start;
    margin: 1.75rem 0 2rem 0;
}
.back-btn {
    margin-bottom: 1.5rem;
}
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 1rem auto; }

/* CONTENT BLOCKS */
.content-block {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* LISTS & ICONS */
ul { padding-left: 0; list-style: none; }
ul li { position: relative; padding-left: 2rem; margin-bottom: 0.8rem; }

/* Шеврон */
ul li::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 16px; height: 16px;
    background-color: var(--primary-purple);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    mask-size: contain; mask-repeat: no-repeat;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
}

/* SVG ICONS (Векторные) */
.ico {
    display: inline-block; width: 1em; height: 1em;
    background-color: currentColor;
    mask-repeat: no-repeat; mask-position: center; mask-size: contain;
    -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain;
}
.ico-doc { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E"); }
.ico-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); }
.ico-stack { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'%3E%3C/polyline%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'%3E%3C/polyline%3E%3C/svg%3E"); }
.ico-arch { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'%3E%3C/polygon%3E%3Cpolyline points='2 17 12 22 22 17'%3E%3C/polyline%3E%3Cpolyline points='2 12 12 17 22 12'%3E%3C/polyline%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'%3E%3C/polygon%3E%3Cpolyline points='2 17 12 22 22 17'%3E%3C/polyline%3E%3Cpolyline points='2 12 12 17 22 12'%3E%3C/polyline%3E%3C/svg%3E"); }
.ico-brain { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v2a5 5 0 0 0 10 0V7a5 5 0 0 0-5-5z'%3E%3C/path%3E%3Cpath d='M12 14a5 5 0 0 0-5 5v2a5 5 0 0 0 10 0v-2a5 5 0 0 0-5-5z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='14'%3E%3C/line%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v2a5 5 0 0 0 10 0V7a5 5 0 0 0-5-5z'%3E%3C/path%3E%3Cpath d='M12 14a5 5 0 0 0-5 5v2a5 5 0 0 0 10 0v-2a5 5 0 0 0-5-5z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='14'%3E%3C/line%3E%3C/svg%3E"); }
.ico-chart { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='20' x2='12' y2='10'%3E%3C/line%3E%3Cline x1='18' y1='20' x2='18' y2='4'%3E%3C/line%3E%3Cline x1='6' y1='20' x2='6' y2='16'%3E%3C/line%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='20' x2='12' y2='10'%3E%3C/line%3E%3Cline x1='18' y1='20' x2='18' y2='4'%3E%3C/line%3E%3Cline x1='6' y1='20' x2='6' y2='16'%3E%3C/line%3E%3C/svg%3E"); }
.ico-lock { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); }
.ico-check { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); }

/* GRID LAYOUT (ТЕКСТ + ТЕЛЕФОН) */
.intro-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; margin-bottom: 4rem;
}
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; } }

.phone-frame {
    width: 300px; height: 600px; background: #000; border-radius: 40px;
    border: 8px solid #333; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative; margin: 0 auto;
}
.phone-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #1a1a2e;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* CODE & TECH */
.code-box {
    background: var(--code-bg); border: 1px solid var(--border-light); border-radius: 8px;
    padding: 1.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem;
    white-space: pre-wrap; line-height: 1.5; overflow-x: auto;
    word-break: break-all;
}
.code-folder { color: #79c0ff; font-weight: bold; }
.code-comment { color: #8b949e; font-style: italic; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.tech-item { background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 6px; border: 1px solid var(--border-light); }
.tech-val { color: var(--primary-cyan); font-weight: 600; }

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050508;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background-image:
        linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}
.video-placeholder-content {
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.placeholder-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary-cyan);
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.placeholder-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* AWARDS GRID - Результаты в цифрах */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.award-card {
    position: relative;
    padding: 1.8rem 1.6rem 1.9rem;
    border-radius: 1.9rem;
    border: 1px solid var(--border-light);
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 55%),
        rgba(21, 21, 33, 0.8);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out,
        background 0.25s ease-out;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 25% 0%, rgba(138, 43, 226, 0.7) 0%, transparent 60%);
    opacity: 0.55;
    transform: scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.award-card .sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.award-card .spark {
    position: absolute;
    background: #ffffff;
    width: 2px;
    height: 8px;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: twinkle 3s infinite ease-in-out;
}

.award-card .spark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(45deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(90deg);
    }
}

.award-card .spark.s1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.award-card .spark.s2 {
    top: 70%;
    left: 80%;
    animation-delay: 1.5s;
}

.award-card .spark.s3 {
    top: 30%;
    left: 70%;
    transform: scale(0.6);
    animation-delay: 2.5s;
}

.award-card__visual,
.award-card p {
    position: relative;
    z-index: 2;
}

.award-card__number {
    font-size: clamp(2.7rem, 4vw, 3.4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.award-card__visual {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.award-card__number-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.award-card__suffix {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-cyan), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.award-card p {
    margin: 0.3rem 0 0;
    font-size: 0.95rem;
    color: #f9fafb;
    line-height: 1.4;
}

.award-card p.award-card__desc {
    margin-top: 0.8rem;
    font-size: 0.88rem;
    color: rgba(249, 250, 251, 0.75);
    opacity: 1;
    max-height: none;
}

.award-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(138, 43, 226, 0.88);
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.32), transparent 55%),
        rgba(24, 24, 41, 0.9);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9);
}

.award-card:hover::before {
    opacity: 1;
    transform: scale(1.04);
}

.award-card:hover .award-card__number {
    text-shadow: 0 0 22px rgba(129, 140, 248, 0.9);
}

.award-card.is-active .award-card__ring-progress {
    animation: awardRingFill 1.2s ease-out forwards;
}

@keyframes awardRingFill {
    to {
        stroke-dashoffset: calc(301 * (1 - var(--ring-value, 1)));
    }
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* SLIDER STYLES */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: var(--glass-bg);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.slider-slide img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid var(--border-light);
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(157, 0, 255, 0.8);
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-cyan);
    transform: scale(1.3);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Mobile H1 fix */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 1.85rem !important;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.6rem !important;
    }
}
