/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Add scroll indicator line */
.scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #ffffff);
  width: 0%;
  transition: width 0.3s ease;
}

/* Navbar scroll state */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  height: 60px;
}

.navbar.scrolled .nav-content {
  height: 60px;
}

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Section reveal animations */
.section {
  padding: 100px 0;
  background: #000;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add this at the end of your CSS file */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: #3b82f6;
}

.btn-primary {
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: #000;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dot-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(100vh - 70px);
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.1;
}

.hero-tags {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.hero-tags span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.hero-tags span:not(:last-child)::after {
  content: '\\';
  margin-left: 15px;
  opacity: 0.5;
}

.hero-instruction {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
}

.hero-side-content {
  max-width: 300px;
  text-align: right;
}

.hero-side-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.hero-3d-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

spline-viewer {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Make sure content doesn't block mouse events for the 3D model */
.hero-content, .hero-side-content {
  pointer-events: none;
}

/* But allow pointer events on buttons and links */
.hero-content a, .hero-content button,
.hero-side-content a, .hero-side-content button,
.hero-tags span {
  pointer-events: auto;
}

/* Sections */
.section {
  padding: 100px 0;
  background: #000;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
}

.highlight-text {
  color: #3b82f6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Enhanced Feature Cards with Glow */
.feature-card {
  background: rgba(20, 20, 20, 0.7);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transform: translateY(30px);
  opacity: 0;
  animation: featureCardAppear 0.8s forwards;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Enhanced Feature Icons for GIFs */
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Enhanced Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background: rgba(20, 20, 20, 0.7);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.1));
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.team-card .avatar::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  top: -25%;
  left: -125%;
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.team-card h3 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.team-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Enhanced FAQ Section */
.faq-list {
  max-width: 800px;
  margin: auto;
}

.accordion {
  cursor: pointer;
  padding: 20px;
  width: 100%;
  text-align: left;
  outline: none;
  transition: 0.4s;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 12px;
  font-weight: 600;
  position: relative;
  color: #fff;
  backdrop-filter: blur(10px);
}

.accordion:after {
  content: '+';
  font-size: 20px;
  color: #3b82f6;
  float: right;
  transition: transform 0.3s ease;
}

.accordion.active:after {
  content: '-';
  transform: rotate(180deg);
}

.accordion.active, .accordion:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.panel {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: -10px;
  margin-bottom: 15px;
  border-radius: 0 0 12px 12px;
  background: rgba(15, 15, 15, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel p {
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Enhanced Footer */
.footer {
  background: rgba(10, 10, 10, 0.9);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
  opacity: 0.3;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer-column h3, .footer-column h4 {
  margin-bottom: 20px;
  color: white;
  position: relative;
  display: inline-block;
}

.footer-column h3::after, .footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, transparent);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  line-height: 2;
  display: block;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.glow-card {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.glow-card:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.glow-card:nth-child(2n) {
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.1);
}

.glow-card:nth-child(2n):hover {
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.glow-card:nth-child(3n) {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.glow-card:nth-child(3n):hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.glow-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-card:nth-child(2n) .glow-effect {
  background: linear-gradient(90deg, #ec4899, #db2777);
}

.glow-card:nth-child(3n) .glow-effect {
  background: linear-gradient(90deg, #10b981, #059669);
}

.feature-card:hover .glow-effect {
  opacity: 1;
}

@keyframes featureCardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Add floating animation for feature cards */
.feature-card:nth-child(odd) {
  animation: float1 6s ease-in-out infinite;
  animation-delay: 0.5s;
}

.feature-card:nth-child(even) {
  animation: float2 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hero-content, .hero-side-content, .feature-card, .team-card, .accordion {
  animation: fadeIn 0.8s ease-out forwards;
}

.hero-content {
  animation-delay: 0.2s;
}

.hero-side-content {
  animation-delay: 0.4s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

.team-card:nth-child(2) {
  animation-delay: 0.2s;
}

.team-card:nth-child(3) {
  animation-delay: 0.4s;
}

.team-card:nth-child(4) {
  animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 50px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-tags {
    justify-content: center;
  }
  
  .hero-side-content {
    text-align: center;
    margin-top: 50px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .nav-links {
    display: none;
  }
}
  