    /* Custom font and base styles */
    body {
      font-family: 'Inter', sans-serif;
      background-color: #f0f2f5;
      color: #1a202c;
      margin: 0;
      display: flex;
      flex-direction: column;
      height: 100%;
      overflow: auto;
    }
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

    /* Header Styling */
    .app-header {
      background-color: white;
      padding: 1rem 2rem;
      border-bottom: 1px solid #e2e8f0;
      flex-shrink: 0;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1400px;
      margin: 0 auto;
    }
    .logo { display: flex; align-items: center; gap: 0.75rem; }
    .logo-icon { font-size: 1.5rem; color: #4299e1; }
    .logo-text { font-size: 1.25rem; font-weight: 600; color: #2d3748; }
    .status-indicator { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #4a5568; }
    .status-dot { width: 0.75rem; height: 0.75rem; background-color: #48bb78; border-radius: 9999px; }

    /* Main Container */
    .main-container {
      display: block;
      flex-grow: 1;
      gap: 1.5rem;
      padding: 1.5rem;
      overflow: auto;
      max-width: 1400px;
      width: 100%;
      margin: 0 auto;
    }
    .workspace { flex: 2; display: flex; flex-direction: column; gap: 1.5rem; }
    .sidebar { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }

    /* Card Styling */
    .card {
      background-color: white;
      border-radius: 0.75rem;
      padding: 1.5rem;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
    }
    .card-title {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1.25rem;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 0.75rem;
      color: #2d3748;
    }

    /* Upload Area */
    .upload-area {
      border: 2px dashed #cbd5e0;
      border-radius: 0.5rem;
      padding: 2rem;
      text-align: center;
      cursor: pointer;
      transition: background-color 0.2s, border-color 0.2s;
    }
    .upload-area.dragover { background-color: #ebf8ff; border-color: #4299e1; }
    .upload-icon { font-size: 2.5rem; color: #4299e1; margin-bottom: 0.5rem; }
    .upload-text { margin-top: 0.5rem; font-weight: 500; color: #2d3748; }
    .upload-subtext { font-size: 0.875rem; color: #718096; }
    .file-input { display: none; }

    /* Media Player */
    .media-player { display: none; }
    #audioElement, #videoElement { 
      width: 100%; 
      border-radius: 0.5rem; 
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      margin-top: 1.5rem;
    }

    /* Controls Section */
    .controls-section { display: none; margin-top: 1rem; }
    .control-group { margin-bottom: 1rem; }
    .control-label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; display: block; color: #4a5568; }
    .speed-control { display: flex; align-items: center; gap: 1rem; }
    .range-input { width: 100%; -webkit-appearance: none; height: 6px; border-radius: 3px; background: #e2e8f0; outline: none; }
    .range-input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #4299e1; cursor: pointer; }
    .speed-value { font-weight: 600; min-width: 40px; color: #2d3748; }

    /* Progress Bar */
    .progress-container {
      background-color: #e2e8f0;
      height: 10px;
      cursor: pointer;
      position: relative;
      margin: 1.5rem 0;
      border-radius: 5px;
    }
    .progress-bar {
      background-color: #4299e1;
      height: 100%;
      width: 0%;
      transition: width 0.1s linear;
    }
    .bpmmarker {
      position: absolute;
      top: -5px;
      width: 2px;
      height: 20px;
      background-color: #38a169;
      transform: translateX(-50%);
    }
    .marker {
      position: absolute;
      top: 5px;
      width: 1px;
      height: 10px;
      background-color: #e53e3e;
      transform: translateX(-50%);
    }
    .time-display { 
      display: flex;
      justify-content: space-between;
      font-size: 0.875rem; 
      color: #718096; 
      margin-top: 0.5rem;
    }

    /* Buttons */
    .action-button {
      width: 100%;
      padding: 0.75rem;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 0.5rem;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .action-button:disabled { 
      background-color: #cbd5e0; 
      cursor: not-allowed;
      opacity: 0.7;
    }
    .action-button:active:not(:disabled) { transform: scale(0.98); }
    .tap-button { 
      background-color: #4299e1; 
      color: white; 
      height: 30vw;
      max-height: 200px;
      font-size: 1.2rem;
      margin-top: 0.5rem;
    }
    .tap-button:hover:not(:disabled) { background-color: #3182ce; }
    .tap-button:active:not(:disabled) { background-color: #2c5282; }
    .xml-button { 
      background-color: #38a169; 
      color: white; 
      margin-top: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .xml-button:hover:not(:disabled) { background-color: #2f855a; }

    /* Stats Section */
    .stats-grid { 
      display: grid; 
      grid-template-columns: repeat(3, 1fr); 
      gap: 1rem; 
      text-align: center;
      margin-bottom: 1.5rem;
    }
    .stat-card { 
      background-color: #f7fafc; 
      padding: 1rem; 
      border-radius: 0.5rem;
      border: 1px solid #e2e8f0;
    }
    .stat-value { font-size: 1.5rem; font-weight: 700; color: #2d3748; }
    .stat-label { font-size: 0.75rem; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; }

    /* Marker List */
    .marker-list {
      margin-top: 1.5rem;
      max-height: 250px;
      overflow-y: auto;
      border: 1px solid #e2e8f0;
      border-radius: 0.5rem;
      flex-grow: 1;
    }
    .marker-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid #e2e8f0;
      font-size: 0.9rem;
      transition: background-color 0.2s;
    }
    .marker-item:hover {
      background-color: #f8fafc;
    }
    .marker-item:last-child { border-bottom: none; }
    .marker-time { 
      font-weight: 500;
      font-family: 'Courier New', monospace;
      color: #2d3748;
    }
    .marker-actions {
      display: flex;
      gap: 8px;
    }
    .delete-marker-btn {
      background: none;
      border: none;
      color: #e53e3e;
      cursor: pointer;
      font-weight: bold;
      transition: color 0.2s;
    }
    .delete-marker-btn:hover { color: #c53030; }
    .edit-marker-btn {
      background: none;
      border: none;
      color: #4299e1;
      cursor: pointer;
      transition: color 0.2s;
    }
    .edit-marker-btn:hover { color: #3182ce; }

    /* Output Section */
    .output-section { margin-top: 1.5rem; }
    .xml-output {
      width: 100%;
      height: 150px;
      border: 1px solid #e2e8f0;
      border-radius: 0.5rem;
      padding: 0.75rem;
      font-family: 'Courier New', Courier, monospace;
      font-size: 0.875rem;
      resize: vertical;
      background-color: #f8fafc;
      color: #2d3748;
    }
    .scroll-container {
      display: flex;
      overflow-x: auto;
      border: 1px solid #e2e8f0;
      white-space: nowrap;
      border-radius: 0.5rem;
      padding: 10px;
      background-color: white;
      margin-bottom: 1.5rem;
      scrollbar-width: thin;
    }
    .scroll-container::-webkit-scrollbar {
      height: 6px;
    }
    .scroll-container::-webkit-scrollbar-thumb {
      background-color: #cbd5e0;
      border-radius: 3px;
    }
  
    .beatbox {
      width: 70px;
      background: #e0e0e0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      padding: 5px;
      box-sizing: border-box;
      border: 3px solid white;
      border-radius: 4px;
      margin-right: 5px;
      flex-shrink: 0;
    }
    .beatbox.light {
      background: #070738 !important;
      color: white;
    }
    .beatbox.active {
      border-color: #4299e1;
      transform: scale(1.05);
    }
    
    /* Help Section */
    .help-section { 
      margin-top: 1.5rem; 
      background-color: #ebf8ff; 
      padding: 1rem; 
      border-radius: 0.5rem;
      border-left: 4px solid #4299e1;
    }
    .help-title { 
      font-weight: 600; 
      color: #2b6cb0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .help-text { 
      font-size: 0.875rem; 
      color: #3182ce; 
      line-height: 1.5; 
      margin-top: 0.5rem;
      padding-left: 24px;
    }
    
    /* Footer */
    .app-footer {
      background-color: white;
      padding: 1rem 2rem;
      border-top: 1px solid #e2e8f0;
      text-align: center;
      font-size: 0.875rem;
      color: #718096;
      margin-top: 2rem;
    }
    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-links {
      display: flex;
      gap: 1.5rem;
    }
    .footer-link {
      color: #4a5568;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-link:hover {
      color: #4299e1;
    }
    
    /* Tooltip */
    .tooltip {
      position: relative;
      display: inline-block;
    }
    .tooltip .tooltiptext {
      visibility: hidden;
      width: 200px;
      background-color: #2d3748;
      color: #fff;
      text-align: center;
      border-radius: 6px;
      padding: 8px;
      position: absolute;
      z-index: 1;
      bottom: 125%;
      left: 50%;
      transform: translateX(-50%);
      opacity: 0;
      transition: opacity 0.3s;
      font-size: 0.75rem;
      font-weight: normal;
    }
    .tooltip:hover .tooltiptext {
      visibility: visible;
      opacity: 1;
    }
    
    /* Feature Highlights */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-top: 1.5rem;
    }
    .feature-card {
      background-color: #f7fafc;
      border: 1px solid #e2e8f0;
      border-radius: 0.5rem;
      padding: 1rem;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }
    .feature-icon {
      color: #4299e1;
      font-size: 1.25rem;
      margin-top: 2px;
    }
    .feature-content h4 {
      font-weight: 600;
      color: #2d3748;
      margin-bottom: 0.25rem;
      font-size: 0.875rem;
    }
    .feature-content p {
      color: #718096;
      font-size: 0.75rem;
      line-height: 1.4;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .main-container {
        flex-direction: column;
      }
      .sidebar {
        margin-top: 0;
      }
      .stats-grid {
        grid-template-columns: 1fr;
      }
      .features-grid {
        grid-template-columns: 1fr;
      }
    }
    
    .basic-desc {
      text-align: center;
      margin: 0 auto;
      max-width: 700px;
      padding: 0 1rem;
      color: #4a5568;
      line-height: 1.6;
      font-size: 0.875rem;
      position: relative;
    }
    
    .basic-desc:before,
    .basic-desc:after {
      content: "";
      display: block;
      width: 100px;
      height: 1px;
      background: #e2e8f0;
      margin: 0 auto;
    }
    
    .basic-desc:before { margin-bottom: 1rem; }
    .basic-desc:after { margin-top: 1rem; }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #f8fafc;
    margin: 5% auto;
    padding: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    width: 80%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
  }
  
  .close-modal {
    color: #718096;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-modal:hover {
    color: #2d3748;
  }
  
  /* Tab Styles */
  .policy-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .policy-tab {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    color: #718096;
    border-bottom: 2px solid transparent;
    margin-right: 0.5rem;
  }
  
  .policy-tab.active {
    color: #4299e1;
    border-bottom-color: #4299e1;
    font-weight: 500;
  }
  
  .policy-tab:hover:not(.active) {
    color: #2b6cb0;
  }
  
  .tab-content {
    display: none;
    padding: 0.5rem;
  }
  
  .tab-content.active {
    display: block;
  }
  
  .tab-content h4 {
    font-size: 1.125rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .tab-content h5 {
    font-size: 1rem;
    color: #4a5568;
    margin: 1.25rem 0 0.5rem;
    font-weight: 500;
  }
  
  .tab-content p, .tab-content ul {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }
  
  .tab-content ul {
    padding-left: 1.25rem;
  }
  
  /* FAQ & Contact Styles */
  .faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
  }
  
  .faq-item:last-child {
    border-bottom: none;
  }
  
  .contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .contact-method i {
    font-size: 1.25rem;
    color: #4299e1;
    margin-right: 1rem;
    margin-top: 0.25rem;
  }
  
  .contact-method h5 {
    margin: 0 0 0.25rem;
  }
  
  @media (max-width: 768px) {
    .modal-content {
      width: 90%;
      margin: 10% auto;
    }
    
    .policy-tabs {
      flex-wrap: wrap;
    }
    
    .policy-tab {
      margin-bottom: 0.5rem;
    }
  }
  
  .sosmed {
    margin: 0 0.4rem;
  }
  .app-footer {
  padding: 1rem;
  background: #f0f0f0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  text-decoration: none;
  color: #333;
}

.footer-copy {
  font-size: 0.9rem;
  color: #666;
}