/* Main Styles for RoadMap Website */
:root {
  --bg-color: #1a1b26;
  --primary-color: #6366f1;
  --text-color: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --button-color: #6366f1;
  --button-hover: #4f46e5;
  --nav-active: #6366f1;
  --nav-inactive: rgba(255, 255, 255, 0.7);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

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

header {
  padding: 2rem 0;
  text-align: center;
}

.logo {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

nav a {
  color: var(--nav-inactive);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 500;
}

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

nav a.active {
  background-color: var(--nav-active);
  color: var(--text-color);
}

main {
  padding: 2rem 0;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.feature-path {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.path-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
  z-index: 0;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.feature:nth-child(odd) {
  flex-direction: row-reverse;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  flex-shrink: 0;
  margin: 0 2rem;
}

.feature-icon img {
  width: 40px;
  height: 40px;
}

.feature-content {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  flex: 1;
  max-width: 400px;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  opacity: 0.9;
}

.cta-button {
  display: block;
  background-color: var(--button-color);
  color: var(--text-color);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  max-width: 300px;
  margin: 2rem auto;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Privacy Policy & Support Pages */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
}

.content-page h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.content-page h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.content-page p, .content-page ul, .content-page ol {
  margin-bottom: 1rem;
}

.content-page ul, .content-page ol {
  padding-left: 2rem;
}

.content-page a {
  color: var(--primary-color);
  text-decoration: none;
}

.content-page a:hover {
  text-decoration: underline;
}

.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input, 
.form-group textarea, 
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-family: inherit;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  background-color: var(--button-color);
  color: var(--text-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--button-hover);
}

footer {
  text-align: center;
  padding: 2rem 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature {
    flex-direction: column !important;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 1.5rem;
  }
  
  .feature-content {
    max-width: 100%;
  }
  
  .path-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  nav {
    flex-direction: column;
    border-radius: 16px;
  }
  
  nav a {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}
