/* Datadog-inspired modern design for Angry Data Scanner */

/* Color Variables - определяют цветовую схему сайта */
:root {
    --primary: #7c3aed; /* Основной фиолетовый цвет */
    --primary-light: #a78bfa; /* Светлый вариант основного цвета */
    --primary-dark: #6d28d9; /* Темный вариант основного цвета */
    --secondary: #0f766e; /* Вторичный цвет (зеленый) */
    --accent: #06b6d4; /* Акцентный цвет (голубой) */
    --surface: #ffffff; /* Цвет поверхности (белый) */
    --background: #f9fafb; /* Цвет фона */
    --text-primary: #111827; /* Основной цвет текста */
    --text-secondary: #6b7280; /* Вторичный цвет текста */
    --border: #e5e7eb; /* Цвет границ */
    --border-light: #f3f4f6; /* Светлый цвет границ */
    --gradient-start: #7c3aed; /* Начало градиента */
    --gradient-end: #06b6d4; /* Конец градиента */
}

/* Reset - сбрасывает стандартные отступы браузера */
* {
    margin: 0; /* Убирает внешние отступы */
    padding: 0; /* Убирает внутренние отступы */
    box-sizing: border-box; /* Включает padding и border в ширину элемента */
}

html {
    scroll-behavior: smooth; /* Плавная прокрутка */
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; /* Семейство шрифтов */
    line-height: 1.7; /* Высота строки */
    color: var(--text-primary); /* Цвет текста */
    background: var(--background); /* Фон тела */
    -webkit-font-smoothing: antialiased; /* Сглаживание шрифтов в WebKit */
    -moz-osx-font-smoothing: grayscale; /* Сглаживание шрифтов в Firefox */
    overflow-x: hidden; /* Запрещает горизонтальную прокрутку */
}

.container {
    max-width: 1200px; /* Максимальная ширина контейнера */
    margin: 0 auto; /* Центрирование */
    padding: 0 24px; /* Внутренние отступы слева и справа */
}
/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1mm;
}

.logo-image-top {
    max-width: 60px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(39%) sepia(56%) saturate(800%) hue-rotate(257deg) brightness(98%) contrast(101%);
    opacity: 1;
    margin-bottom: 8px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #5b21b6;
    opacity: 1;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}





.header-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.header-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header-logo-link:hover {
    transform: scale(1.05);
}

.header-logo-img {
    max-width: 140px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo-link:hover .header-logo-img {
    transform: scale(1.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(18, 18, 19, 0.062);
}

.navbar {
    padding: 0;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: #111827;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #000000;
    opacity: 1;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;/* Шрифт размер "возможности, о программе" */
    color: #111827;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 3px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a {
    font-size: 16px;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--surface) !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.nav-cta:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.nav-cta::after {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    margin-top: 80px;
    padding: 40px 0 40px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f4f8 50%, #e8f1f7 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}



.hero-img {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.hero-image-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111827;
    letter-spacing: -0.5px;
    text-align: center;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.hero-graphic {
    position: relative;
    margin-top: 15px;
    left: 50%;
    transform: translateX(-50%) rotateX(60deg) rotateZ(-15deg) scale(1.5);
    max-width: 900px;
    width: 90%;
    height: auto;
    opacity: 0.65;
    z-index: 1;
    filter: drop-shadow(0 30px 60px rgba(91, 33, 182, 0.2));
    perspective: 1000px;
}

.hero-subtext {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-icon {
    display: none;
}

.btn-primary {
    background: rgba(91, 33, 182, 0.85);
    color: var(--surface);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.3);
}

.btn-primary:hover {
    background: rgba(91, 33, 182, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(91, 33, 182, 0.1);
    color: #5b21b6;
    border: 2px solid rgba(91, 33, 182, 0.85);
}

.btn-secondary:hover {
    background: rgba(91, 33, 182, 0.15);
    color: #5b21b6;
    border-color: #5b21b6;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 120px 0;
    background: var(--background);
    position: relative;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.features-header p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.1);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 14px;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-value {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

        .hero {
        margin-top: 80px;
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .features-header {
        margin-bottom: 60px;
    }

    .features h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 24px;
    }

    .stats-grid {
        gap: 30px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .logo {
        font-size: 16px;
        gap: 8px;
    }

    .logo-img {
        display: none;
    }

    .nav-links {
        gap: 8px;
    }

        .hero {
        margin-top: 80px;
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-subtext {
        font-size: 12px;
    }

    .features {
        padding: 80px 0;
    }

    .features h2 {
        font-size: 24px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .stats {
        padding: 60px 0;
    }

    .stats-grid {
        gap: 20px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .cta-buttons {
        gap: 12px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* File Types Section */
.file-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.file-type {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.file-type:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Data Tables Section */
.data-tables {
    padding: 20px 0 40px 0;
    background: var(--background);
    margin-top: 0;
}

.data-tables:first-of-type {
    padding-top: 140px;
    margin-top: 80px;
}

.data-tables h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-soft);
    letter-spacing: -1px;
}

.table-container {
    margin-bottom: 1rem;
}

.table-container h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    table-layout: fixed;
}

.data-table th,
.data-table td {
    padding: 0.23rem 0.58rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 15.2px;
}

.data-table th:first-child,
.data-table td:first-child {
    width: 40%;
}

.data-table th:last-child,
.data-table td:last-child {
    width: 60%;
}

.data-table th {
    background: var(--accent-soft);
    color: var(--surface);
    font-weight: 600;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: #f8fafc;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
    padding: 50px 0;
    background: var(--surface);
    position: relative;
}

.download-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.download-section > .container > p {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.download-card {
    background: var(--background);
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: #5b21b6;
    box-shadow: 0 12px 24px rgba(91, 33, 182, 0.1);
    transform: translateY(-8px);
}

.download-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-link {
    display: inline-block;
    padding: 14px 18px;
    background: transparent;
    color: #5b21b6;
    border: 1px solid rgba(91, 33, 182, 0.4);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-link:hover {
    background: rgba(91, 33, 182, 0.2);
    border-color: #5b21b6;
    color: #4c1d95;
}

.requirements-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--surface);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    padding: 50px 0;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer a {
    color: #5b21b6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #4c1d95;
}