/* Reset and Base Styles */

/* --- Output Section Action Buttons --- */
.output-actions .btn-icon {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary-color);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.output-actions .btn-icon:hover {
    background-color: var(--surface-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.output-actions .btn-icon:active {
    transform: translateY(0);
    box-shadow: none;
}

.output-actions .btn-icon svg {
    width: 18px;
    height: 18px;
}

/* Tooltip for buttons */
.btn-icon .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position the tooltip above the button */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.output-actions {
  display: flex;
  
}

/* Error Message */
.error-message {
  background-color: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 10px 0;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1001;
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #000000 0%, #1f2937 50%, #374151 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #374151;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
  padding: 0 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.1);
}

.logo-container {
  position: relative;
}

.logo {
  height: 9rem;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
}

.logo:hover {
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
}

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

.nav-link {
  position: relative;
  color: #d1d5db;
  text-decoration: none;
  font-weight: 700; /* Bold */
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #a855f7;
  transform: scale(1.05);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4);
  filter: blur(2px);
  opacity: 0.5;
  transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.login-link {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem !important;
}

.login-link:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
  border-color: rgba(168, 85, 247, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  transform: scale(1.1);
}

.menu-icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* User Menu Styles */
.user-menu {
  position: relative;
}

.user-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-button:hover {
  background: rgba(55, 65, 81, 0.8);
  border-color: rgba(168, 85, 247, 0.5);
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Desktop credits badge next to user name */
.user-credits {
  margin-left: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a855f7;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(236, 72, 153, 0.12));
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-icon {
 stroke: #ffffff;
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}



.user-button:hover .dropdown-icon {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #d1d5db;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.dropdown-item:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #ffffff;
}

.dropdown-item svg {
  width: 1rem;
  height: 1rem;
}

.dropdown-divider {
  height: 1px;
  background: #374151;
  margin: 0.5rem 0;
}







.floating-element {
  position: absolute;
  animation: floating 3s ease-in-out infinite;
}

.floating-shape {
  border-radius: 0.5rem;
  opacity: 0.3;
}

.shape-1 {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  transform: rotate(45deg);
}

.shape-2 {
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 50%;
}

.shape-3 {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #10b981, #14b8a6);
  transform: rotate(12deg);
}








.mobile-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.mobile-close-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  transform: scale(1.1);
}

.mobile-close-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


.mobile-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  background: rgba(55, 65, 81, 0.3);
  backdrop-filter: blur(10px);
}

.mobile-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-feature {
  text-align: center;
  transition: transform 0.3s ease;
}

.mobile-feature:hover {
  transform: scale(1.05);
}

.mobile-feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mobile-feature-icon:hover {
  transform: rotate(3deg);
}

