:root {
  --bg-main: #06080d;
  --bg-card: rgba(15, 20, 32, 0.75);
  --bg-card-hover: rgba(20, 27, 44, 0.9);
  --bg-elevated: #111728;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow-cyan: rgba(0, 240, 255, 0.35);
  --border-glow-purple: rgba(168, 85, 247, 0.35);
  --border-glow-pink: rgba(236, 72, 153, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.2);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.2);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.2);
  --pink: #ec4899;
  --pink-glow: rgba(236, 72, 153, 0.2);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --discord: #5865f2;
  --paypal: #0070ba;
  --github: #24292f;
  --gumroad: #ff90e8;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Spotlights */
.spotlight {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.38;
}

.spotlight-cyan {
  top: -120px;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
}

.spotlight-purple {
  top: 35%;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
}

.spotlight-amber {
  bottom: 5%;
  left: -120px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
}

/* Typography & General */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #c084fc 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 8, 13, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border-glow-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

.brand-logo svg {
  width: 20px;
  height: 20px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  display: block;
  line-height: 1.1;
}

.brand-name .highlight {
  color: var(--cyan);
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-icon-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-coffee-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-coffee-nav:hover {
  background: rgba(245, 158, 11, 0.22);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff, #0284c7);
  color: #040810;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 150px 24px 70px;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 20, 32, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.hero-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-text {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hubs Quick Strip */
.hero-hubs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.hero-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.hero-hub-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Sections */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Filter Navigation */
.filter-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: var(--cyan);
  color: #040810;
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.project-card.hidden {
  display: none !important;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

/* Featured / Highlight cards */
.featured-cyan {
  border-color: rgba(0, 240, 255, 0.28);
}
.featured-cyan:hover {
  border-color: var(--cyan);
  box-shadow: 0 16px 45px rgba(0, 240, 255, 0.18);
}

.featured-purple {
  border-color: rgba(168, 85, 247, 0.28);
}
.featured-purple:hover {
  border-color: var(--purple);
  box-shadow: 0 16px 45px rgba(168, 85, 247, 0.18);
}

.featured-pink {
  border-color: rgba(236, 72, 153, 0.28);
}
.featured-pink:hover {
  border-color: var(--pink);
  box-shadow: 0 16px 45px rgba(236, 72, 153, 0.18);
}

.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.icon-cyan {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple);
}

.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--pink);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
}

/* Badges */
.card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-live {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-gumroad {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge-github {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.badge-wip {
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pulse-green {
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}
.pulse-cyan {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 14px;
}

.subtitle-purple { color: #c084fc; }
.subtitle-pink { color: #f472b6; }
.subtitle-amber { color: #fbbf24; }
.subtitle-emerald { color: #34d399; }

.card-description {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.62;
  margin-bottom: 18px;
}

.card-features-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-features-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}

.card-features-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
}

/* Card Actions / Footer */
.card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.card-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-btn-group .btn {
  flex: 1 1 auto;
  min-width: 140px;
}

.btn-card {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.btn-playstore {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-weight: 600;
}
.btn-playstore:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  color: #fff;
  transform: translateY(-2px);
}

.btn-gumroad {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #f472b6;
  font-weight: 600;
}
.btn-gumroad:hover {
  background: rgba(236, 72, 153, 0.28);
  border-color: #f472b6;
  color: #fff;
  transform: translateY(-2px);
}

.btn-github {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.btn-github:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-download-zip {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan);
}
.btn-download-zip:hover {
  background: rgba(0, 240, 255, 0.22);
  color: #fff;
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-discord {
  background: var(--discord);
  color: #fff;
}
.btn-discord:hover {
  background: #4752c4;
}

/* Developer Hubs Section */
.hubs-section {
  background: rgba(10, 14, 22, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.dev-hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.dev-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.dev-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hub-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-info h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.hub-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hub-arrow {
  margin-left: auto;
  color: var(--text-dim);
  transition: var(--transition);
}

.dev-hub-card:hover .hub-arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

/* Support Section */
.support-card {
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), rgba(15, 20, 32, 0.85) 60%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 50px 36px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.support-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.support-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.support-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

.support-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.coffee-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.coffee-amounts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.amount-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.amount-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.amount-btn.active {
  background: #f59e0b;
  color: #040810;
  border-color: #f59e0b;
  box-shadow: 0 0 16px var(--amber-glow);
}

.btn-paypal {
  background: #0070ba;
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 112, 186, 0.35);
  width: 100%;
  max-width: 360px;
}

.btn-paypal:hover {
  background: #005ea6;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 112, 186, 0.5);
}

.paypal-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Contact Box */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-val {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 24px;
  position: relative;
  z-index: 1;
  background: rgba(6, 8, 13, 0.95);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-right a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0f1420;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-top h3 {
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-content {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-content h4 {
  font-size: 1rem;
  color: #fff;
  margin: 18px 0 6px;
}

.modal-content a {
  color: var(--cyan);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 120px 16px 50px;
  }
  .support-card {
    padding: 36px 20px;
  }
  .contact-box {
    padding: 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
