* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-elevated: #242424;
    --accent-primary: #1db954;
    --accent-secondary: #1ed760;
    --accent-purple: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-tertiary: #535353;
    --border-subtle: #282828;
    --shadow: rgba(0, 0, 0, 0.6);
  }
  
  body {
    font-family: 'Circular Std', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease;
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  header h1 {
    font-size: 3.5em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -2px;
  }
  
  header p {
    font-size: 1.2em;
    color: var(--text-secondary);
    font-weight: 400;
  }
  
  .input-section {
    background: var(--bg-elevated);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 60px var(--shadow);
    animation: fadeInUp 0.6s ease 0.2s backwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  textarea {
    width: 100%;
    padding: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
  }
  
  textarea::placeholder {
    color: var(--text-tertiary);
  }
  
  .priority-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .priority-selector label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .priority-selector select {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b3b3b3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
  }
  
  .priority-selector select:hover {
    border-color: var(--text-tertiary);
  }
  
  .priority-selector select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
  }
  
  .button-group {
    display: flex;
    gap: 16px;
  }
  
  button {
    flex: 1;
    padding: 18px 32px;
    border: none;
    border-radius: 500px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.3, 0, 0.5, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
  }
  
  button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  button:hover::before {
    transform: translateX(0);
  }
  
  .voice-btn {
    background: linear-gradient(135deg, var(--accent-purple), #a78bfa);
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
  }
  
  .voice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
  }
  
  .voice-btn:active {
    transform: translateY(0);
  }
  
  .voice-btn.listening {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulseGlow 1.5s infinite;
  }
  
  @keyframes pulseGlow {
    0%, 100% {
      box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
    }
    50% {
      box-shadow: 0 8px 32px rgba(239, 68, 68, 0.6);
    }
  }
  
  .submit-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.3);
  }
  
  .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(29, 185, 84, 0.4);
  }
  
  .submit-btn:active {
    transform: translateY(0);
  }
  
  .submit-btn:disabled {
    background: var(--bg-elevated);
    color: var(--text-tertiary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  
  .status {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    display: none;
    animation: slideIn 0.3s ease;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .status.show {
    display: block;
  }
  
  .status.success {
    background: rgba(29, 185, 84, 0.15);
    color: var(--accent-secondary);
    border: 1px solid rgba(29, 185, 84, 0.3);
  }
  
  .status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
  }
  
  .status.loading {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.3);
  }
  
  .tasks-section {
    background: var(--bg-elevated);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 60px var(--shadow);
    animation: fadeInUp 0.6s ease 0.4s backwards;
  }
  
  .tasks-section h2 {
    margin-bottom: 32px;
    font-size: 2em;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1px;
  }
  
  .task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 16px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .task-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .task-item:hover::before {
    opacity: 1;
  }
  
  .task-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  
  .task-content {
    flex: 1;
  }
  
  .task-item.high {
    border-left-color: #ef4444;
  }
  
  .task-item.medium {
    border-left-color: #f59e0b;
  }
  
  .task-item.low {
    border-left-color: var(--accent-primary);
  }
  
  .task-item.completed {
    opacity: 0.5;
    background: var(--bg-primary);
  }
  
  .task-item.completed .task-title {
    text-decoration: line-through;
    color: var(--text-tertiary);
  }
  
  .task-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
  }
  
  .task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .task-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
  }
  
  .priority-badge,
  .category-badge,
  .deadline-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .priority-badge {
    background: rgba(29, 185, 84, 0.15);
    color: var(--accent-secondary);
  }
  
  .task-item.high .priority-badge {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
  }
  
  .task-item.medium .priority-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
  }
  
  .task-item.low .priority-badge {
    background: rgba(29, 185, 84, 0.15);
    color: var(--accent-secondary);
  }
  
  .category-badge {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
  }
  
  .deadline-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
  }
  
  .ai-info {
    font-size: 11px;
    color: var(--accent-purple);
    font-style: italic;
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  
  .complete-btn {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
  }
  
  .complete-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.5);
  }
  
  .complete-btn:active {
    transform: scale(0.95);
  }
  
  .task-item.completed .complete-btn {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  }
  
  .task-item.completed .complete-btn:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  }
  
  .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
  }
  
  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 12px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-primary);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 6px;
    border: 2px solid var(--bg-primary);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--border-subtle);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    header h1 {
      font-size: 2.5em;
    }
    
    .input-section,
    .tasks-section {
      padding: 24px;
    }
    
    .button-group {
      flex-direction: column;
    }
    
    .task-item {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .complete-btn {
      align-self: flex-end;
    }
  }

  /* Task sections */
.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .filters select {
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filters select:hover {
    border-color: var(--text-tertiary);
  }
  
  .filters select:focus {
    outline: none;
    border-color: var(--accent-primary);
  }
  
  .reset-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .reset-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
  }
  
  .task-section {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-subtle);
  }
  
  .completed-section {
    opacity: 0.7;
  }
  
  .completed-section .section-title {
    color: var(--text-secondary);
  }
  
  /* Radio button checkbox */
  .task-radio {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    appearance: none;
    border: 3px solid var(--border-subtle);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-right: 16px;
  }
  
  .task-radio:hover {
    border-color: var(--accent-primary);
    transform: scale(1.1);
  }
  
  .task-radio:checked {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.2);
  }
  
  .task-radio:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 900;
  }
  
  .task-item {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .complete-btn {
    display: none;
  }
  
  @media (max-width: 768px) {
    .tasks-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .filters {
      width: 100%;
    }
    
    .filters select,
    .reset-btn {
      flex: 1;
      min-width: 120px;
    }
  }