
    :root {
      --primary: #6366f1;
      --primary-dark: #4f46e5;
      --secondary: #10b981;
      --dark: #1f2937;
      --darker: #111827;
      --light: #f3f4f6;
      --gray: #9ca3af;
      --success: #34d399;
      --error: #ef4444;
      --link: #93c5fd; /* light blue */
      --link-hover: #bfdbfe;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
    
    body {
      background: linear-gradient(135deg, var(--darker), #1e293b);
      color: var(--light);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      padding: 0;
    }

    /* Global link styles */
    a {
      color: var(--link);
      text-decoration: none;
      transition: color 0.2s ease, box-shadow 0.2s ease;
    }
    a:hover {
      color: var(--link-hover);
      text-decoration: underline;
    }
    a:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.35);
      border-radius: 4px;
    }
        /* Professional Navigation Styles */
    .navbar {
      background: rgba(17, 24, 39, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 0.8rem 1.5rem;
      position: sticky;
      top: 0;
      z-index: 1000;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 1.5rem;
      font-weight: 700;
      color: #f3f4f6;
      text-decoration: none;
    }

    .nav-brand i {
      color: #6366f1;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-item {
      position: relative;
    }

    .nav-menu .tab {
      color: #f3f4f6;
      text-decoration: none;
      font-weight: 500;
      padding: 0.5rem 0.8rem;
      border-radius: 8px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
    }

    .nav-menu .tab:hover {
      color: #6366f1;
      background: rgba(99, 102, 241, 0.1);
    }

    .nav-menu .tab.active {
      color: #6366f1;
      background: rgba(99, 102, 241, 0.15);
    }

    .nav-link.cta {
      background: #6366f1;
      color: white;
      padding: 0.6rem 1.2rem;
      text-decoration: none;
      font-weight: 500;
      border-radius: 8px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .nav-link.cta:hover {
      background: #4f46e5;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 21px;
      cursor: pointer;
    }

    .hamburger span {
      height: 3px;
      width: 100%;
      background-color: #f3f4f6;
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .nav-menu {
        gap: 1rem;
      }
      
      .nav-menu .tab span,
      .nav-link.cta span {
        display: none;
      }
    }

@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 64px;
    flex-direction: column;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1.5rem 0;
    width: 100%;
  }
  
  .nav-menu .tab,
  .nav-link.cta {
    justify-content: center;
    padding: 1rem;
  }
  
  .nav-menu .tab span,
  .nav-link.cta span {
    display: inline;
  }
  
  /* Hamburger Animation */
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
    
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 21px;
      cursor: pointer;
    }
    
    .hamburger span {
      height: 3px;
      width: 100%;
      background-color: var(--light);
      border-radius: 3px;
      transition: all 0.3s ease;
    }
    
    /* Main content */
    html {
      scroll-behavior: smooth;
    }

    .main-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem 0;
    }
    
    .app-container {
      width: 90%;
      margin-left: 5%;
      margin-right: 5%;
      max-width: 1200px;
      background: rgba(17, 24, 39, 0.8);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .app-header {
      background: linear-gradient(90deg, var(--primary), var(--primary-dark));
      padding: 25px;
      text-align: center;
    }
    
    .app-header h1 {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
    }
    
    .app-header p {
      color: rgba(255, 255, 255, 0.8);
      font-size: 1.1rem;
    }
    .main-content p{
      color: rgba(255, 255, 255, 0.8);
      font-size: 1.1rem;
      margin-bottom: 10px;
    }
    .app-content {
      padding: 30px;
    }
    
    .card {
      background: rgba(31, 41, 55, 0.7);
      border-radius: 16px;
      padding: 25px;
      margin-bottom: 25px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .card.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    
    .card-title {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.4rem;
      margin-bottom: 20px;
      color: var(--light);
    }
    
    .card-title i {
      color: var(--primary);
      font-size: 1.6rem;
    }
    
    .input-group {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
    }
    
    input {
      flex: 1;
      padding: 16px 20px;
      background: rgba(17, 24, 39, 0.7);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      color: var(--light);
      font-size: 1rem;
      transition: all 0.3s ease;
    }
    
    input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
    }
    
    input::placeholder {
      color: var(--gray);
    }
    
    button {
      padding: 16px 24px;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    
    button:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }
    
    button:active {
      transform: translateY(0);
    }
    
    button.secondary {
      background: var(--secondary);
    }
    
    button.secondary:hover {
      background: #0da271;
    }
    
    #file {
      display: none;
    }
    
    .file-upload {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 20px;
    }
    
    .file-label {
      padding: 16px 24px;
      background: var(--dark);
      border: 2px dashed rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      flex: 1;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .file-label:hover {
      border-color: var(--primary);
      background: rgba(31, 41, 55, 0.8);
    }
    
    .file-name {
      color: var(--gray);
      font-size: 0.9rem;
      margin-left: 10px;
    }
    
    .result-container {
      margin-top: 20px;
      padding: 20px;
      background: rgba(17, 24, 39, 0.7);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: none;
    }
    
    .result-container.active {
      display: block;
      animation: fadeIn 0.5s ease;
    }
    
    .result-title {
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--success);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .result-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(0, 0, 0, 0.3);
      padding: 15px;
      border-radius: 10px;
      margin-bottom: 15px;
    }
    
    .result-url {
      color: var(--light);
      text-decoration: none;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex: 1;
      margin-right: 15px;
    }
    
    .copy-btn {
      padding: 10px 16px;
      background: rgba(99, 102, 241, 0.2);
      color: var(--primary);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      white-space: nowrap;
    }
    
    .copy-btn:hover {
      background: rgba(99, 102, 241, 0.3);
    }
    
    .image-preview {
      width: 100%;
      max-height: 200px;
      object-fit: contain;
      border-radius: 10px;
      margin-top: 15px;
      display: none;
    }
    
    .image-preview.active {
      display: block;
    }
    
    .toast {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--dark);
      color: white;
      padding: 12px 24px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      display: flex;
      align-items: center;
      gap: 10px;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1000;
    }
    
    .toast.show {
      opacity: 1;
    }
    
    .toast.success {
      border-left: 4px solid var(--success);
    }
    
    .toast.error {
      border-left: 4px solid var(--error);
    }
    
    .tabs {
      display: flex;
      background: rgba(31, 41, 55, 0.6);
      border-radius: 12px;
      padding: 5px;
      margin-bottom: 25px;
    }
    
    .tab {
      padding: 12px 20px;
      flex: 1;
      text-align: center;
      cursor: pointer;
      border-radius: 10px;
      transition: all 0.3s ease;
      font-weight: 500;
    }
    
    .tab.active {
      background: var(--primary);
    }
    
    .tab-content {
      display: none;
    }
    
    .tab-content.active {
      display: block;
    }
    /* Activity */
    .activity-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .activity-list li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 1px solid #e5e7eb;
      background: #fff;
      border-radius: 8px;
      padding: 10px 12px;
      margin: 8px 0;
    }
    .activity-list a {
      color: #2563eb;
      text-decoration: none;
      word-break: break-all;
    }
    .activity-meta {
      color: #6b7280;
      font-size: 12px;
      margin-left: 12px;
    }
    .activity-actions button {
      margin-left: 8px;
    }

    /* Features list (dark pills, high contrast) */
    .features-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .features-list li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(17, 24, 39, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 14px 16px;
      margin: 10px 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.25);
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }
    .features-list li:hover {
      transform: translateY(-2px);
      background: rgba(31, 41, 55, 0.9);
      border-color: rgba(255, 255, 255, 0.14);
    }
    .features-list li span {
      color: var(--light);
      font-weight: 600;
    }
    .features-list li .activity-meta {
      color: #cbd5e1;
      font-weight: 500;
    }
    @media (max-width: 640px) {
      .features-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }
      .features-list li .activity-meta {
        font-size: 0.95rem;
      }
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    /* Footer */
    footer {
      background: rgba(17, 24, 39, 0.95);
      backdrop-filter: blur(10px);
      text-align: center;
      padding: 1.5rem;
      color: var(--gray);
      font-size: 0.9rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    footer a {
      color: var(--primary);
      text-decoration: none;
    }
    
    /* Responsive Design */
    @media (max-width: 992px) {
      .nav-menu {
        gap: 1rem;
      }
      
      .nav-link span {
        display: none;
      }
      
      .nav-link.cta span {
        display: inline;
      }
    }
    
    @media (max-width: 768px) {
      .navbar {
        padding: 0.8rem 1rem;
      }
      
      .hamburger {
        display: flex;
      }
      
      .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
      }
      
      .nav-menu.active {
        left: 0;
      }
      
      .nav-item {
        margin: 1.5rem 0;
        width: 100%;
      }
      
      .nav-link {
        justify-content: center;
        padding: 1rem;
      }
      
      .nav-link span {
        display: inline;
      }
      
      .input-group {
        flex-direction: column;
      }
      
      input, button {
        width: 100%;
      }
      
      .file-upload {
        flex-direction: column;
      }
      
      .app-header h1 {
        font-size: 1.8rem;
      }
      
      /* Hamburger Animation */
      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }
      
      .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
      }
      
      .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
      }
    }

    .nav-item a {
      color: var(--light);
      text-decoration: none;
      font-weight: bold;
    }

    /* Overlay */
    #auth-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(6px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }
    #auth-overlay.active {
      display: flex;
    }

    .auth-modal {
      background: var(--dark);
      padding: 2rem;
      border-radius: 1rem;
      max-width: 400px;
      width: 90%;
      text-align: center;
      box-shadow: 0 0 15px rgba(0,0,0,0.4);
    }

    .auth-modal h2 {
      margin-top: 0;
      margin-bottom: 1rem;
      color: var(--light);
    }

    .auth-options {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .auth-btn {
      background: var(--dark);
      border: 2px solid var(--gray);
      color: var(--light);
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    .auth-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* Email form (scoped to auth modal only) */
.auth-modal form#email-form {
  display: none;
  margin-top: 1rem;
}

.auth-modal form#email-form input {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 0.5rem;
}

.auth-modal form#email-form button {
  width: 100%;
  padding: 0.6rem;
  background: var(--primary);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.auth-modal form#email-form button:hover {
  background: var(--primary-dark);
}

.auth-modal .close-btn {
  margin-top: 1rem;
  cursor: pointer;
  color: var(--gray);
}

.auth-modal .close-btn:hover {
  color: var(--light);
}
.ad-slot {
  text-align: center;
  margin-top: 1rem;
}
