/* Base styles for the Thalem marketing site */

/* Reset some default margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Arial', sans-serif;
  background-color: #11131a; /* dark charcoal background */
  color: #f2f2f2; /* light text for contrast */
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Utility classes */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Navigation styles */
header {
  background-color: #0d1016;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f2f2f2;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #be6aff; /* accent color on hover/active */
}

/* Mobile menu */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #f2f2f2;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #0d1016;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    margin: 10px 0;
    width: 100%;
    padding-left: 20px;
  }
  .menu-toggle {
    display: block;
  }
}

/* Hero section */
.hero {
  background: linear-gradient(160deg, #0d1016 0%, #1f2230 100%);
  text-align: center;
  padding: 120px 20px;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  background-color: #be6aff;
  color: #0d1016;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #a655e0;
}

/* Sections */
section {
  padding: 60px 0;
  border-bottom: 1px solid #1f2230;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #be6aff;
}

section p {
  margin-bottom: 20px;
  font-size: 1rem;
  max-width: 800px;
}

/* Cards for feature sections */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: #1f2230;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #be6aff;
}

.card p {
  font-size: 0.95rem;
  color: #d3d3d3;
}

/* Pricing table */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background-color: #1f2230;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.price-card h3 {
  margin-bottom: 10px;
  color: #be6aff;
}

.price-card p {
  margin-bottom: 15px;
  color: #d3d3d3;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #be6aff;
}

/* Roadmap styles */
.roadmap-list {
  list-style: none;
  padding-left: 0;
}

.roadmap-list li {
  margin-bottom: 15px;
}

.roadmap-list .phase-title {
  font-weight: 700;
  color: #be6aff;
  margin-bottom: 5px;
}

/* Contact page */
.contact-form {
  background-color: #1f2230;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #2c2f3f;
  border-radius: 4px;
  background-color: #2c2f3f;
  color: #f2f2f2;
  font-size: 0.95rem;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #be6aff;
  color: #0d1016;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #a655e0;
}

.success-message {
  text-align: center;
  margin-top: 20px;
  color: #90ee90;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #0d1016;
  color: #777;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}