:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-text: #1F2937;
  --color-primary: #0F172A;
  /* Granat/Grafit */
  --color-primary-light: #1E293B;
  --color-accent: #2563EB;
  /* Blue Accent */
  --color-accent-dark: #1D4ED8;
  --color-gray-light: #F3F4F6;
  --color-gray-medium: #9CA3AF;
  --color-white: #FFFFFF;
  --color-success: #10B981;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 15px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
  :root {
    /* Responsive Spacing */
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Responsive Typography */
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.25rem;
  }
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-2xl) 0;
}

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

.text-accent {
  color: var(--color-accent);
}

.text-white {
  color: var(--color-white);
}

.font-bold {
  font-weight: 700;
}

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: var(--text-base);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-gray-light);
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: var(--text-5xl);
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.03em;
}

.hero h2 {
  font-size: var(--text-xl);
  color: #4B5563;
  margin-bottom: var(--spacing-lg);
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Problem Section */
.problem-section {
  background-color: var(--color-gray-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.problem-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid #EF4444;
  /* Red for alert/problem */
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.problem-card p {
  color: #4B5563;
}

/* Solution Section */
.solution-section {
  text-align: center;
}

.solution-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.step-item {
  background: var(--color-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
}

.step-arrow {
  color: var(--color-accent);
  font-size: 1.5rem;
}

/* Features Section */
.features-section {
  background-color: #F8FAFC;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-tile {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E5E7EB;
}

.feature-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.feature-tile h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

/* Pricing Section */
.pricing-section {
  padding-bottom: 6rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid #E5E7EB;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
  z-index: 10;
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 1.5rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-medium);
}

.price-old {
  text-decoration: line-through;
  color: var(--color-gray-medium);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.features-list {
  margin: 2rem 0;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #4B5563;
}

.check-icon {
  color: var(--color-success);
  flex-shrink: 0;
}

/* Cooperation Section */
.cooperation-section {
  background-color: var(--color-primary);
  color: white;
}

.cooperation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  text-align: left;
}

.coop-step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.coop-step p {
  color: #E2E8F0;
}

/* Timeline & Contact */
.timeline-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
}

/* Footer */
.footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 4rem 0 2rem;
  border-top: 1px solid #1E293B;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .timeline-contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .solution-steps {
    flex-direction: column;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  /* Mobile Menu Open State */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid #eee;
    z-index: 1001;
    animation: slideDown 0.3s ease-out;
  }

  /* Hero Mobile Optimization */
  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  /* Grid Stack for Mobile */
  .problem-grid,
  .features-grid,
  .pricing-grid,
  .footer-content,
  .cooperation-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  max-width: 500px;
  width: 90%;
  border: 1px solid #E5E7EB;
  display: none;
  /* Hidden by default, JS will toggle */
  animation: slideUp 0.5s ease-out;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text p {
  color: #4B5563;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-cookie-accept {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-cookie-accept:hover {
  background-color: var(--color-primary-light);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}