/* style.css */

/* --- GLOBAL STYLES --- */
:root {
    --bg-color: #ffffff;
    --text-main: #1d1d1f;
    --text-secondary: #515154;
    --primary-blue: #0056b3;
    --primary-hover: #004494;
    --light-gray: #f5f5f7;
    --dark-bg: #1d1d1f;
    --border-color: #e1e1e1;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin-top: 0; }

/* --- HEADER & NAVIGATION --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px; 
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo img:hover {
    transform: scale(1.03);
}

nav ul { display: flex; gap: 25px; }
nav a { font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--primary-blue); }

/* --- HERO GENERAL --- */
.hero {
    padding: 100px 5%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: #111; font-weight: 700; }
.hero p { font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* --- AI HERO SECTION (3D & VISUALS) --- */
.ai-hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    padding: 80px 5%;
    min-height: 80vh;
    border-bottom: 1px solid #e1e1e1;
    overflow: hidden;
}

.ai-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    min-height: 90vh;
}

/* 3D Text Card */
.ai-hero-content {
    position: relative;
    perspective: 1500px;
    z-index: 10;
}

.hero-3d-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 86, 179, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    transform: rotateY(5deg) rotateX(2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-3d-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 86, 179, 0.15);
}

.hero-3d-card h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1d1d1f;
    font-weight: 800;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #0056b3 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.ai-badge {
    display: inline-block;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 86, 179, 0.2);
}

.ai-lead {
    font-size: 1.2rem;
    color: #515154;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ai-sub-lead-box {
    background: white;
    border-left: 4px solid var(--primary-blue);
    padding: 15px 20px;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    margin-bottom: 35px;
}

.ai-sub-lead-box .icon { font-size: 1.5rem; }

.card-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,86,179,0.2) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    filter: blur(40px);
}

/* Atom Visual */
.ai-hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.ai-atom-container {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
}

.atom-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-inner {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.5), inset 0 0 10px rgba(255,255,255,0.3);
    z-index: 2;
    position: relative;
}

.core-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-blue);
    opacity: 0;
    animation: pulseCore 2.5s infinite;
    z-index: 1;
}

.atom-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 86, 179, 0.15);
    box-shadow: 0 0 20px rgba(0, 86, 179, 0.05);
}

.ring-1 { width: 340px; height: 340px; border-top: 1px solid rgba(0, 86, 179, 0.6); animation: spinRight 12s linear infinite; }
.ring-2 { width: 260px; height: 260px; border-right: 1px solid rgba(0, 86, 179, 0.6); animation: spinLeft 15s linear infinite; }
.ring-3 { width: 180px; height: 180px; border-bottom: 1px solid rgba(0, 86, 179, 0.6); animation: spinRight 9s linear infinite; }

.atom-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    z-index: 20;
    transition: 0.3s;
    animation: floatNode 6s ease-in-out infinite;
}

.atom-node:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.15);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.node-icon { font-size: 1.2rem; }
.node-data { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-security { bottom: 10%; right: -10px; animation-delay: 1.5s; }
.node-models { bottom: 10%; left: -10px; animation-delay: 3s; }
.node-process { top: 30%; right: -40px; animation-delay: 4.5s; }

/* --- ANIMATIONS --- */
@keyframes floatCard { 0%, 100% { transform: rotateY(5deg) rotateX(2deg) translateY(0); } 50% { transform: rotateY(5deg) rotateX(2deg) translateY(-15px); } }
@keyframes spinRight { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinLeft { 0% { transform: translate(-50%, -50%) rotate(360deg); } 100% { transform: translate(-50%, -50%) rotate(0deg); } }
@keyframes pulseCore { 0% { width: 100%; height: 100%; opacity: 0.8; } 100% { width: 250%; height: 250%; opacity: 0; } }
@keyframes floatNode { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- COMMON ELEMENTS (Buttons, Cards, Sections) --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.2);
}
.btn:hover { background-color: var(--primary-hover); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}
.btn-outline:hover { background: var(--primary-blue); color: white; }

.section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.feature-card h3 { color: var(--primary-blue); font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Benefits Section */
.benefits-section { background: var(--light-gray); padding: 80px 5%; }
.benefits-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1100px; margin: 0 auto; align-items: center; }
.benefit-list { list-style: none; }
.benefit-list li { margin-bottom: 15px; padding-left: 30px; position: relative; font-weight: 500; }
.benefit-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-blue); font-weight: bold; }

