:root {
  --primary: #e3784e;
  --primary-dark: #d2693a;
  --secondary: #0C1C8C;
  --accent: #CE1126;
  --success: #3AAA35;
  --bg: #f7fafc;
  --surface: #ffffff;
  --border: #e6edf5;
  --fg: #101725;
  --muted: #64748b;
  --light: #f1f5f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.flag-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 33%, #ffffff 33%, #ffffff 66%, var(--success) 66%, var(--success) 100%);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
}

.logo-wrap img { height: 40px; }

.menu {
  display: flex;
  gap: 8px;
}

.menu a {
  padding: 8px 16px;
  color: var(--fg);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.menu a:hover { background: var(--light); color: var(--primary); }
.menu a.active { background: var(--primary); color: white; }

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin: 1rem 0; line-height: 1.1; }
.hero-subtitle { font-size: 1.25rem; margin: 1.5rem 0; opacity: 0.9; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn.primary { background: var(--primary); color: white; }
.btn.secondary { background: var(--secondary); color: white; }
.btn.accent { background: var(--success); color: white; }
.btn.outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.priorities { padding: 80px 0; background: var(--surface); }
.priorities h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: var(--primary); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); }
.priority-card { text-align: center; }
.priority-card .icon { font-size: 3rem; margin-bottom: 1rem; }
.priority-card h3 { color: var(--primary); margin-bottom: 1rem; }

.principles { background: var(--light); padding: 80px 0; }
.principle-card { border-left: 4px solid var(--primary); padding-left: 1.5rem; }
.principle-number {
  display: inline-block;
  background: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.leader-card { text-align: center; }
.leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--light);
  border: 4px solid var(--primary);
}

footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 { margin-bottom: 1rem; color: white; }
.footer-section a { color: rgba(255,255,255,0.8); text-decoration: none; display: block; margin-bottom: 0.5rem; }
.footer-section a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links { display: flex; gap: 1rem; }
.legal-links a { color: rgba(255,255,255,0.7); text-decoration: none; }
.legal-links a:hover { color: white; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.form { max-width: 780px; }
input, select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 1rem;
}

label { display: block; margin: 0.6em 0 0.2em; color: #1f2937; font-weight: 500; }

.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; text-align: center; }
.tier .price { font-size: 26px; font-weight: 800; color: var(--primary); }

.notice {
  background: #fff8ee;
  border: 1px solid #ffe4c2;
  color: #7a4d00;
  border-radius: 12px;
  padding: 12px;
  margin: 1rem 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
}

.timeline-item {
  padding: 1rem 0 1rem 2rem;
  position: relative;
  border-left: 2px solid var(--primary);
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: -8px;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .nav { flex-direction: column; gap: 1rem; }
  .menu { flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
}