/* ==============================
   Base / Reset
============================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 600px at 30% -10%, #1b2a4a 0%, #060b17 60%);
  color: #e6e9f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: #6ea8ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==============================
   Layout
============================== */

.site-main {
  width: 100%;
}

.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

/* ==============================
   Navigation
============================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 11, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.nav-links a {
  margin-left: 18px;
  font-size: 14px;
  color: #cfd6e6;
}

.nav-links a:hover {
  color: #fff;
}

/* ==============================
   Hero (TEXT + PHOTO)
============================== */

.hero {
  padding: 90px 20px 70px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 48px;
}

.hero-text {
  max-width: 720px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  color: #cfd6e6;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
}

/* PHOTO */
.hero-photo {
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
}

/* Mobile hero */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo {
    order: -1;
    margin-bottom: 24px;
  }

  .hero-photo img {
    width: 140px;
    height: 140px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-title {
    font-size: 34px;
  }
}

/* ==============================
   Buttons
============================== */

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
}

.btn-primary {
  background: #2b5cff;
  color: #fff;
}

.btn-primary:hover {
  background: #244fd6;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ==============================
   Cards / Grids
============================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.card h3 {
  margin-top: 0;
  font-size: 16px;
}

.card p {
  color: #cfd6e6;
  font-size: 14px;
}

/* ==============================
   Lists (Blog)
============================== */

.list-grid {
  display: grid;
  gap: 18px;
}

.list-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.list-meta {
  font-size: 12px;
  color: #9aa4c0;
}

.list-title {
  margin: 6px 0 10px;
  font-size: 18px;
}

.list-summary {
  font-size: 14px;
  color: #cfd6e6;
}

/* ==============================
   Footer
============================== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 20px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left a,
.footer-right a {
  margin-right: 14px;
  font-size: 14px;
  color: #cfd6e6;
}

.footer-left a:hover,
.footer-right a:hover {
  color: #fff;
}

/* ==============================
   Utilities
============================== */

.muted {
  color: #9aa4c0;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}
