:root {
  --primary-color: #ff6b00;
  --secondary-color: #ff8533;
  --dark-color: #1a1a1a;
  --light-color: #ffd9b3;
  --text-color: #ffffff;
  --background-color: #121212;
  --card-background: #1f1f1f;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 107, 0, 0.03) 0px,
      rgba(255, 107, 0, 0.03) 2px,
      transparent 2px,
      transparent 4px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 107, 0, 0.02) 0px,
      rgba(255, 107, 0, 0.02) 2px,
      transparent 2px,
      transparent 4px
    ),
    linear-gradient(
      to bottom,
      var(--background-color),
      rgba(26, 26, 26, 0.95)
    );
  background-attachment: fixed;
}

header {
  background: var(--dark-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s;
}

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

section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-color);
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 80px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero-animation {
  flex: 1;
  position: relative;
  height: 400px;
}

.network-grid {
  position: absolute;
  width: 100%;
  height: 100%;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
  margin-top: 10px;
}

.cta-button:hover {
  background: var(--secondary-color);
}

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

.feature-card {
  padding: 2rem;
  text-align: center;
  background: var(--card-background);
  border: 1px solid rgba(255,107,0,0.1);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255,107,0,0.2);
}

.feature-card h3 {
  color: var(--primary-color);
  margin: 1rem 0;
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.solution-card {
  padding: 2rem;
  background: var(--card-background);
  border: 1px solid rgba(255,107,0,0.1);
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  text-align: center;
}

.solution-card.featured {
  border: 2px solid var(--primary-color);
  background: linear-gradient(145deg, var(--card-background), rgba(255,107,0,0.1));
}

.solution-card .price {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 1rem 0;
}

.solution-card ul {
  list-style: none;
  margin: 2rem 0;
}

.solution-card li {
  margin: 0.5rem 0;
}

.quote-btn {
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.quote-btn:hover {
  background: var(--secondary-color);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  padding: 0.8rem;
  background: var(--card-background);
  border: 1px solid rgba(255,107,0,0.2);
  color: var(--text-color);
  border-radius: 5px;
  font-size: 1rem;
}

#contact-form textarea {
  height: 150px;
  resize: vertical;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

#contact-form button {
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

#contact-form button:hover {
  background: var(--secondary-color);
}

footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 5%;
  border-top: 1px solid var(--primary-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
}

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

.download-card {
  background: var(--card-background);
  border: 1px solid rgba(255,107,0,0.1);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255,107,0,0.2);
}

.download-card i.fab {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.download-card h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.version-info {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(255,107,0,0.1);
  border-radius: 5px;
}

.version-info p {
  margin: 0.5rem 0;
  color: var(--text-color);
}

.system-requirements {
  text-align: left;
  margin: 1.5rem 0;
}

.system-requirements ul {
  list-style: none;
  margin: 0.5rem 0;
}

.system-requirements li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.system-requirements li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.download-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 0.5rem 0;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}

.download-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.download-btn i {
  margin-right: 0.5rem;
}

.linux-downloads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.datasheet-container,
.datasheet-card,
.specs-grid,
.spec-group {
  display: none;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,107,0,0.1);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.legal-section h4 {
  color: var(--text-color);
  margin: 2rem 0 1rem;
}

.legal-section p {
  margin: 1rem 0;
}

.legal-section ul {
  margin: 1rem 0 1rem 2rem;
}

.legal-section ul li {
  margin: 0.5rem 0;
}

.ia-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.desktop-features {
  margin-top: 2rem;
  background: var(--card-background);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.desktop-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.desktop-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 107, 0, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.desktop-feature-item:hover {
  background: rgba(255, 107, 0, 0.1);
  transform: translateX(5px);
}

.desktop-feature-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.desktop-feature-item:hover i {
  background: rgba(255, 107, 0, 0.2);
  transform: scale(1.1);
}

.desktop-feature-item span {
  font-size: 1rem;
  color: var(--text-color);
  flex: 1;
}

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

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--dark-color);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    gap: 1rem;
  }

  nav ul.active {
    right: 0;
  }

  /* Hamburger animation */
  .menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
  }

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

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

  /* Add overlay when menu is open */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
  }

  .menu-overlay.active {
    display: block;
  }

  .hero-animation {
    display: none;
  }

  .solution-card.featured {
    transform: none;
  }
  .downloads-container {
    grid-template-columns: 1fr;
  }

  .download-card {
    margin: 0 1rem;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .ia-features-grid {
    grid-template-columns: 1fr;
  }
  .desktop-feature-grid {
    grid-template-columns: 1fr;
  }
  .desktop-feature-item:hover {
    transform: translateX(0);
  }
}