.mobile-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.feature-1 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.feature-2 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.feature-3 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.mobile-feature p {
  font-size: 0.75rem;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.mobile-feature:hover p {
  color: #d1d5db;
}

.mobile-branding {
  text-align: center;
  margin-bottom: 1rem;
}

.mobile-branding p {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.mobile-branding a {
  color: #a855f7;
  text-decoration: none;
  font-weight: 700; /* Bold */
  transition: color 0.3s ease;
}

.mobile-branding a:hover {
  color: #c084fc;
  text-decoration: underline;
}

.mobile-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Main Content */
.main {
  position: relative;
  min-height: 100vh;
  padding-top: 6rem;
}

.bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 4s ease-in-out infinite;
}

.orb-1 {
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

.orb-2 {
  top: 10rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation-delay: 1s;
}

.orb-3 {
  bottom: 5rem;
  left: 25%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
  animation-delay: 2s;
}

.mouse-follower {
  position: fixed;
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.2;
  filter: blur(2px);
  transition: all 0.1s ease-out;
  transform: translate(-50%, -50%);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.hero-content {
  position: relative;
  perspective: 1000px;
}

.hero-text {
  position: relative;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800; /* ExtraBold */
  background: linear-gradient(135deg, #a855f7, #ec4899, #06b6d4);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 1.1;
  animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800; /* ExtraBold */
  color: #ffffff;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-icon {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-icon:hover {
  transform: rotate(0deg) !important;
}

.hero-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.icon-1 {
  top: -2.5rem;
  left: -2.5rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  transform: rotate(12deg);
  animation: floatSlow 4s ease-in-out infinite;
}

.icon-2 {
  top: -1.25rem;
  right: -0.5rem;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  transform: rotate(-12deg);
  animation: floatMedium 3s ease-in-out infinite;
}

.icon-3 {
  top: 5rem;
  left: 25%;
  background: linear-gradient(135deg, #10b981, #14b8a6);
  transform: rotate(45deg);
  animation: floatFast 2s ease-in-out infinite;
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: #d1d5db;
  max-width: 64rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 300; /* Light */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700; /* Bold */
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6d28d9, #db2777);
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #a855f7;
  border: 2px solid rgba(168, 85, 247, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.1);
  transform: scale(1.05);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(0.25rem);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.stat {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: scale(1.05);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; /* ExtraBold */
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #9ca3af;
  font-size: 1.125rem;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-label {
  color: #d1d5db;
  font-weight: 700;
  font-size: 1rem;
}

.toggle-switch {
  position: relative;
  width: 4rem;
  height: 2rem;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-switch:hover {
  background: rgba(55, 65, 81, 0.8);
}

.toggle-switch.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
  border-color: rgba(168, 85, 247, 0.5);
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.discount-badge {
  background: linear-gradient(135deg, #10b981, #14b8a6);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.pricing-grid {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
    padding: 0 1rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
  padding: 2rem;
  position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

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

.plan-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.plan-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.plan-icon-free {
  background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.plan-icon-pro {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.plan-icon-ultimate {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.pricing-card:hover .plan-icon {
  transform: scale(1.1) rotate(3deg);
}

.plan-header h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  color: #9ca3af;
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
}

.period {
  font-size: 1rem;
  color: #9ca3af;
}

.yearly-savings {
  color: #10b981;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.plan-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #10b981;
  flex-shrink: 0;
}

.feature-item span {
  color: #d1d5db;
  font-size: 0.875rem;
}

.plan-button {
  width: 100%;
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .pricing-grid {
        gap: 1.5rem;
        padding: 0 2rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pricing-card.popular {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 2rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .pricing-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        grid-column: auto;
    }

    .pricing-toggle {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .toggle-label {
        font-size: 0.9rem;
    }

    .discount-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 1.5rem 0;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .plan-header h3 {
        font-size: 1.5rem;
    }

    .plan-price .amount {
        font-size: 2.5rem;
    }

    .plan-features {
        margin: 1.5rem 0;
    }

    .feature-item {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .plan-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* FAQ Section */
.faq-section {
  padding: 3rem 0;
}

.faq-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  margin-bottom: 2rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.faq-item:hover {
  background: rgba(55, 65, 81, 0.8);
}

.faq-item.active {
  border-color: rgba(168, 85, 247, 0.5);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question h3 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #a855f7;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #d1d5db;
  line-height: 1.6;
  margin: 0;
}

/* Auth Section Styles */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1rem;
  position: relative;
  z-index: 1;
}

.auth-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.auth-card {
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.3s ease;
  display: block !important;
  visibility: visible !important;
}

.auth-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.1);
}

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

.auth-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.auth-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #a855f7;
}

.auth-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: #9ca3af;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.form-group input::placeholder {
  color: #6b7280;
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  transition: all 0.3s ease;
}

.password-toggle:hover {
  color: #a855f7;
}

.eye-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.875rem;
  color: #d1d5db;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #a855f7;
  border-color: #a855f7;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.forgot-link {
  font-size: 0.875rem;
  color: #a855f7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-link:hover {
  color: #ec4899;
}

.auth-button {
  width: 100%;
  margin-bottom: 1.5rem;
}

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

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #374151;
  z-index: -1;
}

.auth-divider span {
  background: #1f2937;
  padding: 0 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.social-auth {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-button:hover {
  background: rgba(55, 65, 81, 0.8);
  border-color: rgba(168, 85, 247, 0.5);
}

.social-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.auth-switch {
  text-align: center;
}

.auth-switch p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.auth-switch a {
  color: #a855f7;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.auth-switch p a:hover {
  text-decoration: underline;
}

.auth-switch a:hover {
  color: #ec4899;
}

/* --- Social Authentication --- */
.social-auth {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #4b5563;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.social-btn:hover {
  background-color: #4b5563;
  border-color: #6b7280;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.google-btn {
  background-color: #ffffff;
  color: #1f2937;
  border-color: #d1d5db;
}

.google-btn:hover {
    background-color: #f3f4f6;
}

/* Add these styles for better visibility */
#loginCard, #signupCard {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#signupCard {
  display: none !important;
}

/* Add styles for error and success messages */
.auth-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.auth-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Add loading spinner styles */
.spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
  .auth-section {
    padding: 6rem 1rem;
  }

  .auth-card {
    padding: 1.5rem;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Dashboard Styles */
.dashboard-main {
  padding-top: 6rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.welcome-section h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  color: #9ca3af;
  font-size: 1.125rem;
  font-weight: 300;
}

.plan-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.plan-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.plan-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

.plan-info {
  display: flex;
  flex-direction: column;
}

.plan-name {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.plan-credits {
  font-size: 0.875rem;
  color: #9ca3af;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.stat-icon-1 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.stat-icon-2 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.stat-icon-3 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.stat-icon-4 {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.stat-content h3 {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.stat-change {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.stat-change.positive {
  color: #10b981;
}

.stat-change.negative {
  color: #ef4444;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.action-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.action-card:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25);
}

.action-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.action-card:hover .action-icon {
  transform: scale(1.1) rotate(3deg);
}

.action-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.action-icon-1 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.action-icon-2 {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.action-icon-3 {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.action-icon-4 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.action-card h3 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.action-card:hover h3 {
  color: #c084fc;
}

.action-card p {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.3s ease;
}

.action-card:hover p {
  color: #d1d5db;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.activity-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.activity-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

.activity-icon-resume {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.activity-icon-caption {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.activity-icon-reel {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.activity-content {
  flex: 1;
}

.activity-content h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.activity-content p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.activity-time {
  color: #6b7280;
  font-size: 0.75rem;
}

.activity-action {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.activity-action:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: rgba(168, 85, 247, 0.5);
  color: #ffffff;
}

/* Features Section (About Page) */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(168, 85, 247, 0.5);
  transform: scale(1.05) translateY(-0.5rem);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(3deg);
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.feature-icon-1 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.feature-icon-2 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.feature-icon-3 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.feature-icon-4 {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.feature-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700; /* Bold */
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: #c084fc;
}

.feature-card p {
  color: #9ca3af;
  font-weight: 300; /* Light */
  line-height: 1.6;
  transition: color 0.3s ease;
}

.feature-card:hover p {
  color: #d1d5db;
}

/* Story Section (About Page) */
.story-section {
  padding: 5rem 0;
}

.story-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 3rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.story-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.story-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; /* ExtraBold */
  text-align: center;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

.story-content p {
  color: #d1d5db;
  font-size: 1.125rem;
  line-height: 1.8;
  font-weight: 300; /* Light */
  margin-bottom: 1.5rem;
}

.story-content .highlight {
  color: #a855f7;
  font-weight: 700; /* Bold */
}

.story-highlight {
  color: #a855f7;
  font-weight: 700; /* Bold */
  font-size: 1.25rem;
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.contact-form-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.form-header {
  padding: 2rem 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
}

.form-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.form-header h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700; /* Bold */
}

.form-header p {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 300; /* Light */
  margin-top: 0.5rem;
}

.contact-form {
  padding: 0 2rem 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 700; /* Bold */
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(168, 85, 247, 0.5);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #9333ea, #db2777);
  transform: scale(1.02);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card,
.support-hours-card,
.help-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.contact-info-card {
  animation-delay: 0.2s;
}

.support-hours-card {
  animation-delay: 0.4s;
}

.help-card {
  animation-delay: 0.6s;
}

.contact-info-card:hover,
.support-hours-card:hover,
.help-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.contact-info-card h3,
.support-hours-card h3,
.help-card h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700; /* Bold */
  margin-bottom: 1rem;
}

.contact-info-card p,
.help-card p {
  color: #9ca3af;
  font-weight: 300; /* Light */
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: scale(1.05);
}

.contact-method-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-method:hover .contact-method-icon {
  transform: rotate(3deg);
}

.contact-method-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.contact-method h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700; /* Bold */
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.contact-method:hover h4 {
  color: #c084fc;
}

.contact-method p {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.contact-method:hover p {
  color: #d1d5db;
}

.support-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.support-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #a855f7;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  color: #d1d5db;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.hours-item:hover {
  color: #c084fc;
}

.help-card {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(168, 85, 247, 0.5);
  text-align: center;
}

.help-card:hover {
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25);
}

/* Privacy/Terms Content */
.privacy-content {
  padding: 3rem 0;
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 4xl;
  margin: 0 auto;
}

.privacy-section {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.privacy-section:nth-child(1) {
  animation-delay: 0.1s;
}
.privacy-section:nth-child(2) {
  animation-delay: 0.2s;
}
.privacy-section:nth-child(3) {
  animation-delay: 0.3s;
}
.privacy-section:nth-child(4) {
  animation-delay: 0.4s;
}
.privacy-section:nth-child(5) {
  animation-delay: 0.5s;
}
.privacy-section:nth-child(6) {
  animation-delay: 0.6s;
}

.privacy-section:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.section-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.privacy-section:hover .section-icon {
  transform: scale(1.1) rotate(3deg);
}

.section-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.privacy-icon-1 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.privacy-icon-2 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.privacy-icon-3 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.privacy-icon-4 {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.privacy-icon-5 {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.privacy-icon-6 {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.privacy-section h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700; /* Bold */
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.privacy-section:hover h2 {
  color: #c084fc;
}

.section-content {
  color: #d1d5db;
  font-weight: 300; /* Light */
  line-height: 1.7;
}

.section-content p {
  margin-bottom: 1rem;
}

.section-content ul {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.section-content li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}

.section-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a855f7;
  font-weight: 700; /* Bold */
}

.section-content a {
  color: #a855f7;
  text-decoration: none;
  font-weight: 700; /* Bold */
  transition: color 0.3s ease;
}

.section-content a:hover {
  color: #c084fc;
  text-decoration: underline;
}

.footer-note {
  font-size: 0.875rem;
  color: #9ca3af;
}

.last-updated {
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.last-updated p {
  color: #9ca3af;
  font-size: 1rem;
}

/* Tools Section */
.tools {
  padding: 5rem 0;
}

.tools-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; /* ExtraBold */
  text-align: center;
  color: #ffffff;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.tool-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.tool-card:nth-child(1) {
  animation-delay: 0.1s;
}
.tool-card:nth-child(2) {
  animation-delay: 0.2s;
}
.tool-card:nth-child(3) {
  animation-delay: 0.3s;
}
.tool-card:nth-child(4) {
  animation-delay: 0.4s;
}

.tool-card:hover,
.tool-card.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(168, 85, 247, 0.5);
  transform: scale(1.05) translateY(-0.5rem);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25);
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tool-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
  transform: scale(1.1) rotate(3deg);
}

.tool-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.tool-icon-1 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.tool-icon-2 {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.tool-icon-3 {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.tool-icon-4 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.tool-card.active .tool-icon,
.tool-card:hover .tool-icon {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tool-header h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700; /* Bold */
  transition: color 0.3s ease;
}

.tool-card:hover .tool-header h4 {
  color: #c084fc;
}

.tool-card p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 300; /* Light */
  transition: color 0.3s ease;
}

.tool-card:hover p {
  color: #d1d5db;
}

/* Interface Section */
.interface {
  padding: 3rem 0;
}

.interface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.input-section,
.output-section {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.input-section:hover,
.output-section:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.section-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
}

.section-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

.section-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700; /* Bold */
}

.section-header p {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 300; /* Light */
  margin-top: 0.25rem;
}

.input-content {
  padding: 0 1.5rem 1.5rem;
}

.input-content textarea {
  width: 100%;
  min-height: 200px;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  padding: 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  resize: vertical;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.input-content textarea:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.input-content textarea::placeholder {
  color: #6b7280;
}

.input-content textarea:hover {
  border-color: rgba(168, 85, 247, 0.5);
}

.btn-generate {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  transition: all 0.3s ease;
}

.btn-generate:hover {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  transform: scale(1.02);
}

.btn-generate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.output-content {
  padding: 0 1.5rem 1.5rem;
  min-height: 200px;
}

.output-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #6b7280;
  text-align: center;
  transition: all 0.3s ease;
}

.output-placeholder:hover {
  color: #9ca3af;
}

.placeholder-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.output-placeholder:hover .placeholder-icon {
  opacity: 0.7;
  transform: scale(1.1);
}

.output-text {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  padding: 1rem;
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #a855f7;
}

.spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid rgba(168, 85, 247, 0.3);
  border-top: 3px solid #a855f7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.model-badge {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  animation: pulse 2s ease-in-out infinite;
}

/* Footer */
.footer {
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #1f2937 50%, #374151 100%);
  border-top: 1px solid #374151;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}

.footer-orb-1 {
  bottom: 0;
  left: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
}

.footer-orb-2 {
  bottom: 0;
  right: 5rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  animation-delay: 1s;
}

.footer-content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700; /* Bold */
  margin-bottom: 1rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-logo {
  height: 6rem;
  width: auto;
  object-fit: contain;
}

.footer-description {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 300; /* Light */
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: #374151;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #ffffff;
  transform: scale(1.1);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #a855f7;
  transform: translateX(0.25rem);
}

.footer-contact {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid #374151;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9ca3af;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

.contact-icon-1 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.contact-icon-2 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.contact-icon-3 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 700; /* Bold */
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.contact-info {
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid #374151;
  gap: 1rem;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-copyright a {
  color: #a855f7;
  text-decoration: none;
  font-weight: 700; /* Bold */
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #c084fc;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0px) rotate(12deg);
  }
  50% {
    transform: translateY(-20px) rotate(12deg);
  }
}

@keyframes floatMedium {
  0%,
  100% {
    transform: translateY(0px) rotate(-12deg);
  }
  50% {
    transform: translateY(-15px) rotate(-12deg);
  }
}

@keyframes floatFast {
  0%,
  100% {
    transform: translateY(0px) rotate(45deg);
  }
  50% {
    transform: translateY(-10px) rotate(45deg);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.05);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-content {
    height: 5rem;
  }

  .logo {
    height: 6rem;
  }

  .main {
    padding-top: 5rem;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-status {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .dashboard-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile User Info */
.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  margin: 1rem 0;
}

.mobile-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.mobile-user-details {
  display: flex;
  flex-direction: column;
}

.mobile-user-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.125rem;
}

/* Authentication Styles */
.auth-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.2);
  animation: slideInDown 0.3s ease-out;
}

.auth-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.2);
  animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Password Feedback Styles */
.password-feedback {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: rgba(31, 41, 55, 0.8);
  border-radius: 0.5rem;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.feedback-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.feedback-item.valid {
  color: #10b981;
}

.feedback-item.invalid {
  color: #ef4444;
}

.feedback-item.valid::before {
  content: '✓';
  font-weight: bold;
  color: #10b981;
}

.feedback-item.invalid::before {
  content: '✗';
  font-weight: bold;
  color: #ef4444;
}

/* Enhanced Password Input Styles */
.password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input input {
  padding-right: 3rem;
  flex: 1;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
}

.password-toggle .eye-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* Enhanced Form Validation */
.form-group input:invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input:valid {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input:focus:invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group input:focus:valid {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Loading Spinner for Auth Buttons */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced Auth Card Transitions */
.auth-card {
  transition: all 0.3s ease;
}

.auth-card:not([style*="display: none"]) {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Button States */
.auth-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-button:disabled:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* Checkbox Enhancements */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(31, 41, 55, 0.8);
  border: 2px solid #4b5563;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.checkbox-label:hover .checkmark {
  border-color: #a855f7;
}

.checkbox-label input:checked ~ .checkmark {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: #a855f7;
}

.checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 0.375rem;
  top: 0.125rem;
  width: 0.375rem;
  height: 0.625rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark::after {
  display: block;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .password-feedback {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  
  .feedback-item {
    font-size: 0.8rem;
  }
  
  .auth-error,
  .auth-success {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
}

.mobile-user-email {
  color: #9ca3af;
  font-size: 0.875rem;
}

.credits-indicator {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(17, 24, 39, 0.6);
    border-radius: 20px;
    margin-left: 16px;
    font-size: 14px;
    color: #fff;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.credits-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    right: -4px;
    top: -4px;
    transition: background-color 0.3s ease;
}

.credits-status-dot.has-credits {
    background-color: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.credits-status-dot.no-credits {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: pulse 2s infinite;
}

.credits-remaining {
    font-weight: bold;
    color: #4ade80;
    margin-right: 4px;
}

.credits-used {
    font-size: 12px;
    opacity: 0.7;
    margin-left: 4px;
}

/* Credits Alert Popup - Removed */
/* The credits alert popup has been removed from the application */

/* All credits alert related CSS has been removed */

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

/* ===== ADMIN PANEL STYLES ===== */

/* Admin Section */
.admin-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
}

.admin-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-card {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.admin-header {
    text-align: center;
    margin-bottom: 32px;
}

.admin-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.admin-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

/* Plan Badge Styles */
.plan-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-badge.free {
    background: rgba(55, 65, 81, 0.5);
    border-color: #4b5563;
    color: #9ca3af;
}

.plan-badge.ultimate {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3), rgba(168, 85, 247, 0.3)) !important;
    border-color: #a855f7 !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3) !important;
}

.plan-badge.ultimate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: inherit;
    z-index: -1;
}

.plan-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-badge.free .plan-icon {
    color: #6b7280;
}

.plan-badge.ultimate .plan-icon {
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.plan-info {
    display: flex;
    flex-direction: column;
}

.plan-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-badge.free .plan-name {
    color: #9ca3af;
}

.plan-badge.ultimate .plan-name {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
    font-weight: 700 !important;
}

.plan-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.4);
}

/* ===== PRICING SECTION STYLES ===== */
.pricing-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.toggle-switch:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(168, 85, 247, 0.5);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

.discount-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(99, 102, 241, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.pricing-card.popular {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.3);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    opacity: 0.7;
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 1rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    z-index: 2;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.plan-icon svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.plan-icon-free {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(75, 85, 99, 0.2));
    border: 2px solid rgba(107, 114, 128, 0.3);
}

.plan-icon-free svg {
    color: #9ca3af;
}

.plan-icon-pro {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.2));
    border: 2px solid rgba(168, 85, 247, 0.4);
}

.plan-icon-pro svg {
    color: #a855f7;
}

.plan-icon-ultimate {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    border: 2px solid rgba(251, 191, 36, 0.4);
}

.plan-icon-ultimate svg {
    color: #fbbf24;
}

.pricing-card:hover .plan-icon {
    transform: scale(1.1) rotate(5deg);
}

.plan-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a855f7;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

.yearly-savings {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 0.5rem;
    display: inline-block;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

.feature-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 0.5rem;
    border-radius: 0.5rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.feature-item span {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-button {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-button::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 ease;
}

.plan-button:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: white;
    border-radius: 30px;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(168, 85, 247, 0.4);
}

.btn-gradient {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    color: white;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(251, 191, 36, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-section {
        padding: 2rem 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card.popular {
        transform: none;
        margin-top: 0;
    }
    
    .plan-icon {
        width: 60px;
        height: 60px;
    }
    
    .plan-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .plan-header h3 {
        font-size: 1.5rem;
    }
    
    .pricing-toggle {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .toggle-label {
        font-size: 1rem;
    }
    
    .toggle-switch {
        width: 50px;
        height: 26px;
    }
    
    .toggle-slider {
        width: 22px;
        height: 22px;
        top: 2px;
        left: 2px;
    }
    
    .toggle-switch.active .toggle-slider {
        transform: translateX(24px);
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1rem;
        border-radius: 1rem;
    }
    
    .plan-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .feature-item {
        padding: 0.5rem 0;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
}

/* ===== MOBILE HEADER ACCOUNT INFO STYLES ===== */
.mobile-header-account-info {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.mobile-header-account-info:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
}

.mobile-account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-account-avatar svg {
    width: 18px;
    height: 18px;
    color: white;
}

.mobile-account-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.mobile-account-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.mobile-account-credits {
    font-size: 0.75rem;
    color: #a855f7;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-header-account-info {
        padding: 0.375rem 0.75rem;
        gap: 0.5rem;
        margin-right: 0.75rem;
    }
    
    .mobile-account-avatar {
        width: 28px;
        height: 28px;
    }
    
    .mobile-account-avatar svg {
        width: 16px;
        height: 16px;
    }
    
    .mobile-account-name {
        font-size: 0.8rem;
        max-width: 100px;
    }
    
    .mobile-account-credits {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .mobile-header-account-info {
        padding: 0.25rem 0.5rem;
        gap: 0.375rem;
        margin-right: 0.5rem;
    }
    
    .mobile-account-avatar {
        width: 24px;
        height: 24px;
    }
    
    .mobile-account-avatar svg {
        width: 14px;
        height: 14px;
    }
    
    .mobile-account-name {
        font-size: 0.75rem;
        max-width: 80px;
    }
    
    .mobile-account-credits {
        font-size: 0.65rem;
    }
}

.plan-badge.ultimate:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.admin-header p {
    color: #9ca3af;
    font-size: 1rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    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;
    position: relative;
    overflow: hidden;
}

.admin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.admin-button:active {
    transform: translateY(0);
}

.admin-button .btn-icon {
    width: 20px;
    height: 20px;
}

/* Admin Dashboard */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.admin-btn svg {
    width: 16px;
    height: 16px;
}

.admin-btn.secondary {
    background: rgba(75, 85, 99, 0.8);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-btn.secondary:hover {
    background: rgba(75, 85, 99, 1);
    transform: translateY(-1px);
}

.admin-btn.danger {
    background: rgba(239, 68, 68, 0.8);
    color: #ffffff;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-btn.danger:hover {
    background: rgba(239, 68, 68, 1);
    transform: translateY(-1px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.users {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.stat-icon.server {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.stat-icon.requests {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.stat-icon.revenue {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.stat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.status-indicator.offline {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.stat-uptime {
    font-size: 0.875rem;
    color: #9ca3af;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

.stat-change svg {
    width: 16px;
    height: 16px;
}

/* Control Panel */
.control-panel {
    margin-bottom: 40px;
}

.panel-header {
    margin-bottom: 24px;
}

.panel-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

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

.control-card {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.control-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.control-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.control-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.control-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.control-btn.plan-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.4);
}

.control-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.control-btn.secondary {
    background: rgba(75, 85, 99, 0.8);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-btn.secondary:hover {
    background: rgba(75, 85, 99, 1);
    transform: translateY(-1px);
}

.control-btn.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.control-btn.warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.control-btn.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.control-btn.danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Activity Panel */
.activity-panel {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(75, 85, 99, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #9ca3af;
}

.activity-icon svg {
    width: 16px;
    height: 16px;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    color: #ffffff;
    font-size: 0.875rem;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.activity-time {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.loading-overlay p {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
}

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

/* Message Container */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.message {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.message.show {
    transform: translateX(0);
    opacity: 1;
}

.message.success {
    border-color: rgba(16, 185, 129, 0.3);
}

.message.error {
    border-color: rgba(239, 68, 68, 0.3);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.message-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.message.success .message-icon {
    color: #10b981;
}

.message.error .message-icon {
    color: #ef4444;
}

.message-content span {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.4;
}

.message-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.message-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.message-close svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-card {
        padding: 32px 24px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .control-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .admin-btn {
        flex: 1;
        justify-content: center;
    }
    
    .message-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .admin-container {
        padding: 0 16px;
    }
    
    .admin-card {
        padding: 24px 20px;
    }
    
    .admin-header h1 {
        font-size: 1.75rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .control-actions {
        gap: 8px;
    }
    
    .message-container {
        top: 10px;
        left: 10px;
        right: 10px;
    }
}

.hero-text {
position: relative;
}

.ai-tools-section {
  padding: 3rem 0;
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.ai-tool-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ai-tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.ai-tool-card:hover::before {
  transform: scaleX(1);
}

.ai-tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25), 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
}

.ai-tool-card:nth-child(1) {
  animation-delay: 0.1s;
}
.ai-tool-card:nth-child(2) {
  animation-delay: 0.2s;
}
.ai-tool-card:nth-child(3) {
  animation-delay: 0.3s;
}
.ai-tool-card:nth-child(4) {
  animation-delay: 0.4s;
}
.ai-tool-card:nth-child(5) {
  animation-delay: 0.5s;
}
.ai-tool-card:nth-child(6) {
  animation-delay: 0.6s;
}
.ai-tool-card:nth-child(7) {
  animation-delay: 0.7s;
}
.ai-tool-card:nth-child(8) {
  animation-delay: 0.8s;
}
.ai-tool-card:nth-child(9) {
  animation-delay: 0.9s;
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tool-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ai-tool-card:hover .tool-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.tool-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #ffffff;
}

.tool-icon-1 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.tool-icon-2 {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}
.tool-icon-3 {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}
.tool-icon-4 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}
.tool-icon-5 {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}
.tool-icon-6 {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
.tool-icon-7 {
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
}
.tool-icon-8 {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
}
.tool-icon-9 {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.tool-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.ai-tool-card:hover .tool-header h3 {
  color: #c084fc;
}

.tool-description {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 300;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tag-free {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.tag-pro {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.2));
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

.tag-popular {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
}

.tag-trending {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(244, 63, 94, 0.2));
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.3);
}

.tag-new {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.3);
}

.tag-professional {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(156, 163, 175, 0.2));
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.3);
}

.tag-developer {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.2));
  color: #14b8a6;
  border-color: rgba(20, 184, 166, 0.3);
}

.tag-business {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.3);
}

.tag-ecommerce {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(245, 158, 11, 0.2));
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.3);
}

.tool-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4), 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for AI Tools */
@media (max-width: 1024px) {
  .ai-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .ai-tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ai-tool-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .tool-header {
    gap: 0.75rem;
  }

  .tool-icon {
    width: 3rem;
    height: 3rem;
  }

  .tool-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .tool-header h3 {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .ai-tool-card {
    margin: 0;
    padding: 1.25rem;
  }

  .tool-header h3 {
    font-size: 1rem;
  }

  .tool-description {
    font-size: 0.875rem;
  }
}

/* Enhanced AI Tool Card Styles with Animations */
.ai-tool-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

/* Animated gradient border */
.ai-tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(45deg, #a855f7, #ec4899, #06b6d4, #10b981);
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ai-tool-card:hover::before {
  opacity: 1;
}

/* Floating particles effect */
.ai-tool-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ai-tool-card:hover::after {
  opacity: 1;
}

/* Enhanced hover effects */
.ai-tool-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(168, 85, 247, 0.25), 0 15px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0
    rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.6);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15), rgba(6, 182, 212, 0.1));
}

/* Staggered animation delays */
.ai-tool-card:nth-child(1) {
  animation-delay: 0.1s;
}
.ai-tool-card:nth-child(2) {
  animation-delay: 0.2s;
}
.ai-tool-card:nth-child(3) {
  animation-delay: 0.3s;
}
.ai-tool-card:nth-child(4) {
  animation-delay: 0.4s;
}
.ai-tool-card:nth-child(5) {
  animation-delay: 0.5s;
}
.ai-tool-card:nth-child(6) {
  animation-delay: 0.6s;
}
.ai-tool-card:nth-child(7) {
  animation-delay: 0.7s;
}
.ai-tool-card:nth-child(8) {
  animation-delay: 0.8s;
}
.ai-tool-card:nth-child(9) {
  animation-delay: 0.9s;
}

/* Enhanced tool header */
.tool-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Enhanced tool icon with 3D effect */
.tool-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Icon shine effect */
.tool-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.ai-tool-card:hover .tool-icon::before {
  transform: rotate(45deg) translateX(100%);
}

.ai-tool-card:hover .tool-icon {
  transform: scale(1.15) rotate(5deg) translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tool-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.ai-tool-card:hover .tool-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Enhanced gradient backgrounds for icons */
.tool-icon-1 {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}
.tool-icon-2 {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}
.tool-icon-3 {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}
.tool-icon-4 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}
.tool-icon-5 {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}
.tool-icon-6 {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}
.tool-icon-7 {
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
}
.tool-icon-8 {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.4);
}
.tool-icon-9 {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* Enhanced tool title */
.tool-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.ai-tool-card:hover .tool-header h3 {
  color: #c084fc;
  transform: translateX(4px);
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.5);
}

/* Enhanced tool description */
.tool-description {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 300;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.ai-tool-card:hover .tool-description {
  color: #f3f4f6;
  transform: translateY(-2px);
}

/* Enhanced tags with animations */
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.tag {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.tag::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 ease;
}

.tag:hover::before {
  left: 100%;
}

.tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced tag colors with gradients */
.tag-free {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.tag-free:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(20, 184, 166, 0.3));
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.tag-pro {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.2));
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.tag-pro:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(249, 115, 22, 0.3));
  box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

.tag-popular {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.tag-popular:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
  box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

.tag-trending {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(244, 63, 94, 0.2));
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}

.tag-trending:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(244, 63, 94, 0.3));
  box-shadow: 0 5px 20px rgba(236, 72, 153, 0.3);
}

.tag-new {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.tag-new:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(6, 182, 212, 0.3));
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.tag-professional {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(156, 163, 175, 0.2));
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.3);
  box-shadow: 0 0 20px rgba(107, 114, 128, 0.1);
}

.tag-professional:hover {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(156, 163, 175, 0.3));
  box-shadow: 0 5px 20px rgba(107, 114, 128, 0.3);
}

.tag-developer {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.2));
  color: #14b8a6;
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.1);
}

.tag-developer:hover {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(6, 182, 212, 0.3));
  box-shadow: 0 5px 20px rgba(20, 184, 166, 0.3);
}

.tag-business {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.tag-business:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.3));
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.tag-ecommerce {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(245, 158, 11, 0.2));
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.tag-ecommerce:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(245, 158, 11, 0.3));
  box-shadow: 0 5px 20px rgba(249, 115, 22, 0.3);
}

/* Enhanced tool button */
.tool-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  border-radius: 30px;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border: none;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.tool-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 ease;
}

.tool-btn:hover::before {
  left: 100%;
}

.tool-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4), 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0
    rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #6d28d9, #db2777);
}

.tool-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Pulse animation for popular tools */
.ai-tool-card:has(.tag-popular) {
  animation: fadeInUp 0.8s ease forwards, subtlePulse 3s ease-in-out infinite 2s;
}

@keyframes subtlePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
  }
}

/* Floating animation for new tools */
.ai-tool-card:has(.tag-new) .tool-icon {
  animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Shimmer effect for trending tools */
.ai-tool-card:has(.tag-trending)::after {
  background: linear-gradient(45deg, transparent 30%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Loading state animation */
.ai-tool-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.ai-tool-card.loading::before {
  background: linear-gradient(
    90deg,
    rgba(168, 85, 247, 0.1) 0%,
    rgba(168, 85, 247, 0.3) 50%,
    rgba(168, 85, 247, 0.1) 100%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Enhanced responsive design */
@media (max-width: 1024px) {
  .ai-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .tool-icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .tool-icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

@media (max-width: 768px) {
  .ai-tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ai-tool-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .tool-header {
    gap: 0.75rem;
  }

  .tool-icon {
    width: 3rem;
    height: 3rem;
  }

  .tool-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .tool-header h3 {
    font-size: 1.125rem;
  }

  .ai-tool-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .ai-tool-card {
    margin: 0;
    padding: 1.25rem;
  }

  .tool-header h3 {
    font-size: 1rem;
  }

  .tool-description {
    font-size: 0.875rem;
  }

  .tool-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .tool-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .ai-tool-card,
  .tool-icon,
  .tag,
  .tool-btn {
    animation: none !important;
    transition: none !important;
  }

  .ai-tool-card:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .ai-tool-card {
    border: 2px solid #ffffff;
    background: rgba(0, 0, 0, 0.9);
  }

  .tag {
    border-width: 2px;
    font-weight: 700;
  }

  .tool-btn {
    border: 2px solid #ffffff;
  }
}

/* Focus styles for accessibility */
.ai-tool-card:focus-within {
  outline: 3px solid #a855f7;
  outline-offset: 2px;
}

.tool-btn:focus {
  outline: 3px solid #a855f7;
  outline-offset: 2px;
}

.tag:focus {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}
