:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.waveform-animation {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  height: 200px;
}

.wave {
  width: 8px;
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  animation: wave 1s ease-in-out infinite;
}

.wave:nth-child(2) { animation-delay: 0.2s; }
.wave:nth-child(3) { animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Sections */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Features */
.features {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

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

/* How it works */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

/* Pricing */
.pricing {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pricing-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  word-break: break-word;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.5rem;
}

/* CTA */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta .btn-primary {
  background: white;
  color: var(--primary);
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--text);
  color: white;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.25rem 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* Blog */
.blog-header {
  padding: 4rem 0;
  background: var(--bg-alt);
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.blog-list {
  padding: 4rem 0;
}

.post-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.post-card h2 {
  margin: 0.5rem 0;
}

.post-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--primary);
}

.post-date {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Blog Post */
.blog-post {
  padding: 4rem 0;
}

.post-header {
  margin-bottom: 3rem;
}

.post-header h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
}

.post-description {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.post-content h2 {
  margin: 2rem 0 1rem;
}

.post-content h3 {
  margin: 1.5rem 0 0.75rem;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
  margin: 1rem 0 1rem 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Header */
  .header {
    position: sticky;
    z-index: 1100;
    background: var(--bg);
  }
  
  .nav {
    padding: 0.75rem 0;
    position: relative;
  }
  
  .logo {
    font-size: 1.25rem;
    position: relative;
    z-index: 1102;
  }
  
  /* Mobile menu */
  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 1102;
  }
  
  /* Mobile menu overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1050;
    padding: 0 2rem;
    overflow-y: auto;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a:not(.btn) {
    font-size: 1.75rem;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 0;
  }
  
  .nav-links .btn {
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }

  /* Hero */
  .hero {
    padding: 3rem 0;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .waveform-animation {
    height: 100px;
  }

  /* Sections */
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  /* Features */
  .features {
    padding: 3rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }

  /* How it works */
  .how-it-works {
    padding: 3rem 0;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step {
    padding: 1.5rem;
  }

  /* Pricing */
  .pricing {
    padding: 3rem 0;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .pricing-card.featured {
    order: -1;
  }
  
  .price {
    font-size: 2rem;
  }

  /* CTA */
  .cta {
    padding: 3rem 0;
  }
  
  .cta h2 {
    font-size: 1.75rem;
  }
  
  .cta p {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    order: -1;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-column {
    text-align: center;
  }

  /* Blog */
  .blog-header {
    padding: 2rem 0;
  }
  
  .blog-header h1 {
    font-size: 1.75rem;
  }
  
  .blog-list {
    padding: 2rem 0;
  }
  
  .post-card {
    padding: 1.5rem 0;
  }
  
  .post-card h2 {
    font-size: 1.25rem;
  }

  /* Blog Post */
  .blog-post {
    padding: 2rem 0;
  }
  
  .post-header h1 {
    font-size: 1.75rem;
  }
  
  .post-description {
    font-size: 1rem;
  }
  
  .post-content h2 {
    font-size: 1.35rem;
  }
  
  .post-content h3 {
    font-size: 1.15rem;
  }
  
  .post-content ul, .post-content ol {
    margin-left: 1.25rem;
  }

  /* Buttons */
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1rem;
  }
  
  .pricing-card h3 {
    font-size: 1.25rem;
  }
  
  .price {
    font-size: 1.75rem;
  }
  
  .cta h2 {
    font-size: 1.5rem;
  }
  
  .post-header h1 {
    font-size: 1.5rem;
  }
}

