:root {
  --bg-color: #F2F2F7;
  --surface: #FFFFFF;
  --surface-tint: #E5E5EA;
  --primary: #4B4B4B;
  --secondary: #AFB0B6;
  --tertiary: #D8D8DF;
  --brand: #58CC02;
  --brand-shadow: #58A700;
  --active: #1CB0F6;
  --active-shadow: #1899D6;
  --danger: #FF4B4B;
  --gold: #FFC800;
  --font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --border-radius: 24px;
  --btn-radius: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  color: var(--active);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Typography styles */
h1, h2, h3 {
  font-weight: 800;
  margin-top: 0;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

p {
  font-size: 1.1rem;
  color: var(--secondary);
}

/* Card Style */
.card {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 2px solid var(--surface-tint);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
}

/* Flat 3D Button Style */
.btn {
  display: inline-block;
  background-color: var(--brand);
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  padding: 16px 32px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--brand-shadow);
  transition: transform 0.1s, box-shadow 0.1s;
  text-decoration: none !important;
}

.btn:active {
  transform: translateY(5px);
  box-shadow: 0 0px 0 var(--brand-shadow);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary);
  box-shadow: 0 5px 0 var(--surface-tint);
  border: 2px solid var(--surface-tint);
}

.btn-secondary:active {
  transform: translateY(5px);
  box-shadow: 0 0px 0 var(--surface-tint);
}

/* Legal Documents Content */
.legal-content {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 2px solid var(--surface-tint);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  border-bottom: 2px solid var(--bg-color);
  padding-bottom: 10px;
}

.legal-content p, .legal-content li {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 12px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero .app-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

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

.feature-card {
  text-align: center;
}

.feature-card .icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--bg-color);
  border-radius: var(--btn-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  color: var(--active);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--secondary);
  font-size: 0.9rem;
}

footer a {
  color: var(--secondary);
  margin: 0 10px;
  font-weight: bold;
}
