/* ChatGather Stylesheet - Exact match of www.chatgatherapp.com */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #121412;
  --bg-footer: #0e100e;
  --bg-card: rgba(30, 34, 31, 0.55);
  --border-color: rgba(46, 54, 48, 0.7);
  --border-highlight: rgba(76, 175, 80, 0.6);
  
  --primary: #4caf50;
  --primary-light: #81c784;
  --primary-dark: #1b5e20;
  --accent-blue: #64b5f6;
  
  --text-main: #f0f4f0;
  --text-muted: #c4ccc5;
  --text-dim: #8a938c;
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-full: 9999px;
  --radius-lg: 1.5rem;
  --radius-md: 0.75rem;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  line-height: 1.5;
}

/* Text Gradients & Typography */
.text-gradient-emerald {
  background: linear-gradient(100deg, #4caf50, #81c784 45%, #64b5f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Glassmorphism Cards */
.glass {
  background: rgba(30, 34, 31, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(46, 54, 48, 0.85);
}

.glow-emerald {
  box-shadow: 0 0 40px -10px rgba(76, 175, 80, 0.45);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(18, 20, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 54, 48, 0.5);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
}

.logo svg,
.logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(14, 16, 14, 0.98);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-150%);
  transition: transform 0.3s ease;
  z-index: 49;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Layout Container */
.max-w-6xl {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Store Buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(14, 16, 14, 0.9);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.store-btn:hover {
  border-color: var(--primary);
  background: rgba(30, 34, 31, 0.9);
  transform: translateY(-2px);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

/* Phone Mockup Screen Tabs */
.screen-tabs {
  display: inline-flex;
  background: rgba(30, 34, 31, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.25rem;
}

.tab-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 0 20px -4px rgba(76, 175, 80, 0.7);
}

/* Screenshot Display */
.screen-mockup {
  width: 100%;
  max-width: 320px;
  background: #0e100e;
  border: 8px solid #2e3630;
  border-radius: 36px;
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(76, 175, 80, 0.2);
}

/* Policy & Safety Pages */
.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 1.5rem;
}

.policy-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.policy-card p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.policy-card ul {
  margin-top: 0.75rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.policy-card li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(46, 54, 48, 0.7);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text-main);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .lg\:col-span-4, .lg\:col-span-3, .lg\:col-span-2 {
    grid-column: span 6 / span 6;
  }
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .policy-card {
    padding: 1.25rem;
  }
  .store-btn {
    width: 100%;
    justify-content: center;
  }
}
