/* --- Global Variables & Reset --- */
:root {
  --bg-dark: #050505;
  --bg-card: #111111;
  --text-main: #f8fafc;
  --text-muted: #9ca3af;
  --neon-green: #22c55e;
  --neon-glow: 0 0 10px rgba(34, 197, 94, 0.5), 0 0 20px rgba(34, 197, 94, 0.3);
  --border-color: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

/* --- Typography --- */
h1, h2, h3 { color: var(--text-main); font-weight: 600; }
a { color: var(--text-main); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--neon-green); }

/* --- Navigation & Header --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: rgba(5, 5, 5, 0.9);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.logo-container img { width: 32px; height: 32px; }

nav ul { list-style: none; display: flex; gap: 30px; }
nav ul li a { font-size: 0.95rem; }
nav ul li a.active { color: var(--neon-green); text-shadow: var(--neon-glow); }

/* --- Buttons --- */
.btn-neon {
  background-color: transparent;
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--neon-glow);
}

.btn-neon:hover {
  background-color: var(--neon-green);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
}

/* --- Layout Sections --- */
main { flex: 1; padding: 60px 5%; }

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 60vh;
}

.hero-content { flex: 1; max-width: 600px; }
.hero-content h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
.hero-content span { color: var(--neon-green); }
.hero-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }

.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); border: 1px solid var(--border-color); }

/* --- Features Grid --- */
.features { margin-top: 80px; text-align: center; }
.features h2 { font-size: 2.5rem; margin-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--neon-green); }
.card img { max-width: 100%; border-radius: 8px; margin-top: 20px; }
.card h3 { color: var(--neon-green); margin-bottom: 15px; }

/* --- Privacy Accordion --- */
.page-header { text-align: center; margin-bottom: 50px; }
.page-header p { color: var(--text-muted); margin-top: 10px; }

.accordion-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.accordion-header:hover, .accordion-header.active { color: var(--neon-green); }
.accordion-icon { font-size: 1.5rem; transition: transform 0.3s ease; }
.accordion-header.active .accordion-icon { transform: rotate(45deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 20px;
}
.accordion-content.expanded { max-height: 500px; padding-bottom: 20px; }
.accordion-content p { color: var(--text-muted); font-size: 0.95rem; }

/* --- About Page --- */
.about-content { max-width: 800px; margin: 0 auto; font-size: 1.1rem; color: var(--text-muted); }
.about-content h3 { color: var(--neon-green); margin: 30px 0 10px 0; }
.about-content p { margin-bottom: 20px; }

/* --- Footer --- */
footer {
  text-align: center;
  padding: 30px 5%;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}
footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
footer a { color: var(--neon-green); }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; }
  nav ul { display: none; } /* Add a hamburger menu for full mobile support later if needed */
  .hero-content h1 { font-size: 2.2rem; }
}