
/* Intro paragraph */
.portal-features .section-text {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  color: #d1d5db; /* slightly lighter gray */
  text-align: left;
}

/* Feature List */
.portal-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr; /* default single column for mobile */
  gap: 1rem;
}

/* Individual Features */
.portal-features li {
  background-color: #0e0f0f; /* uniform dark card */
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.portal-features li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* Feature Heading */
.portal-features li strong {
  display: block;
  font-size: 1.1rem;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

/* Optional: smaller text inside features */
.portal-features li p,
.portal-features li div {
  margin: 0.2rem 0 0 0;
  color: #d1d5db;
}

/* Responsive: 2 features per row for medium and up */
@media (min-width: 992px) {
  .portal-features ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
/* Hero container */
/* Portal Hero Section */
.portal-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Background Image */
.portal-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/portal.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Optional dark overlay for readability */
.portal-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 2;
}

/* Hero Content in Portal Circle */
.portal-hero-content {
  position: relative;
  z-index: 3;
  max-width: 500px;
  width: 80%;
  padding: 40px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  box-sizing: border-box;
  animation: floatCircle 6s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
  overflow: hidden;
}

/* Portal Glow / Rim Effect */
.portal-hero-content::before {
  content: '';
  position: absolute;
  inset: -12px; /* extends outside the circle */
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 204, 255, 0.3), rgba(255, 106, 0, 0.2), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  animation: portalPulse 3s ease-in-out infinite alternate;
}

/* Pause floating and portal animation on hover */
.portal-hero-content:hover {
  animation-play-state: paused;
}
.portal-hero-content:hover::before {
  animation-play-state: paused;
}

/* Portal Pulse Animation */
@keyframes portalPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  50%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Floating Animation */
@keyframes floatCircle {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 900px) {
  .portal-hero-content {
    width: 90%;
    padding: 30px;
    border-radius: 20px; /* rounded rectangle on mobile */
    aspect-ratio: auto;
    animation: none;
  }

  .portal-hero-content::before {
    display: none; /* remove portal effect on mobile */
  }
}

/* Title */
.portal-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Subtitle */
.portal-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

/* Button */
.portal-button,
.btn-software {
  display: inline-block;
  margin: 12px 10px 0;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

/* Primary Button - Portal Access */
.portal-button {
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  color: #0d0d0d;
  box-shadow: 0 0 20px rgba(50, 192, 255, 0.25);
}

.portal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(50, 192, 255, 0.4);
  filter: brightness(1.15);
}

/* Secondary Button - Buy Now */
.btn-software {
  background: transparent;
  border: 2px solid var(--accent-2);
  color: var(--accent-2);
}

.btn-software:hover {
  background: var(--accent-2);
  color: #0d0d0d;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(122, 246, 198, 0.3);
}

/* Optional: Centering for the buttons inside your hero */
.portal-hero-content {
  text-align: center;
}


/* Floating Animation */
@keyframes floatCircle {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 900px) {
  .portal-hero-content {
    width: 90%;
    padding: 30px;
    border-radius: 20px; /* rounded rectangle on mobile */
    aspect-ratio: auto;   /* remove circle on mobile */
    animation: none;      /* disable float for small screens */
  }

  .portal-title {
    font-size: 2rem;
  }
  .portal-subtitle {
    font-size: 1rem;
  }
  .portal-button {
    padding: 10px 25px;
    font-size: 1rem;
  }

  .portal-hero-content::before {
    display: none; /* remove glow on mobile */
  }
}


