:root {
  /* Color Palette */
  --bg-color: #030303;
  --surface-color: rgba(20, 20, 20, 0.6);
  --surface-hover: rgba(35, 35, 35, 0.8);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  /* Zinc 400 */
  --accent-color: #10b981;
  /* Emerald 500 */
  --accent-hover: #059669;
  /* Emerald 600 */
  --accent-glow: rgba(16, 185, 129, 0.15);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container-width: 1100px;
  --container-padding: 24px;
  --border-radius: 16px;
  --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Dynamic Glow Background */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.05), transparent 25%);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography Enhancements */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

p {
  color: var(--text-secondary);
}

/* Top Navigation Bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 3, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav a:hover,
.nav a.active {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hero Mascots */
.hero-mascots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  height: 140px;
}

.hero-mascot {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.2));
  transition: transform var(--transition-speed) ease;
}

.mascot-center {
  width: 130px;
  height: 130px;
  z-index: 2;
  transform: translateY(15px);
}

.mascot-left {
  transform: rotate(-12deg);
}

.mascot-right {
  transform: rotate(12deg);
}

.hero-mascots:hover .hero-mascot {
  transform: translateY(-5px) scale(1.05);
}

.hero-mascots:hover .mascot-left {
  transform: rotate(-12deg) translateY(-5px) scale(1.05);
}

.hero-mascots:hover .mascot-right {
  transform: rotate(12deg) translateY(-5px) scale(1.05);
}

.hero-mascots:hover .mascot-center {
  transform: translateY(10px) scale(1.08);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
}

.highlight {
  color: var(--accent-color);
  background: linear-gradient(135deg, #34d399, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
}

.button-primary {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

.button-primary:hover {
  background-color: #e4e4e7;
  /* Zinc 200 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Secondary Button style if needed */
.button-secondary {
  background-color: var(--surface-color);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.button-secondary:hover {
  background-color: var(--surface-hover);
  border-color: var(--border-hover);
}

/* Features Section */
.features {
  padding: 60px 0 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

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

/* Glassmorphism Cards */
.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--surface-hover);
  box-shadow: 0 10px 40px var(--accent-glow);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

/* Call to Action Footer Section */
.cta-bottom {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.03));
}

.cta-bottom h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-bottom p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* Legal Pages (Privacy / Support) Layout */
.legal-layout {
  padding: 60px var(--container-padding) 100px;
  max-width: 800px;
}

.legal-header {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.legal-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 12px;
}

.updated {
  font-size: 0.95rem;
  color: var(--accent-color);
}

.legal-content .legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-section p {
  margin-bottom: 16px;
}

.accent-link {
  color: var(--accent-color);
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  text-underline-offset: 4px;
}

.accent-link:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

.styled-list {
  list-style: none;
  /* remove default bullets to use custom ones if desired, or padding */
  padding-left: 0;
}

.styled-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.styled-list li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: inherit;
}

.styled-list strong {
  color: var(--text-primary);
}

.highlight-text {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-primary);
  font-family: monospace;
  font-size: 0.9em;
}

/* FAQ Accordion */
.faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: background var(--transition-speed) ease;
}

.faq-item:hover {
  background: var(--surface-hover);
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--text-secondary);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-color);
}

.faq-content {
  padding: 20px;
}

.faq-content p {
  margin: 0;
}


/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: var(--bg-color);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Responsive */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 0 60px;
  }

  .topbar-inner {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }

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