:root {
    --bg-color: #050505;
    --accent-color: #00f2ff;
    --accent-dim: rgba(0, 242, 255, 0.1);
    --text-bright: #ffffff;
    --text-main: #d1d1d1;
    --text-dim: #94a3b8;
    --font-header: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    --border-color: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
body { margin: 0; padding: 0; background-color: var(--bg-color); background-image: url('bg.png'); background-size: cover; background-position: center; color: var(--text-main); font-family: var(--font-body); overflow: hidden; }

.grunge-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.9) 100%), url('https://www.transparenttextures.com/patterns/asfalt-dark.png'); pointer-events: none; z-index: 1; opacity: 0.7; }
.global-scanlines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 1px, transparent 1px, transparent 3px); pointer-events: none; z-index: 5; }

.viewport-container { height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 2vh 40px; position: relative; z-index: 10; }

/* ХЕДЕР */
header .logo-box {
    font-family: var(--font-header); letter-spacing: 2px; font-size: 1.1rem;
    color: var(--text-bright); border-left: 2px solid var(--accent-color);
    padding-left: 12px; text-transform: uppercase;
}

.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

/* 1. УМЕНЬШЕННЫЙ ОТСТУП ОТ ХЕДЕРА ДО ЗАГОЛОВКА */
.main-headline {
    font-size: clamp(1.6rem, 4vh, 3.2rem);
    font-family: var(--font-header); line-height: 1;
    color: var(--text-bright); text-transform: uppercase;
    margin: 0 0 10px; position: relative;
}

.textured-text::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.3) 0px, rgba(0,0,0,0.3) 1px, transparent 1px, transparent 3px); pointer-events: none; }

.role-title { text-transform: uppercase; letter-spacing: 10px; color: var(--accent-color); font-weight: 400; margin-bottom: 6vh; font-size: 0.9rem; font-family: var(--font-header); }

/* 2. УВЕЛИЧЕННЫЙ ОТСТУП ПЕРЕД СЕТКОЙ */
.master-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(7, auto); gap: 0 35px; max-width: 1100px; width: 100%; margin-bottom: 6vh; }

.logic-card { display: grid; grid-template-rows: subgrid; grid-row: 1 / 8; background: rgba(8, 8, 10, 0.9); border: 1px solid var(--border-color); border-radius: 24px; padding: 20px 35px; transition: 0.3s ease; backdrop-filter: blur(10px); }
.logic-card:hover { border-color: var(--accent-color); }
.card-header { font-family: var(--font-header); font-size: 1.5rem; color: var(--accent-color); text-transform: uppercase; margin-bottom: 5px; }
.card-description { font-size: 0.75rem; color: var(--text-dim); border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-bottom: 15px; line-height: 1.4; }
.task-item { text-align: left; padding-bottom: 1.5vh; }
.task-item strong { color: var(--text-bright); display: block; font-family: var(--font-header); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 2px; }
.task-item p { margin: 0; font-size: 0.8rem; color: var(--text-main); line-height: 1.3; }
.trend-box { background: rgba(0, 242, 255, 0.03); padding: 10px 0; border-top: 1px solid var(--accent-dim); }
.trend-label { color: var(--accent-color) !important; }

/* 3. СТАТУС-БАР С ОТСТУПОМ И ЕДИНЫМ СТИЛЕМ */
.status-box {
    margin-bottom: 4vh; /* Отступ до кнопок */
    padding: 8px 25px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 480px;
}

.status-static, .status-dynamic {
    font-family: var(--font-code); /* JetBrains Mono */
    color: var(--text-dim);        /* Тот самый приглушенный серый #94a3b8 */
    font-size: 0.75rem;
    letter-spacing: 1px;           /* Уменьшил межсимвольный интервал для аутентичности */
}

.status-static { display: flex; align-items: center; flex-shrink: 0; margin-right: 12px; }
.status-dynamic { text-align: left; min-width: 320px; }

.pulse { width: 8px; height: 8px; background: #10b981; border-radius: 50%; margin-right: 15px; box-shadow: 0 0 10px #10b981; animation: pulse-animation 2s infinite; }
@keyframes pulse-animation { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
.cursor { animation: blink 1s infinite; color: var(--accent-color); }
@keyframes blink { 50% { opacity: 0; } }

/* 4. КНОПКИ С ОТСТУПОМ */
.actions { display: flex; gap: 25px; margin-bottom: 2vh; }

.btn-grunge { position: relative; padding: 14px 40px; background: var(--accent-color); color: #000; text-decoration: none; font-family: var(--font-header); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; border-radius: 40px; transition: 0.3s; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.textured-btn::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 1px, transparent 1px, transparent 3px); }
.btn-grunge:hover { background: #fff; transform: translateY(-2px); }
.btn-outline { padding: 14px 40px; border: 1px solid #333; color: #fff; text-decoration: none; font-family: var(--font-header); font-size: 1rem; font-weight: 700; text-transform: uppercase; border-radius: 40px; transition: 0.3s; }
.btn-outline:hover { border-color: var(--accent-color); color: var(--accent-color); }

/* ФУТЕР */
footer { padding-bottom: 15px; text-align: center; font-family: var(--font-code); font-size: 0.65rem; color: var(--text-dim); letter-spacing: 1px; }

.slider-indicators { display: none; gap: 10px; margin-bottom: 20px; }
.dot { width: 30px; height: 3px; background: #333; border-radius: 2px; transition: 0.3s; }
.dot.active { background: var(--accent-color); }

/* --- MOBILE --- */
@media (max-width: 850px) {
    body { overflow-y: auto; }
    .viewport-container { height: auto; padding: 10px 0; }
    header { padding: 20px 20px 10px; }
    header .logo-box { font-size: 0.85rem; }
    .main-headline { font-size: 1.8rem; margin: 15px 20px 5px; line-height: 1.3; overflow-wrap: break-word; }
    .role-title { letter-spacing: 5px; font-size: 0.75rem; }
    .master-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding: 0 10% 20px 20px; width: 100vw; }
    .master-grid::-webkit-scrollbar { display: none; }
    .logic-card { min-width: 85vw; scroll-snap-align: start; padding: 20px; }
    .slider-indicators { display: flex; justify-content: center; }
    
    .status-box { margin: 20px 20px 50px 20px; width: calc(100% - 40px); justify-content: flex-start; min-width: 0; padding: 8px 15px; }
    .status-dynamic { min-width: 0; flex: 1; font-size: 0.55rem; }
    .status-static .label { font-size: 0.55rem; font-family: var(--font-code); color: var(--text-dim); }

    .actions { flex-direction: column; width: calc(100% - 40px); margin: 0 auto 40px; gap: 12px; }
    .btn-grunge, .btn-outline { width: 100%; font-size: 0.95rem; padding: 12px; }
    footer { padding: 20px; font-size: 0.55rem; }
}
/* ===== Шапка — логотип + линия + текст ===== */
header {
  padding: 12px 24px;
  display: flex;
  justify-content: start;
  align-items: center;
  background: transparent;
}

/* Контейнер внутри */
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Логотип */
.header-logo {
  width: 48px;
  height: auto;
}

/* Синяя вертикальная линия */
.logo-divider {
  width: 4px;
  height: 40px;
  background-color: #00E8FF; /* яркий голубой */
  border-radius: 2px;
}

/* Текст рядом */
.header-title {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Адаптация для мобилок */
@media (max-width: 768px) {
  .header-logo {
    width: 36px;
  }
  .logo-divider {
    height: 28px;
  }
  .header-title {
    font-size: 20px;
  }
}
