/* =========================================================
   BASE
   ========================================================= */
:root {
  --accent:     #44b517;
  --accent-dk:  #369010;
  --accent-glow:rgba(68,181,23,.18);
  --surface:    #1c1c1c;
  --surface2:   #242424;
  --surface3:   #2e2e2e;
  --surface4:   #353535;
  --border:     rgba(255,255,255,.07);
  --border2:    rgba(255,255,255,.13);
  --text:       #e2e2e2;
  --text-muted: #888;
  --radius:     10px;
  --shadow:     0 6px 32px rgba(0,0,0,.55);
  --green:      #44b517;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* hex-grid background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zm0 0v34m28-50l-28 16M0 18l28 16' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }

.container {
  position: relative;
  z-index: 1;
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22,22,22,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}

.brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -1px;
  color: #fff;
}
.brand span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: var(--surface3);
}
.nav-links a.active { color: var(--accent); }

.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-dropdown-toggle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.nav-dropdown:hover > .nav-dropdown-toggle,
.nav-dropdown > .nav-dropdown-toggle.active {
  color: #fff;
  background: var(--surface3);
}
.nav-dropdown > .nav-dropdown-toggle.active {
  color: var(--accent);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-dropdown-menu a:hover {
  color: #fff;
  background: var(--surface3);
}
.nav-dropdown-menu a.active {
  color: var(--accent);
}

.nav-cta {
  padding: 9px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 18px rgba(68,181,23,.3);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(68,181,23,.45);
}

/* =========================================================
   MUNKELT HERO
   ========================================================= */
.munkelt-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 80px;
  text-align: center;
}

.munkelt-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -5%, rgba(68,181,23,.18), transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(68,181,23,.05), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(68,181,23,.05), transparent 50%);
  pointer-events: none;
}

.munkelt-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(68,181,23,.1);
  border: 1px solid rgba(68,181,23,.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: .3px;
}

.munkelt-title {
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -3px;
  color: #fff;
  text-shadow: 0 0 80px rgba(68,181,23,.15);
  margin-bottom: 20px;
}

/* =========================================================
   HOME SERVICE CARDS
   ========================================================= */
