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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(10, 10, 10, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #222;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-text-talos {
  font-weight: 600;
}

.logo-text-linux {
  font-weight: 300;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ff3366;
}

.btn-demo:hover {
  color: white !important;
}

.github-link {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.github-link:hover {
  opacity: 1;
}

.github-link img {
  width: 24px;
  height: 24px;
}

.btn-demo {
  background: linear-gradient(135deg, #ff3366, #ff6633);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  border: none;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.btn-demo:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero h1 .highlight {
  background: linear-gradient(
    90deg,
    #ff3366 0%,
    #ff3366 20%,
    #ff6633 35%,
    #fff 50%,
    #ff6633 65%,
    #ff3366 80%,
    #ff3366 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s ease-in-out 0.5s 1 forwards;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

.video-wrapper {
  max-width: 900px;
  margin: 3rem auto;
  position: relative;
  padding: 20px;
}

.video-wrapper::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  border-radius: 15px;
  background: radial-gradient(
    circle 1000px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 51, 102, calc(0.6 * var(--glow-intensity, 0.5))),
    rgba(255, 51, 102, calc(0.4 * var(--glow-intensity, 0.3))) 20%,
    rgba(255, 51, 102, calc(0.25 * var(--glow-intensity, 0.2))) 35%,
    rgba(255, 51, 102, calc(0.15 * var(--glow-intensity, 0.1))) 50%,
    rgba(255, 51, 102, calc(0.08 * var(--glow-intensity, 0.05))) 65%,
    rgba(255, 51, 102, calc(0.03 * var(--glow-intensity, 0.02))) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: background 0.15s ease;
  filter: blur(30px);
}

.video-container {
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #222;
  box-shadow: 0 20px 60px rgba(255, 51, 102, 0.3);
  background: #000;
  position: relative;
  z-index: 1;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
}

.video-caption {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: italic;
}

.cta-section {
  text-align: center;
  padding: 0 2rem 3rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #999;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.command-box {
  max-width: 700px;
  margin: 2rem auto;
  background: #000;
  border: 2px solid #ff3366;
  border-radius: 8px;
  padding: 1.5rem;
  font-family: "Courier New", monospace;
  color: #ff3366;
  text-align: left;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.command-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.command-line {
  display: flex;
  gap: 0.5rem;
}

.command-prompt {
  color: #ff3366;
}

.command-text {
  color: #ff3366;
}

.copy-btn {
  background: transparent;
  border: 1px solid #ff3366;
  color: #ff3366;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-left: auto;
}

.copy-btn:hover {
  background: #ff3366;
  color: #fff;
}

.doc-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 2px solid #ff3366;
  border-radius: 25px;
  color: #ff3366;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 1rem;
}

.doc-btn:hover {
  background: #ff3366;
  color: #fff;
}

.features {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.features-header h2 {
  font-size: 2.5rem;
}

.features-header p {
  color: #999;
}

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

.feature-card {
  background: #111;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #222;
  transition:
    transform 0.3s,
    border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #ff3366;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-icon.has-bg {
  background: linear-gradient(135deg, #ff3366, #ff6633);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: #999;
  font-size: 0.9rem;
}

.get-started {
  padding: 4rem 2rem;
  text-align: center;
}

.get-started h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.get-started > p {
  color: #999;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.cta-card {
  background: #111;
  padding: 2.5rem;
  border-radius: 10px;
  border: 1px solid #222;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.cta-card.omni-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  overflow: visible;
}

.omni-content {
  display: flex;
  flex-direction: column;
  padding: 2rem 5rem 2rem 0;
}

.omni-preview {
  position: relative;
  border-radius: 12px;
  overflow: visible;
  align-self: flex-end;
  margin-right: -2.5rem;
  margin-bottom: -2.5rem;
}

.omni-preview::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border-left: 3px solid rgba(255, 51, 102, 0.8);
  border-top: 3px solid rgba(255, 51, 102, 0.8);
  border-radius: 12px;
  box-shadow: -10px -10px 30px rgba(255, 51, 102, 0.4);
  pointer-events: none;
}

.omni-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border-bottom-right-radius: 10px;
}

.cta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-card p {
  color: #999;
  margin-bottom: 1.5rem;
  flex: 1;
}

.cta-icon {
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon.omni {
  background: transparent;
}

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

.cta-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #ff3366, #ff6633);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s;
  align-self: flex-start;
  min-width: 140px;
  text-align: center;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.certifications {
  padding: 3rem 2rem;
  background: #0a0a0a;
}

.certifications-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: center;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.cert-badge {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-item p {
  color: #999;
  font-size: 0.9rem;
  max-width: 250px;
}

footer {
  padding: 3rem 2rem;
  background: #000;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 50%;
}

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

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

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-logo-text > div:first-child {
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-built-by {
  font-size: 0.85rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sidero-inline-logo {
  height: 1rem;
  vertical-align: middle;
  display: inline-block;
}

.footer-info p {
  color: #999;
  margin-bottom: 1rem;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
}

.footer-info a:hover {
  color: #ff3366;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.8rem;
}

.social-links a:hover {
  color: #ff3366;
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo {
    font-size: 1rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    padding: 0 1rem;
  }

  .video-wrapper {
    max-width: 100%;
    padding: 10px 1rem;
    margin: 2rem 0;
  }

  .video-caption {
    padding: 0 1rem;
  }

  .features-header {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-card.omni-card {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .omni-preview {
    left: 0;
    bottom: 0;
  }

  .omni-content {
    padding: 2rem;
  }

  .nav-links a:not(.github-link):not(.btn-demo) {
    display: none;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .btn-demo {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .github-link img {
    width: 20px;
    height: 20px;
  }

  .certifications-content {
    gap: 2rem;
    padding: 0 2rem;
  }

  .cert-badge {
    width: 100px;
    height: 100px;
  }

  footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  footer .footer-left {
    max-width: 100%;
    align-items: center;
  }

  footer .footer-logo {
    justify-content: center;
  }

  footer .social-links {
    justify-content: center;
  }
}
