:root {
  /* Catppuccin Mocha Palette */
  --ctp-rosewater: #f5e0dc;
  --ctp-flamingo: #f2cdcd;
  --ctp-pink: #f5c2e7;
  --ctp-mauve: #cba6f7;
  --ctp-red: #f38ba8;
  --ctp-maroon: #eba0ac;
  --ctp-peach: #fab387;
  --ctp-yellow: #f9e2af;
  --ctp-green: #a6e3a1;
  --ctp-teal: #94e2d5;
  --ctp-sky: #89dceb;
  --ctp-sapphire: #74c7ec;
  --ctp-blue: #89b4fa;
  --ctp-lavender: #b4befe;
  --ctp-text: #cdd6f4;
  --ctp-subtext1: #bac2de;
  --ctp-subtext0: #a6adc8;
  --ctp-overlay2: #9399b2;
  --ctp-overlay1: #7f8497;
  --ctp-overlay0: #6c7086;
  --ctp-surface2: #585b70;
  --ctp-surface1: #45475a;
  --ctp-surface0: #313244;
  --ctp-base: #1e1e2e;
  --ctp-mantle: #181825;
  --ctp-crust: #11111b;

  /* Mappings */
  --bg-color: var(--ctp-base);
  --text-color: var(--ctp-text);
  --text-muted: var(--ctp-subtext0);
  --accent-primary: var(--ctp-mauve);
  --accent-secondary: var(--ctp-blue);
  --accent-gradient: linear-gradient(135deg, var(--ctp-mauve), var(--ctp-blue));
  
  --glass-bg: rgba(30, 30, 46, 0.7); /* Base with opacity */
  --glass-border: rgba(205, 214, 244, 0.1); /* Text with low opacity */
  --glass-highlight: rgba(205, 214, 244, 0.05);

  --card-bg: var(--ctp-surface0);
  --card-border: var(--ctp-surface1);
  
  --font-main: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Glow Effect */
.background-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 50%, rgba(167, 134, 223, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(243, 139, 168, 0.15) 0%, transparent 25%);
  filter: blur(100px);
  pointer-events: none;
}

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

/* Navbar */
.navbar {
  padding: 2rem 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-icon {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.github-link {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.github-link:hover {
  color: var(--accent-primary);
}

/* Hero Section */
.hero {
  padding: 12rem 0 8rem;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--ctp-base);
  box-shadow: 0 4px 15px rgba(203, 166, 247, 0.3); /* Mauve shadow */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(203, 166, 247, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-highlight);
}

/* Hero Visual (Glass Card) */
.hero-visual {
  display: flex;
  justify-content: center;
}

.glass-card {
  background: rgba(30, 30, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-visual .glass-card {
  max-width: 400px;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

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

.notification-mockup {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.notif-icon img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.notif-content {
  flex: 1;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.notif-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.notif-body {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Features Section */
.features {
  padding: 6rem 0;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  background: rgba(203, 166, 247, 0.1); /* Mauve with opacity */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-muted);
}

/* Footer */
footer {
  margin-top: auto;
  padding: 1.5rem 0 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 3rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* SPA Views & Content Styling */
.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

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

.content-page {
  padding: 8rem 0 4rem;
  max-width: 800px;
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
  font-family: var(--font-main);
}

.btn-back:hover {
  color: var(--accent-primary);
}

.content-page h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.content-page h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--accent-secondary);
}

.content-page p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-page a {
  color: var(--accent-primary);
  text-decoration: none;
}

.content-page a:hover {
  text-decoration: underline;
}

/* Utility Classes for Icons */
.text-accent {
  color: var(--accent-primary);
}

.text-green {
  color: var(--ctp-green);
}

.text-blue {
  color: var(--accent-secondary);
}

/* Setup Guide Styling */
.checklist {
  list-style: none;
  margin-bottom: 2rem;
  padding-left: 0;
}

.checklist li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checklist li i {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.step-block {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.step-block h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-block h3 i {
  font-size: 1.4rem;
}

pre {
  background: var(--ctp-mantle);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--glass-border);
}

code {
  font-family: 'Courier New', Courier, monospace;
  color: var(--ctp-green);
}

/* About Page Styling */
.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header .lead {
  font-size: 1.25rem;
  color: var(--text-color);
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-primary);
}

.feature-list strong {
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.support-section {
  text-align: center;
  margin: 3rem 0;
  background: var(--glass-bg); /* Override generic card bg */
}

.contribute-section {
  text-align: center;
  margin-bottom: 3rem;
}

.credits {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.maintainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.maintainer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
}

.thank-you {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Additions for new layout elements */

/* Spacing Utilities */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.text-center { text-align: center; }

/* Aligned List for Steps */
.aligned-list {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.aligned-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

/* Docker Note */
.note {
  background: rgba(137, 180, 250, 0.1); /* Blue tint */
  border-left: 3px solid var(--accent-secondary);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ctp-subtext0);
}

.note code {
  background: rgba(0,0,0,0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

/* Support Grid */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

.support-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  height: 100%;
}

.support-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.support-card .btn {
  margin-top: auto;
  justify-content: center;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}
