@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #00897b; /* Teal 600 */
  --primary-hover: #00695c;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

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

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hero */
.hero {
  flex: 1;
  text-align: center;
  padding: 5rem 5% 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 137, 123, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(0, 137, 123, 0.4);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 5% 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.feature-card p {
  color: var(--text-muted);
}

/* Legal Pages */
.legal-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.legal-container h1 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.legal-container .last-updated {
  color: var(--text-muted);
  display: block;
  margin-bottom: 2.5rem;
}

.legal-container h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: #0f172a;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.legal-container p, .legal-container ul {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-container ul {
  padding-left: 1.5rem;
}

.legal-container li {
  margin-bottom: 0.5rem;
}

.legal-container a {
  color: var(--primary);
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2.5rem 5%;
  text-align: center;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .legal-container {
    margin: 2rem 5%;
    padding: 2rem;
  }
}
