/* ============ ОБЩЕЕ ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0f;
  color: #e8e8ee;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: #ffd700; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ ШАПКА ============ */
.header {
  background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 14px; }

.logo {
  font-size: 36px;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.4));
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-3deg); }
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.btn-back {
  color: #ffd700;
  border: 1px solid rgba(255,215,0,0.3);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-back:hover {
  background: rgba(255,215,0,0.1);
  border-color: #ffd700;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255,215,0,0.2);
}

/* ============ КОНТЕЙНЕР ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.section {
  margin-bottom: 50px;
  animation: section-fade-in 0.8s ease both;
}

.section:nth-child(1) { animation-delay: 0.05s; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.15s; }
.section:nth-child(4) { animation-delay: 0.2s; }
.section:nth-child(5) { animation-delay: 0.25s; }
.section:nth-child(6) { animation-delay: 0.3s; }
.section:nth-child(7) { animation-delay: 0.35s; }

@keyframes section-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head h2 { margin-bottom: 0; }

/* ============ КНОПКИ ============ */
.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #f0a500 100%);
  color: #0a0a0f;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.2); }
  50% { box-shadow: 0 0 35px rgba(255,215,0,0.5); }
}

#btn-ai:not(:disabled) {
  animation: btn-pulse 2.5s ease-in-out infinite;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 0 40px rgba(255,215,0,0.6);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
}

/* ============ AI-СОВЕТНИК ============ */
.ai-block {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  animation: ai-breathe 4s ease-in-out infinite;
}

/* Дышит ТОЛЬКО свечение — текст не двигается */
@keyframes ai-breathe {
  0%, 100% {
    box-shadow: 0 0 30px rgba(255,215,0,0.05), inset 0 0 30px rgba(255,215,0,0.02);
    border-color: rgba(255,215,0,0.15);
  }
  50% {
    box-shadow: 0 0 60px rgba(255,215,0,0.2), inset 0 0 60px rgba(255,215,0,0.08);
    border-color: rgba(255,215,0,0.35);
  }
}

.ai-block::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: ai-glow 6s ease-in-out infinite;
}

@keyframes ai-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.ai-status {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  padding: 20px 0;
  font-style: italic;
}

.ai-advice {
  color: #e8e8ee;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
  padding: 20px 0;
  display: none;
}

.ai-advice.visible {
  display: block;
  animation: fadeIn 0.5s ease;
}

.ai-advice strong { color: #ffd700; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ МЕТРИКИ ============ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.metric-card {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  transition: all 0.3s ease;
  animation: card-fade-in 0.6s ease both;
}

