:root {
            --primary-color: #2c8bf7; /* Цвет amoCRM/Tech */
            --primary-dark: #1a73e8;
            --secondary-color: #2d3e50; /* Темный цвет текста */
            --accent-color: #7ab800; /* Цвет iDent */
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --text-color: #333;
            --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-main);
            color: var(--text-color);
            line-height: 1.6;
            background-color: var(--white);
            overflow-x: hidden;
        }

        /* Utility classes */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            display: inline-block;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(44, 139, 247, 0.3);
        }

        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .section-title {
            text-align: center;
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }

        .section-subtitle {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 50px;
            color: #666;
            font-size: 18px;
        }

        /* Header */
        header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            /* color: var(--secondary-color); */
            text-decoration: none;
            z-index: 1001;
        }
        
        /* .logo span {
            color: var(--primary-color);
        } */

        .dental-text1 {
            color: #379bd6;
        }

        .dental-text2 {
            color: #6fbb5c;
        }

        /* Desktop Nav */
        .nav-menu {
            display: flex;
            list-style: none;
            align-items: center;
        }

        .nav-menu li {
            margin-left: 30px;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--secondary-color);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-menu a:hover {
            color: var(--primary-color);
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            z-index: 1001;
        }

        .bar {
            width: 25px;
            height: 3px;
            background-color: var(--secondary-color);
            margin: 3px 0;
            transition: 0.4s;
        }

        /* Hero Section */
        .hero {
            padding: 140px 0 80px;
            background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 300px;
            height: 300px;
            background: rgba(44, 139, 247, 0.05);
            border-radius: 50%;
            z-index: 0;
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: var(--secondary-color);
            position: relative;
            z-index: 1;
        }

        .hero p {
            font-size: 20px;
            color: #555;
            max-width: 700px;
            margin: 0 auto 40px;
            position: relative;
            z-index: 1;
        }

        .hero-diagram {
            margin-top: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            font-weight: bold;
            color: #888;
        }

        .diagram-box {
            background: white;
            padding: 15px 30px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            border: 1px solid #eee;
        }

        /* Sections */
        section {
            padding: 80px 0;
        }

        /* Problems */
        .problems {
            background-color: var(--white);
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .card {
            background: var(--light-bg);
            padding: 30px;
            border-radius: 12px;
            border-top: 5px solid var(--primary-color);
            box-shadow: var(--shadow);
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card h3 {
            margin-bottom: 15px;
            color: var(--secondary-color);
            font-size: 22px;
        }

        /* Solution */
        .solution {
            background-color: var(--secondary-color);
            color: var(--white);
        }
        
        .solution .section-title, 
        .solution .section-subtitle {
            color: var(--white);
        }

        .solution-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 40px;
        }

        .solution-item {
            background: rgba(255,255,255,0.1);
            padding: 35px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .solution-item h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 24px;
        }

        /* DIY Setup Section (NEW) */
        .diy-setup {
            background-color: #eef6ff;
            border-bottom: 1px solid #e1e8ed;
        }

        .diy-container {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 50px;
            align-items: center;
        }

        .diy-content h3 {
            font-size: 28px;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }

        .diy-content p {
            margin-bottom: 20px;
            font-size: 17px;
        }

        .feature-list {
            list-style: none;
            margin: 20px 0;
        }

        .feature-list li {
            margin-bottom: 12px;
            padding-left: 30px;
            position: relative;
        }

        .feature-list li::before {
            content: '⚙️';
            position: absolute;
            left: 0;
            top: 2px;
        }

        .tech-badge {
            display: inline-block;
            background: #dfe6ed;
            color: #4a5a6a;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            margin-right: 5px;
            margin-bottom: 5px;
        }

        .terminal-window {
            background: #1e1e1e;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            overflow: hidden;
            font-family: 'Consolas', monospace;
            font-size: 14px;
        }

        .terminal-header {
            background: #2d2d2d;
            padding: 10px 15px;
            display: flex;
            gap: 6px;
        }

        .dot { width: 12px; height: 12px; border-radius: 50%; }
        .red { background: #ff5f56; }
        .yellow { background: #ffbd2e; }
        .green { background: #27c93f; }

        .terminal-body {
            padding: 20px;
            color: #d4d4d4;
        }

        .cmd { color: #fff; }
        .success { color: #4ec9b0; }
        .param { color: #ce9178; }

        /* Tech Specs */
        .tech {
            background-color: var(--white);
        }

        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .tech-card {
            padding: 20px;
            border: 1px solid #eee;
            border-radius: 8px;
            text-align: center;
        }
        
        .tech-card h4 { margin-top: 10px; color: var(--secondary-color); }

        /* Roadmap */
        .roadmap {
            background: var(--light-bg);
        }

        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        .timeline-item {
            padding: 25px 0;
            border-bottom: 1px solid #e0e0e0;
            position: relative;
        }

        .timeline-item:last-child {
            border-bottom: none;
        }

        .stage-badge {
            background: var(--accent-color);
            color: white;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 13px;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .days {
            float: right;
            font-weight: bold;
            color: var(--primary-color);
            background: #fff;
            padding: 5px 10px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        /* Footer */
        footer {
            background: #1a252f;
            color: #aeb5bc;
            padding: 60px 0 20px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h4 {
            color: var(--white);
            margin-bottom: 20px;
            font-size: 18px;
        }

        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 12px; }
        
        .footer-col a {
            color: #aeb5bc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-col a:hover { color: var(--white); }

        .copyright {
            text-align: center;
            border-top: 1px solid #34495e;
            padding-top: 20px;
            font-size: 14px;
        }

        /* Mobile Adaptiveness */
        @media (max-width: 992px) {
            .diy-container {
                grid-template-columns: 1fr;
            }
            .terminal-window {
                margin-top: 30px;
            }
        }

        @media (max-width: 768px) {
            /* Nav Mobile */
            .menu-toggle { display: flex; }
            
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background-color: var(--white);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 10px rgba(0,0,0,0.1);
                padding: 20px 0;
                align-items: center;
            }

            .nav-menu.active { left: 0; }
            .nav-menu li { margin: 15px 0; }
            .btn-header { display: none; } /* Скрываем кнопку в хедере на мобильном, если нужно */

            /* Hero */
            .hero h1 { font-size: 32px; padding: 0 10px; }
            .hero p { padding: 0 15px; }

            /* Grids */
            .solution-grid { grid-template-columns: 1fr; }
            
            .days { 
                float: none; 
                display: block; 
                margin-top: 10px; 
                width: fit-content; 
            }
        }

        /* Стили для карусели скриншотов */
.screenshots {
    background-color: var(--light-bg);
}

.screenshot-slider {
    width: 100%;
    max-width: 1000px; /* Ограничиваем общую ширину карусели */
    height: 700px; /* Фиксированная высота блока, чтобы картинки не прыгали */
    padding: 20px 0 50px 0 !important; /* Отступ снизу для точек пагинации */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%; /* Картинка не выйдет за пределы высоты .screenshot-slider */
    width: auto; /* Не дает растягиваться по ширине, если картинка маленькая */
    height: auto;
    object-fit: contain; /* Сохраняет пропорции без обрезки */
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Настройка цветов под ваш макет */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .screenshot-slider {
        height: 300px; /* Уменьшаем высоту на мобильных */
    }
    
    /* Скрываем стрелки на мобилках, оставляем только свайп и точки */
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}

/* Стили для юридических страниц (Policy/License) */
.legal-page {
    padding: 120px 0 80px; /* Отступ сверху, чтобы хедер не перекрывал заголовок */
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.legal-container h1 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 32px;
    text-align: center;
}

.legal-container h2 {
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 22px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.legal-container p, .legal-container li {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.legal-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.requisites-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border: 1px solid #eee;
}

.requisites-table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    font-size: 14px;
}

.req-label {
    background-color: #f8f9fa;
    font-weight: bold;
    width: 30%;
    color: var(--secondary-color);
}

.notice-box {
    background: #eef6ff;
    border: 1px solid #d0e3ff;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    font-style: italic;
}

.info-box {
  /* Центрирование самого блока (если нужно по центру страницы) */
  margin: 20px auto;
  max-width: 600px;
  
  /* Центрирование текста внутри */
  text-align: center;
  
  /* Отступы и рамка */
  padding: 15px 25px;
  border: 1px solid #d1d5db; /* Светло-серая обводка */
  border-radius: 8px;        /* Закругление углов */
  
  /* Стили текста */
  color: #6b7280;            /* Приглушенный серый цвет */
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.5;
  
  /* Фоновый цвет (опционально, для мягкости) */
  background-color: #f9fafb;
}

@media (max-width: 768px) {
    .legal-container { padding: 25px; margin: 0 15px; }
    .requisites-table, .requisites-table tbody, .requisites-table tr, .requisites-table td {
        display: block;
        width: 100%;
    }
    .req-label { background: #eee; }
}