
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f0c29;
  color: white;
}

.nav-header {
  background-color: #0f0c29;
  padding: 16px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo-bubble {
  background: #1f1b38;
  padding: 6px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-bubble img {
  width: 24px;
}
.nav-links a {
  color: white;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
}
.hero-section {
  background: radial-gradient(circle at center, #18132a, #1f1b38);
  padding: 60px 5vw;
  text-align: center;
}
.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
.hero-section p {
  color: #cbd5e1;
  margin: 16px 0 24px;
  font-size: 1.1rem;
}
.cta-button {
  background: linear-gradient(to right, #7f5af0, #4f46e5);
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 0 18px rgba(100, 108, 255, 0.5);
  transition: transform 0.2s ease;
}
.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(127, 90, 240, 0.7);
}
.about-section,
.features-section,
.app-panel {
  padding: 50px 5vw;
  text-align: center;
}
.feature-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.feature-box {
  background: #1f1b38;
  padding: 25px;
  border-radius: 14px;
  width: 280px;
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  transition: transform 0.2s ease;
}
.feature-box:hover {
  transform: translateY(-6px);
}
.feature-box .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.feature-box h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.feature-box p {
  font-size: 0.95rem;
  color: #e2e8f0;
}

/* Transcription App Controls */
.app-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px auto;
  max-width: 960px;
}
.upload-btn,
.glow-btn {
  background: linear-gradient(145deg, #1f2937, #2c3a5a);
  border: 1px solid #4f46e5;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
}
.upload-btn:hover,
.glow-btn:hover {
  background: #4f46e5;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99,102,241, 0.7);
}
.link-input {
  padding: 12px;
  border-radius: 8px;
  border: none;
  width: 240px;
  font-size: 1rem;
}
.spinner {
  color: #60a5fa;
  font-size: 1.1rem;
  margin: 12px 0;
  animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.transcript-box {
  background: #111827;
  border: 2px solid #4f46e5;
  padding: 20px;
  border-radius: 14px;
  font-family: monospace;
  margin-top: 10px;
  font-size: 1rem;
  width: 80%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

/* Recording animation indicator */
#recordingIndicator {
  display: none;
  font-size: 1rem;
  color: #f87171;
  font-weight: bold;
  margin-top: 10px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.footer {
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
  border-top: 1px solid #374151;
  background-color: #0f0c29;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .feature-box {
    width: 100%;
    max-width: 320px;
  }
  .nav-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    margin-top: 10px;
  }
  .link-input {
    width: 100%;
  }
}

#downloadContainer, #downloadText {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
#downloadContainer a, #downloadText a {
  padding: 12px 20px;
  background: #1f2937;
  border: 1px solid #4f46e5;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(99,102,241, 0.5);
  transition: all 0.3s ease-in-out;
}
#downloadContainer a:hover, #downloadText a:hover {
  background-color: #4f46e5;
  transform: scale(1.05);
}

.nav-header {
  background-color: #0f0c29;
  padding: 16px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(79, 70, 229, 0.2);
}

.logo-bubble {
  background: linear-gradient(to right, #1f1b38, #2a225e);
  padding: 8px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 10px rgba(127, 90, 240, 0.4);
}
.logo-bubble img {
  width: 24px;
}
.logo-bubble span {
  font-weight: bold;
  font-size: 1.3rem;
  background: linear-gradient(to right, #7f5af0, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 16px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  background-color: #1f2937;
  border: 1px solid #4f46e5;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.3);
}
.nav-links a:hover {
  background-color: #4f46e5;
  box-shadow: 0 0 12px rgba(127, 90, 240, 0.6);
}
