/* ============================================
   CoreSpaceX Cloud Solutions - Complete Stylesheet
   Exact replica of original design
   ============================================ */

:root {
  --bg: #06070d;
  --bg-2: #0b0d1a;
  --blue: #1f6dff;
  --blue-2: #00d4ff;
  --orange: #ff6a2b;
  --orange-2: #ffb347;
  --fg: #ffffff;
  --muted: #8b95b3;
  --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Syncopate', sans-serif;
  letter-spacing: 0.04em;
}

/* Background Effects */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: 
    radial-gradient(1200px 800px at 80% 10%, rgba(31,109,255,0.18), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(255,106,43,0.16), transparent 60%),
    linear-gradient(180deg, #06070d 0%, #0b0d1a 100%);
}

#stars {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6,7,13,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-left {
  text-decoration: none;
  color: inherit;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  font-family: 'Syncopate', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.x-accent {
  color: var(--orange);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: -4px;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  background: rgba(6,7,13,0.98);
  backdrop-filter: blur(20px);
  padding: 20px;
  flex-direction: column;
  gap: 15px;
  z-index: 99;
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: 0.3s;
}

.mobile-menu a:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 60px;
}

.hero-content {
  max-width: 800px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(31,109,255,0.1);
  border: 1px solid rgba(31,109,255,0.25);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--blue-2);
  margin-bottom: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.title {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(48px, 9vw, 90px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.grad {
  background: linear-gradient(135deg, #fff 30%, var(--blue-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.x-highlight {
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
}

.title-sub {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(14px, 2.5vw, 22px);
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 28px;
}

.sol-accent {
  color: var(--blue-2);
}

.lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 36px;
}

.lede strong {
  color: var(--fg);
}

/* Countdown */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
}

.cd-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 82px;
  text-align: center;
}

.cd-num {
  font-family: 'Syncopate', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.cd-lbl {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
}

/* Notify Form */
.notify {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.notify input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.notify input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,109,255,0.15);
}

.notify input::placeholder {
  color: var(--muted);
}

.notify button {
  padding: 14px 26px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.notify button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31,109,255,0.35);
}

.form-msg {
  margin-top: 16px;
  font-size: 13px;
  color: var(--blue-2);
  min-height: 20px;
}

.form-msg.error {
  color: #ef4444;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.block {
  position: relative;
  z-index: 5;
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.sec-head {
  margin-bottom: 56px;
}

.sec-head h2 {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.about-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: 0.4s;
}

.about-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(31,109,255,0.25);
  transform: translateY(-4px);
}

.about-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: 'Syncopate', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--blue-2);
}

.about-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.project-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.4s;
}

.project-card:hover {
  border-color: rgba(31,109,255,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.card-swiper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.swiper-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide {
  min-width: 100%;
  height: 100%;
}

.preview-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
}

.glow-blue {
  background: radial-gradient(circle at 50% 50%, rgba(31,109,255,0.4), transparent 70%);
}

.glow-orange {
  background: radial-gradient(circle at 50% 50%, rgba(255,106,43,0.4), transparent 70%);
}

.swiper-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.swiper-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: 0.3s;
}

.swiper-dot.active {
  background: var(--blue-2);
  width: 20px;
  border-radius: 3px;
}

.swiper-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  width: 33.33%;
  transition: width 0.3s;
}

.card-body {
  padding: 24px;
}

.proj-cat {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue-2);
  margin-bottom: 10px;
  font-weight: 600;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.x-acc {
  color: var(--orange);
}

.proj-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proj-tag {
  padding: 5px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Project Overlay */
.project-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6,7,13,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.project-overlay.open {
  opacity: 1;
  visibility: visible;
}

.overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

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

.ob-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.ob-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ob-title {
  font-family: 'Syncopate', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.cloud-acc {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}

.ob-sub {
  font-size: 12px;
  color: var(--blue-2);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

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

.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

.act-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--fg);
}

.close-btn {
  background: rgba(239,68,68,0.1) !important;
  border-color: rgba(239,68,68,0.3) !important;
  color: #ef4444 !important;
}

.close-btn:hover {
  background: rgba(239,68,68,0.2) !important;
}

.overlay-frame-wrap {
  flex: 1;
  position: relative;
}

.overlay-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.frame-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  transition: 0.4s;
}

.frame-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--blue-2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* Features */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: 0.4s;
}

.feat-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(31,109,255,0.25);
  transform: translateY(-4px);
}

.feat-card:hover::before {
  opacity: 1;
}

.feat-ic {
  width: 52px;
  height: 52px;
  background: rgba(31,109,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feat-ic svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue-2);
}

