:root{
  --bg:#f8fafc;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --primary:#4f46e5;
  --dark:#111827;
  --radius:18px;
}

html,body{height:100%;}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container-modern{
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Navbar */
.nav-modern{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}
.brand-badge{
  width:36px;height:36px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}
.brand small{display:block;color:var(--muted);font-weight:600;margin-top:2px;}

.nav-links{
  display:flex;
  gap:8px;
  align-items:center;
}
.nav-links a{
  text-decoration:none;
  color:#334155;
  font-weight:700;
  font-size:14px;
  padding:10px 12px;
  border-radius: 14px;
}
.nav-links a:hover{background:#f1f5f9;}

/* Buttons */
.btn-modern{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight:800;
  text-decoration:none;
  border: 1px solid transparent;
}
.btn-primary-modern{
  background: var(--dark);
  color:white;
  box-shadow: 0 10px 25px rgba(17,24,39,.12);
}
.btn-primary-modern:hover{opacity:.92;}
.btn-ghost-modern{
  background:white;
  color:var(--text);
  border-color: var(--line);
}
.btn-ghost-modern:hover{background:#f8fafc;}

/* Cards */
.card-modern{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 10px 30px rgba(2,6,23,.05);
}
.card-pad{padding:18px;}
.shadow-hover{transition:.25s ease;}
.shadow-hover:hover{transform: translateY(-4px); box-shadow: 0 18px 45px rgba(2,6,23,.08);}

/* Hero */
.hero-modern{
  margin-top: 24px;
  border-radius: 28px;
  background: radial-gradient(1200px 300px at 20% 10%, rgba(79,70,229,.35), transparent 60%),
              radial-gradient(1200px 300px at 80% 30%, rgba(6,182,212,.28), transparent 55%),
              white;
  border: 1px solid var(--line);
  padding: 46px 22px;
}
.hero-modern h1{font-size:42px;line-height:1.1;margin:0;font-weight:900;letter-spacing:-.02em;}
.hero-modern p{margin:12px 0 0;color:var(--muted);font-weight:600;max-width: 60ch;}