:root {
  --primary-color: #E63946;
  --secondary-color: #1D3557;
  --text-color: #333333;
  --light-gray: #F8F9FA;
  --white: #FFFFFF;
  --border-radius: 12px;
  --spacing-unit: 1rem;
  --max-width: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

/* Header/Hero */
.hero {
  background: linear-gradient(135deg, #FFF 0%, #F1FAEE 100%);
  text-align: center;
  padding: 80px 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* Features Generic Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.2s;
}

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

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

/* How It Works */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    justify-content: space-between;
  }
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  background-color: var(--secondary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

/* Trust Section */
.trust-section {
  text-align: center;
  background-color: var(--light-gray);
}

.legal-badge {
  display: inline-block;
  border: 2px solid var(--secondary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 10px;
}

/* Legal Document Pages Specifics */
.legal-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.legal-content h1 {
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  color: var(--primary-color);
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #666;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

footer a {
  color: #DDD;
  font-size: 0.9rem;
  margin: 0 10px;
}

footer a:hover {
  color: white;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 0.8rem;
  opacity: 0.7;
}