.feat-num {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue-2);
  margin-bottom: 10px;
  font-weight: 600;
}

.feat-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Showcase */
.showcase {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14,20,48,0.8), rgba(26,34,71,0.8));
  border: 1px solid var(--border);
}

.showcase-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.glow-corner {
  position: absolute;
  width: 200px;
  height: 200px;
  filter: blur(60px);
  pointer-events: none;
}

.g1 {
  top: -50px;
  left: -50px;
  background: var(--blue);
  opacity: 0.2;
}

.g2 {
  bottom: -50px;
  right: -50px;
  background: var(--orange);
  opacity: 0.2;
}

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.rm-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: 0.4s;
}

.rm-step:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(31,109,255,0.25);
}

.rm-step.active {
  border-color: rgba(31,109,255,0.4);
  background: rgba(31,109,255,0.05);
}

.rm-dot {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syncopate', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.phase {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--orange);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.rm-step h4 {
  font-family: 'Syncopate', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.rm-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 28px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.n {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
}

.l {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Contact / CTA */
.contact-email-line {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.email-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-2);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.email-inline:hover {
  color: var(--blue);
}

.email-inline .material-symbols-outlined {
  font-size: 18px;
}

/* Footer */
footer {
  position: relative;
  z-index: 5;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  padding: 80px 24px 32px;
  border-top: 1px solid var(--border);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

footer .foot-brand .logo-mark {
  width: 34px;
  height: 34px;
}

footer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

footer h5 {
  font-family: 'Syncopate', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--fg);
  margin-bottom: 18px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 10px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

footer a:hover {
  color: var(--blue-2);
}

.mail-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mail-link .material-symbols-outlined {
  font-size: 16px;
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  transition: 0.3s;
}

.socials a:hover {
  background: rgba(31,109,255,0.1);
  border-color: rgba(31,109,255,0.3);
  color: var(--blue-2);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.error-toast {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .showcase-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-burger {
    display: flex;
  }
  
  .hero {
    padding: 100px 20px 50px;
  }
  
  .countdown {
    flex-wrap: wrap;
  }
  
  .cd-box {
    min-width: 70px;
    padding: 12px 14px;
  }
  
  .cd-num {
    font-size: 24px;
  }
  
  .notify {
    flex-direction: column;
  }
  
  .block {
    padding: 60px 16px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid,
  .feat-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }
  
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .foot-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .overlay-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .overlay-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 38px;
  }
  
  .pill {
    font-size: 10px;
    padding: 6px 14px;
  }
  
  .lede {
    font-size: 15px;
  }
}

/* Admin Panel Styles */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  font-family: 'Syncopate', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-logo span {
  color: var(--orange);
}

.login-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
}

.alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
}

.alert-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.admin-form-input {
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.admin-form-input:focus {
  border-color: var(--blue);
}

.login-btn {
  padding: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
  transition: 0.3s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31,109,255,0.35);
}

/* Admin Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
}

.admin-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.admin-sidebar-logo {
  font-family: 'Syncopate', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.admin-sidebar-logo span {
  color: var(--orange);
}

.admin-nav {
  list-style: none;
  padding: 16px 12px;
  margin: 0;
  flex: 1;
}

.admin-nav-item {
  margin-bottom: 4px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  border-radius: 10px;
  transition: 0.2s;
}

.admin-nav-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
}

.admin-nav-link.active {
  background: rgba(31,109,255,0.1);
  color: var(--blue-2);
}

.admin-nav-link svg {
  width: 20px;
  height: 20px;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  background: var(--bg);
  min-height: 100vh;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(6,7,13,0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-page-title {
  font-size: 20px;
  font-weight: 600;
}

.admin-user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-name {
  font-size: 14px;
  font-weight: 500;
}

.admin-user-role {
  font-size: 12px;
  color: var(--muted);
}

.admin-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 28px;
}

.dashboard-stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.dashboard-stat-value {
  font-family: 'Syncopate', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-2);
}

.dashboard-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.admin-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 0 28px 24px;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-card-title {
  font-size: 16px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31,109,255,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--fg);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(31,109,255,0.3);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-danger {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
}

.btn-danger:hover {
  background: rgba(239,68,68,0.2);
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.admin-table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table tr:hover {
  background: rgba(255,255,255,0.02);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: 0.3s;
  }
  
  .admin-sidebar.open {
    transform: translateX(0);
  }
  
  .admin-main {
    margin-left: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
  }
  
  .admin-card {
    margin: 0 16px 16px;
  }
}
