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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #d2d2d7;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #7B61FF;
  letter-spacing: -0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.lang-switch {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.lang-switch a {
  font-size: 13px;
  color: #7B61FF;
  text-decoration: none;
  border: 1px solid #7B61FF;
  border-radius: 20px;
  padding: 4px 14px;
  transition: all 0.2s;
}

.lang-switch a:hover, .lang-switch a.active {
  background: #7B61FF;
  color: #fff;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.meta {
  font-size: 14px;
  color: #6e6e73;
  margin-bottom: 40px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #7B61FF;
  display: inline-block;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  margin-top: 24px;
  margin-bottom: 8px;
}

p { margin-bottom: 14px; color: #3a3a3c; }

ul, ol {
  margin: 10px 0 14px 24px;
  color: #3a3a3c;
}

li { margin-bottom: 6px; }

.section { margin-bottom: 40px; }

.highlight-box {
  background: #f0eeff;
  border-left: 4px solid #7B61FF;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
}

.highlight-box p { margin: 0; color: #3a3a3c; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

th {
  background: #7B61FF;
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e5ea;
  color: #3a3a3c;
}

tr:nth-child(even) td { background: #f5f5f7; }

a { color: #7B61FF; text-decoration: none; }
a:hover { text-decoration: underline; }

footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #d2d2d7;
  font-size: 13px;
  color: #8e8e93;
}

/* Index page cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(123,97,255,0.15);
  text-decoration: none;
}

.card-icon { font-size: 36px; margin-bottom: 12px; }
.card-title { font-size: 16px; font-weight: 600; color: #1d1d1f; margin-bottom: 6px; }
.card-desc { font-size: 14px; color: #6e6e73; line-height: 1.5; }

.contact-box {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 600px) {
  h1 { font-size: 26px; }
  .container { padding: 32px 16px 60px; }
}
