:root {
  /* Нова унікальна кольорова палітра - темні тони з яскравими акцентами */
  --bg-primary: #0a0e1a;
  --bg-secondary: #141824;
  --bg-tertiary: #1e2330;
  --bg-card: #252a3a;
  --accent-primary: #ff6b9d;
  --accent-secondary: #c44569;
  --accent-tertiary: #f8b500;
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #7a8ba3;
  --border-color: #2d3447;
  --gradient-primary: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
  --gradient-secondary: linear-gradient(135deg, #f8b500 0%, #ff9500 100%);
  --gradient-bg: linear-gradient(180deg, #0a0e1a 0%, #141824 50%, #1e2330 100%);
  
  /* Радіуси та відступи */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Тіні */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(255, 107, 157, 0.3);
  
  --max-width: 1200px;
}

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-secondary);
  background: var(--gradient-bg);
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* Новий шрифт для заголовків */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { 
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

h2 { 
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.3;
}

h3 { 
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 { 
  font-size: 1.25rem;
  color: var(--text-primary);
}

p { 
  margin: 0 0 var(--space-md);
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a { 
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover { 
  color: var(--accent-secondary);
  text-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header - повністю новий дизайн */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-sm) 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo-link {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.3));
}

.nav {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.nav-link {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: rgba(255, 107, 157, 0.1);
}

.nav-link.active::before {
  width: 80%;
}

/* Hero Section - новий дизайн */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.15), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(248, 181, 0, 0.12), transparent 70%);
  filter: blur(50px);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  text-align: center;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  color: var(--text-secondary);
  animation: fadeInUp 1s ease;
}

/* Buttons - новий стиль */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* Section */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section.alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.text-center {
  text-align: center;
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards - новий дизайн */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-glow);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-primary);
}

.card-title {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
  background: var(--bg-card);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact Info */
.contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-info:hover {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-info span,
.contact-info a {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-info a:hover {
  color: var(--accent-primary);
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 2px solid var(--border-color);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.footer p {
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--text-muted);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-primary);
}

/* List with checkmarks */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 1.2rem;
}

/* Content Cards for Legal Pages */
.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.content-card h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-color);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--accent-primary);
}

.content-card ul,
.content-card ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.content-card li {
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}

.content-card strong {
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 1rem 2rem;
  }
  
  .content-card {
    padding: var(--space-md);
  }
}

/* Додаткові утиліти */
.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: start;
}
