body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #fff;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #ff6f00;
}

.logo {
  height: 60px;
}

header {
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: visible;
}

.tagline {
  position: relative;
  z-index: 2;
}

.tagline h1 {
  font-size: 48px;
  color: #ff6f00;
  margin-bottom: 10px;
  line-height: 1.2;
}

.tagline p {
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

.demo-button {
  position: relative;
  margin-top: 20px;
  padding: 6px 15px;
  font-size: 15px;
  border: 2px solid transparent;
  color: #ff6f00;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  box-shadow:
    0 0 8px rgba(255, 0, 0, 0.5),
    0 0 12px rgba(255, 165, 0, 0.4),
    0 0 16px rgba(255, 105, 180, 0.4),
    0 0 20px rgba(138, 43, 226, 0.4);
}

.demo-button:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 15px rgba(255, 0, 0, 0.5),
    0 0 25px rgba(255, 165, 0, 0.5),
    0 0 35px rgba(255, 105, 180, 0.5),
    0 0 45px rgba(138, 43, 226, 0.5);
}

/* === Glowing, Thin Circular Rings === */
.ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    rgba(255, 0, 0, 0.6),
    rgba(255, 165, 0, 0.6),
    rgba(255, 105, 180, 0.6),
    rgba(138, 43, 226, 0.6),
    rgba(255, 0, 0, 0.6)
  );
  box-shadow:
    0 0 10px rgba(255, 0, 0, 0.5),
    0 0 15px rgba(255, 165, 0, 0.4),
    0 0 20px rgba(255, 105, 180, 0.4),
    0 0 25px rgba(138, 43, 226, 0.4);
  mask: radial-gradient(closest-side, transparent 98%, black 99%);
  -webkit-mask: radial-gradient(closest-side, transparent 98%, black 99%);
}

/* === Orbit Containers === */
.orbit {
  position: absolute;
  width: 0;
  height: 0;
  top: 15%;
  left: 40%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* === Positioning and Animations === */
.ring-left {
  animation: orbitLeft 20s linear infinite;
}

.ring-left-small {
  width: 200px;
  height: 200px;
  animation: orbitLeftSmall 20s linear infinite reverse;
}

.ring-right {
  animation: orbitRight 20s linear infinite;
}

.ring-right-small {
  width: 200px;
  height: 200px;
  animation: orbitRightSmall 20s linear infinite reverse;
}

@keyframes orbitLeft {
  0%   { transform: rotate(0deg) translateX(-300px); }
  100% { transform: rotate(360deg) translateX(-300px); }
}

@keyframes orbitLeftSmall {
  0%   { transform: rotate(0deg) translateX(-180px); }
  100% { transform: rotate(360deg) translateX(-180px); }
}

@keyframes orbitRight {
  0%   { transform: rotate(0deg) translateX(300px); }
  100% { transform: rotate(360deg) translateX(300px); }
}

@keyframes orbitRightSmall {
  0%   { transform: rotate(0deg) translateX(180px); }
  100% { transform: rotate(360deg) translateX(180px); }
}

/* === Mobile View Styles === */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #ff6f00;
}

.nav-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

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

  .nav-links li {
    padding: 10px 0;
  }

  .tagline h1 {
    font-size: 28px;
    white-space: pre-line; /* Allows line breaks */
  }

  .tagline p {
    font-size: 20px;
  }

  .demo-button {
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 8px;
  }

  .ring {
    width: 180px;
    height: 180px;
  }

  .orbit {
    top: 30%;
    left: 30%;
    transform: translate(-50%, -50%);
  }

  .ring-left,
  .ring-right {
    animation: orbitMobile 15s linear infinite;
  }

  .ring-left-small,
  .ring-right-small {
    width: 140px;
    height: 140px;
    animation: orbitMobileSmall 15s linear infinite reverse;
  }
}

@keyframes orbitMobile {
  0%   { transform: rotate(0deg) translateX(100px); }
  100% { transform: rotate(360deg) translateX(100px); }
}

@keyframes orbitMobileSmall {
  0%   { transform: rotate(0deg) translateX(60px); }
  100% { transform: rotate(360deg) translateX(60px); }
}

/* Always make rings visible */
.ring {
  visibility: visible !important;
  display: block !important;
}
/* Hide hamburger icon on desktop */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #ff6f00;
  z-index: 10;
}

/* Style for nav links container */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  header {
    padding: 40px 20px 60px;  /* ⬅️ Reduced top padding from 120px to 40px */
  }
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    height: 100vh;
    padding: 60px 0px;
    gap: 20px;
    z-index: 9;
    text-align: center;
  }

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

  .nav-links li a {
    color: #ff6f00;
    font-size: 20px;
    text-decoration: none;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: #ff6f00;
    cursor: pointer;
  }

  /* Tagline in 3 separate lines on mobile */
  .tagline h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .tagline h1 span {
    display: block;
  }

  .tagline p {
    font-size: 20px;
  }

  .demo-button {
    font-size: 15px;
    padding: 8px 16px;
  }
}
/* Mobile: Show tagline on separate lines with minimal spacing */
@media (max-width: 768px) {
  .tagline h1 {
    font-size: 45px;
    line-height: 1.2; /* Tighter spacing */
    color: #ff6f00;
  }

  .tagline h1::before {
    content: "Decode.\A Discover.\A Deliver.";
    white-space: pre;
    display: inline-block;
  }

  /* Hide the actual original text (so we can replace with line breaks) */
  .tagline h1 span {
    display: none;
  }
  .hamburger {
  width: 25px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001; /* Make sure it's above nav menu */
}

.hamburger span {
  display: block;
  height: 1px;
  background-color: #ff6f00;
  border-radius: 1px;
  transition: all 0.3s ease;
}
}
/* Transform bars into X when menu is active */
.nav-links.active ~ .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-links.active ~ .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-links.active ~ .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* === Hamburger animation when open === */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
