:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-600: #1e40af;
  --glass: rgba(255,255,255,0.6);
  --radius: 14px;
  --shadow-sm: 0 4px 18px rgba(16,24,40,0.06);
  --shadow-md: 0 10px 30px rgba(16,24,40,0.08);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

* { box-sizing: border-box; }
html,body { height: 100%; margin: 0; background: linear-gradient(180deg,#f8fbff 0%, var(--bg) 100%); color: #0f172a; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; font-size:16px; }

.container { width: 92%; max-width:1100px; margin: 0 auto; }

/* Header */
.site-header { backdrop-filter: blur(6px); position: sticky; top:0; z-index:40; background: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(15,23,42,0.04); }
.header-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:inherit; }
.brand-mark { font-size:22px; display:inline-block; transform:translateY(-1px); }
.brand-text { font-weight:700; font-size:18px; letter-spacing: -0.2px; }

/* Nav */
.nav { display:flex; gap:12px; align-items:center; }
.nav-link { text-decoration:none; color:var(--muted); padding:8px 12px; border-radius:8px; font-weight:600; transition: all .18s ease; }
.nav-link:hover { color:var(--accent-600); background: rgba(37,99,235,0.06); transform: translateY(-1px); }

/* Hero */
.main { padding: 28px 0 60px; }
.hero { display:flex; gap:28px; align-items:center; padding:30px; border-radius:var(--radius); background: linear-gradient(180deg,#ffffff,#f7fbff); box-shadow: var(--shadow-md); margin: 18px 0; }
.hero-content { flex:1; }
.hero-title { margin:0 0 6px; font-size:28px; line-height:1.05; font-weight:700; }
.hero-sub { margin:0 0 16px; color:var(--muted); }
.cta-row { display:flex; gap:12px; margin-top:8px; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border-radius:10px; text-decoration:none; font-weight:600; cursor:pointer; }
.btn-primary { background: linear-gradient(90deg,var(--accent), #3b82f6); color:white; box-shadow: 0 6px 20px rgba(37,99,235,0.18); }
.btn-ghost { background: transparent; border: 1px solid rgba(15,23,42,0.06); color:var(--accent-600); }

/* Hero illustration */
.hero-illustration { width:260px; height:160px; display:flex; align-items:center; justify-content:center; }

/* Pages Section */
.section-title { margin: 12px 0; font-size:20px; font-weight:700; }
.section-sub { margin:0 0 14px; color:var(--muted); }

/* Grid */
.grid { display:grid; grid-template-columns: repeat(1, 1fr); gap:14px; }
@media (min-width:600px){ .grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:900px){ .grid { grid-template-columns: repeat(4,1fr); } }

.card {
  display:flex;
  flex-direction:column;
  gap:8px;
  text-decoration:none;
  background: var(--card);
  padding:16px;
  border-radius:12px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s;
  color: #07203b;
  min-height:88px;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(16,24,40,0.12); }
.card-icon { font-size:20px; opacity:0.9; }
.card-title { font-weight:700; font-size:15px; display:block; }
.card-desc { color:var(--muted); font-size:13px; }

/* About */
.about { margin-top:18px; padding:16px; border-radius:12px; background:linear-gradient(180deg,#ffffff,#fbfdff); box-shadow: var(--shadow-sm); }
.features { margin:8px 0 0; padding-left:18px; color:var(--muted); }

/* Footer */
.site-footer { padding:18px 0; margin-top:30px; border-top:1px solid rgba(15,23,42,0.04); background:transparent; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--muted); }
.small { font-size:13px; opacity:0.85; }

/* Utility */
.hidden { display:none; }

/* Focus states for accessibility */
a:focus, button:focus { outline: 3px solid rgba(37,99,235,0.18); outline-offset:3px; border-radius:8px; }

/* Small screens tweak */
@media (max-width:720px){
  .hero { flex-direction:column; padding:18px; }
  .hero-illustration { width:100%; order:-1; }
  .header-inner { gap:12px; }
  .nav { display:none; }
  .brand-text { font-size:16px; }
}
