:root {
  --color-primary: #1a1a2e;
  --color-secondary: #16213e;
  --color-accent: #e94560;
  --color-accent-hover: #ff6b6b;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-border: #e0e0e0;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

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

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

/* Header */
header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 1px;
}

.logo span {
  color: var(--color-accent);
}

/* Navigation */
.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-secondary);
  padding: 20px;
}

.nav-menu.active {
  display: flex;
}

.nav-menu li {
  margin: 10px 0;
}

.nav-menu a {
  color: var(--color-white);
  font-size: 1rem;
  padding: 10px 0;
  display: block;
  transition: color var(--transition);
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover,
.btn:focus {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

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

/* Sections */
section {
  padding: 50px 20px;
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 15px auto 0;
}

/* Services Cards */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.service-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-card h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Features */
.features {
  background: var(--color-bg-light);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 25px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-item h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
  background: var(--color-primary);
  color: var(--color-white);
}

.testimonials .section-title {
  color: var(--color-white);
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: 10px;
  left: 20px;
  color: var(--color-accent);
  opacity: 0.5;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 30px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-accent);
}

.testimonial-role {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* About */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 20px;
  flex: 1 1 140px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  color: var(--color-text-light);
}

/* Contact */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--color-bg-light);
  border-radius: 8px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-details h3 {
  color: var(--color-primary);
  margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
  color: var(--color-text-light);
}

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

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 80px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.thank-you h1 {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.thank-you p {
  color: var(--color-text-light);
  max-width: 500px;
  margin-bottom: 30px;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--color-primary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.legal-content h2 {
  color: var(--color-primary);
  margin: 30px 0 15px;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--color-text-light);
}

.legal-content ul {
  margin: 15px 0 15px 25px;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.legal-update {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

/* Footer */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 40px 20px 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  margin-bottom: 15px;
  color: var(--color-accent);
}

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

.footer-section a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  font-size: 0.95rem;
}

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

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: var(--color-white);
}

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

.cookie-btn-settings {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.cookie-btn-settings:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.modal-content {
  background: var(--color-white);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  color: var(--color-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--color-accent);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-info h4 {
  color: var(--color-primary);
  margin-bottom: 5px;
}

.cookie-option-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-border);
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--color-white);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-footer {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px 20px;
  z-index: 10001;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
  }

  .nav-menu li {
    margin: 0 0 0 30px;
  }

  .nav-menu a {
    padding: 5px 0;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  section {
    padding: 80px 20px;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 15px);
  }

  .features-list {
    flex-direction: row;
  }

  .feature-item {
    flex: 1;
  }

  .testimonials-list {
    flex-direction: row;
  }

  .testimonial-card {
    flex: 1;
  }

  .about-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-text {
    flex: 2;
  }

  .stats {
    flex: 1;
    flex-direction: column;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-item {
    flex: 1 1 calc(50% - 10px);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-section {
    flex: 1;
  }

  .cookie-content {
    flex-direction: row;
    text-align: left;
  }

  .cookie-content p {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .service-card {
    flex: 1 1 calc(33.333% - 20px);
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}
