/**
 * @file: style.css
 * @description: Основные стили для сайта-заглушки (Holding Page)
 * @dependencies: Нет
 * @created: 2026-04-08
 */

:root {
  --primary-color: #2A5C8A;
  --accent-color: #4CAF50;
  --accent-hover: #45a049;
  --bg-color: #F9FAFB;
  --text-color: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --border-color: #e5e7eb;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Main Content */
main {
  flex: 1;
  padding: 60px 0;
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Form */
.subscribe-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  flex: 1;
}

input[type="email"], select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

input[type="email"]:focus, select:focus {
  border-color: var(--primary-color);
}

.btn {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--accent-hover);
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  visibility: visible;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Legal Pages */
.legal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.legal-content h1 {
  color: var(--primary-color);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
  color: var(--text-color);
  margin: 25px 0 15px;
}

.legal-content p, .legal-content ul {
  margin-bottom: 15px;
}

.legal-content ul {
  padding-left: 20px;
}

/* DSAR Form */
.dsar-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
}

.dsar-form label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.dsar-form input, .dsar-form select {
  width: 100%;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content p {
  margin-bottom: 5px;
}

.cookie-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.jurisdiction {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .subscribe-form { flex-direction: column; }
  .features { grid-template-columns: 1fr; }
  header .container { flex-direction: column; gap: 15px; }
  .cookie-banner { flex-direction: column; gap: 15px; text-align: center; }
  .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
  .legal-content { padding: 20px; }
}
