/* NoteMind - Luxury Obsidian AI Dark Theme Stylesheet */
:root {
  --bg-primary: #0A0D14;
  --bg-surface: #121622;
  --bg-surface-elevated: #1A2030;
  --border-color: rgba(99, 102, 241, 0.2);
  --border-glow: rgba(99, 102, 241, 0.4);
  
  --primary: #6366F1;
  --primary-gradient: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-pink: #EC4899;
  --accent-cyan: #06B6D4;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: #818CF8;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

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

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff !important;
  padding: 0.65rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Hero Section */
.hero {
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  color: #A855F7;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* Audio Visualizer Pulse Banner */
.visualizer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mic-pulse {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
}

.wave-bar {
  width: 6px;
  background: var(--primary);
  border-radius: 3px;
  animation: wave 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 35px; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 20px; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; height: 40px; }
.wave-bar:nth-child(5) { animation-delay: 0.5s; height: 25px; }

@keyframes wave {
  0% { height: 10px; }
  100% { height: 38px; }
}

/* Feature Grid */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Grid */
.pricing-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 5rem 2rem;
}

.pricing-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--accent-emerald);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 12px;
  text-transform: uppercase;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1rem 0;
}

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

.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li.active {
  color: var(--text-main);
  font-weight: 600;
}

/* Form Styles */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: none;
}

/* Legal Container */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
}

.legal-card h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-card p.subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  color: #fff;
}

.legal-card p, .legal-card ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-card ul {
  padding-left: 1.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  background: var(--bg-primary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 0.8rem;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .nav-links { display: none; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .legal-card { padding: 1.8rem; }
}