.home-services { padding: 16px 0 80px; }

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.home-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.home-card:hover {
  border-color: var(--accent);
  background: var(--surface3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.45), 0 0 0 1px rgba(68,181,23,.25), 0 0 24px rgba(68,181,23,.08);
}
.home-card--highlight {
  border-color: rgba(68,181,23,.35);
  background: linear-gradient(135deg, rgba(68,181,23,.08), var(--surface2));
}
.home-card-icon { font-size: 26px; flex-shrink: 0; }
.home-card-body { flex: 1; }
.home-card-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.home-card-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-projects {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 32px;
  background: linear-gradient(135deg, rgba(68,181,23,.15), rgba(68,181,23,.05));
  border: 1px solid rgba(68,181,23,.4);
  border-radius: var(--radius);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  animation: fade-in-up .5s ease both;
  animation-delay: .45s;
}
.btn-projects:hover {
  background: linear-gradient(135deg, rgba(68,181,23,.25), rgba(68,181,23,.1));
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 0 20px rgba(68,181,23,.15);
}
.home-card-arrow {
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.home-card:hover .home-card-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* =========================================================
   PROJECTS SECTION
   ========================================================= */
.projects-section {
  padding: 80px 0 90px;
  border-top: 1px solid var(--border);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  position: relative;
}
.project-card:hover {
  border-color: var(--accent);
  background: var(--surface3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.45), 0 0 0 1px rgba(68,181,23,.2);
}
.project-card--coming {
  border-style: dashed;
  opacity: .75;
}
.project-card--coming:hover {
  opacity: 1;
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.project-icon { font-size: 32px; }
.project-body { flex: 1; }
.project-body h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.project-body p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.project-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(68,181,23,.1);
  border: 1px solid rgba(68,181,23,.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.project-badge--soon {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: var(--text-muted);
}
.projects-cta {
  text-align: center;
  padding: 28px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.projects-cta p { color: var(--text-muted); font-size: 15px; }
.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #fff;
  color: #0d1117;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s, box-shadow .2s;
}
.btn-github:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,.15);
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--surface2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 24px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(68,181,23,.25);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================
   SECTION HELPERS
   ========================================================= */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.5px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--accent);
  box-shadow: 0 0 32px rgba(68,181,23,.3), 0 0 64px rgba(68,181,23,.1);
  animation: pulse-glow 3s ease-in-out infinite;
}
.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 32px rgba(68,181,23,.3), 0 0 64px rgba(68,181,23,.1); }
  50% { box-shadow: 0 0 40px rgba(68,181,23,.4), 0 0 80px rgba(68,181,23,.15); }
}
.about-text h2 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 14px;
  letter-spacing: -.5px;
}
.about-text > p {
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 22px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-tags span {
  padding: 5px 12px;
  background: var(--surface3);
  border: 1px solid var(--border2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
  padding: 90px 0;
  background: var(--surface2);
  border-top: 1px solid var(--border2);
  text-align: center;
}
.contact-inner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 12px;
  letter-spacing: -.5px;
}
.contact-inner > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 34px;
}
.contact-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s, box-shadow .2s;
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn.discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(88,101,242,.3);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.contact-btn.discord:hover { background: #4752c4; box-shadow: 0 8px 36px rgba(88,101,242,.5); }
.discord-note { color: var(--text-muted); font-size: 14px; }
.discord-note strong { color: var(--text); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border2);
  padding: 26px 0;
  background: #161616;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-inner p {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }

/* =========================================================
   PAGE HERO (sub-pages)
   ========================================================= */
.page-hero {
  padding: 64px 0 52px;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(68,181,23,.1), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s;
}
.back-link:hover { color: var(--accent); }
.page-hero-icon { font-size: 52px; margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.page-hero > .container > p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing-section { padding: 70px 0 100px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
  align-items: start;
}
.pricing-card {
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  border-color: rgba(255,255,255,.15);
}
.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(68,181,23,.1), var(--surface2));
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(68,181,23,.12), 0 0 80px rgba(68,181,23,.05);
}
.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 0 50px rgba(68,181,23,.18), 0 12px 32px rgba(0,0,0,.4);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.tier-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tier-price {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}
.tier-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.tier-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.tier-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.btn-tier {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--surface3);
  border: 1px solid var(--border2);
  color: var(--text);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.btn-tier:hover { background: var(--surface4); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-tier--featured { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-tier--featured:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.pricing-note {
  text-align: center;
  padding: 32px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pricing-note p { color: var(--text-muted); font-size: 15px; }

/* =========================================================
   BUTTONS (shared)
   ========================================================= */
.btn-primary {
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(68,181,23,.28);
}
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 0 30px rgba(68,181,23,.45); }

.btn-outline {
  padding: 13px 28px;
  border: 1.5px solid var(--border2);
  color: var(--text);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* =========================================================
   NAV ACTIVE STATE
   ========================================================= */
.nav-links a.active { color: var(--accent); background: rgba(68,181,23,.08); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .home-cards { grid-template-columns: 1fr; }
  .btn-projects { max-width: 100%; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .avatar-circle { margin: 0 auto; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { transform: scale(1); }
  .stats-inner { gap: 32px; }
}
@media (max-width: 600px) {
  .munkelt-title { letter-spacing: -1px; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

.fade-in {
  animation: fade-in .6s ease both;
}
.fade-in-up {
  animation: fade-in-up .6s ease both;
}
.fade-in-scale {
  animation: fade-in-scale .5s ease both;
}

/* hero elements animate in */
.hero-badge {
  animation: fade-in-up .6s ease both;
  animation-delay: .1s;
}
.munkelt-title {
  animation: fade-in-up .7s ease both;
  animation-delay: .2s;
}

/* home cards stagger */
.home-card:nth-child(1) { animation: fade-in-up .5s ease both; animation-delay: .15s; }
.home-card:nth-child(2) { animation: fade-in-up .5s ease both; animation-delay: .25s; }
.home-card:nth-child(3) { animation: fade-in-up .5s ease both; animation-delay: .35s; }
.home-card:nth-child(4) { animation: fade-in-up .5s ease both; animation-delay: .45s; }

/* stats */
.stat { animation: fade-in-up .5s ease both; }
.stat:nth-child(1) { animation-delay: .1s; }
.stat:nth-child(2) { animation-delay: .2s; }
.stat:nth-child(3) { animation-delay: .3s; }
.stat:nth-child(4) { animation-delay: .4s; }

/* about */
.avatar-circle { animation: fade-in-scale .6s ease both; animation-delay: .2s; }
.about-text { animation: fade-in-up .6s ease both; animation-delay: .3s; }

/* contact */
.contact-inner { animation: fade-in-up .6s ease both; animation-delay: .15s; }

/* reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}
