@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ================================================================
   NOVUS DEVV — Light Eucalyptus & Forest Sage Glassmorphic Theme
   ================================================================ */

:root {
  /* Clean Warm Off-White & Soft Sage Surfaces */
  --bg-deep:          #f4f7f4;         /* Soft warm mint-tinted off-white */
  --bg-surface:       #ffffff;         /* Pure white surface */
  --bg-surface-low:   #eef3ef;         /* Soft pale sage floor */
  --bg-surface-high:  #ffffff;         /* Crisp card surface */
  --bg-glass:         rgba(255, 255, 255, 0.78);
  --bg-glass-hover:   rgba(255, 255, 255, 0.95);
  --bg-input:         rgba(255, 255, 255, 0.9);

  /* Swatch 1 & 2: Deep & Medium Forest Sage (#2d4436 / #588157) */
  --forest-dark:      #2d4436;
  --forest-sage:      #436b53;
  --forest-dim:       rgba(45, 68, 54, 0.08);
  --forest-glow:      rgba(67, 107, 83, 0.18);

  /* Swatch 3: Muted Eucalyptus / Seafoam (#84a98c) */
  --eucalyptus:       #588157;
  --eucalyptus-light: #84a98c;
  --eucalyptus-dim:   rgba(88, 129, 87, 0.1);

  /* Swatch 4 & 5: Pale Mint Fog & Silver Slate (#cad2c5 / #b5c2c4) */
  --mint-fog:         #e2ebe3;
  --silver-mist:      #c2cbce;

  /* Standard Tokens Mapped for Light Theme */
  --cyan:             #3a5a40;         /* Primary Deep Forest Accent */
  --cyan-dim:         rgba(58, 90, 64, 0.08);
  --cyan-glow:        rgba(58, 90, 64, 0.18);

  --purple:           #436b53;         /* Secondary Forest Sage Accent */
  --purple-dim:       rgba(67, 107, 83, 0.08);
  --purple-glow:      rgba(67, 107, 83, 0.18);

  --teal:             #2d4436;
  --teal-dim:         rgba(45, 68, 54, 0.08);

  /* Typography Colors (High-Contrast & Readable) */
  --text-main:        #1a2920;         /* Deep charcoal forest text */
  --text-muted:       #4a5d50;         /* Muted sage slate */
  --text-dim:         #6b7c70;         /* Soft dim slate */

  /* Glass Borders & Hairline Inner Strokes */
  --border-glass:     rgba(45, 68, 54, 0.12);
  --border-glow:      rgba(67, 107, 83, 0.28);
  --border-purple:    rgba(88, 129, 87, 0.28);

  /* Soft Ambient Light Shadows */
  --shadow-glass:     0 20px 40px rgba(45, 68, 54, 0.07);
  --shadow-soft:      0 10px 30px rgba(45, 68, 54, 0.05);

  /* Radii */
  --radius-sm:        0.6rem;
  --radius-md:        1rem;
  --radius-lg:        1.5rem;
  --radius-xl:        2.2rem;
  --radius-full:      9999px;

  /* Fonts */
  --font-heading:     'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body:        'Inter', sans-serif;
  --font-mono:        'JetBrains Mono', monospace;
}

/* Reset & Smooth Setup */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* Custom Calm Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #cad2c5; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--forest-sage); }

::selection {
  background: var(--mint-fog);
  color: var(--forest-dark);
}

/* ================================================================
   GLASSMORPHISM & UI PRIMITIVES
   ================================================================ */

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 10px 30px rgba(45, 68, 54, 0.05);
}

/* Soft inner edge highlight */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 68, 54, 0.1), transparent);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(45, 68, 54, 0.12);
}

.glass-card-purple:hover {
  border-color: var(--border-purple);
  box-shadow: 0 20px 40px -10px rgba(67, 107, 83, 0.12);
}

