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

:root {
  --bg-primary: #0f0f0f;
  --bg-card: #1a1a1a;
  --bg-nav: #141414;
  --border: #2e2e2e;
  --accent: #c0392b;
  --accent-hover: #a93226;
  --text-primary: #ffffff;
  --text-secondary: #f0f0f0;
  --text-muted: #b0b0b0;
  --text-dim: #666;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0,0,0,0.6);
  --glow: 0 0 32px rgba(192, 57, 43, 0.5);
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: 'Georgia', serif;
  line-height: 1.7;
}

/* ─── Navigation ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: bold;
}

.navbar .brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Hero ─── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.hero img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: var(--glow);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero .lead {
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.45);
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(192, 57, 43, 0.65);
}

.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ─── Sections ─── */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* ─── Cards Grid ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.7);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ─── Feature list ─── */
.features {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.features li:last-child { border-bottom: none; }

.features .bullet {
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ─── Steps ─── */
.steps {
  counter-reset: step;
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.steps li {
  counter-increment: step;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.steps li:last-child { border-bottom: none; }

.steps li::before {
  content: counter(step);
  background: var(--accent);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* ─── Footer ─── */
.site-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ─── Responsive ─── */
@media (max-width: 680px) {
  .navbar { padding: 0.7rem 1.2rem; }
  .nav-links { display: none; flex-direction: column; gap: 1rem; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
  .hero img { width: 150px; height: 150px; }
  .section { padding: 3rem 1.5rem; }
}
