:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #151515;
  --accent: #ffffff;
  --accent-rgb: 255, 255, 255;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --blur-intensity: 16px;
  --glass-opacity: 0.08;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.nav-btn:hover {
            background: rgba(255, 255, 255, 0.2) !important;
            transform: translateY(-2px);
       box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

.nav-btn:active {
  transform: translateY(0);
  }


/* Aurora Background */
.aurora-bg {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(192, 132, 252, 0.06), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(251, 146, 60, 0.04), transparent 70%);
  z-index: 0;
  animation: aurora 25s ease infinite;
  will-change: transform;
}

@keyframes aurora {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  33% { transform: scale(1.05) rotate(2deg); opacity: 0.9; }
  66% { transform: scale(0.98) rotate(-1deg); opacity: 0.95; }
}

/* Container */
.container {
  position: relative;
  z-index: 1;
  max-width: 75rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.logo h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
  opacity: 0.8;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Tool Card */
.tool-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass {
  background: rgba(255, 255, 255, var(--glass-opacity));
  backdrop-filter: blur(var(--blur-intensity)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-intensity)) saturate(180%);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tool-card.available:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tool-card.available:hover .card-glow {
  opacity: 1;
}

.tool-card.available:hover .arrow-icon {
  transform: translateX(4px);
}

.tool-card.coming-soon {
  cursor: default;
  opacity: 0.7;
}

.tool-card.coming-soon:hover {
  transform: translateY(-2px);
}

.card-content {
  position: relative;
  z-index: 1;
}

/* Tool Icon */
.tool-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.2));
}

/* Tool Title */
.tool-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

/* Tool Description */
.tool-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Tool Features */
.tool-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Tool Status */
.tool-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-badge.available {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-badge.coming-soon {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.arrow-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 0.375rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #fb923c, #f97316);
  border-radius: 1rem;
  transition: width 0.3s ease;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #38bdf8;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 48rem) {
  .container {
    padding: 2rem 1.5rem;
  }

  .header {
    margin-bottom: 3rem;
  }

  .logo {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .aurora-bg {
    animation: none;
  }
}