@keyframes card-fade-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.metric-card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.metric-value {
  font-size: 42px;
  font-weight: 700;
  color: #ffd700;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.metric-value.accent-orange { color: #ff6b6b; }
.metric-value.accent-blue { color: #00d4ff; }
.metric-value.accent-green { color: #4ade80; }

.metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ============ SKELETON ============ */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 6px;
  min-height: 42px;
  min-width: 60px;
  display: inline-block;
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============ FLOW ============ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.flow-card {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 16px;
  padding: 22px 20px;
  transition: all 0.3s ease;
  animation: card-fade-in 0.6s ease both;
}

.flow-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-3px);
}

.flow-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.flow-value {
  font-size: 28px;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.flow-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ============ ГРАФИК ============ */
.chart-card {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 16px;
  padding: 24px;
}

/* ============ НАГРУЗКА ============ */
.workload-list { display: flex; flex-direction: column; gap: 12px; }

.workload-item {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.workload-item:hover {
  border-color: rgba(255,215,0,0.2);
  transform: translateX(4px);
}

.workload-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.workload-name { font-weight: 600; color: #ffffff; font-size: 15px; }
.workload-total { font-weight: 700; color: #ffd700; font-size: 18px; }

.workload-bar {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}

.workload-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #00d4ff);
  border-radius: 4px;
}

.workload-cols {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

/* ============ ПРОСРОЧКИ ============ */
.overdue-list { display: flex; flex-direction: column; gap: 10px; }

.overdue-item {
  background: linear-gradient(145deg, #1a1212, #0f0a0a);
  border: 1px solid rgba(255,107,107,0.2);
  border-left: 3px solid #ff6b6b;
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.overdue-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(255,107,107,0.15);
}

.overdue-title { font-size: 14px; color: #ffffff; }
.overdue-date { font-size: 13px; color: #ff6b6b; font-weight: 600; white-space: nowrap; }
.overdue-empty { color: #4ade80; font-size: 14px; padding: 20px 0; }

/* ============ КАРУСЕЛЬ ============ */
.carousel {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-placeholder {
  color: rgba(255,255,255,0.3);
  font-size: 15px;
}

/* ============ ФУТЕР ============ */
.footer {
  background: #0a0a0f;
  border-top: 1px solid rgba(255,215,0,0.08);
  padding: 30px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-text { font-size: 13px; color: rgba(255,255,255,0.35); }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffd700;
  text-decoration: none;
}

/* ============ МОБИЛЬНАЯ ============ */
@media (max-width: 600px) {
  .brand-title { font-size: 18px; }
  .brand-sub { font-size: 11px; }
  .logo { font-size: 28px; }
  .btn-back { padding: 8px 16px; font-size: 13px; }
  .section h2 { font-size: 18px; }
  .metric-value { font-size: 34px; }
  .flow-value { font-size: 24px; }
  .container { padding: 24px 16px 60px; }
  .header-inner { padding: 0 16px; }
  .ai-block { padding: 20px; }
}

/* ============ ЧАТ-АГЕНТ ============ */
.chat-card {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 20px;
  padding: 24px;
}

.chat-history {
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-right: 8px;
}

.chat-hint {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  line-height: 2;
}

.chat-hint strong {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 8px;
}

.chat-quick {
  background: rgba(0,212,255,0.1);
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  margin-right: 6px;
  margin-bottom: 6px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.chat-quick:hover {
  background: rgba(0,212,255,0.2);
  transform: translateY(-1px);
}

.chat-msg {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 90%;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: chat-fade-in 0.4s ease;
}

@keyframes chat-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.user {
  align-self: flex-end;
  background: #1a1a2e;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #0f0f1a;
  color: #e8e8ee;
  border-left: 3px solid #ffd700;
  border-bottom-left-radius: 4px;
}

.chat-msg.error {
  align-self: flex-start;
  background: rgba(255,107,107,0.1);
  color: #ff6b6b;
  border-left: 3px solid #ff6b6b;
}

.chat-msg.thinking {
  align-self: flex-start;
  background: rgba(0,212,255,0.05);
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.chat-input-area {
  display: flex;
  gap: 10px;
}

#chat-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border 0.3s;
}

#chat-input:focus {
  border-color: rgba(255,215,0,0.4);
}

#chat-send {
  padding: 12px 28px;
  font-size: 14px;
}

#chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-limit {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: right;
}

/* ============ РОБОТ С ГЛАЗАМИ ============ */
.robot {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(255,215,0,0.4));
  animation: robot-float 4s ease-in-out infinite;
}

.robot svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-2deg); }
}

.pupil {
  transition: transform 0.15s ease-out;
  transform-origin: center;
}

/* ============ ПРЕВЬЮ-БЛОК ============ */
.intro-block {
  background: linear-gradient(145deg, #12121a, #0a0a0f);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 20px;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}

.intro-block::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.intro-block h1 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}

.intro-block h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #00d4ff);
  margin-top: 12px;
  border-radius: 2px;
}

.intro-block p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
}

.intro-block p:last-child {
  margin-bottom: 0;
}

.intro-block strong {
  color: #ffd700;
}

/* ============ РАСКРЫВАЮЩИЙСЯ СПИСОК ВОЗМОЖНОСТЕЙ ============ */
.chat-capabilities {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}

.capabilities-toggle {
  background: none;
  border: none;
  color: #00d4ff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color 0.3s;
}

.capabilities-toggle:hover {
  color: #ffd700;
}

.cap-arrow {
  transition: transform 0.3s ease;
  display: inline-block;
  font-size: 12px;
}

.capabilities-toggle.open .cap-arrow {
  transform: rotate(180deg);
}

.capabilities-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding-top: 0;
}

.capabilities-list.open {
  max-height: 1000px;
  opacity: 1;
  padding-top: 16px;
}

.cap-item {
  display: flex;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  align-items: flex-start;
}

.cap-item:hover {
  background: rgba(255,255,255,0.03);
  transform: translateX(4px);
}

.cap-icon {
  font-size: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.2));
}

.cap-item strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 3px;
}

.cap-example {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-style: italic;
  font-family: 'SF Mono', Consolas, monospace;
}

@media (max-width: 600px) {
  .intro-block { padding: 24px 20px; }
  .intro-block h1 { font-size: 22px; }
  .robot { width: 44px; height: 44px; }
}

/* ============ РОБОТ ============ */
.robot { width: 52px; height: 52px; flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(255,215,0,0.4)); animation: robot-float 4s ease-in-out infinite; }
.robot svg { width: 100%; height: 100%; display: block; }
@keyframes robot-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-2deg); } }
.pupil { transition: transform 0.15s ease-out; transform-origin: center; }

