/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
	margin-left: 10%;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
	margin-right: 10%;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #111;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 2rem 2rem;
    background: url(./images/background-header.jpg)center center;
    background-repeat: no-repeat;
  background-size: cover;
	color: white;
}

.hero-content {
    flex: 1;
    max-width: 90%;
	margin: 5%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
	text-shadow: 1px 1px #111;
	background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
}

.highlight {
    color: #fbbf24;
	
}

.hero-subtitle {
    font-size: 1.45rem;
	margin-top: 5%;
    margin-bottom: 7%;
    opacity: 0.9;
	background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
	text-shadow: 1px 1px #111;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
	
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.chip {
    width: 150px;
    height: 150px;
    //background: #1f2937;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    //box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.shield {
    font-size: 5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.protection-waves {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    animation: wave 3s infinite;
}

.protection-waves::before,
.protection-waves::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    animation: wave 3s infinite;
}

.protection-waves::before {
    animation-delay: 1s;
}

.protection-waves::after {
    animation-delay: 2s;
}

@keyframes wave {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}


/* Text-op Section*/
.text-op {
    padding: 80px 0;
    background: #fff;
}
.text-op h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
    color: #1f2937;
}
.text-op h4 {
    text-align: center;
    font-size: 1.0rem;
	margin-top: -1.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}
.text-grid {
	margin-top: 1.5rem;
}

.simple-list {
  margin: 3.5rem 0 3.5rem 1.5rem;
  padding: 0;
  clear: both;
  text-align: left;
}

.text-item {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 3px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.text-item:hover {
    transform: translateY(-5px);
}

.text-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #111;
	text-align: center;
}
.single-item {
  color: #252525;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0 25px;
  line-height: 3.6;
}
             
.higher-item {
	color: #111;
	margin: 0 0 0 15px;
	font-weight: 700;
	
}


/* Problem Section */
.problem {
    padding: 80px 0;
    background: #f8fafc;
}

.problem h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.problem-grid, .text-grid, .industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    background: white;
    padding: 2rem;
	margin: 1rem 0;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #111;
}

/* Products Section */
.products {
    padding: 80px 0;
}

.products h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card.featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.product-features {
    list-style: none;
    margin-top: 1rem;
}

.product-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Industry Section*/

 
.industry {
    padding: 80px 0;
    background: #f8fafc;
}

.industry h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.industry-item {
    background: white;
    padding: 2rem;
	margin: 1rem 0;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.industry-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #111;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: #1f2937;
    color: white;
}

.advantages h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: #f8fafc;
}

.demo h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-placeholder {
    background: #1f2937;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    color: white;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.play-button {
    font-size: 4rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.demo-list {
    list-style: none;
    margin: 2rem 0;
}

.demo-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
	
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 80%;
    max-width: 800px;
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

video {
    width: 100%;
    border-radius: 8px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.0rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* ai-assistant */

.ai-assistant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.ai-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.ai-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Анимация пульсации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.ai-avatar.pulse {
    animation: pulse 2s infinite;
}

.ai-chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.chat-messages {
    height: 200px;
    padding: 10px;
    overflow-y: auto;
    background: #f9fafb;
}

.chat-input {
    border: none;
    border-top: 1px solid #eee;
    padding: 12px;
    outline: none;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .products-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hover effects */
.product-card:hover .product-icon {
    transform: scale(1.1);
    transition: transform 0.3s;
}

.advantage-item:hover .advantage-number {
    transform: scale(1.1);
    transition: transform 0.3s;
}

.nav-menu a.active {
    color: #111;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111;
}

/* Мобильное меню */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
}

/* Демо-терминал стили */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}


.demo-modal-content {
    background: #0d1117;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #30363d;
}


.demo-header {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.demo-close {
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.terminal {
    background: #1e1e1e;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    margin: 0;
}

.terminal-header {
    background: #161b22;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f57; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #28ca42; }


.terminal-title {
    font-size: 0.9rem;
    color: #8b949e;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    height: 450px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    background: #0d1117;
    color: #c9d1d9;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}


.command-line {
    margin: 10px 0 5px 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.prompt {
    color: #7c3aed;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(124, 58, 237, 0.5);
    white-space: nowrap;
}

.command {
    color: #f8f8f2;
    margin-left: 5px;
    word-break: break-all;
}

.command-output {
    margin: 5px 0 15px 0;
    padding-left: 20px;
}

.terminal-input {
    margin-top: 20px;
}

#terminal-cursor {
    animation: blink 1s infinite;
    background: #7c3aed;
    color: #0d1117;
    padding: 0 3px;
    margin-left: 2px;
}


@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Цвета для вывода терминала */
.text-green { 
    color: #56d364; 
    font-weight: 600;
}

.text-yellow { 
    color: #f2cc60; 
    font-weight: 600;
}

.text-blue { 
    color: #79c0ff; 
    font-weight: 600;
}

.text-red { 
    color: #f85149; 
    font-weight: 600;
}

.text-cyan { 
    color: #39d353; 
    font-weight: 600;
}

.text-magenta { 
    color: #bc8cff; 
    font-weight: 600;
}

.demo-actions {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.demo-actions .btn {
    margin: 0 10px;
}

#download-wasm {
    display: none;
    background: linear-gradient(135deg, #56d364 0%, #39d353 100%);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(86, 211, 100, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(86, 211, 100, 0); }
    100% { box-shadow: 0 0 0 0 rgba(86, 211, 100, 0); }
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: #4CAF50;
}

.notification-info {
    background: #2196F3;
}

.notification-warning {
    background: #FF9800;
}

.notification-error {
    background: #F44336;
}

/* Адаптивность для демо */
@media (max-width: 768px) {
    .demo-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .terminal-body {
        height: 350px;
        font-size: 12px;
        padding: 15px;
    }
    
    .command-line {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .command {
        margin-left: 0;
        margin-top: 5px;
    }
}

/* Улучшение скроллбара в терминале */
.terminal-body::-webkit-scrollbar {
    width: 12px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #21262d;
    border-radius: 6px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 6px;
    border: 2px solid #21262d;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* Скрытие рекламы Google */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Стилизация селектора */
.goog-te-gadget {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
}

.goog-te-gadget-simple {
    background-color: rgba(0,0,0,0) !important;
    border: 0px solid #ccc !important;
    border-radius:2px !important;
    padding: 2px !important;
    font-size: 12px !important;
    line-height: 20px !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: #333 !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: #333 !important;
}

/* Кастомный дизайн */
#google_translate_element {
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 1000;
    background: rgba(0,0,0,0);
    padding: 2px;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0);
}