/* Global Styles */
:root {
  --primary-color: #ff3d71;
  --secondary-color: #7b61ff;
  --accent-color: #ffc107;
  --background: #0f0f1a;
  --card-bg: #1a1a2e;
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --gradient-start: #ff3d71;
  --gradient-end: #7b61ff;
  --section-padding: 80px 0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
}

/* Background Gradient */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 61, 113, 0.15) 0%, transparent 40%),
              radial-gradient(circle at bottom right, rgba(123, 97, 255, 0.15) 0%, transparent 40%);
  z-index: -1;
}

/* Header Styles */
header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  color: var(--primary-color);
}

.logo h1 {
  font-size: 1.6rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  font-weight: 600;
  position: relative;
  font-size: 0.95rem;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 3;
}

.menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-btn span:nth-child(1) {
  top: 0;
}

.menu-btn span:nth-child(2) {
  top: 10px;
}

.menu-btn span:nth-child(3) {
  top: 20px;
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

.cta-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 61, 113, 0.3);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 61, 113, 0.5);
}

.cta-btn::after {
  display: none;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--text-secondary);
}

.highlight {
  color: var(--primary-color);
}

.wave-animation {
  width: 100%;
  height: 60px;
  margin: 20px auto 30px;
}

.wave {
  width: 100%;
  height: 100%;
  stroke-width: 2;
  stroke: var(--primary-color);
  animation: wave 3s infinite ease-in-out;
}

@keyframes wave {
  0% { transform: scaleY(0.5); stroke: var(--primary-color); }
  50% { transform: scaleY(1.5); stroke: var(--secondary-color); }
  100% { transform: scaleY(0.5); stroke: var(--primary-color); }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 61, 113, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 61, 113, 0.5);
}

.large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background-color: var(--card-bg);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: rgba(26, 26, 46, 0.7);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Voice Types Section */
.voices {
  padding: var(--section-padding);
  background-color: var(--background);
}

.voice-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.voice-tag {
  padding: 8px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.voice-tag:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.voice-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.voice-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.voice-visualizer {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.bar {
  width: 6px;
  height: 30%;
  background-color: var(--primary-color);
  border-radius: 3px;
  animation: sound-wave 1.5s infinite ease-in-out;
}

.bar1 { animation-delay: 0s; }
.bar2 { animation-delay: 0.2s; }
.bar3 { animation-delay: 0.4s; }
.bar4 { animation-delay: 0.6s; }
.bar5 { animation-delay: 0.8s; }

@keyframes sound-wave {
  0%, 100% { height: 20%; }
  50% { height: 80%; }
}

.voice-item:hover .bar {
  background-color: var(--accent-color);
}

.voice-item h3 {
  font-size: 1.3rem;
}

/* How It Works Section */
.how-it-works {
  padding: var(--section-padding);
  background-color: var(--card-bg);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.step-content p {
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, rgba(255, 61, 113, 0.2), rgba(123, 97, 255, 0.2));
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: #0a0a14;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 30px;
  height: 30px;
  color: var(--primary-color);
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  
  nav ul {
    position: fixed;
    flex-direction: column;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--card-bg);
    padding: 100px 20px 30px;
    transition: right 0.3s ease;
    z-index: 2;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  nav ul.active {
    right: 0;
  }
  
  nav a::after {
    display: none;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .steps {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}
