/* c:\xampp\htdocs\Pulsetribe_04_05_2025 (2)\assets\css\index.css */

/* 1. Font Import */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* 2. Global Reset & Root Variables */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-height: 80px;
  /* Default/desktop */
  --primary-color: #00f0b5;
  /* PulseTribe Green - kept for vibrancy */
  --primary-dark: #0a0f3c;
  /* Deepened dark blue for more contrast */
  --primary-gradient-start: #121852;
  /* Slightly richer gradient start */
  --primary-gradient-end: #2a1449;
  /* Slightly richer gradient end */
  --text-light: #ffffff;
  --text-medium: #c0c8e7;
  /* Softer, slightly bluish medium text */
  --text-dark: #1a1a2e;
  /* Darker text for light backgrounds */
  --accent-color: #00f0b5;
  /* PulseTribe green - will be used for neon glows */
  --footer-bg: rgba(0, 0, 0, 0.2);
  --focus-outline-color: #00c6ff;
  /* For accessibility focus states */
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 50px;
  }
}

/* 3. Base Body Styles for Index Page */
body.index {
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: #020418;
  /* Very dark base for neon effect */
  padding-top: var(--header-height);
  /* Offset for fixed header */
  position: relative;
  /* For positioning pseudo-elements */
  overflow-x: hidden;
  /* Prevent horizontal scroll from large bubbles */
}

/* Neon Pulse Glow Bubbles Background */
body.index::before,
body.index::after {
  content: "";
  position: fixed;
  /* Fixed to viewport for edge-to-edge feel */
  border-radius: 50%;
  z-index: -1;
  /* Behind all content */
  filter: blur(60px);
  /* Soften the bubbles significantly */
}

/* Bubble 1 - Accent Color */
body.index::before {
  width: 40vw;
  /* Responsive size */
  height: 40vw;
  background-color: rgba(var(--accent-color), 0.3);
  left: -10vw;
  top: 10vh;
  animation: pulse-glow 15s infinite alternate ease-in-out,
    drift-bubble-1 40s infinite alternate ease-in-out;
}

/* Bubble 2 - A complementary neon blue/purple */
body.index::after {
  width: 50vw;
  height: 50vw;
  background-color: rgba(75, 0, 130, 0.25);
  /* Indigo/Violet shade */
  right: -15vw;
  bottom: 5vh;
  animation: pulse-glow 18s infinite alternate ease-in-out 2s,
    drift-bubble-2 50s infinite alternate ease-in-out 2s;
  /* Offset animation start */
}

/* 4. Container */
.container {
  width: 90%;
  max-width: 1140px;
  /* Slightly wider for modern layouts */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 5. Section Styling */
.section-padding {
  padding-top: 4rem;
  /* Increased padding for more breathing room */
  padding-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  /* Increased margin */
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  /* Wider accent line */
  height: 5px;
  /* Thicker accent line */
  background: linear-gradient(90deg,
      var(--accent-color),
      #00c6ff);
  /* Gradient accent */
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

.alt-bg {
  background-color: rgba(10,
      15,
      60,
      0.3);
  /* Darker, more integrated alt background */
}

/* 6. New Hero Section Styles */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(70vh - var(--header-height)
      /* Adjusted for a slightly less dominant hero */
    );
  display: flex;
  /* For centering content */
  align-items: center;
  /* Vertical centering */
  justify-content: center;
  /* Horizontal centering */
  text-align: center;
  margin-bottom: 2rem;
  /* Spacing after hero */
  padding: 6rem 0 4rem;
  /* Increased top padding, kept bottom at 4rem */
}

/* Ensure the .container within .hero takes up available height */
.hero .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  /* Responsive font size */
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(var(--accent-color), 0.5),
    0 0 20px rgba(var(--accent-color), 0.3);
  /* Subtle neon glow */
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  /* Responsive font size */
  color: var(--text-medium);
  max-width: 700px;
  /* Constrain width for readability */
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Keyframes for bubble pulsing and glowing */
@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    opacity: 0.4;
    box-shadow: 0 0 30px 15px currentColor, 0 0 50px 25px currentColor;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.7;
    box-shadow: 0 0 50px 25px currentColor, 0 0 80px 40px currentColor;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.4;
    box-shadow: 0 0 30px 15px currentColor, 0 0 50px 25px currentColor;
  }
}

/* Keyframes for subtle bubble drifting */
@keyframes drift-bubble-1 {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(5vw, -5vh);
  }

  50% {
    transform: translate(-2vw, 3vh);
  }

  75% {
    transform: translate(3vw, 2vh);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes drift-bubble-2 {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-4vw, 4vh);
  }

  50% {
    transform: translate(3vw, -2vh);
  }

  75% {
    transform: translate(-2vw, -3vh);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* 7. How It Works Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step {
  background: rgba(255, 255, 255, 0.04);
  /* Slightly more subtle */
  padding: 2rem 1.5rem;
  border-radius: 12px;
  /* Softer radius */
  border: 1px solid rgba(var(--accent-color), 0.2);
  /* Accent border, subtle */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(var(--accent-color), 0.3);
  /* Enhanced hover shadow */
}

.step-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--accent-color),
      #00c6ff);
  /* Gradient for icons */
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-icon {
  font-size: 2rem;
}

