:root {
  /* Vibrant Modern Palette */
  --bg-gradient: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #09090b 100%);
  --card: rgba(20, 20, 25, 0.7);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  
  /* Modern Electric Accents */
  --accent-primary: #8b5cf6;    /* Electric Violet */
  --accent-secondary: #06b6d4;  /* Neon Cyan */
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  
  /* Functional Colors */
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(6, 182, 212, 0.5);
  --card-glow: rgba(139, 92, 246, 0.15);
}

* { 
  box-sizing: border-box; 
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.hero { 
  margin-top: 40px; 
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1), transparent 60%);
  border-radius: 24px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 32px;
}

.grid.two { 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
}

/* Glassmorphism Card Design */
.card {
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 40px var(--card-glow);
}

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

/* Glowing Dynamic Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #ffffff;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.5);
  filter: brightness(1.1);
}

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

.button.secondary { 
  background: rgba(255, 255, 255, 0.05); 
  color: var(--text); 
  border: 1px solid var(--border);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.actions { 
  display: flex;
  gap: 12px;
  margin-top: 24px; 
}

.header-row { 
  display: flex; 
  justify-content: space-between; 
  gap: 16px; 
  align-items: center; 
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.stack { 
  display: grid; 
  gap: 16px; 
}

/* Modern Inputs */
input {
  width: 100%;
  background: rgba(10, 10, 12, 0.5);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 100%;
}

input:focus {
  outline: none;
  border-color: var(--accent-secondary);
  background: rgba(10, 10, 12, 0.8);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

/* Cyberpunk Style Inline Code Tags */
code {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-secondary);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  padding: 4px 8px;
  font-family: 'JetBrains Mono', Fira Code, monospace;
  font-size: 0.9em;
}

ul { 
  padding-left: 24px; 
}

ul li {
  margin-bottom: 8px;
}

p { 
  color: var(--muted); 
  font-size: 1.05rem;
}

h1, h2, h3 { 
  margin-top: 0; 
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.75rem;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .header-row { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 20px;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .actions {
    flex-direction: column;
    width: 100%;
  }
  .button {
    width: 100%;
  }
}