/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header .logo {
  z-index: 1001;
  position: relative;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;
  text-transform: CamelCase;
}

/* Burger Menu Styles */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #2563eb;
  border-radius: 3px;
  transition: all 0.3s ease;
  position: absolute;
  pointer-events: none;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(1),
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(2),
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(3),
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Navigation Styles */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 998;
  overflow-y: auto;
}

.nav.nav-open {
  right: 0;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.nav-list {
  list-style: none;
  padding: 80px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #2563eb;
}

.cta-button {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #1d4ed8;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-subtitle {
  color: #64748b;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.scroll-down {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  margin-top: 30px;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #2563eb;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Placeholder Images */
.placeholder-image {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border: 2px dashed #94a3b8;
}

.placeholder-content {
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #f8fafc;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 50px;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.section-text h3 {
  font-size: 24px;
  color: #2563eb;
  margin: 30px 0 15px;
}

.section-text p {
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.7;
}

.section-text ul {
  color: #475569;
  margin-left: 20px;
  line-height: 1.7;
}

.section-text li {
  margin-bottom: 10px;
}

/* Market Section */
.market-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.market-block h3 {
  color: #2563eb;
  font-size: 20px;
  margin-bottom: 15px;
}

.market-block p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 15px;
}

.market-image {
  margin: 50px 0 40px;
  text-align: center;
}

/* Applications Section */
.applications-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.applications-content {
  background: #ffffff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.applications-text h3 {
  color: #2563eb;
  font-size: 24px;
  margin: 35px 0 18px;
  font-weight: 700;
  border-left: 4px solid #2563eb;
  padding-left: 15px;
}

.applications-text p {
  color: #475569;
  margin-bottom: 22px;
  line-height: 1.8;
  font-size: 16px;
}

.applications-text ul {
  color: #475569;
  margin-left: 25px;
  line-height: 1.8;
  margin-top: 20px;
}

.applications-text li {
  margin-bottom: 12px;
  font-size: 16px;
}

.applications-text li::marker {
  color: #2563eb;
}

/* Applications Image */
.applications-image-placeholder {
  padding: 60px 0;
  background: #f8fafc;
}

.applications-image-placeholder img {
  display: block;
  margin: 0 auto;
}

/* Section Images */
.section-image img {
  display: block;
  object-fit: cover;
}

/* Comparison Section */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.comparison-column h3 {
  color: #2563eb;
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.comparison-column ul {
  list-style: none;
}

.comparison-column li {
  color: #475569;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.comparison-column li::before {
  content: "•";
  color: #2563eb;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* FAQ Section */
.faq-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: #2563eb;
  font-size: 20px;
  margin-bottom: 15px;
}

.faq-item p {
  color: #475569;
  line-height: 1.7;
}

/* Contacts Section */
.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  color: #2563eb;
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-details {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.contact-details p {
  color: #475569;
  margin-bottom: 10px;
}

.contact-text p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #374151;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 14px;
  color: #6b7280;
}

.checkbox-group a {
  color: #2563eb;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  color: #ffffff;
  padding: 20px 0;
  z-index: 1002;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  color: #e2e8f0;
}

.cookie-content a {
  color: #60a5fa;
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: #2563eb;
  color: #ffffff;
}

.cookie-btn.accept:hover {
  background: #1d4ed8;
}

.cookie-btn.decline {
  background: transparent;
  color: #e2e8f0;
  border: 2px solid #475569;
}

.cookie-btn.decline:hover {
  background: #475569;
}

/* Footer */
.footer {
  background: #1e293b;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo .logo {
  color: #60a5fa;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-links h4 {
  color: #60a5fa;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid #475569;
  padding-top: 20px;
  text-align: center;
  color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .market-blocks {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav {
    width: 90%;
    max-width: 300px;
  }

  .nav-list {
    padding: 70px 20px 20px;
  }

  .nav-list a {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 28px;
  }

  .section h2 {
    font-size: 28px;
  }

  .section-text h3 {
    font-size: 20px;
  }

  .cookie-content {
    padding: 0 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-20 {
  margin-top: 20px;
}

/* Loading lazy images */
img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .cta-button,
  .scroll-down {
    display: none !important;
  }

  .section {
    page-break-inside: avoid;
  }

  .hero {
    padding-top: 40px;
  }
}
