/* === ОСНОВНЫЕ СТИЛИ САЙТА === */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #05080A;
  color: #FFFFFF;
  overflow-x: hidden;
}

/* Анимации */
@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-reveal {
  animation: reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.animate-reveal-delay-1 { animation-delay: 0.1s; }
.animate-reveal-delay-2 { animation-delay: 0.2s; }
.animate-reveal-delay-3 { animation-delay: 0.3s; }
.animate-reveal-delay-4 { animation-delay: 0.4s; }

/* Градиентный текст */
.gradient-text {
  background: linear-gradient(to bottom, #FFFFFF 30%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Карточки услуг */
.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,249,31,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(198,249,31,0.3);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover .card-icon { color: #c6f91f; transform: scale(1.1); }
.card-icon { transition: all 0.3s ease; }

/* Кнопки */
.btn-primary {
  background: #c6f91f;
  color: #000000;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #d4ff3d;
  box-shadow: 0 0 30px rgba(198,249,31,0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #FFFFFF;
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Фон и декор */
.bg-gradient-radial {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(198,249,31,0.08), transparent);
}
.bg-grid {
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.nav-blur {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(5,8,10,0.8);
}
.advantage-item {
  position: relative;
  padding-left: 2rem;
}
.advantage-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem;
  width: 8px; height: 8px;
  background: #c6f91f;
  border-radius: 50%;
}
.float-decoration { animation: float 6s ease-in-out infinite; }
.scroll-indicator { animation: float 2s ease-in-out infinite; }
.phone-link {
  background: linear-gradient(135deg, #c6f91f 0%, #9fd420 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* === СТИЛИ ДЛЯ СТАТЕЙ (в article.php) === */
.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}
.article-content p { margin-bottom: 1.5rem; }
.article-content h2, .article-content h3 {
  color: #fff;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-content h2 { font-size: 1.8rem; color: #c6f91f; }
.article-content h3 { font-size: 1.5rem; }
.article-content ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content a { color: #c6f91f; text-decoration: underline; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }

/* === СТИЛИ АДМИНКИ (admin.php) === */
body.admin-body { background: #05080A; color: #fff; font-family: 'Inter', sans-serif; }
.admin-header { background: rgba(5,8,10,0.9); border-bottom: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.admin-container { max-width: 1400px; margin: 0 auto; padding: 2rem; }
.admin-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 12px 16px; border-radius: 8px; font-family: 'Inter', sans-serif; transition: 0.3s; }
.admin-input:focus { outline: none; border-color: #c6f91f; box-shadow: 0 0 0 2px rgba(198, 249, 31, 0.2); }
.admin-textarea { min-height: 300px; line-height: 1.6; }
.admin-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); padding: 1rem 1.5rem; border-radius: 10px; margin-bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.admin-card:hover { border-color: rgba(198,249,31,0.3); background: rgba(255,255,255,0.04); }
.admin-link { color: #c6f91f; text-decoration: none; font-weight: 500; }
.admin-link:hover { text-decoration: underline; }
.admin-link-danger { color: #ff5555; }
.alert-success { background: rgba(198, 249, 31, 0.1); border: 1px solid rgba(198, 249, 31, 0.3); color: #c6f91f; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; }
.login-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); padding: 2.5rem; border-radius: 16px; max-width: 400px; margin: 100px auto; }
