/* 
    Rais.app — Website 2025
    styles.css
    ---
    - Rho.co Inspired Redesign
    - Colors: Dark background, teal accent, white text.
    - Typography: 'Inter' font family.
    - Layout: Clean, spacious, and minimalist.
    - No animations or complex shadows.
*/

/* 1. CSS Variables and Resets */
:root {
  --bg-color: #0b0b0b; /* A very dark, near-black */
  --text-color: #ffffff;
  --accent-color: #00f0b5; /* Bright teal from Rho */
  --secondary-text-color: #a0a0a0;
  --container-width: 1100px;
  --font-family: "Inter", sans-serif;
}

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

/* 2. Body and Typography */
body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: 700; /* Bold */
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 4rem; /* Large headline */
}

h2 {
  font-size: 2.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--secondary-text-color);
  max-width: 600px; /* For readability */
}

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

a:hover {
  color: var(--accent-color);
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4rem 0;
}

/* 3. Header and Navigation */
.header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
}

.lang-switcher {
  background: none;
  border: none;
  color: var(--secondary-text-color);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
}

.lang-switcher:hover {
  color: var(--text-color);
}

.cta-button {
  background-color: var(--accent-color);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  opacity: 0.85;
  color: #000;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: var(--text-color);
}

/* 4. Hero Section */
.hero {
  text-align: center;
  padding: 6rem 0;
}

.hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-button {
  margin-top: 2rem;
  display: inline-block;
}

/* 5. Sections (Features, About) */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid #222;
}

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

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

.feature-item {
  text-align: left;
}

.feature-item h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--secondary-text-color);
}

/* 6. Footer */
.footer {
  padding: 3rem 0;
  text-align: center;
}

.footer-content p {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
  max-width: 100%;
}

.footer-content a {
  color: var(--secondary-text-color);
  text-decoration: underline;
}

.footer-content a:hover {
  color: var(--accent-color);
}

/* 7. Mobile Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 2rem 0;
    border-bottom: 1px solid #222;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero {
    padding: 4rem 0;
  }
}