/* ============ ПРЕВЬЮ-БЛОК ============ */
.intro-block { background: linear-gradient(145deg, #12121a, #0a0a0f); border: 1px solid rgba(0,212,255,0.15); border-radius: 20px; padding: 32px 36px; position: relative; overflow: hidden; }
.intro-block::before { content: ''; position: absolute; top: -80px; left: -80px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.intro-block h1 { font-size: 28px; font-weight: 700; color: #ffffff; margin-bottom: 16px; letter-spacing: -0.5px; position: relative; }
.intro-block h1::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, #ffd700, #00d4ff); margin-top: 12px; border-radius: 2px; }
.intro-block p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.7; margin-bottom: 12px; position: relative; }
.intro-block p:last-child { margin-bottom: 0; }
.intro-block strong { color: #ffd700; }

/* ============ РАСКРЫВАЮЩИЙСЯ СПИСОК ============ */
.chat-capabilities { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }
.capabilities-toggle { background: none; border: none; color: #00d4ff; font-size: 14px; font-weight: 500; cursor: pointer; padding: 8px 0; width: 100%; display: flex; justify-content: space-between; align-items: center; font-family: inherit; transition: color 0.3s; }
.capabilities-toggle:hover { color: #ffd700; }
.cap-arrow { transition: transform 0.3s ease; display: inline-block; font-size: 12px; }
.capabilities-toggle.open .cap-arrow { transform: rotate(180deg); }
.capabilities-list { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease; opacity: 0; padding-top: 0; }
.capabilities-list.open { max-height: 1000px; opacity: 1; padding-top: 16px; }
.cap-item { display: flex; gap: 14px; padding: 12px 16px; border-radius: 12px; transition: all 0.3s ease; align-items: flex-start; }
.cap-item:hover { background: rgba(255,255,255,0.03); transform: translateX(4px); }
.cap-icon { font-size: 22px; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(255,215,0,0.2)); }
.cap-item strong { display: block; color: #ffffff; font-size: 14px; margin-bottom: 3px; }
.cap-example { color: rgba(255,255,255,0.45); font-size: 13px; font-style: italic; font-family: 'SF Mono', Consolas, monospace; }

/* ============ ГАЛЕРЕЯ ============ */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { position: relative; background: #0f0f1a; border: 1px solid rgba(255,215,0,0.1); border-radius: 14px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
.gallery-item:hover { transform: translateY(-6px); border-color: rgba(255,215,0,0.4); box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { padding: 12px 16px; font-size: 13px; color: rgba(255,255,255,0.7); background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5)); font-weight: 500; }

/* ============ LIGHTBOX ============ */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 10000; align-items: center; justify-content: center; backdrop-filter: blur(10px); animation: lb-fade-in 0.3s ease; }
.lightbox.open { display: flex; }
@keyframes lb-fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: 0 0 60px rgba(255,215,0,0.15); animation: lb-img-in 0.3s ease; }
@keyframes lb-img-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); font-size: 20px; cursor: pointer; transition: all 0.3s ease; }
.lightbox-close:hover { background: rgba(255,215,0,0.2); border-color: #ffd700; color: #ffd700; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); font-size: 32px; line-height: 1; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; padding-bottom: 6px; }
.lightbox-nav:hover { background: rgba(255,215,0,0.2); border-color: #ffd700; color: #ffd700; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 14px; padding: 8px 20px; background: rgba(255,255,255,0.05); border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 600px) {
  .intro-block { padding: 24px 20px; }
  .intro-block h1 { font-size: 22px; }
  .robot { width: 44px; height: 44px; }
  .gallery { grid-template-columns: 1fr; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 26px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
}

/* ============ НОВЫЙ ФУТЕР ============ */
.footer { background: #0a0a0f; border-top: 1px solid rgba(255,215,0,0.08); padding: 50px 24px 30px; }
.footer-inner { max-width: 700px; margin: 0 auto; display: block; }
.footer-title { font-size: 22px; font-weight: 700; color: #ffffff; text-align: center; margin-bottom: 32px; letter-spacing: -0.3px; position: relative; }
.footer-title::after { content: ''; display: block; width: 50px; height: 2px; background: linear-gradient(90deg, #ffd700, #00d4ff); margin: 12px auto 0; border-radius: 2px; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.contact-row { display: grid; grid-template-columns: 40px 130px 1fr; align-items: center; gap: 16px; padding: 14px 20px; background: linear-gradient(145deg, #12121a, #0a0a0f); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; text-decoration: none; transition: all 0.3s ease; color: #ffffff; }
.contact-row:hover { border-color: rgba(255,215,0,0.4); transform: translateX(6px); box-shadow: 0 8px 25px rgba(0,0,0,0.4); text-decoration: none; }
.contact-icon { font-size: 22px; text-align: center; filter: drop-shadow(0 0 8px rgba(255,215,0,0.15)); transition: filter 0.3s; }
.contact-row:hover .contact-icon { filter: drop-shadow(0 0 14px rgba(255,215,0,0.5)); }
.contact-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); font-weight: 500; }
.contact-value { font-size: 15px; color: rgba(255,255,255,0.85); text-align: right; font-weight: 500; transition: color 0.3s; word-break: break-word; }
.contact-row:hover .contact-value { color: #ffd700; }
.footer-bottom { text-align: center; font-size: 13px; color: rgba(255,255,255,0.3); padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }

@media (max-width: 600px) {
  .contact-row { grid-template-columns: 32px 1fr; grid-template-areas: "icon label" ". value"; gap: 6px 12px; padding: 12px 16px; }
  .contact-icon { grid-area: icon; font-size: 18px; }
  .contact-label { grid-area: label; font-size: 12px; }
  .contact-value { grid-area: value; text-align: left; font-size: 14px; color: rgba(255,255,255,0.95); font-weight: 600; }
  .footer-title { font-size: 19px; }
}
