:root {
      --primary: #ff6b00;
      --primary-light: #ff9e4d;
      --primary-dark: #e65100;
      --bg-dark: #0f1220;
      --bg-card: #171b2e;
      --bg-card-light: #1e2542;
      --text-primary: #e9eeff;
      --text-secondary: #8fa1c7;
      --text-muted: #6b7ca0;
      --border: #262c45;
      --border-light: #33406a;
      --success: #22c55e;
      --warning: #f59e0b;
      --danger: #ef4444;
      --radius: 16px;
      --transition: all 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      background: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .btn {
      display: inline-block;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: #0f1220;
      font-weight: 700;
      border: none;
      border-radius: 10px;
      padding: 14px 24px;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 25px rgba(255, 107, 0, 0.45);
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid var(--border-light);
      color: var(--text-primary);
      box-shadow: none;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.05);
      transform: translateY(-2px);
    }

    section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 800;
      text-align: center;
      margin-bottom: 20px;
      background: linear-gradient(to right, var(--primary), var(--text-primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto 50px;
      font-size: 1.1rem;
    }

    /* Header & Navigation */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(15, 18, 32, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
    }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.5rem;
      font-weight: 800;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      display: grid;
      place-items: center;
      font-weight: 900;
      color: var(--bg-dark);
    }

    nav ul {
      display: flex;
      gap: 30px;
    }

    nav a {
      font-weight: 600;
      transition: var(--transition);
    }

    nav a:hover {
      color: var(--primary);
    }

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--text-primary);
      font-size: 1.5rem;
      cursor: pointer;
    }

    /* Hero Section */
    .hero {
      padding-top: 160px;
      padding-bottom: 100px;
      background: radial-gradient(1200px 800px at 20% -10%, #1e2542 0%, #0f1220 60%);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%23ffffff" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
  pointer-events: none;
}


    .hero-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
    }

    .hero-text {
      flex: 1;
      max-width: 600px;
    }

    .hero-title {
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 30px;
    }

    .hero-buttons {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .hero-image {
      flex: 1;
      display: flex;
      justify-content: flex-end;
    }

    .hero-image-placeholder {
      width: 100%;
      max-width: 500px;
      height: 350px;
      border-radius: var(--radius);
      background: linear-gradient(45deg, var(--bg-card), var(--bg-card-light));
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
      position: relative;
      overflow: hidden;
    }

    .hero-image-placeholder::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: conic-gradient(transparent, rgba(255, 107, 0, 0.1), transparent 30%);
      animation: rotate 10s linear infinite;
    }

    @keyframes rotate {
      100% {
        transform: rotate(360deg);
      }
    }

    .hero-image-placeholder i {
      font-size: 5rem;
      color: var(--primary);
      z-index: 1;
    }

    /* Main App Section */
    /* Enhanced App Section Styles */
.app-input-container {
  position: relative;
  margin-bottom: 20px;
}

.app-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}


.input-icon {
  color: var(--text-muted);
  margin: 0 16px;
  font-size: 1.1rem;
}

.app-input { flex: 1; background: transparent; border: none; color: var(--text-primary); font-size: 1rem; padding: 12px 0; outline: none; }

.app-input::placeholder {
  color: var(--text-muted);
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--bg-dark);
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.app-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.app-btn:hover::before {
  left: 100%;
}

.app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 107, 0, 0.45);
}

.app-btn:active {
  transform: translateY(0);
}

.app-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  padding: 0 12px;
}

.app-mini i {
  color: var(--primary);
}

/* Enhanced Meta Section */
.app-meta-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255,107,0,0.05), rgba(255,158,77,0.02));
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}

.app-thumb {
  width: 140px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.app-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.app-meta-info {
  flex: 1;
  min-width: 0;
}

.app-meta-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.4;
}

.app-meta-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-meta-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.app-chip i {
  color: var(--primary);
  font-size: 0.7rem;
}

/* Enhanced Toolbar */
.app-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 15px;
}

.app-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
}

.app-ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
}

.app-ghost[data-active="true"] {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--bg-dark);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.app-ghost:hover:not([data-active="true"]) {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.app-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-copy, .app-download {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
}

.app-copy:hover, .app-download:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 107, 0, 0.3);
}

/* Enhanced Languages Section */
.app-langs {
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(30,37,66,0.5), rgba(23,27,46,0.3));
  border: 1px solid var(--border);
  border-radius: 16px;
}

.app-langs-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.app-langs-title i {
  color: var(--primary);
}

.app-langs-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  transition: var(--transition);
}

.app-badge:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* Enhanced Panels */
.app-panel-container {
  position: relative;
  margin-top: 16px;
}

.app-panel {
  display: none;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  white-space: pre-wrap;
  line-height: 1.6;
  max-height: 500px;
  overflow-y: auto;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  font-size: 0.9rem;
  color: var(--text-primary);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.app-panel[data-show="true"] {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
  color: var(--text-muted);
}

.app-empty i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.5;
}

