/* ==========================================
   НОВАЯ ШАПКА (В СТИЛИСТИКЕ FULLSTACK)
   ========================================== */
.header {
    background: #0a0f1d !important; /* Тёмный фон, как в Hero */
    border-bottom: 1px solid rgba(0, 210, 255, 0.2); /* Тонкая неоновая линия */
}

.logo a h1, 
.logo a span {
    color: #ffffff !important;
}

.header-contacts .phone {
    color: #00d2ff !important; /* Неоновый телефон */
    font-weight: bold;
}

.auth-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-btn:hover {
    background: #00d2ff !important;
    color: #000 !important;
}

.auth-btn.register {
    background: linear-gradient(90deg, #00d2ff, #3a7bd5) !important;
    border: none;
}

/* Меню (навигация) */
.navbar {
    background: #0f1626 !important; /* Чуть светлее фона шапки */
}

.navbar a {
    color: #a0aabf !important;
}

.navbar a:hover, 
.navbar a.active {
    color: #00d2ff !important;
    background: rgba(0, 210, 255, 0.1) !important;
    border-radius: 6px;
}

/* ==========================================
   НОВЫЙ HERO-БЛОК
   ========================================== */
.hero {
    background: #0a0f1d;
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: linear-gradient(#00d2ff 1px, transparent 1px), linear-gradient(90deg, #00d2ff 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-part {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #00d2ff;
    border-radius: 20px;
    color: #00d2ff;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.hero-title .neon-blue { color: #00d2ff; }
.hero-title .neon-purple { color: #a200ff; }

.hero-desc {
    font-size: 18px;
    color: #a0aabf;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-tech-stack {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.hero-tech-stack .sep { color: #444; }
.hero-tech-stack .tech-php { color: #00d2ff; }
.hero-tech-stack .tech-python { color: #ffd43b; }
.hero-tech-stack .tech-react { color: #61dafb; }
.hero-tech-stack .tech-ai { color: #a200ff; }

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-neon-primary {
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    text-decoration: none;
    color: #fff;
}

.btn-neon-outline {
    background: transparent;
    border: 2px solid #a200ff;
    color: #fff;
    padding: 13px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-neon-outline:hover {
    background: rgba(162, 0, 255, 0.1);
}

.hero-image-part {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #00d2ff;
    filter: blur(100px);
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-image-part img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================
   БЛОК ФУНКЦИОНАЛА (КАРТОЧКИ)
   ========================================== */
.work-section {
    padding: 60px 0;
    background: #f8f9fa; /* Чуть серый, чтобы выделялось */
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.work-card {
    text-decoration: none;
    color: #333;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #00d2ff;
}

.work-card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.work-card img {
    width: 100%;
    border-radius: 8px;
    height: 150px;
    object-fit: cover;
}
