/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --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-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: var(--white);
  padding: 16px;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
}

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

.cookie-accept {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.header nav {
  display: flex;
  gap: 32px;
}

.header nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 80px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
}

/* About Section */
.about {
  padding: 80px 0;
}

.about h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 60px;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
  background: var(--gray-50);
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 60px;
}

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

.feature {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.feature p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.2s;
}

.testimonial:hover {
  transform: translateY(-4px);
}

.testimonial-content {
  padding: 32px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  font-style: normal;
}

/* Contact Section */
.contact {
  background: var(--gray-50);
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact-text p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 32px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefits-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  font-size: 18px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 32px;
  text-align: center;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section p {
  color: var(--gray-200);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--gray-200);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-200);
  font-size: 14px;
}

/* Legal Overlays */
.legal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.legal-content {
  background: var(--white);
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.close-legal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-light);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.close-legal:hover {
  background: var(--gray-100);
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.legal-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 32px 0 16px;
}

.legal-text p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.legal-text ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-text ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .header .container {
    flex-direction: column;
    gap: 16px;
  }
  
  .header nav {
    gap: 20px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text h2 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about h2,
  .features h2,
  .testimonials h2,
  .contact-text h2 {
    font-size: 28px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .legal-content {
    margin: 20px;
    padding: 30px;
    max-height: 70vh;
  }
  
  .legal-content h2 {
    font-size: 24px;
  }
  
  .legal-content h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-text h2 {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .cta-button {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .about,
  .features,
  .testimonials,
  .contact {
    padding: 60px 0;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .legal-content {
    padding: 20px;
  }
}

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

.hero-text,
.about-text,
.contact-text {
  animation: fadeInUp 0.8s ease-out;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .cookie-banner,
  .header,
  .footer {
    display: none;
  }
  
  .legal-overlay {
    position: static;
    background: none;
    padding: 0;
  }
  
  .legal-content {
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
}