/* Import fonts and icons */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&family=Inter:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --color-primary: #0F3D2E;
  --color-secondary: #0C0C0C;
  --color-accent: #C8FF00;
  --color-light: #F6F7F6;
  --max-width: 1200px;

  /* Futuristic gradient palette for backgrounds */
  --gradient-start: #0a2a24;
  --gradient-mid: #103a31;
  --gradient-end: #0b2b3a;
  /* Glow colour for animated hero elements */
  --accent-glow: rgba(200, 255, 0, 0.35);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  /* Use a smooth gradient background to create a more futuristic atmosphere */
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  color: var(--color-light);
}
a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  /* Semi-transparent backdrop to create a glassmorphism effect */
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
nav .logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav ul li a {
  font-weight: 500;
  color: var(--color-light);
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: var(--color-accent);
}
nav .nav-cta {
  display: flex;
  gap: 10px;
}
.btn {
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  display: inline-block;
  /* Add smooth transitions for futuristic hover effects */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary {
  background-color: var(--color-accent);
  color: #000;
}
.btn-primary:hover {
  background-color: #b8ea00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 255, 0, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-light);
  border: 2px solid var(--color-light);
}
.btn-outline:hover {
  background-color: var(--color-light);
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(200, 255, 0, 0.3);
}

/* Secondary button style for external corporate link */
.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(200, 255, 0, 0.3);
}
.hero {
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  position: relative;
  color: var(--color-light);
  text-align: center;
  /* Contain animated pseudo-elements within the hero section */
  overflow: hidden;
  /* Add a rotating radial gradient element to evoke AI-driven energy flow */
  position: relative;
}

/* Animated radial gradient overlay for hero sections */
.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 70%);
  animation: rotateGlow 20s linear infinite;
  z-index: 1;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  line-height: 1.5;
}
.hero .cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
section {
  padding: 80px 20px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.section-subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  text-align: center;
  color: #c6d1c6;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.card {
  background-color: var(--color-primary);
  padding: 30px;
  border-radius: 12px;
  position: relative;
  text-align: left;
}
.card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--color-accent);
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: 'Sora', sans-serif;
}
.card p {
  font-size: 0.95rem;
  color: #d4ddd4;
}
.product-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
}
.product-image {
  flex: 1 1 300px;
  text-align: center;
}
.product-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.product-content {
  flex: 2 1 400px;
}
.product-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  margin-bottom: 15px;
}
.product-content ul {
  list-style: none;
  margin-bottom: 20px;
}
.product-content ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}
.product-content ul li:before {
  content: '058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-accent);
}
.product-content .mini-roi {
  font-style: italic;
  margin-bottom: 10px;
  color: #c6d1c6;
}
.product-content .btn {
  margin-top: 10px;
}
table.comparison {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 0.9rem;
}
table.comparison th, table.comparison td {
  border: 1px solid #234f3b;
  padding: 15px;
  text-align: left;
}
table.comparison th {
  background-color: var(--color-primary);
}
table.comparison td {
  background-color: var(--color-secondary);
}
form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-primary);
  padding: 40px;
  border-radius: 12px;
}
form .form-group {
  margin-bottom: 20px;
}
form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
form input, form select, form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  background-color: #1a4b39;
  color: var(--color-light);
}
form select {
  height: auto;
}
form textarea {
  resize: vertical;
  min-height: 100px;
}
form button {
  width: 100%;
}
footer {
  background-color: var(--color-primary);
  padding: 40px 20px;
  text-align: center;
  color: #a5b6a5;
  font-size: 0.9rem;
}
footer a {
  color: var(--color-accent);
}
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}
footer .socials a {
  margin: 0 8px;
  color: var(--color-accent);
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
  }
  .product-image, .product-content {
    flex: 1 1 100%;
    text-align: center;
  }
  nav ul {
    gap: 10px;
  }
}

/* Highlight the active navigation link with the theme color */
nav ul li a.active {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}

/* --- Enhanced header/nav layout for improved alignment and responsiveness --- */
nav {
  /* Inherit existing styling such as sticky positioning, background blur, etc. */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
nav .logo a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
nav .logo img {
  /* Fixed height prevents logo from stretching and keeps header tidy */
  height: 40px;
  width: auto;
  display: block;
}
nav .nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Allow wrapping on smaller screens to avoid overlap */
  flex-wrap: wrap;
}
nav .nav-links a.active {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}
nav .nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  nav .nav-cta {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  nav .nav-links {
    order: 2;
  }
}

/* --------------------------------------------------------------------
   Mobile navigation toggling using a hidden checkbox + label.
   On small screens, the nav links and CTA are hidden by default.
   When the checkbox is checked (via clicking the hamburger label),
   the links and CTA become visible in a vertical stack.
---------------------------------------------------------------------*/

/* Hide the checkbox itself */
.nav-toggle-checkbox {
  display: none;
}
/* Style the hamburger label; only visible on small screens */
.nav-toggle-label {
  display: none;
  font-size: 1.6rem;
  color: var(--color-light);
  cursor: pointer;
}

/* Responsive behaviour: collapse nav on narrow widths */
@media (max-width: 768px) {
  /* Show the hamburger icon */
  .nav-toggle-label {
    display: block;
  }
  /* Allow nav items to wrap under the logo */
  nav {
    flex-wrap: wrap;
  }
  /* Hide nav links and CTA by default on mobile */
  nav .nav-links,
  nav .nav-cta {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    gap: 10px;
  }
  nav .nav-links li {
    margin: 0;
  }
  /* When the checkbox is checked, show nav-links and CTA */
  .nav-toggle-checkbox:checked ~ .nav-links,
  .nav-toggle-checkbox:checked ~ .nav-cta {
    display: flex;
  }
}

/* Ensure the logo image scales nicely within the navigation */
nav .logo img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

/* Add a futuristic gradient overlay and subtle animation to hero sections */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark gradient overlay for improved contrast */
  background: linear-gradient(135deg, rgba(15, 61, 46, 0.85), rgba(12, 12, 12, 0.85));
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* Radial glow moves slowly for a futuristic feel */
  background: radial-gradient(circle at center, rgba(200, 255, 0, 0.2) 0%, rgba(200, 255, 0, 0) 70%);
  animation: rotateGlow 30s linear infinite;
  z-index: 0;
}
@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
