@charset "utf-8";
/* CSS Document */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #20978a;
            --secondary-color: #00859d;
            --accent-color: #d92c29;
            --highlight-color: #f2bf0c;
            --border-color: rgba(255, 255, 255, 0.1);
            --service-bg: rgba(32, 151, 138, 0.15);
            --animation-duration: 0.4s;
            --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --discount-color: #27ae60;
            --text-color: #ffffff;
            --bg-dark: #0a0a14;
            --card-bg: rgba(10, 10, 20, 0.8);
        }

        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            margin: 0;
            padding: 0;
            line-height: 1.6;
            background: var(--bg-dark);
            color: var(--text-color);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        /* Неоновый фон */
        .shapes-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            perspective: 1000px;
        }

        .shape {
            position: absolute;
            opacity: 0.85;
            animation: float 15s infinite ease-in-out;
            filter: blur(1px);
            transform-style: preserve-3d;
        }

        .shape-1 {
            top: 5%;
            left: 5%;
            width: 450px;
            height: 450px;
            background: linear-gradient(135deg, #1a1a2e 0%, #0a0a14 70%);
            clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.5),
                       inset 0 0 30px rgba(0, 255, 255, 0.15);
            animation-delay: 0s;
            z-index: 4;
        }

        .shape-2 {
            top: 50%;
            right: 5%;
            width: 500px;
            height: 500px;
            background: linear-gradient(225deg, #16213e 0%, #0a0a14 70%);
            clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
            box-shadow: 0 0 35px rgba(255, 0, 255, 0.5),
                       inset 0 0 30px rgba(255, 0, 255, 0.15);
            animation-delay: -5s;
            z-index: 3;
        }

        .shape-3 {
            bottom: 10%;
            left: 15%;
            width: 400px;
            height: 400px;
            background: linear-gradient(45deg, #1e1e2e 0%, #0a0a14 70%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 70%);
            box-shadow: 0 0 28px rgba(0, 200, 255, 0.5),
                       inset 0 0 25px rgba(0, 200, 255, 0.15);
            animation-delay: -10s;
            z-index: 2;
        }

        .shape-4 {
            top: 15%;
            right: 20%;
            width: 380px;
            height: 380px;
            background: linear-gradient(315deg, #1c1c28 0%, #0a0a14 70%);
            clip-path: polygon(0 30%, 30% 0, 100% 0, 100% 100%, 0 100%);
            box-shadow: 0 0 32px rgba(255, 50, 50, 0.5),
                       inset 0 0 28px rgba(255, 50, 50, 0.15);
            animation-delay: -7s;
            z-index: 5;
        }

        .shape-5 {
            top: 30%;
            left: 25%;
            width: 420px;
            height: 420px;
            background: linear-gradient(170deg, #1c1c3e 0%, #0a0a24 70%);
            clip-path: polygon(0 40%, 40% 0, 100% 20%, 80% 100%, 20% 100%);
            box-shadow: 0 0 35px rgba(50, 255, 50, 0.5),
                       inset 0 0 30px rgba(50, 255, 50, 0.15);
            animation-delay: -2s;
            z-index: 1;
        }

        /* Электрические эффекты */
        .electric-effect {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0.4;
        }

        .electric-line {
            position: absolute;
            background: linear-gradient(90deg, 
                transparent,
                rgba(0, 255, 255, 0.9),
                rgba(0, 255, 255, 0.7),
                transparent
            );
            height: 2px;
            animation: electricFlow 3s infinite linear;
            filter: blur(0.5px);
        }

        /* Анимации фона */
        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg) scale(1);
            }
            25% {
                transform: translate(-25px, 15px) rotate(-1deg) scale(1.02);
            }
            50% {
                transform: translate(10px, -20px) rotate(1deg) scale(1.01);
            }
            75% {
                transform: translate(15px, 10px) rotate(-1deg) scale(1.02);
            }
        }

        @keyframes electricFlow {
            0% {
                left: -100%;
                opacity: 0;
            }
            5% {
                opacity: 1;
            }
            95% {
                opacity: 1;
            }
            100% {
                left: 100%;
                opacity: 0;
            }
        }

        /* Навигационное меню */
        .navbar {
            background: rgba(10, 10, 20, 0.85);
            box-shadow: var(--box-shadow);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--secondary-color);
        }

        .navbar-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-brand img {
            height: 50px;
            transition: var(--transition);
            filter: brightness(1.2);
        }

        .navbar-brand img:hover {
            transform: scale(1.05);
        }

        .navbar-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .navbar-item {
            position: relative;
            margin-left: 20px;
        }

        .navbar-link {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            padding: 10px 15px;
            border-radius: 4px;
            transition: var(--transition);
            display: flex;
            align-items: center;
        }

        .navbar-link:hover {
            background-color: rgba(0, 133, 157, 0.3);
            transform: translateY(-2px);
            color: var(--highlight-color);
        }

        .navbar-link i {
            margin-right: 8px;
            color: var(--secondary-color);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: rgba(10, 10, 20, 0.95);
            border-radius: 4px;
            box-shadow: var(--box-shadow);
            min-width: 220px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 1000;
            backdrop-filter: blur(10px);
            border: 1px solid var(--secondary-color);
        }

		.dropdown-menu li {
			list-style-type: none;
		}

        .navbar-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            padding: 10px 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-link {
            color: var(--secondary-color);
            text-decoration: none;
            display: block;
            transition: var(--transition);
        }

        .dropdown-link:hover {
            color: var(--highlight-color);
            padding-left: 5px;
        }

        .dropdown-divider {
            height: 1px;
            background-color: var(--border-color);
            margin: 5px 0;
        }

        .dropdown-header {
            padding: 10px 15px;
            font-weight: bold;
            color: var(--primary-color);
            background-color: var(--service-bg);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 24px;
            cursor: pointer;
        }

        /* Контейнер для контента */
        .content-container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 100px 20px 50px;
        }

        /* Заголовок страницы */
        .page-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .page-header h1 {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 15px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.5);
        }

        .page-header p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Сетка карточек с цветами */
        .ink-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        /* Карточка цвета */
        .ink-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 25px;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            border: 1px solid transparent;
            backdrop-filter: blur(5px);
            cursor: pointer;
        }

        .ink-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        /* Цветные границы для карточек */
        .ink-card.c { border-color: #00a2ff; }
        .ink-card.m { border-color: #ff00ff; }
        .ink-card.lm { border-color: #ff88ff; }
        .ink-card.lc { border-color: #88ddff; }
        .ink-card.y { border-color: #f2bf0c; }
        .ink-card.bk { border-color: #666; }

        .ink-card-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        .color-badge {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            margin-right: 15px;
            color: #000;
            box-shadow: 0 0 15px currentColor;
        }
        .color-badge.c { background: #00a2ff; color: white; }
        .color-badge.m { background: #ff00ff; }
        .color-badge.lm { background: #ff88ff; }
        .color-badge.lc { background: #88ddff; }
        .color-badge.y { background: #f2bf0c; }
        .color-badge.bk { background: #333; color: white; }

        .ink-card h3 {
            font-size: 1.4rem;
            margin: 0;
            color: var(--text-color);
        }
        .ink-card h3 .full-name {
            display: block;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 5px;
        }

        /* Список кодов (изначально скрыт) */
        .code-list {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-out;
        }
        .ink-card.active .code-list {
            max-height: 500px; /* Достаточно большое значение */
        }
        .code-item {
            padding: 10px 15px;
            margin: 8px 0;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 6px;
            border-left: 3px solid var(--highlight-color);
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            transition: var(--transition);
            cursor: copy;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .code-item:hover {
            background: rgba(32, 151, 138, 0.2);
            transform: translateX(5px);
        }
        .copy-icon {
            opacity: 0;
            color: var(--primary-color);
            transition: opacity 0.3s ease;
        }
        .code-item:hover .copy-icon {
            opacity: 1;
        }

        /* Сообщение о копировании */
        .copy-notification {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .copy-notification.show {
            opacity: 1;
        }

        /* Анимации */
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(242, 191, 12, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(242, 191, 12, 0); }
            100% { box-shadow: 0 0 0 0 rgba(242, 191, 12, 0); }
        }
        .code-item.copied {
            animation: pulse 0.8s ease;
        }

        /* Футер */
        footer {
            background: rgba(10, 10, 20, 0.9);
            padding: 40px 0;
            margin-top: 50px;
            border-top: 1px solid var(--border-color);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .footer-section h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 1.3em;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--highlight-color);
            border-radius: 3px;
        }

        .footer-section address {
            font-style: normal;
            line-height: 1.6;
        }

        .footer-section p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .footer-section a {
            color: var(--text-color);
            text-decoration: none;
            transition: var(--transition);
            display: block;
            margin-bottom: 8px;
        }

        .footer-section a:hover {
            color: var(--highlight-color);
            padding-left: 5px;
        }

        .footer-section i {
            margin-right: 10px;
            color: var(--secondary-color);
            width: 20px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid var(--border-color);
            font-size: 0.9em;
            opacity: 0.7;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .navbar-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .navbar-menu {
                display: none;
                width: 100%;
                flex-direction: column;
                margin-top: 15px;
            }
            
            .navbar-menu.active {
                display: flex;
            }
            
            .navbar-item {
                margin: 5px 0;
            }
            
            .mobile-menu-btn {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
            }
            
            .dropdown-menu {
                position: static;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                display: none;
                margin-left: 15px;
                border-left: 2px solid var(--primary-color);
            }
            
            .navbar-item:hover .dropdown-menu {
                display: block;
            }
            
            .ink-grid {
                grid-template-columns: 1fr;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .content-container {
                padding: 80px 15px 30px;
            }
            
            .page-header h1 {
                font-size: 1.8em;
            }
            
            .ink-card {
                padding: 20px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
        }