.step h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 8. Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem;
  /* More padding */
  background: rgba(10, 15, 60, 0.3
      /* Aligned with alt-bg */
    );
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
}

.feature-icon {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-top: 0.25rem;
  /* Align with text better */
}

.feature-item h3 {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.9rem;
}

/* 9. Task Examples Section */
.task-pills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.task-pill {
  background-color: rgba(var(--accent-color), 0.15);
  /* Accent-themed pills */
  color: var(--text-light);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(var(--accent-color), 0.5);
  transition: background-color 0.3s, color 0.3s;
}

.task-pill:hover {
  background-color: var(--accent-color);
  color: var(--primary-dark);
  /* Darker text on hover for contrast */
}

/* 10. FAQ Snippet Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  /* Consistent with .step */
  border-radius: 10px;
  /* Consistent radius */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
  padding: 1rem 1.5rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  list-style: none;
  /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease-in-out;
  /* Added for hover */
}

.faq-item summary:hover {
  background-color: rgba(255,
      255,
      255,
      0.03);
  /* Subtle hover for FAQ summary */
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Chrome/Safari */
.faq-item summary::after {
  /* Custom marker */
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.2s ease-in-out;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 11. CTA Bottom Section */
.cta-bottom-section {
  background: linear-gradient(145deg,
      var(--primary-gradient-end),
      var(--primary-gradient-start));
}

.cta-bottom-section .section-title {
  color: var(--text-light);
}

.cta-bottom-section .subheadline {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* 12. Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  /* Base border for consistent sizing on outline buttons */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  text-align: center;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  outline: none;
  /* Remove default browser outline */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
  /* Slightly enhanced general hover shadow */
}

.btn:focus-visible {
  /* Accessibility focus state */
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

.btn--cta {
  background-color: var(--accent-color);
  color: var(--primary-dark);
  /* Darker text for better contrast on accent */
  border-color: var(--accent-color);
}

.btn--cta:hover {
  background-color: #00e0a0;
  /* Slightly lighter accent */
  border-color: #00e0a0;
  box-shadow: 0 6px 12px rgba(0, 240, 181, 0.3);
  /* Accent color shadow */
}

.btn--secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  border: 1px solid var(--accent-color);
}

.btn--secondary:hover {
  background-color: rgba(var(--accent-color), 0.2);
}

.btn--outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: calc(0.75rem - 1px) calc(1.5rem - 1px);
  /* Adjust padding for border */
}

.btn--outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-dark);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* 13. Footer */
.landing-footer {
  background-color: rgba(10,
      15,
      60,
      0.5);
  /* Darker, more integrated footer bg */
  padding: 3rem 0 1.5rem 0;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2.5rem;
  /* Increased padding */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand .footer-tagline {
  font-weight: 600;
  /* Bolder tagline */
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-links-group h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links-group ul {
  list-style: none;
}

.footer-links-group li {
  margin-bottom: 0.5rem;
}

.footer-links-group a {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s;
  outline: none;
  /* Remove default browser outline */
}

.footer-links-group a:hover {
  color: var(--accent-color);
}

.footer-links-group a:focus-visible {
  /* Accessibility focus state */
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 1px;
  border-radius: 2px;
  /* Optional: to make outline look nicer around text */
}

.social-media-icons a {
  color: var(--text-medium);
  font-size: 1.6rem;
  /* Slightly larger icons */
  margin-right: 1rem;
  transition: color 0.3s;
  outline: none;
  /* Remove default browser outline */
}

.social-media-icons a:hover {
  color: var(--accent-color);
}

.social-media-icons a:focus-visible {
  /* Accessibility focus state */
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
  border-radius: 50%;
  /* Match icon shape */
}

.contact-email {
  margin-top: 1rem;
}

.contact-email a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-bottom .fa-heart {
  color: var(--accent-color);
}

/* 14. Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

/* 15. Responsive Tweaks */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .section-padding {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero {
    min-height: 300px;
    /* Adjusted min-height for tablets */
    padding: 4.5rem 0 3rem;
    /* Increased top padding for tablets */
  }

  body.index::before {
    width: 60vw;
    height: 60vw;
    filter: blur(50px);
  }

  body.index::after {
    width: 70vw;
    height: 70vw;
    filter: blur(50px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    /* Stack footer columns */
    text-align: center;
  }

  .footer-brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .social-media-icons {
    justify-content: center;
    display: flex;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .step h3 {
    font-size: 1.3rem;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn--large {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .hero {
    min-height: 250px;
    /* Adjusted min-height for mobile */
    padding: 3.5rem 0 2.5rem;
    /* Increased top padding for mobile */
  }

  body.index::before {
    width: 80vw;
    height: 80vw;
    filter: blur(40px);
  }

  body.index::after {
    width: 90vw;
    height: 90vw;
    filter: blur(40px);
  }
}

/* Opportunities Grid for Dual Audience */
.opportunities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.opportunity-column {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.opportunity-column:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 240, 181, 0.3);
  box-shadow: 0 20px 40px rgba(0, 240, 181, 0.1);
}

.column-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #00f0b5, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.opportunity-column .task-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .opportunities-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .opportunity-column {
    padding: 1.5rem;
  }

  .column-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
}

/* CTA Section Styles */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 24, 82, 0.7), rgba(42, 20, 73, 0.7));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 900px;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-section {
    margin: 1rem;
    border-radius: 15px;
  }

  .cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}