:root {
  --bg: #333333;
  --surface: #3d3d3d;
  --text: #ffffff;
  --muted: #d9cfd1;
  --accent: #b02a45;
  --accent-2: #d4576f;
  --border: #4a3f42;
  --radius: 8px;
}

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

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

header {
  position: sticky;
  top: 0;
  background: rgba(28, 20, 22, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand svg { width: 26px; height: 26px; }
.accent { color: var(--accent-2); }

.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.subtitle { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin: 0 auto 2rem; max-width: 56ch; }

.hero-badges { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.badge-cta {
  background: rgba(176, 42, 69, 0.18);
  color: var(--accent-2);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #ffffff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; border-color: var(--accent); color: var(--accent-2); }

.sections { padding: 3rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.sections h2 { text-align: center; font-size: 2rem; margin-bottom: 0.5rem; }
.section-desc { text-align: center; color: var(--muted); margin-bottom: 2.5rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-icon { font-size: 2rem; }
.card h3 { font-size: 1.15rem; color: var(--accent-2); }
.card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.card .btn { margin-top: auto; width: 100%; text-align: center; }

.about { padding: 3rem 1.5rem; max-width: 800px; margin: 0 auto; text-align: center; }
.about h2 { font-size: 2rem; margin-bottom: 1rem; }
.about p { color: var(--muted); margin-bottom: 1rem; }
.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 1.5rem;
}

.contact { padding: 3rem 1.5rem; max-width: 800px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.contact p { color: var(--muted); margin: 1rem 0; }

.socials { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}
.social-link:hover { border-color: var(--accent); color: var(--accent-2); }
.social-link svg { width: 18px; height: 18px; }

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: inherit; text-decoration: underline dotted; }

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; gap: 0.75rem; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
}

.page-hero { text-align: center; padding: 3rem 1.5rem 1.5rem; max-width: 800px; margin: 0 auto; }
.page-hero .card-icon { font-size: 2.6rem; margin-bottom: 0.5rem; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--muted); font-size: 1.1rem; }

.page-body { max-width: 800px; margin: 0 auto; padding: 1.5rem 1.5rem 3rem; }
.page-body h2 { font-size: 1.4rem; margin: 2.2rem 0 0.8rem; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 0.3rem; }
.page-body p { color: var(--muted); margin-bottom: 1rem; }

.checks { list-style: none; margin: 1rem 0; }
.checks li { color: var(--muted); padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.feature { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.2rem; }
.feature strong { display: block; margin-bottom: 0.3rem; color: var(--accent-2); }
.feature span { color: var(--muted); font-size: 0.92rem; }

.note { background: rgba(176, 42, 69, 0.12); border: 1px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.3rem; color: var(--muted); margin: 1.5rem 0; }

.page-cta { text-align: center; margin: 2.5rem 0 0.5rem; }
.page-cta p { color: var(--muted); margin-bottom: 1.25rem; }

.card-icon svg, .page-hero .card-icon svg { display: block; color: var(--accent-2); }
.card-icon svg { width: 38px; height: 38px; }
.page-hero .card-icon svg { width: 48px; height: 48px; margin: 0 auto 0.5rem; }
.about-photo svg { width: 56px; height: 56px; color: var(--accent-2); }
.feature strong svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; color: var(--accent-2); }

.ver { font-size: 0.7rem; opacity: 0.45; letter-spacing: 0.02em; }

.way-hint { display: block; font-size: 0.75rem; color: var(--accent-2); font-weight: 500; }

.credit { font-size: 0.8rem; opacity: 0.7; margin-top: 0.4rem; }
.credit a { color: var(--accent-2); }
