* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: #12151b; color: #e2e8f0; line-height: 1.6; }
h1, h2, h3, h4, .logo { font-family: 'Space Grotesk', sans-serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.demo-banner { background: #000; color: #a1a1aa; text-align: center; padding: 0.5rem; font-size: 0.8rem; }
.demo-banner strong { color: #f97316; }

.navbar { background: #181c24; border-bottom: 1px solid #272f3d; padding: 1.25rem 0; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.35rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: 0.05em; }
.logo span { color: #f97316; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a:not(.btn) {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:not(.btn):hover {
  color: #f97316;
}

.status-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; display: inline-block; }

.btn { display: inline-block; padding: 0.75rem 1.4rem; border-radius: 6px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; font-size: 0.95rem; text-align: center; }
.btn-accent { background: #f97316; color: #fff; }
.btn-accent:hover { background: #ea580c; }
.btn-primary { background: #f97316; color: #fff; }
.btn-block { width: 100%; }

.hero { padding: 4.5rem 0; background: radial-gradient(circle at top right, #1e2638 0%, #12151b 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.trust-badge { display: inline-block; background: rgba(249, 115, 22, 0.15); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.3); padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
h1 { font-size: 2.85rem; line-height: 1.15; color: #fff; margin-bottom: 1.25rem; font-weight: 700; }
.hero-sub { font-size: 1.15rem; color: #94a3b8; margin-bottom: 2rem; }

.highlights { display: flex; gap: 2.5rem; border-top: 1px solid #272f3d; padding-top: 1.5rem; }
.highlight-item .num { display: block; font-size: 2rem; font-weight: 700; color: #f97316; font-family: 'Space Grotesk', sans-serif; }
.highlight-item .lbl { font-size: 0.85rem; color: #94a3b8; }

.hero-form-card { background: #1c222e; border: 1px solid #2d3748; padding: 2.25rem; border-radius: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.hero-form-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.4rem; }
.hero-form-card p { font-size: 0.85rem; color: #94a3b8; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.3rem; color: #cbd5e1; }
.form-group input, .form-group select { width: 100%; padding: 0.75rem; background: #12151b; border: 1px solid #3b465a; border-radius: 6px; color: #fff; font-family: inherit; font-size: 0.95rem; }

.projects { padding: 4.5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.15rem; color: #fff; margin-bottom: 0.5rem; }
.section-title p { color: #94a3b8; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.project-box { background: #181c24; border: 1px solid #272f3d; border-radius: 10px; overflow: hidden; }
.project-photo { width: 100%; height: 220px; object-fit: cover; }
.project-info { padding: 1.5rem; }
.project-info h4 { font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.project-info p { font-size: 0.9rem; color: #94a3b8; }

.features { padding: 4.5rem 0; background: #181c24; border-top: 1px solid #272f3d; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature-item .feat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-item h4 { font-size: 1.15rem; color: #fff; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.9rem; color: #94a3b8; }

.footer { padding: 2rem 0; text-align: center; font-size: 0.85rem; color: #64748b; border-top: 1px solid #272f3d; }


/* Mobile Optimization */


/* Sticky Navbar & Mobile Navigation */
.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
}

.nav-links a:not(.btn) {
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .nav-contact {
    font-size: 0;
    gap: 0;
  }

  .nav-contact .status-dot {
    display: none;
  }

  .nav-contact .btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .highlights {
    gap: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .hero-form-card {
    padding: 1.5rem 1.15rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* Mobile Responsive Navigation Drawer */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
    width: 100%;
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .nav-content {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
  }

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

  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background: rgba(24, 28, 36, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    gap: 1.25rem;
    text-align: center;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 99;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    font-size: 1.15rem;
    padding: 0.5rem 0;
    color: #ffffff;
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
}


/* SensusWeb Studio Portfolio Return Links */
.demo-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.sensus-brand-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.sensus-brand-link:hover {
  opacity: 0.85;
}

.sensus-cta-link {
  color: #38bdf8 !important;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.sensus-cta-link:hover {
  color: #7dd3fc !important;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .demo-banner-content {
    font-size: 0.74rem;
    gap: 0.35rem;
  }
  .banner-sep {
    display: none;
  }
}
