/* Base Styles and Variables */
:root {
  --primary: #9333ea;
  --secondary: #4f46e5;
  --dark: #111827;
  --light: #f9fafb;
  --gray: #6b7280;
  --gray-dark: #1f2937;
  --gray-light: #e5e7eb;
  --accent: #f43f5e;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --radius: 10px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--gray-dark);
  background-color: #f3f4f6;
  line-height: 1.6;
  display: flex;
}

/* Side Navigation */
.sidenav {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--dark);
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s ease;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

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

.brand-text {
  font-size: 1.2rem;
  font-weight: bold;
}

.brand-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-links a .icon {
  margin-right: 0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.cta-button {
  display: block;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: auto;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Main Content */
main {
  margin-left: 250px;
  width: calc(100% - 250px);
}

section {
  padding: 5rem 10%;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(147, 51, 234, 0.2);
  border-radius: 3px;
  z-index: -1;
}

/* Button Styles */
.primary-button, .secondary-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary-button {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2);
}

.secondary-button {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.secondary-button:hover {
  background-color: rgba(147, 51, 234, 0.1);
}

.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(147, 51, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(147, 51, 234, 0);
  }
}

/* Hero Section */
.hero {
  padding: 0;
  display: flex;
  min-height: 100vh;
  align-items: center;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.hero-content {
  flex: 1;
  padding: 5rem 5% 5rem 10%;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tags span {
  background-color: rgba(147, 51, 234, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--primary);
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 10% 5rem 5%;
}

.ai-graphic {
  width: 100%;
  height: 300px;
  position: relative;
}

.pulse-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.5);
  animation: pulse-circle 3s infinite;
}

@keyframes pulse-circle {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
}

.connections {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
}

.connection {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  background: linear-gradient(to top, transparent, var(--primary), transparent);
  transform-origin: bottom center;
}

.connection:nth-child(1) {
  height: 150px;
  transform: translate(-50%, -100%) rotate(-45deg);
}

.connection:nth-child(2) {
  height: 130px;
  transform: translate(-50%, -100%) rotate(20deg);
}

.connection:nth-child(3) {
  height: 100px;
  transform: translate(-50%, -100%) rotate(80deg);
}

.nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
}

.node:nth-child(1) {
  top: 20%;
  left: 20%;
}

.node:nth-child(2) {
  top: 30%;
  right: 25%;
}

.node:nth-child(3) {
  bottom: 25%;
  left: 30%;
}

.node:nth-child(4) {
  bottom: 15%;
  right: 20%;
}

/* Features Section */
.features {
  background-color: white;
}

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

.feature-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* Celebrity Categories */
.celebrities {
  background-color: var(--light);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.category-box {
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--gradient);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: rgba(31, 41, 55, 0.8);
  color: white;
}

.category h3 {
  margin-bottom: 0.5rem;
}

.count {
  display: block;
  color: var(--primary);
  font-weight: bold;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* How It Works Section */
.how-it-works {
  background-color: white;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-right: 2rem;
  line-height: 1;
  opacity: 0.3;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--gradient);
  color: white;
  padding: 4rem 10%;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.author {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* Final CTA */
.final-cta {
  text-align: center;
  background-color: var(--light);
  padding: 5rem 10%;
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 10%;
  margin-left: 250px;
  width: calc(100% - 250px);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-disclaimer {
  width: 100%;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .sidenav {
    transform: translateX(-100%);
    width: 240px;
  }
  
  .sidenav.open {
    transform: translateX(0);
  }
  
  main, footer {
    margin-left: 0;
    width: 100%;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .sidenav.open + main .nav-toggle span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .sidenav.open + main .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .sidenav.open + main .nav-toggle span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  .hero {
    flex-direction: column;
  }
  
  .hero-content, .hero-visual {
    padding: 3rem 10%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .secondary-button {
    margin-top: 1rem;
  }
  
  section {
    padding: 3rem 5%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
}
