/* ====================== Atlas-node — style.css ====================== */
/* Светлый минимализм */

:root {
    --bg: #f8f9fa;
    --text: #1a1a1a;
    --gray: #555;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* ====================== Фон ====================== */
.background-image {
    position: fixed;
    inset: 0;
    background-image: url('https://i.postimg.cc/tRZ55H6v/priroda-nebo-oblaka-svezhest.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.87) saturate(0.73) blur(3px);
    z-index: -2;
}

.background-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(255,255,255,0.38) 0%, 
        rgba(255,255,255,0.22) 55%, 
        rgba(248,249,250,0.55) 100%
    );
    z-index: -1;
}

/* ====================== Header ====================== */
header {
    padding: 38px 0 30px;
    position: relative;
    z-index: 10;
}

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

h1 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* ====================== Кнопки в header ====================== */
.back-btn, .google-btn {
    background: rgba(255, 255, 255, 0.78);
    color: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.85);
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
}

.back-btn:hover, .google-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(255,255,255,0.95);
}

.google-btn.logout {
    background: rgba(255, 255, 255, 0.78);
}

.google-btn.logout:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

/* ====================== Главный контент ====================== */
.dashboard-main {
    padding: 85px 0 120px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================== Приветствие ====================== */
.welcome {
    text-align: center;
    margin-bottom: 80px;
}

.subtitle-large {
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: -0.03em;
}

/* ====================== Сетка нейронок ====================== */
.neural-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.neural-card {
    display: block;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.neural-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.neural-card h3 {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.neural-card p {
    font-size: 15.5px;
    color: #555;
    line-height: 1.5;
}

/* ====================== Логотипы нейронок ====================== */
.neural-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

/* Увеличенные логотипы */
.deepseek-card .neural-logo    { transform: scale(1.85); }
.gigachat-card .neural-logo    { transform: scale(1.65); }
.qwen-card .neural-logo        { transform: scale(0.92); }
.groq-card .neural-logo        { transform: scale(1.05); }
.alisa-card .neural-logo       { transform: scale(0.85); }
.grok-card .neural-logo        { transform: scale(1.68); }
.bolt-card .neural-logo        { transform: scale(1.32); }
.perplexity-card .neural-logo  { transform: scale(1.82); }
.reve-card .neural-logo        { transform: scale(1.35); }
.chatgpt-card .neural-logo     { transform: scale(0.62); }

/* ====================== Обычные карточки ====================== */
.card {
    display: block;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 46px 42px;
    margin-bottom: 26px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    text-decoration: none;
    color: inherit;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

.card-content h3 {
    font-size: 26.5px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.card-content .subtitle {
    font-size: 17px;
    color: #555;
    line-height: 1.55;
}

/* ====================== Footer ====================== */
footer {
    padding: 55px 0 40px;
    text-align: center;
    font-size: 13.5px;
    color: #888;
    position: relative;
    z-index: 2;
}

/* ====================== Стили кнопки «В мастерскую» ====================== */
.workshop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 32px 0 24px;
    text-align: center;
    z-index: 50;
}

.back-home {
    background: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 9px 24px;
    font-size: 14.5px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.back-home:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* ====================== Responsive ====================== */
@media (max-width: 640px) {
    .dashboard-main { padding: 75px 0 90px; }
    .subtitle-large { font-size: 24px; }
    .neural-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
    }
    .neural-card, .card { 
        padding: 32px 24px; 
    }
    .neural-logo {
        width: 42px;
        height: 42px;
    }
}
