/* Path: reqrd.com/assets/css/features.css */

/* Base Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #fefefe;
  color: #333;
}

/* Top Navigation (reused from index) */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 16px 32px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: #2c3e50;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links li a:hover {
  color: #0077cc;
}

.auth-links {
  display: flex;
  gap: 12px;
}

.secondary-link {
  color: #555;
  text-decoration: none;
  padding: 8px 12px;
  font-weight: 500;
}

.secondary-link:hover {
  text-decoration: underline;
}

.cta-button {
  background: #3498db;
  color: white;
  padding: 10px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #2980b9;
}

/* Intro Section */
.intro {
  padding: 60px 20px;
  text-align: center;
  background: #f0f8ff;
}

.intro h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.intro p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Anchor Link Navigation */
.feature-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.feature-nav a {
  background: #e0f3ff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #0077cc;
  font-weight: 500;
  transition: background 0.2s ease;
}

.feature-nav a:hover {
  background: #d0ecfc;
}

/* Feature Sections */
section {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

section p {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

/* Accordion / Details */
details {
  background: #f9f9f9;
  border-left: 4px solid #3498db;
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
}

details summary {
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

details[open] summary {
  margin-bottom: 8px;
}

details p {
  margin-top: 8px;
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  background: #e6f2ff;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.cta a {
  padding: 14px 24px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: #f5f5f5;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
}

footer nav a {
  color: #555;
  text-decoration: none;
  margin: 0 10px;
}

footer nav a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .auth-links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .auth-links a {
    width: 100%;
    text-align: center;
  }

  .feature-nav {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    display: inline-block;
    width: 100%;
  }
}