/* Soft Glow Borders */
.glow-border {
  position: relative;
}
.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(67, 107, 83, 0.22), rgba(132, 169, 140, 0.22), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Light Gradient Text */
.text-gradient-cyan {
  background: linear-gradient(135deg, #1a2920 0%, #2d4436 40%, #588157 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #1a2920 0%, #436b53 40%, #74a580 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-multi {
  background: linear-gradient(135deg, #2d4436 0%, #436b53 50%, #588157 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-dark);
  background: var(--mint-fog);
  border: 1px solid rgba(45, 68, 54, 0.15);
  border-radius: var(--radius-full);
}

.badge-pill-purple {
  color: var(--forest-dark);
  background: rgba(132, 169, 140, 0.2);
  border-color: rgba(67, 107, 83, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-sage);
  box-shadow: 0 0 10px var(--forest-sage);
  animation: pulse-dot 3s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

/* Buttons */
.btn-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #2d4436 0%, #436b53 100%);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(45, 68, 54, 0.22);
  text-decoration: none;
  white-space: nowrap;
}

.btn-cyan:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(45, 68, 54, 0.35);
  color: #ffffff;
}

.btn-cyan:active {
  transform: scale(0.97);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(16px);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(45, 68, 54, 0.05);
}

.btn-outline-glass:hover {
  border-color: var(--forest-dark);
  color: var(--forest-dark);
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(45, 68, 54, 0.12);
}

/* Layout Container */
.site-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ================================================================
   HEADER / STICKY BLUR NAVIGATION
   ================================================================ */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(244, 247, 244, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.35s ease;
  text-decoration: none;
}
.brand-logo:hover {
  opacity: 0.95;
}
.brand-logo img {
  height: clamp(40px, 6vw, 50px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(45, 68, 54, 0.2));
  transition: all 0.35s ease;
}
.brand-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 8px rgba(45, 68, 54, 0.3));
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-main);
}
.brand-name span {
  color: var(--forest-sage);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}
.nav-link:hover, .nav-link.active {
  color: var(--forest-dark);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--forest-dark);
  border-radius: 2px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--forest-dark);
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* Mobile Drawer Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(244, 247, 244, 0.98);
  backdrop-filter: blur(35px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-overlay.is-active {
  display: flex;
  opacity: 1;
}
.mobile-overlay a {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s;
}
.mobile-overlay a:hover { color: var(--forest-dark); }
.mobile-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 868px) {
  .main-nav, .nav-cta { display: none !important; }
  .hamburger-btn { display: block !important; }
}

/* ================================================================
   HERO & AMBIENT LIGHTING
   ================================================================ */
.hero-wrapper {
  position: relative;
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
}
.ambient-blob-cyan {
  width: min(650px, 90vw);
  height: min(650px, 90vw);
  top: -15%;
  right: -5%;
  background: rgba(132, 169, 140, 0.18);
  animation: float-slow 22s ease-in-out infinite alternate;
}
.ambient-blob-purple {
  width: min(550px, 80vw);
  height: min(550px, 80vw);
  bottom: 5%;
  left: -8%;
  background: rgba(88, 129, 87, 0.15);
  animation: float-slow 28s ease-in-out infinite alternate-reverse;
}

@keyframes float-slow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(25px, 35px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 6.5vw, 4.85rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Hero Stats Badge Container */
.hero-visual-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(45, 68, 54, 0.1);
}

.floating-stats-pill {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(45, 68, 54, 0.12);
}

/* ================================================================
   SERVICES BENTO GRID
   ================================================================ */
.bento-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-card-inner {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.icon-box-cyan {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--mint-fog);
  border: 1px solid rgba(45, 68, 54, 0.15);
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.icon-box-purple {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(132, 169, 140, 0.2);
  border: 1px solid rgba(67, 107, 83, 0.2);
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.bento-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.bento-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

/* Deliverable tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.tag-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: rgba(45, 68, 54, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* ================================================================
   FORM STYLING
   ================================================================ */
.form-control {
  width: 100%;
  padding: 0.95rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-main);
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.35s ease;
  box-shadow: 0 2px 10px rgba(45, 68, 54, 0.03);
}
.form-control:focus {
  border-left-color: var(--forest-dark);
  background: #ffffff;
  box-shadow: 0 0 20px rgba(45, 68, 54, 0.1);
}
.form-control::placeholder {
  color: var(--text-dim);
}

select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232d4436' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  padding-right: 2.75rem;
}

select.form-control option {
  background-color: #ffffff;
  color: #1a2920;
  padding: 10px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.app-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
  background: rgba(244, 247, 244, 0.95);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--forest-dark); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.72rem;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ================================================================
   MOBILE RESPONSIVE OVERRIDES (< 640px)
   ================================================================ */
@media (max-width: 639px) {
  .hero-wrapper {
    padding-top: 7.5rem;
  }
  .btn-cyan, .btn-outline-glass {
    width: 100%;
  }
  .hero-visual-card {
    max-width: 100%;
  }
}