:root {
  /* Default to Dark Mode (Nocturnal) */
  --bg: #060E20;
  --surface: #0F1930;
  --surface-high: #27283C;
  --primary: #5BF4DE;
  --primary-glow: rgba(91, 244, 222, 0.4);
  --secondary: #699CFF;
  --text-primary: #DEE5FF;
  --text-variant: #8892B0;
  --accent: #FF9500;
  --nav-bg: rgba(6, 14, 32, 0.8);
  --card-shadow: 0 8px 32px 0 rgba(6, 14, 32, 0.6);
  --border-color: rgba(91, 244, 222, 0.1);
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  transition: background-color 0.4s ease, color 0.4s ease;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  filter: brightness(1.2);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}



/* Button */
.btn {
  background: var(--primary);
  color: var(--bg); /* Inverted for primary contrast */
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(91, 244, 222, 0.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 3rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  top: -100px;
  left: -200px;
  z-index: 0;
  opacity: 0.6;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-variant);
  margin-bottom: 2.5rem;
}

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

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.app-mockup {
  width: 320px;
  border-radius: 40px;
  box-shadow: var(--card-shadow);
  border: 8px solid var(--surface-high);
  animation: float 6s ease-in-out infinite;
  object-fit: cover;
}

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

/* Features */
.features {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-variant);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--surface-high);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--text-variant);
  font-size: 0.95rem;
}

/* Screenshots Showcase Section */
.showcase {
  padding: 6rem 3rem;
  background: var(--surface);
}

.showcase-container {
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
}

.showcase-item {
  min-width: 280px;
  scroll-snap-align: center;
}

.showcase-item img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.showcase-item img:hover {
  transform: scale(1.02);
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 8rem auto 4rem auto;
  padding: 0 2rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-variant);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Privacy Policy */
.content-doc {
  max-width: 800px;
  margin: 8rem auto 4rem auto;
  padding: 0 2rem;
  background: var(--surface);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.content-doc p {
  color: var(--text-variant);
  margin-bottom: 1.5rem;
}

.content-doc h2 {
  margin-top: 2rem;
}

/* Footer */
footer {
  padding: 4rem 3rem 2rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  text-align: left;
}

.footer-brand p {
  color: var(--text-variant);
  margin-top: 0.5rem;
}

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

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-variant);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 8rem;
    text-align: center;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .app-mockup {
    margin-top: 3rem;
  }
  .navbar {
    padding: 1rem;
  }
  .nav-links {
    display: none; /* simple mobile version */
  }
}