/* Departments Tags */
.dept-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; margin: 0 auto; }
.dept-tag { background: white; padding: 10px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 500; color: var(--text-main); border: 1px solid #ddd; transition: 0.2s; }
.dept-tag:hover { border-color: var(--primary-blue); color: var(--primary-blue); transform: translateY(-2px); }

/* Enterprise Section */
.enterprise-section { background-color: var(--dark-bg); color: white; padding: 100px 5%; }
.enterprise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto; }
.ent-item h3 { color: white; margin-bottom: 15px; border-left: 3px solid var(--primary-blue); padding-left: 15px; }
.ent-item p { color: #d2d2d7; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: #fafafa; padding: 30px; border-radius: 12px; border: 1px solid #eee; }
.review-text { font-style: italic; color: #555; margin-bottom: 20px; }
.review-author { font-weight: bold; color: var(--primary-blue); }
.review-role { font-size: 0.85rem; color: #888; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
details { border-bottom: 1px solid var(--border-color); padding: 20px 0; transition: 0.3s; }
summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--primary-blue); font-weight: 300; }
details[open] summary::after { content: '-'; }
details[open] summary { margin-bottom: 15px; color: var(--primary-blue); }
.faq-answer { color: var(--text-secondary); line-height: 1.7; }

main, .main-content {
    flex: 1 0 auto; /* Цей блок забере весь вільний простір, штовхаючи футер вниз */
}
/* Тег main забирає весь вільний простір, штовхаючи футер вниз */
main {
    flex: 1 0 auto;
    /* Додаємо min-height, щоб навіть пустий main мав висоту */
    min-height: calc(100vh - 200px); 
}

/* Футер залишається своєї висоти і не стискається */
.main-footer {
    flex-shrink: 0;
}
/* Contact & Footer */
.contact-block { background: #f0f4f8; padding: 60px; border-radius: 20px; text-align: center; margin-top: 60px; }
footer { background: #111; color: #888; padding: 40px 5%; text-align: center; font-size: 0.9rem; flex-shrink: 0;}

/* ARTICLE HERO & BODY (For Ethics Page) */
.article-hero { background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%); padding: 80px 5% 40px 5%; text-align: center; border-bottom: 1px solid #eee; }
.hero-container { max-width: 900px; margin: 0 auto; }
.meta-info { margin-bottom: 20px; font-size: 0.9rem; color: #888; display: flex; justify-content: center; align-items: center; gap: 15px; }
.category-tag { background: #eef4ff; color: #0056b3; padding: 4px 12px; border-radius: 20px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }
.article-body { background: #fff; padding: 60px 5%; color: #1d1d1f; font-family: 'Inter', sans-serif; }
.content-container { max-width: 800px; margin: 0 auto; }
.info-box { background: #eef4ff; border-left: 5px solid #0056b3; padding: 20px; font-size: 1.2rem; margin-bottom: 40px; border-radius: 4px; }
.divider { border: 0; border-top: 1px solid #eee; margin: 40px 0; }
ul.check-list, ul.danger-list { list-style: none; padding: 0; }
ul.check-list li { margin-bottom: 10px; padding-left: 30px; position: relative; }
ul.check-list li::before { content: '✓'; position: absolute; left: 0; color: #0056b3; font-weight: bold; }
ul.danger-list li::before { content: '⚠️'; position: absolute; left: 0; }
ul.danger-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 30px 0; }
.case-card { background: #f9f9f9; padding: 20px; border-radius: 8px; border: 1px solid #eee; }
.highlight-block { background: #1d1d1f; color: white; padding: 40px; border-radius: 12px; margin: 40px 0; }
.highlight-block h3 { color: white; border-bottom: 1px solid #444; padding-bottom: 10px; }
.highlight-block ol { padding-left: 20px; }
.highlight-block li { margin-bottom: 10px; font-size: 1.1rem; }
.conclusion-box { background: linear-gradient(135deg, #0056b3 0%, #004494 100%); color: white; padding: 40px; border-radius: 12px; margin-top: 60px; text-align: center; }
.conclusion-box h3 { color: white; margin-top: 0; }
.conclusion-box p { color: #e0e0e0; font-size: 1.1rem; }
.glossary-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.glossary-tags span { background: #f0f0f0; color: #888; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
    .ai-hero-container { grid-template-columns: 1fr; text-align: center; }
    .ai-hero-visual { display: none; }
    .hero-3d-card { transform: none; animation: none; padding: 30px; }
    .hero-3d-card h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .logo img { height: 45px; }
    .hero h1 { font-size: 2.5rem; }
    .grid-3, .benefits-container { grid-template-columns: 1fr; }
    .hero-footer { flex-direction: column; gap: 20px; }
}


/* --- FLOW VISUALIZATION STYLES --- */

.flow-section {
    padding: 100px 5%;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.flow-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Центральна лінія */
.vertical-flow-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #f0f0f0;
    transform: translateX(-50%);
    z-index: 1;
}

/* Ефект градієнта на лінії при скролі (можна додати JS пізніше) */
.vertical-flow-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to bottom, var(--primary-blue), #00c6ff);
    border-radius: 4px;
}

.flow-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.flow-empty { flex: 1; }

.flow-content {
    flex: 1;
    display: flex;
}

.flow-content.left { justify-content: flex-end; padding-right: 60px; }
.flow-content.right { justify-content: flex-start; padding-left: 60px; }

/* Картки */
.flow-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    max-width: 450px;
    transition: 0.3s;
}

.flow-card.highlighted {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.08);
}

.flow-icon { font-size: 2.5rem; margin-bottom: 20px; }

.flow-list {
    padding: 0;
    margin-top: 20px;
    list-style: none;
}

.flow-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.flow-list li::before {
    content: '→';
    color: var(--primary-blue);
    margin-right: 10px;
}

/* Точки на лінії */
.flow-dot {
    width: 30px;
    height: 30px;
    background: #fff;
    border: 4px solid #f0f0f0;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.flow-dot.active { border-color: var(--primary-blue); }

.dot-inner {
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: scale(0.4);
}

.dot-pulse {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px solid var(--primary-blue);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Мобільна адаптація */
@media (max-width: 900px) {
    .vertical-flow-line { left: 30px; transform: none; }
    .flow-item { flex-direction: column; align-items: flex-start; }
    .flow-dot { left: 30px; transform: translateX(-50%); }
    .flow-content.left, .flow-content.right { 
        justify-content: flex-start; 
        padding: 0 0 0 70px; 
    }
    .flow-empty { display: none; }
}

CSS
/* --- ADVANCED SOLUTIONS HERO --- */

.solutions-hero-advanced {
    position: relative;
    background: #0f172a; /* Темний футуристичний фон */
    padding: 120px 5%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 86, 179, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ai-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Текст */
.ai-hero-text h1 {
    font-size: 4rem;
    color: white;
    line-height: 1;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 500px;
    margin-bottom: 40px;
}

/* Міні-кроки під заголовком */
.decision-steps-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.mini-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mini-step-arrow { color: var(--primary-blue); font-weight: bold; }

/* --- ВІЗУАЛІЗАЦІЯ ПРИЙНЯТТЯ РІШЕНЬ --- */

.ai-decision-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.decision-flow-container {
    position: relative;
    width: 300px;
    height: 400px;
}

/* Центр - Ядро */
.decision-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    z-index: 5;
}

.core-brain {
    width: 100%; height: 100%;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 0 50px rgba(0, 86, 179, 0.6);
    position: relative;
    z-index: 2;
}

.ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 198, 255, 0.3);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

.ring:nth-child(1) { width: 180px; height: 180px; border-style: dashed; }
.ring:nth-child(2) { width: 240px; height: 240px; border-style: dotted; animation-direction: reverse; }

/* Потоки даних */
.data-stream {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-top { top: 0; }
.output-bottom { bottom: 0; }

.data-particle {
    width: 4px; height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary-blue));
    border-radius: 2px;
    animation: dataFlow 2s infinite linear;
}

.data-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00c6ff;
    margin-top: 10px;
}

/* Логічні вузли навколо */
.node {
    position: absolute;
    width: 12px; height: 12px;
    background: #00c6ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00c6ff;
}

.n1 { top: 30%; left: 10%; animation: float 4s infinite ease-in-out; }
.n2 { top: 20%; right: 15%; animation: float 5s infinite ease-in-out; }
.n3 { bottom: 25%; left: 20%; animation: float 3s infinite ease-in-out; }

/* Анімації */
@keyframes dataFlow {
    0% { transform: translateY(-50px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Мобільна версія */
@media (max-width: 900px) {
    .ai-hero-container { grid-template-columns: 1fr; text-align: center; }
    .ai-hero-text h1 { font-size: 2.8rem; }
    .decision-steps-mini { justify-content: center; }
    .ai-decision-visual { height: 300px; margin-top: 40px; }
}

/* --- Адаптовані картки функцій --- */
.feature-card-advanced {
    background: white;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.feature-card-advanced:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card-advanced h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #111;
}

.feature-card-advanced p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Чіпи департаментів --- */
.dept-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.dept-tag-chip {
    background: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    border: 1px solid #ddd;
    transition: 0.2s;
    cursor: default;
}

.dept-tag-chip:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f0f7ff;
}

/* --- Enterprise Block --- */
.enterprise-ready {
    padding-bottom: 100px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .grid-2 div:last-child {
        text-align: center;
    }
}
/* --- PHILOSOPHY HERO V2 --- */
.philosophy-hero {
    position: relative;
    padding: 120px 5%;
    background: #0f172a;
    color: white;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}
.shape.s1 { width: 400px; height: 400px; background: rgba(0, 86, 179, 0.2); top: -100px; right: -50px; }
.shape.s2 { width: 300px; height: 300px; background: rgba(0, 198, 255, 0.1); bottom: -50px; left: -50px; }

.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    position: relative;
    z-index: 5;
    align-items: center;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.philosophy-hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;
}

.hero-lead-v2 {
    font-size: 1.3rem;
    color: #94a3b8;
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.stat-item strong { font-size: 2rem; display: block; color: #00c6ff; }
.stat-item span { color: #64748b; font-size: 0.9rem; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.1); }

/* ПРИЗМА (ВІЗУАЛ) */
.ethics-prism {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prism-core {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(0, 198, 255, 0.3);
    animation: rotatePrism 10s infinite linear;
}

.core-icon {
    transform: rotate(-45deg);
    font-size: 2.5rem;
}

.prism-ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(0, 198, 255, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes rotatePrism {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.1); }
    100% { transform: rotate(45deg) scale(1); }
}

/* --- MODERN ARTICLE STYLES --- */

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.dropcap-lead {
    font-size: 1.4rem;
    color: #1d1d1f;
    font-weight: 500;
    margin-bottom: 30px;
}

.article-divider {
    height: 1px;
    background: #eee;
    margin: 60px 0;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin: 60px 0 30px 0;
    letter-spacing: -0.03em;
}

/* Glass Box for Guardrails */
.glass-feature-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item .feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.feature-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #64748b;
}

/* Modern Case Card */
.modern-case-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #eee;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin: 50px 0;
}

.case-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

.results-line {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.res-item span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Checklist */
.checklist-modern {
    background: #fff;
    border-left: 4px solid var(--primary-blue);
    padding: 20px 40px;
    margin: 40px 0;
}

.checklist-modern ul {
    list-style: none;
    padding: 0;
}

.checklist-modern li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.checklist-modern li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.checklist-modern li span {
    font-weight: 700;
    margin-right: 10px;
}

/* Minimal Table */
.minimal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}

.minimal-table th {
    text-align: left;
    padding: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    border-bottom: 2px solid #eee;
}

.minimal-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* ROI Banner V2 */
.roi-banner-v2 {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #111;
    color: white;
    padding: 40px;
    border-radius: 24px;
    margin: 60px 0;
}

.roi-icon {
    font-size: 3rem;
}

.roi-text h4 {
    color: #00c6ff;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}

.roi-text p {
    margin: 0;
    opacity: 0.8;
    font-size: 1rem;
}
.article-final-summary {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 3px solid #111;
}

.next-steps-card {
    background: #f0f7ff;
    padding: 40px;
    border-radius: 24px;
    margin: 40px 0;
}

.next-steps-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.final-cta-block {
    text-align: center;
    background: var(--light-gray);
    padding: 60px;
    border-radius: 32px;
    margin-top: 60px;
}

.final-cta-block p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
}
/* --- ADVANCED ARCHITECTURE VIZ --- */
.ai-architecture-viz {
    position: relative;
    width: 400px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
    filter: blur(30px);
}

.iso-layers {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotateX(55deg) rotateZ(-35deg); /* Ізометричний кут */
    transform-style: preserve-3d;
}

.iso-layer {
    position: absolute;
    width: 240px;
    height: 160px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.layer-label {
    position: absolute;
    top: -25px;
    left: 0;
    font-size: 0.7rem;
    font-weight: 800;
    color: #00c6ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Позиціонування шарів по висоті (Z-axis) */
.l-input { transform: translateZ(0); }
.l-core { transform: translateZ(120px); background: rgba(0, 86, 179, 0.05); border-color: rgba(0, 198, 255, 0.3); }
.l-output { transform: translateZ(240px); }

/* Елементи всередині шарів */
.data-grid-viz {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.data-grid-viz span {
    width: 15px; height: 15px; background: rgba(255,255,255,0.2); border-radius: 2px;
    animation: dataBlink 2s infinite alternate;
}

.core-node {
    position: relative;
    width: 60px; height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px var(--primary-blue);
}

.pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: corePulse 2s infinite;
}

.iso-box.success {
    background: #10b981;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Лінії потоку */
.flow-line {
    position: absolute;
    width: 2px;
    background: linear-gradient(to top, transparent, #00c6ff, transparent);
    z-index: -1;
}
.fl-1 { height: 120px; left: 50%; top: 80px; transform: translateZ(60px); }
.fl-2 { height: 120px; left: 50%; top: 80px; transform: translateZ(180px); }

/* АНІМАЦІЇ */
@keyframes dataBlink { 
    0% { opacity: 0.3; transform: scale(0.9); } 
    100% { opacity: 1; transform: scale(1.1); } 
}

@keyframes corePulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Ефект левітації всієї структури */
.iso-layers {
    animation: floatLayers 6s ease-in-out infinite;
}

@keyframes floatLayers {
    0%, 100% { transform: rotateX(55deg) rotateZ(-35deg) translateY(0); }
    50% { transform: rotateX(55deg) rotateZ(-35deg) translateY(-20px); }
}

@media (max-width: 900px) {
    .ai-architecture-viz { transform: scale(0.7); }
}

    /* Hero Shop */
    .shop-hero {
        text-align: center;
        padding: 60px 5%;
        background: #fff;
    }
    .shop-hero h1 { font-size: 3rem; margin-bottom: 10px; }
    .shop-hero p { font-size: 1.2rem; color: #666; }

    /* Фільтри (декоративні) */
    .filters {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 40px 0;
        flex-wrap: wrap;
    }
    .filter-btn {
        padding: 8px 24px;
        border-radius: 20px;
        border: 1px solid #e1e1e1;
        background: white;
        color: #555;
        cursor: pointer;
        font-weight: 500;
        transition: 0.2s;
    }
    .filter-btn:hover, .filter-btn.active {
        background: var(--primary-blue);
        color: white;
        border-color: var(--primary-blue);
    }

    /* Сітка товарів */
    .shop-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
        padding: 0 5% 80px 5%;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Картка товару */
    .product-card {
        background: white;
        border: 1px solid #eee;
        border-radius: 16px;
        padding: 30px;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        border-color: transparent;
    }

    /* Бейдж (New/Hit) */
    .badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #f0f9ff;
        color: var(--primary-blue);
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
    }
    .badge.premium { background: #1d1d1f; color: white; }

    .prod-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }
    .prod-cat {
        font-size: 0.85rem;
        color: #999;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin-bottom: 5px;
    }
    .prod-name {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: #1d1d1f;
    }
    .prod-desc {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.5;
        margin-bottom: 25px;
        flex-grow: 1; /* Притискає ціну вниз */
    }
    .prod-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #f5f5f7;
        padding-top: 20px;
    }
    .prod-price {
        font-size: 1.3rem;
        font-weight: 700;
        color: #1d1d1f;
    }
    
.btn-buy {
    /* Розміри та позиціонування */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 60px; /* Мінімальна ширина, щоб кнопка була солідною */
    padding: 9px 18px !important; /* Глибокі відступи */
    
    /* Типографіка */
    font-size: 1.2rem !important; /* Великий текст */
    font-weight: 800 !important; /* Максимальна жирність */
    text-transform: uppercase; /* Текст великими літерами */
    letter-spacing: 1px;
    color: #ffffff !important;
    
    /* Фон та межі */
    background: linear-gradient(135deg, #0056b3 0%, #00c6ff 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    
    /* Ефекти */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3) !important;
    z-index: 1;
}

/* Сяйво при наведенні */
.btn-buy:hover {
    transform: translateY(-5px) scale(1.05) !important; /* Кнопка вистрибує назустріч */
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.5) !important; /* Тінь стає глибокою */
    background: linear-gradient(135deg, #00c6ff 0%, #0056b3 100%) !important; /* Перелив градієнта */
}

/* Ефект "Блиску" (Shimmer) */
.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: -1;
}

.btn-buy:hover::before {
    animation: shimmer 0.8s forwards;
}

@keyframes shimmer {
    100% { left: 200%; }
}

/* Акцент на іконці */
.btn-buy::after {
    content: '→';
    margin-left: 12px;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.btn-buy:hover::after {
    transform: translateX(8px);
}
    /* Trust Section */
    .trust-section {
        background: #f9fafb;
        padding: 60px 5%;
        text-align: center;
        border-top: 1px solid #eee;
    }
    .trust-grid {
        display: flex;
        justify-content: center;
        gap: 50px;
        flex-wrap: wrap;
        margin-top: 30px;
    }
    .trust-item strong { display: block; margin-bottom: 5px; color: #333; }
    .trust-item span { color: #666; font-size: 0.9rem; }
    
    .main-footer {
    background: #111;
    color: #888;
    padding: 30px 5%; /* Трохи зменшили вертикальні відступи для компактності */
    border-top: 1px solid #222;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Вирівнювання лого і тексту по центру горизонталі */
    justify-content: space-between;
}

.footer-logo img {
    height: 45px; /* Ідеальний розмір для футера */
    width: auto;
    filter: grayscale(100%) brightness(1.2); /* Елегантний вигляд: лого стає світло-сірим */
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo img:hover {
    filter: none; /* Повернення оригінальних кольорів */
    opacity: 1;
    transform: translateY(-2px); /* Легке підняття при наведенні */
}

.footer-info p {
    margin: 0;
    font-size: 0.85rem; /* Текст копірайту зазвичай робиться трохи меншим */
    letter-spacing: 0.5px;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-logo img {
        height: 40px; /* Трохи менше лого для мобільних екранів */
    }
}

 .contact-page-wrapper {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 5%;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    /* Стилі інфо-колонки */
    .info-card {
        background: #f8fafc;
        padding: 40px;
        border-radius: 24px;
        border: 1px solid #e2e8f0;
    }

    .info-badge {
        display: inline-block;
        background: var(--primary-blue);
        color: white;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 4px;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .edrpou {
        font-weight: 700;
        color: #64748b;
        margin-bottom: 30px;
    }

    .kved-section h4 {
        font-size: 0.9rem;
        text-transform: uppercase;
        color: #94a3b8;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .kved-item.main {
        background: white;
        padding: 15px;
        border-radius: 12px;
        border-left: 4px solid var(--primary-blue);
        font-weight: 500;
        margin-bottom: 25px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    }

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

    .kved-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
        color: #334155;
        display: flex;
        gap: 10px;
    }

    .kved-list li span {
        font-weight: 700;
        color: var(--primary-blue);
        min-width: 45px;
    }

    .director-block {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #e2e8f0;
    }

    .director-block .label {
        font-size: 0.8rem;
        color: #94a3b8;
        margin-bottom: 5px;
    }

    .director-block .name {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0f172a;
    }


        .cart-item { 
            background: #f5f5f7; 
            padding: 20px; 
            margin-bottom: 15px; 
            border-radius: 12px;
            display: flex; 
            justify-content: space-between; 
            align-items: center;
        }

        .item-info { flex-grow: 1; }
        
        .item-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .btn { 
            background: #0056b3; 
            color: white; 
            padding: 12px 24px; 
            border: none; 
            border-radius: 8px; 
            cursor: pointer; 
            font-weight: 600; 
            font-size: 1rem;
        }
        .btn:hover { background: #004494; }

        .btn-clear {
            color: #d12e2e;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
        }
        .btn-clear:hover { text-decoration: underline; }

        /* Стиль для хрестика видалення окремого товару */
        .remove-link {
            color: #999;
            font-size: 1.2rem;
            text-decoration: none;
            padding: 5px 10px;
            transition: 0.2s;
            border-radius: 5px;
        }
        .remove-link:hover {
            background-color: #ffcccc;
            color: #d12e2e;
        }

        a.back-link { color: #0056b3; text-decoration: none; font-weight: 500; }
        a.back-link:hover { text-decoration: underline; }

        .total { font-size: 1.5rem; text-align: right; margin-top: 30px; font-weight: 700; }
        .actions { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
   /* Контейнер кошика */
.cart-main {
    padding: 60px 5%;
    min-height: 70vh; /* Гарантує, що футер буде знизу */
    display: flex;
    justify-content: center;
}

.cart-container {
    width: 100%;
    max-width: 900px;
}

.cart-main h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

/* Список товарів */
.cart-list {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #f5f5f7;
    transition: background 0.2s;
}

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

.cart-item:hover {
    background: #fafafa;
}

.item-title {
    font-size: 1.2rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.item-meta {
    color: #888;
    font-size: 0.95rem;
}

/* Дії та суми */
.item-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.item-subtotal {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    min-width: 120px;
    text-align: right;
}

.remove-link {
    color: #ccc;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s;
}

.remove-link:hover {
    color: #ff3b30;
}

/* Футер кошика */
.cart-footer {
    margin-top: 40px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
}

.total-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #666;
}

.total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.secondary-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.back-link {
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-clear {
    color: #999;
    font-size: 0.9rem;
    text-decoration: underline;
}

.btn-clear:hover {
    color: #666;
}

.btn-checkout {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Стан порожнього кошика */
.empty-state {
    text-align: center;
    padding: 80px 0;
}

.empty-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.2;
}

/* Адаптивність */
@media (max-width: 600px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .item-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-buttons {
        flex-direction: column-reverse;
    }
    
    .secondary-actions {
        flex-direction: column;
        gap: 10px;
    }
}

.contact-methods {
        margin: 25px 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .method-item {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .method-item .icon {
        font-size: 1.4rem;
        background: white;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .method-detail strong {
        display: block;
        font-size: 0.85rem;
        color: #94a3b8;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    .method-detail p, .method-detail a {
        margin: 0;
        font-weight: 600;
        color: #1e293b;
        text-decoration: none;
    }

    .method-detail a:hover {
        color: var(--primary-blue);
    }

    /* Решта стилів з попередньої версії залишаються */
    .contact-page-wrapper { max-width: 1200px; margin: 60px auto; padding: 0 5%; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
    .info-card { background: #f8fafc; padding: 40px; border-radius: 24px; border: 1px solid #e2e8f0; }
    .info-badge { display: inline-block; background: var(--primary-blue); color: white; padding: 4px 12px; border-radius: 4px; margin-bottom: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
    .edrpou { font-weight: 700; color: #64748b; margin: 20px 0; }
    .kved-section h4 { font-size: 0.9rem; text-transform: uppercase; color: #94a3b8; margin-bottom: 15px; }
    .kved-item.main { background: white; padding: 15px; border-radius: 12px; border-left: 4px solid var(--primary-blue); margin-bottom: 25px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
    .kved-list { list-style: none; padding: 0; }
    .kved-list li { font-size: 0.9rem; margin-bottom: 10px; display: flex; gap: 10px; }
    .kved-list li span { font-weight: 700; color: var(--primary-blue); min-width: 45px; }
    .director-block { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
    .director-block .label { font-size: 0.8rem; color: #94a3b8; }
    .director-block .name { font-size: 1.1rem; font-weight: 700; }
    .ai-form { background: white; padding: 40px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); border: 1px solid #eee; }
    .form-group { margin-bottom: 20px; }
    .form-label { display: block; margin-bottom: 8px; font-weight: 600; }
    .form-input, .form-textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }

    @media (max-width: 900px) {
        .contact-grid { grid-template-columns: 1fr; }
    }
    .error-page {
        background: #0f172a;
        color: white;
        height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        text-align: center;
    }

    .error-container {
        max-width: 600px;
        padding: 0 5%;
    }

    /* Візуальний ефект вузла */
    .error-visual {
        position: relative;
        margin-bottom: 50px;
        display: flex;
        justify-content: center;
    }

    .glitch-node {
        position: relative;
        width: 150px;
        height: 150px;
        background: rgba(0, 86, 179, 0.1);
        border: 2px solid var(--primary-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 50px rgba(0, 86, 179, 0.3);
    }

    .error-code {
        font-size: 3rem;
        font-weight: 900;
        color: white;
        text-shadow: 2px 2px #ff3b30, -2px -2px #00c6ff; /* Ефект глітча */
        animation: glitchText 1s infinite alternate;
    }

    .node-ring {
        position: absolute;
        width: 120%;
        height: 120%;
        border: 1px dashed rgba(0, 198, 255, 0.3);
        border-radius: 50%;
        animation: rotateRing 8s linear infinite;
    }

    .node-ring:nth-child(2) {
        width: 140%;
        height: 140%;
        animation-duration: 12s;
        animation-direction: reverse;
    }

    /* Текст та кнопки */
    .error-text h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: white;
    }

    .error-text p {
        color: #94a3b8;
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .error-actions {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .btn-primary-glass {
        background: var(--primary-blue);
        color: white;
        padding: 15px 30px;
        border-radius: 10px;
        font-weight: 700;
        box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3);
        text-decoration: none;
        transition: 0.3s;
    }

    .btn-primary-glass:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0, 86, 179, 0.5);
    }

    /* Анімації */
    @keyframes glitchText {
        0% { transform: skew(2deg); }
        100% { transform: skew(-2deg); }
    }

    @keyframes rotateRing {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    @media (max-width: 600px) {
        .error-actions { flex-direction: column; }
        .error-text h1 { font-size: 1.8rem; }
    }
        /* Стилі для нової версії магазину */
    .shop-hero-v3 {
        padding: 100px 5%;
        text-align: center;
        background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
        color: white;
    }
    .hero-label {
        color: var(--primary-blue);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 800;
        margin-bottom: 20px;
    }
    .text-gradient {
        background: linear-gradient(90deg, #00c6ff, #0072ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .shop-container { padding: 60px 5%; background: #f8fafc; }
    .shop-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
    
    .cat-tag { font-size: 0.7rem; font-weight: 800; color: #64748b; }
    .vendor-tag { font-size: 0.7rem; font-weight: 800; color: #0076d6; margin-left: 10px; border-left: 1px solid #ddd; padding-left: 10px; }
    
    .product-card[data-category="server"] {
        border-top: 4px solid #0076d6;
    }
    
    /* Оновлена Кнопка */
    .btn-buy {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 14px 28px !important;
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        color: #ffffff !important;
        background: linear-gradient(135deg, #0056b3 0%, #00c6ff 100%) !important;
        border: none !important;
        border-radius: 12px !important;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2) !important;
    }
    .btn-buy:hover {
        transform: translateY(-5px) scale(1.05) !important;
        box-shadow: 0 15px 30px rgba(0, 86, 179, 0.4) !important;
    }

    .vendor-banner {
        background: #0076d6;
        color: white;
        padding: 80px 5%;
        text-align: center;
    }
    .vendor-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    .v-item strong { display: block; font-size: 1.2rem; margin-bottom: 10px; }

    /* Базові налаштування хедера */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: relative;
    z-index: 1000;
}

/* Приховуємо бургер на великих екранах */
.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: 0.3s;
    border-radius: 2px;
}

/* Мобільна адаптація (менше 900px) */
@media (max-width: 900px) {
    .burger-menu {
        display: flex;
    }

    nav {
        display: none; /* Приховуємо стандартне меню */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    nav.active {
        display: block; /* Показуємо меню при активації */
        animation: slideDown 0.3s ease-out;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Анімація хрестика для бургера */
    .burger-menu.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu.open span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}