:root {
  --primary: #603f83;
  --primary-dark: #4a2f66;
  --primary-light: #7a5a9e;
  --bg: #f0f0f0;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

/* Header */
.header {
  background: var(--primary);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.header a { color: var(--white); text-decoration: none; }
.logo { font-size: 1.25rem; font-weight: 700; }
.nav { display: flex; gap: 24px; }
.nav a { font-size: 0.9rem; opacity: 0.9; transition: var(--transition); }
.nav a:hover, .nav a.active { opacity: 1; border-bottom: 2px solid var(--white); padding-bottom: 2px; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto 32px; line-height: 1.8; }
.hero .btn { display: inline-block; background: var(--white); color: var(--primary); padding: 14px 36px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.hero .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* Sections */
.section { padding: 60px 0; }
.section h2 { font-size: 1.8rem; text-align: center; margin-bottom: 40px; color: var(--primary); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card .icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary); }
.card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* Content page */
.content-page { padding: 40px 0; }
.content-page h1 { font-size: 2rem; color: var(--primary); margin-bottom: 8px; }
.content-page .meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 32px; }
.content-page h2 { font-size: 1.4rem; color: var(--primary); margin: 32px 0 16px; }
.content-page h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.content-page p { margin-bottom: 16px; color: var(--text-light); }
.content-page ul, .content-page ol { margin: 0 0 20px 24px; color: var(--text-light); }
.content-page li { margin-bottom: 8px; }

/* FAQ */
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q { padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text); transition: var(--transition); }
.faq-q:hover { color: var(--primary); }
.faq-q .arrow { transition: var(--transition); font-size: 1.2rem; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-light); line-height: 1.8; }
.faq-item.open .faq-a { padding: 0 24px 18px; max-height: 500px; }

/* Guide steps */
.step { display: flex; gap: 20px; margin-bottom: 32px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.step-content h3 { color: var(--primary); margin-bottom: 6px; }
.step-content p { color: var(--text-light); line-height: 1.7; }

/* Footer */
.footer { background: var(--primary-dark); color: var(--white); padding: 40px 0 24px; }
.footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer h4 { font-size: 1rem; margin-bottom: 16px; opacity: 0.9; }
.footer a { color: var(--white); opacity: 0.7; text-decoration: none; display: block; margin-bottom: 8px; transition: var(--transition); font-size: 0.9rem; }
.footer a:hover { opacity: 1; }
.footer .bottom { grid-column: 1 / -1; text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.6; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--primary); padding: 16px 20px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .section h2 { font-size: 1.4rem; }
  .cards { grid-template-columns: 1fr; }
  .step { flex-direction: column; }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.cta-section h2 { color: var(--white); font-size: 2rem; position: relative; }
.cta-section p { opacity: 0.9; max-width: 600px; margin: 16px auto 32px; font-size: 1.05rem; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--primary); padding: 14px 32px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.cta-btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.cta-btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.cta-btn .icon { font-size: 1.3rem; }
.cta-stats { display: flex; gap: 48px; justify-content: center; margin-top: 40px; position: relative; }
.cta-stat { text-align: center; }
.cta-stat-num { font-size: 1.8rem; font-weight: 700; }
.cta-stat-label { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }

@media (max-width: 600px) {
  .cta-section h2 { font-size: 1.5rem; }
  .cta-stats { gap: 24px; flex-wrap: wrap; }
  .cta-btn { width: 100%; justify-content: center; }
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
