    :root {
      --primary: #6366f1;
      --primary-dark: #4f46e5;
      --primary-light: #818cf8;
      --secondary: #06b6d4;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --dark: #0f172a;
      --dark-light: #1e293b;
      --dark-lighter: #334155;
      --text: #e2e8f0;
      --text-muted: #94a3b8;
      --border: #334155;
      --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
      --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

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

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--dark);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    }

    /* Animated background */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
      z-index: 0;
      animation: bgShift 20s ease-in-out infinite;
    }

    @keyframes bgShift {
      0%, 100% { transform: scale(1) rotate(0deg); }
      50% { transform: scale(1.1) rotate(5deg); }
    }

    /* Navigation */
    .navbar {
      position: sticky;
      top: 0;
      background: rgba(15, 23, 42, 0.8);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      padding: 1rem 2rem;
      z-index: 100;
    }

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

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: var(--text);
    }

    .logo-icon {
      width: 40px;
      height: 40px;
      background: var(--gradient-1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 16px;
    }

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

    .nav-links {
      display: flex;
      gap: 1.5rem;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--text);
    }

    .nav-auth {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .subscription-display {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--dark-light);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      border: 1px solid var(--border);
    }

    .subscription-status {
      font-weight: 600;
      color: var(--success);
    }

    .btn {
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 0.9rem;
    }

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

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    }

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

    .btn-secondary:hover {
      background: var(--dark-lighter);
      transform: translateY(-2px);
    }

    /* Hero Section */
    .hero {
      padding: 4rem 2rem;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .hero-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .hero h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.2;
    }

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

    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 3rem;
      margin: 3rem 0;
    }

    .stat {
      text-align: center;
    }

    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary);
      display: block;
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 0.5rem;
    }

    /* Tool Section */
    .tool-section {
      padding: 3rem 2rem;
      position: relative;
      z-index: 1;
    }

    .tool-container {
      max-width: 1000px;
      margin: 0 auto;
    }

    .tool-card {
      background: linear-gradient(135deg, var(--dark-light) 0%, rgba(30, 41, 59, 0.8) 100%);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 2.5rem;
      box-shadow: var(--shadow-card);
      backdrop-filter: blur(10px);
    }

    .tool-header {
      text-align: center;
      margin-bottom: 2rem;
    }

    .tool-header h2 {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .tool-header p {
      color: var(--text-muted);
    }

    .form-group {
      margin-bottom: 2rem;
    }

    label {
      display: block;
      font-weight: 500;
      margin-bottom: 0.75rem;
      color: var(--text);
    }

    textarea {
      width: 100%;
      min-height: 300px;
      background: var(--dark);
      border: 2px solid var(--border);
      border-radius: 12px;
      padding: 1.5rem;
      color: var(--text);
      font-family: inherit;
      font-size: 1rem;
      resize: vertical;
      transition: all 0.3s ease;
    }

    textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

    .char-counter {
      text-align: right;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-top: 0.5rem;
    }

    .sections-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }

    .checkbox-wrapper {
      background: var(--dark);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0.75rem;
      transition: all 0.2s ease;
    }

    .checkbox-wrapper:hover {
      border-color: var(--primary);
    }

    .checkbox-wrapper input[type="checkbox"] {
      margin-right: 0.5rem;
    }

    /* Quick Mode and Section I Highlight Styles */
    .section-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }

    .quick-mode-toggle {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .toggle-switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 24px;
    }

    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .toggle-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: var(--dark-lighter);
      transition: .4s;
      border-radius: 24px;
      border: 1px solid var(--border);
    }

    .toggle-slider:before {
      position: absolute;
      content: "";
      height: 16px;
      width: 16px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }

    input:checked + .toggle-slider {
      background-color: var(--primary);
      border-color: var(--primary);
    }

    input:checked + .toggle-slider:before {
      transform: translateX(26px);
    }

    .toggle-label {
      font-size: 0.9rem;
      color: var(--text);
      font-weight: 500;
    }

    .help-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--dark-lighter);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 600;
      cursor: help;
      transition: all 0.2s ease;
      margin-left: 0.5rem;
    }

    .help-icon:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .primary-section-highlight {
      margin-bottom: 1.5rem;
    }

    .section-i-banner {
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(129, 140, 248, 0.05) 100%);
      border: 2px solid var(--primary);
      border-radius: 12px;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      position: relative;
      overflow: hidden;
    }

    .section-i-banner::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
      animation: pulse 4s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(0.8); opacity: 0.5; }
      50% { transform: scale(1.2); opacity: 0.8; }
    }

    .banner-icon {
      font-size: 3rem;
      z-index: 1;
    }

    .banner-content {
      flex: 1;
      z-index: 1;
    }

    .banner-content h4 {
      margin: 0 0 0.5rem 0;
      color: var(--text);
      font-size: 1.2rem;
      font-weight: 600;
    }

    .banner-content p {
      margin: 0;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .checkbox-wrapper-primary {
      z-index: 1;
    }

    .checkbox-wrapper-primary input[type="checkbox"] {
      width: 20px;
      height: 20px;
      accent-color: var(--primary);
    }

    .primary-label {
      font-weight: 600;
      color: var(--primary);
    }

    .sections-divider {
      text-align: center;
      margin: 1.5rem 0 1rem;
      position: relative;
    }

    .sections-divider span {
      background: var(--dark);
      padding: 0 1rem;
      color: var(--text-muted);
      font-size: 0.9rem;
      position: relative;
      z-index: 1;
    }

    .sections-divider::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 1px;
      background: var(--border);
      z-index: 0;
    }

    .other-sections {
      transition: all 0.3s ease;
    }

    .analyze-btn {
      width: 100%;
      padding: 1.5rem;
      font-size: 1.1rem;
      font-weight: 600;
      background: var(--gradient-1);
      color: white;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .analyze-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: var(--shadow-glow);
    }

    .analyze-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .analyze-btn.loading {
      color: transparent;
    }

    .analyze-btn.loading::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 20px;
      height: 20px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-top: 2px solid white;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: translate(-50%, -50%) rotate(0deg); }
      100% { transform: translate(-50%, -50%) rotate(360deg); }
    }

    /* Results */
    .results-section {
      margin-top: 3rem;
      display: none;
    }

    .results-card {
      background: var(--dark-light);
      border: 1px solid var(--border);
      border-radius: 15px;
      padding: 2rem;
    }

    .results-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border);
    }

    .results-title {
      font-size: 1.5rem;
      font-weight: 600;
    }

    .confidence-badge {
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .confidence-high {
      background: rgba(16, 185, 129, 0.2);
      color: var(--success);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .confidence-medium {
      background: rgba(245, 158, 11, 0.2);
      color: var(--warning);
      border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .confidence-low {
      background: rgba(239, 68, 68, 0.2);
      color: var(--danger);
      border: 1px solid rgba(239, 68, 68, 0.3);
    }

    .results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }

    .result-section {
      background: var(--dark);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.5rem;
    }

    .result-section h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--primary);
    }

    .result-item {
      margin-bottom: 1rem;
      padding: 0.75rem;
      background: rgba(99, 102, 241, 0.05);
      border-radius: 8px;
      border-left: 3px solid var(--primary);
    }

    .result-item:last-child {
      margin-bottom: 0;
    }

    /* ICD-10 specific styles */
    .icd10-item {
      border-left-color: var(--success);
      background: rgba(16, 185, 129, 0.05);
    }

    .icd10-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .pdpm-badge {
      background: var(--primary);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
      white-space: nowrap;
    }

    .confidence-text {
      display: block;
      margin-top: 0.5rem;
      color: var(--text-muted);
    }

    /* Warning styles */
    .warnings-section {
      background: rgba(245, 158, 11, 0.05);
      border: 1px solid var(--warning);
      border-radius: 12px;
      padding: 1rem;
    }

    .warning-item {
      margin-bottom: 0.75rem;
      padding: 0.75rem;
      background: rgba(245, 158, 11, 0.1);
      border-radius: 8px;
      border-left: 3px solid var(--warning);
      color: var(--text);
      font-size: 0.9rem;
    }

    .warning-item:last-child {
      margin-bottom: 0;
    }

    /* Quick Mode Results Styles */
    .quick-results-section {
      margin-top: 2rem;
      animation: fadeIn 0.5s ease;
    }

    .quick-results-container {
      background: var(--dark-light);
      border-radius: 16px;
      padding: 2rem;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border);
    }

    .quick-results-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      padding-bottom: 1rem;
      border-bottom: 2px solid var(--border);
    }
    
    .quick-results-header h2 {
      color: var(--text);
      font-size: 1.75rem;
      font-weight: 600;
      margin: 0;
    }

    .time-saved-indicator {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--success);
      font-weight: 600;
      background: rgba(16, 185, 129, 0.1);
      padding: 0.5rem 1rem;
      border-radius: 8px;
    }

    /* Diagnosis Table Styles */
    .diagnosis-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 2rem;
    }

    .diagnosis-table th {
      background: var(--dark-lighter);
      color: var(--text-muted);
      font-weight: 600;
      text-align: left;
      padding: 1rem;
      border-bottom: 2px solid var(--border);
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .diagnosis-table td {
      padding: 1rem;
      border-bottom: 1px solid var(--border);
      color: var(--text);
    }

    .diagnosis-table tbody tr:hover {
      background: rgba(99, 102, 241, 0.1);
    }

    .icd-code {
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--primary-light);
      font-family: 'JetBrains Mono', monospace;
    }
    
    .source-snippet {
      color: var(--text-muted);
      font-size: 0.875rem;
      font-style: italic;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .pdpm-category-badge {
      display: inline-block;
      padding: 0.375rem 0.75rem;
      background: var(--primary);
      color: white;
      border-radius: 6px;
      font-weight: 600;
      font-size: 0.875rem;
    }

    .confidence-indicator {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .confidence-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      display: inline-block;
    }

    .confidence-high { background: #10b981; }
    .confidence-medium { background: #f59e0b; }
    .confidence-low { background: #ef4444; }

    .source-snippet {
      font-size: 0.875rem;
      color: #718096;
      font-style: italic;
      max-width: 300px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* PDPM Impact Box */
    .pdpm-impact-box {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border-radius: 12px;
      padding: 2rem;
      margin: 2rem 0;
    }

    .pdpm-impact-box h3 {
      margin: 0 0 1.5rem 0;
      font-size: 1.25rem;
      font-weight: 600;
    }

    .impact-grid {
      display: grid;
      gap: 1.5rem;
    }

    .impact-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .impact-item:last-child {
      border-bottom: none;
    }

    .impact-item label {
      font-weight: 500;
      opacity: 0.9;
    }

    .impact-value {
      font-weight: 700;
      font-size: 1.1rem;
      text-align: right;
    }

    .revenue-indicator {
      color: #a7f3d0;
      font-size: 0.9rem;
      margin-left: 0.5rem;
    }

    .status-positive {
      color: #a7f3d0;
      font-weight: 700;
    }

    .status-negative {
      color: #fca5a5;
      font-weight: 700;
    }

    .diagnosis-detail {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.7);
      font-weight: 400;
      display: block;
      margin-top: 0.25rem;
    }

    /* Quick Actions */
    .quick-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 2rem;
    }

    .action-btn {
      flex: 1;
      min-width: 150px;
      padding: 0.75rem 1.5rem;
      background: var(--dark-lighter);
      border: 2px solid var(--border);
      border-radius: 8px;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    .action-btn:hover {
      background: var(--dark);
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
    }

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

    .action-btn.primary:hover {
      background: #059669;
      border-color: #059669;
    }

    /* Placeholder Styles */
    .placeholder-card {
      background: var(--dark-lighter);
      border: 2px dashed var(--border);
      border-radius: 12px;
      padding: 3rem;
      text-align: center;
      color: var(--text-muted);
    }

    .placeholder-card h3 {
      margin: 0 0 1rem 0;
      color: var(--text);
    }

    /* Alerts */
    .alert-box {
      background: rgba(245, 158, 11, 0.1);
      border: 1px solid rgba(245, 158, 11, 0.3);
      border-radius: 8px;
      padding: 1rem;
      margin-top: 1rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--warning);
    }

    .alert-icon {
      font-size: 1.25rem;
    }

    /* Error states */
    .error-message {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: var(--danger);
      padding: 1rem;
      border-radius: 8px;
      margin-top: 1rem;
      display: none;
    }


    /* Auth prompts for anonymous users */
    .auth-prompt {
      background: var(--dark-light);
      border: 1px solid var(--border);
      border-radius: 15px;
      padding: 2rem;
      text-align: center;
      margin-top: 2rem;
    }

    .auth-prompt h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .auth-prompt p {
      color: var(--text-muted);
      margin-bottom: 2rem;
    }

    .auth-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .navbar {
        padding: 1rem;
      }

      .nav-container {
        flex-direction: column;
        gap: 1rem;
      }

      .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
      }

      .nav-links {
        justify-content: center;
      }

      .hero h1 {
        font-size: 2.5rem;
      }

      .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
      }

      .tool-card {
        padding: 1.5rem;
      }

      .sections-grid {
        grid-template-columns: 1fr;
      }

      .auth-buttons {
        flex-direction: column;
      }
    }

    /* Hidden states */
    .hidden {
      display: none !important;
    }

    /* Beta message styles */
    .beta-message {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
      border: 1px solid var(--warning);
      color: var(--text);
      padding: 1.5rem;
      border-radius: 12px;
      margin-bottom: 2rem;
      text-align: center;
      font-weight: 500;
    }

    .beta-message a {
      color: var(--warning);
      text-decoration: underline;
      font-weight: 600;
    }

    .beta-message a:hover {
      color: var(--primary);
    }

    /* Disabled state for beta restrictions */
    textarea:disabled,
    .analyze-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background-color: var(--dark-lighter);
    }

    .sections-grid input:disabled + label {
      opacity: 0.5;
      cursor: not-allowed;
    }

    /* Enhanced Footer Styling */
    .footer-links a {
      position: relative;
      display: inline-block;
      padding: 0.25rem 0;
      transition: all 0.3s ease;
    }

    .footer-links a:hover {
      color: var(--primary-light) !important;
      transform: translateX(4px);
    }

    .footer-links a::before {
      content: '';
      position: absolute;
      left: -8px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 2px;
      background: var(--primary-light);
      transition: width 0.3s ease;
    }

    .footer-links a:hover::before {
      width: 4px;
    }

    .footer-section h4 {
      position: relative;
      padding-bottom: 0.5rem;
    }

    .footer-section h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--primary);
      border-radius: 1px;
    }

    .footer-brand p {
      transition: color 0.2s ease;
    }

    .footer-brand:hover p {
      color: var(--text);
    }

    .footer-bottom {
      background: rgba(15, 23, 42, 0.5);
      border-radius: 12px;
      padding: 1.5rem 2rem !important;
      margin-top: 1rem;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(51, 65, 85, 0.3);
    }

    .footer-bottom p {
      transition: color 0.2s ease;
    }

    .footer-bottom:hover p {
      color: var(--text);
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
      }

      .footer-bottom {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
        padding: 1rem !important;
      }

      .footer-links a:hover {
        transform: none;
      }
    }

    /* Improved spacing for better visual hierarchy */
    .footer-section {
      padding: 0.5rem 0;
    }

    .footer-brand {
      padding-right: 1rem;
    }

    /* Feedback Button Styles */
    .btn-feedback {
      padding: 4px 8px;
      margin-left: 10px;
      background: rgba(249, 115, 22, 0.1);
      color: var(--warning);
      border: 1px solid var(--warning);
      border-radius: 4px;
      font-size: 12px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-feedback:hover {
      background: rgba(249, 115, 22, 0.2);
      transform: translateY(-1px);
    }

    .btn-feedback-correct {
      padding: 4px 12px;
      margin-right: 8px;
      background: rgba(16, 185, 129, 0.1);
      color: var(--success);
      border: 1px solid var(--success);
      border-radius: 4px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-feedback-correct:hover {
      background: rgba(16, 185, 129, 0.2);
      transform: translateY(-1px);
    }

    .btn-feedback-wrong {
      padding: 4px 12px;
      background: rgba(239, 68, 68, 0.1);
      color: var(--danger);
      border: 1px solid var(--danger);
      border-radius: 4px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-feedback-wrong:hover {
      background: rgba(239, 68, 68, 0.2);
      transform: translateY(-1px);
    }

    .nta-feedback-buttons {
      display: flex;
      gap: 8px;
      margin-top: 8px;
    }

    /* Feedback Modal Styles */
    .feedback-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 20000;
      align-items: center;
      justify-content: center;
    }

    .feedback-modal.active {
      display: flex;
    }

    .feedback-modal-content {
      background: var(--dark-light);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .feedback-modal h3 {
      color: var(--text);
      margin-bottom: 16px;
    }

    .feedback-modal input,
    .feedback-modal textarea {
      width: 100%;
      padding: 8px 12px;
      background: var(--dark);
      border: 1px solid var(--border);
      border-radius: 6px;
      color: var(--text);
      margin-bottom: 12px;
    }

    .feedback-modal-buttons {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
      margin-top: 16px;
    }

    .feedback-modal-buttons button {
      padding: 8px 16px;
      border-radius: 6px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

    .feedback-submit {
      background: var(--primary);
      color: white;
      border: none;
    }

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

    .feedback-cancel {
      background: transparent;
      color: var(--text-muted);
      border: 1px solid var(--border);
    }

    .feedback-cancel:hover {
      background: var(--dark-lighter);
    }