.app-empty h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.app-empty p {
  font-size: 0.95rem;
  max-width: 400px;
  line-height: 1.5;
}

/* Enhanced Status Messages */
.app-status {
  margin-top: 16px;
}

.app-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.app-error {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-meta-main {
    flex-direction: column;
    text-align: center;
  }
  
  .app-thumb {
    align-self: center;
  }
  
  .app-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .app-tabs {
    justify-content: center;
  }
  
  .app-actions {
    justify-content: center;
  }
  
  .app-input-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  
  .app-input {
    width: 100%;
    text-align: center;
  }
}

    /* Features Section */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
    }

    .feature-card {
      background: var(--bg-card);
      border-radius: var(--radius);
      padding: 30px;
      border: 1px solid var(--border);
      transition: var(--transition);
    }

    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .feature-icon {
      width: 60px;
      height: 60px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      display: grid;
      place-items: center;
      margin-bottom: 20px;
      font-size: 1.5rem;
      color: var(--bg-dark);
    }

    .feature-title {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 15px;
    }

    .feature-desc {
      color: var(--text-secondary);
    }

    /* How It Works */
    .steps {
      display: flex;
      justify-content: space-between;
      margin-top: 50px;
      position: relative;
    }

    .steps::before {
      content: '';
      position: absolute;
      top: 40px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--border);
      z-index: 1;
    }

    .step {
      text-align: center;
      position: relative;
      z-index: 2;
      flex: 1;
    }

    .step-number {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 2px solid var(--border);
      display: grid;
      place-items: center;
      margin: 0 auto 20px;
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
    }

    .step-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .step-desc {
      color: var(--text-secondary);
      max-width: 250px;
      margin: 0 auto;
    }

    /* Testimonials */
    .testimonials {
      background: var(--bg-card);
      padding: 80px 0;
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
    }

    .testimonial-card {
      background: var(--bg-card-light);
      border-radius: var(--radius);
      padding: 30px;
      border: 1px solid var(--border);
    }

    .testimonial-text {
      font-style: italic;
      margin-bottom: 20px;
      color: var(--text-secondary);
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .author-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary);
      display: grid;
      place-items: center;
      font-weight: 700;
      color: var(--bg-dark);
    }

    .author-info h4 {
      font-weight: 700;
    }

    .author-info p {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    /* Blog Section */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
    }

    .blog-card {
      background: var(--bg-card);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
      transition: var(--transition);
    }

    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .blog-image {
      height: 180px;
      background: var(--bg-card-light);
      display: grid;
      place-items: center;
      color: var(--primary);
      font-size: 2rem;
    }

    .blog-content {
      padding: 20px;
    }

    .blog-meta {
      display: flex;
      gap: 15px;
      margin-bottom: 10px;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .blog-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .blog-excerpt {
      color: var(--text-secondary);
      margin-bottom: 15px;
    }

    .blog-link {
      color: var(--primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    /* FAQ Section */
    .faq-container {
      max-width: 800px;
      margin: 50px auto 0;
    }

    .faq-item {
      background: var(--bg-card);
      border-radius: var(--radius);
      margin-bottom: 15px;
      border: 1px solid var(--border);
      overflow: hidden;
    }

    .faq-question {
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 600;
    }

    .faq-answer {
      padding: 0 20px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
    }

    .faq-item.active .faq-answer {
      padding: 0 20px 20px;
      max-height: 500px;
    }

    .faq-toggle {
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-toggle {
      transform: rotate(180deg);
    }

    /* Footer */
    footer {
      background: var(--bg-card);
      padding: 60px 0 30px;
      border-top: 1px solid var(--border);
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-column h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: var(--primary);
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .footer-links a {
      color: var(--text-secondary);
      transition: var(--transition);
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .hero-content {
        flex-direction: column;
        text-align: center;
      }

      .hero-buttons {
        justify-content: center;
      }

      .steps {
        flex-direction: column;
        gap: 40px;
      }

      .steps::before {
        display: none;
      }
    }

    @media (max-width: 768px) {

        .hero-image {
    display: none !important;
  }

        .app-input {
    border: 2px solid var(--primary);   /* solid color border for stability */
    border-radius: 50px;                /* smooth pill shape */
    background: rgba(15, 18, 32, 0.8);  /* dark translucent fill */
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.25); /* subtle glow */
  }

  .app-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
  }
      nav ul {
        display: none;
      }

      .mobile-menu-btn {
        display: block;
      }

      .app-form {
        grid-template-columns: 1fr;
      }

      .section-title {
        font-size: 2rem;
      }

      .hero-title {
        font-size: 2.5rem;
      }
    }

    /* ===== Loader Styles ===== */
.app-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(23, 27, 46, 0.7);
  color: var(--text-secondary);
  font-weight: 600;
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.app-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ===== Input Area vs Restart Bar ===== */

/* Input vs Restart states */
.app-input-area { transition: opacity .25s ease, transform .25s ease; }

.app-restart {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(30,37,66,0.65), rgba(23,27,46,0.55));
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 14px 0 0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}

.restart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--bg-dark); font-weight: 800; border: none; border-radius: 12px;
  padding: 10px 16px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 22px rgba(255, 107, 0, 0.35);
}
.restart-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(255,107,0,0.45); }

