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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f8fafc;
        }

        /* Header */
        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px 0 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }

        .logo {
            font-size: 3.5em;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .tagline {
            font-size: 1.3em;
            margin-bottom: 30px;
            opacity: 0.9;
            font-weight: 300;
        }

        .cta-button {
            display: inline-block;
            padding: 15px 40px;
            background: rgba(255,255,255,0.2);
            border: 2px solid white;
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1em;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .cta-button:hover {
            background: white;
            color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        /* Stats */
        .stats {
            background: white;
            margin: -40px auto 0;
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            padding: 30px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            position: relative;
            z-index: 2;
            max-width: 800px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5em;
            font-weight: 700;
            color: #667eea;
            display: block;
        }

        .stat-label {
            color: #666;
            font-size: 0.9em;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Main Content */
        .main {
            padding: 30px 0;
        }

        .section {
            margin-bottom: 80px;
        }

        .section-title {
            font-size: 2.5em;
            text-align: center;
            margin-bottom: 20px;
            color: #2d3748;
            position: relative;
        }

        .section-title::after {
            content: '';
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            display: block;
            margin: 15px auto;
            border-radius: 2px;
        }

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

        /* Features Grid */
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin-top: 50px;
        }

        .feature {
            background: white;
            padding: 40px 30px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .feature::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .feature-icon {
            font-size: 3em;
            margin-bottom: 20px;
            display: block;
        }

        .feature-title {
            font-size: 1.4em;
            margin-bottom: 15px;
            color: #2d3748;
            font-weight: 600;
        }

        .feature-desc {
            color: #666;
            line-height: 1.6;
        }

        /* Code Examples */
        .code-examples {
            background: #2d3748;
            padding: 0 0 60px 0;
            margin: 0 0 80px 0;
        }

        .code-examples .container {
            color: white;
        }

        .code-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .code-tab {
            padding: 10px 25px;
            background: rgba(255,255,255,0.1);
            border: none;
            color: white;
            cursor: pointer;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .code-tab.active,
        .code-tab:hover {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
        }

        .code-block {
            background: #1a202c;
            border-radius: 12px;
            padding: 30px;
            margin: 20px 0;
            position: relative;
            overflow-x: auto;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .code-block::before {
            content: attr(data-lang);
            position: absolute;
            top: 10px;
            right: 15px;
            background: rgba(255,255,255,0.1);
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.8em;
            color: rgba(255,255,255,0.6);
        }

        .code-block pre {
            color: #e2e8f0;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            font-size: 0.9em;
            line-height: 1.5;
            overflow-x: auto;
        }

        .code-block code {
            color: inherit;
        }

		/* Только для специальных кодовых блоков */
		pre.code-block2 {
			background: #f7f7f9;
			padding: 12px;
			border-radius: 8px;
			font-size: 0.9em;
			overflow-x: auto;   /* горизонтальная прокрутка */
			max-width: 100%;
		}

		pre.code-block2 code {
			display: block;
			white-space: pre;   /* не переносим */
			word-break: normal; /* перенос только если прям нужно */
		}


        /* Documentation */
        .docs {
            background: white;
            border-radius: 12px;
            padding: 50px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin: 40px 0;
        }

        .padleft {
            background: #f7fafc;
            border-left: 2px solid #667eea;
            padding: 10px;
            margin: 10px;
            border-radius: 0 8px 8px 0;
        }

        .endpoint {
            background: #f7fafc;
            border-left: 4px solid #667eea;
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 8px 8px 0;
        }

        .endpoint-method {
            display: inline-block;
            background: #667eea;
            color: white;
            padding: 4px 12px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.8em;
            margin-right: 15px;
        }

        .endpoint-url {
            font-family: 'Monaco', 'Menlo', monospace;
            background: #e2e8f0;
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: 500;
        }

        .endpoint-desc {
            margin-top: 15px;
            color: #666;
        }

        /* Terms */
        .terms {
            background: #f8fafc;
            padding: 40px;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
        }

        .terms-list {
            list-style: none;
            padding: 0;
        }

        .terms-list li {
            padding: 10px 0;
            border-bottom: 1px solid #e2e8f0;
            position: relative;
            padding-left: 30px;
        }

        .terms-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #48bb78;
            font-weight: bold;
        }

        .terms-list li:last-child {
            border-bottom: none;
        }

        /* Footer */
        .footer {
            background: #2d3748;
            color: white;
            padding: 60px 0 30px;
            text-align: center;
        }

        .footer-content {
            max-width: 600px;
            margin: 0 auto;
        }

        .footer-links {
            margin: 30px 0;
        }

        .footer-links a {
            color: #cbd5e0;
            text-decoration: none;
            margin: 0 20px;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .copyright {
            color: #a0aec0;
            font-size: 0.9em;
            margin-top: 30px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .logo {
                font-size: 2.5em;
            }

            .tagline {
                font-size: 1.1em;
            }

            .stats {
                margin: -20px 20px 0;
                padding: 20px;
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .section-title {
                font-size: 2em;
            }

            .features {
                grid-template-columns: 1fr;
            }

            .docs {
                padding: 30px 20px;
            }

            .code-tabs {
                justify-content: flex-start;
            }

            .code-tab {
                flex: 1;
                text-align: center;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .feature {
            animation: fadeInUp 0.6s ease-out;
        }

        .feature:nth-child(1) { animation-delay: 0.1s; }
        .feature:nth-child(2) { animation-delay: 0.2s; }
        .feature:nth-child(3) { animation-delay: 0.3s; }
        .feature:nth-child(4) { animation-delay: 0.4s; }

        /* Syntax highlighting */
        .string { color: #48bb78; }
        .number { color: #ed8936; }
        .keyword { color: #9f7aea; }
        .comment { color: #a0aec0; font-style: italic; }
        .function { color: #4299e1; }
        .variable { color: #ed8936; }
		
		/* Стили табов */
		.tabs {
			display: flex;
			gap: 10px;
			margin-bottom: 20px;
		}
		.tab-button {
			padding: 8px 16px;
			border: 1px solid #ccc;
			background: #f9f9f9;
			cursor: pointer;
			border-radius: 6px;
			font-weight: 500;
			transition: all 0.2s;
		}
		.tab-button:hover {
			background: #f0f0f0;
		}
		.tab-button.active {
			background: #2d3748;
			color: white;
			border-color: #2d3748;
		}
		.tab-content {
			border: 1px solid #eee;
			padding: 20px;
			border-radius: 8px;
			background: white;
		}
		.tab-panel { display: none; }
		.tab-panel.active { display: block; }		

		a.doc-link {
		  color: #0783ff;
		  font-weight: 500;
		  text-decoration: none;
		  border-bottom: 1px dashed #0783ff;
		  transition: color 0.2s, border-color 0.2s;
		}
		a.doc-link:hover {
		  color: #056ad1;
		  border-color: #056ad1;
		}