/* State toggle */
#app.state-transcribed .app-input-area {
  opacity: 0; transform: translateY(-6px);
  pointer-events: none; height: 0; margin: 0; overflow: hidden;
}
#app.state-transcribed .app-restart { display: flex; animation: fadeIn .25s ease; }

/* Sticky on desktop */
@media (min-width: 769px) {
  #app.state-transcribed .app-restart { position: sticky; top: 84px; z-index: 5; }
}

/* Mobile layout */
@media (max-width: 768px) {
  .app-restart { flex-direction: column; align-items: stretch; gap: 10px; }
  .restart-btn { justify-content: center; width: 100%; }
}

@keyframes fadeIn { from {opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }

@media (max-width: 768px) {

  nav ul {
    display: none; /* hidden by default */
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(30,37,66,0.8), rgba(23,27,46,0.8));
    border-bottom: 1px solid var(--border);
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.4);
  }

  nav ul.show {
    display: flex; /* your JS will toggle this class */
  }

  nav ul li {
    width: 100%;
    text-align: center;
    margin: 8px 0;
  }

  nav ul li a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    border-radius: 8px;
  }

  nav ul li a:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--bg-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.3);
  }

.mobile-menu-btn { 
    border-radius: 10px;
    padding: 8px 10px;
    transition: background .2s ease, transform .2s ease;
  }
  .mobile-menu-btn:active { transform: scale(0.98); }
}

/* ===============================
   YouTube to Transcribe Section
   =============================== */

.youtubetotranscribecontents {
  background: linear-gradient(135deg, rgba(15,18,32,0.95), rgba(23,27,46,0.95));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  color: var(--text-primary);
  line-height: 1.8;
}

.youtubetotranscribecontents .section-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 30px;
  background: linear-gradient(to right, var(--primary), var(--text-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.youtubetotranscribecontents p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.youtubetotranscribecontents strong {
  color: var(--primary);
}

.youtubetotranscribecontents h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--text-primary);
  border-left: 5px solid var(--primary);
  padding-left: 12px;
}

.youtubetotranscribecontents h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.youtubetotranscribecontents ul,
.youtubetotranscribecontents ol {
  margin: 15px 0 25px 25px;
  padding-left: 15px;
}

.youtubetotranscribecontents li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 1.05rem;
  position: relative;
  padding-left: 10px;
}

.youtubetotranscribecontents ul li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: -15px;
  font-weight: bold;
}

.youtubetotranscribecontents img {
  display: block;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  margin: 40px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtubetotranscribecontents img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 45px rgba(255,107,0,0.2);
}

.youtubetotranscribecontents pre {
  background: var(--bg-card-light);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  overflow-x: auto;
  color: var(--text-primary);
  font-family: "SF Mono", "Monaco", "Inconsolata", monospace;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.youtubetotranscribecontents a.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--bg-dark);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 22px rgba(255,107,0,0.35);
}

.youtubetotranscribecontents a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255,107,0,0.45);
}

.youtubetotranscribecontents ol li {
  list-style: decimal;
  color: var(--text-secondary);
}

.youtubetotranscribecontents pre::-webkit-scrollbar {
  height: 8px;
}
.youtubetotranscribecontents pre::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .youtubetotranscribecontents {
    padding: 60px 20px;
  }

  .youtubetotranscribecontents .section-title {
    font-size: 2rem;
  }

  .youtubetotranscribecontents h3 {
    font-size: 1.5rem;
  }

  .youtubetotranscribecontents h4 {
    font-size: 1.1rem;
  }

  .youtubetotranscribecontents p,
  .youtubetotranscribecontents li {
    font-size: 1rem;
  }

  .youtubetotranscribecontents img {
    margin: 30px 0;
  }
}

/* ===============================
   YouTube Main Disclaimer Section
   =============================== */
.youtubemaindisclaimer {
  background: linear-gradient(135deg, rgba(15,18,32,0.95), rgba(23,27,46,0.95));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 30px;
  margin: 10px auto;
  padding-bottom: 50px;
  max-width: 900px;
  color: var(--text-secondary);
  line-height: 1.7;
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  text-align: center;
  font-size: 0.95rem;
}

.youtubemaindisclaimer p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.youtubemaindisclaimer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px dashed transparent;
}

.youtubemaindisclaimer a:hover {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}

.youtubemaindisclaimer p:last-child {
  margin-bottom: 0;
}

/* Add subtle top accent line (optional) */
.youtubemaindisclaimer::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .youtubemaindisclaimer {
    padding: 30px 20px;
    margin: 50px 10px;
    font-size: 0.9rem;
  }
}