/* ===================================
   STLA Website - 'LUMINOUS ENTERPRISE' THEME
   Premium, Kinetic, Engineered
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&family=Outfit:wght@100;300;400;500;700;900&display=swap');

:root {
  /* THEME: Luminous White 2.0 */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;

  /* GLASS TOKENS */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-blur: 40px;
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --glass-glare: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);

  /* BRAND GRADIENTS - High Vibrancy */
  --grad-primary: linear-gradient(135deg, #0044ff, #8800ff, #ff0066);
  --grad-text: linear-gradient(90deg, #1d4ed8, #7c3aed, #db2777);
  --grad-liquid: linear-gradient(45deg, #2563eb, #ff0088, #7700ff, #2563eb);

  /* COLORS */
  --text-main: #000000;
  --text-muted: #111827;
  --accent-blue: #1d4ed8;

  /* MOTION VARS */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* FONT */
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

/* ===================================
   RESET & BASE
   =================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* GLOBAL TEXT WEIGHT BOOST */
p,
li,
span,
a,
input,
textarea,
button,
.tag-pill {
  font-weight: 500 !important;
}

/* NOISE TEXTURE */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* LIVING BACKGROUND */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.4), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.4), transparent 50%);
  filter: blur(80px);
}

/* ===================================
   TYPOGRAPHY - Cinematic
   =================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.05;
  color: var(--text-main);
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

.text-gradient {
  background: var(--grad-liquid);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* ===================================
   LOADING & ANIMATIONS
   =================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo);
}

/* SCROLL REVEAL CLASSES */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out-expo);
}

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

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-stagger.active>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
  transition-delay: 0.4s;
}

/* ===================================
   BENTO GRID - Premium Glass
   =================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.bento-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-elastic), box-shadow 0.6s ease, background 0.3s ease;
  transform-style: preserve-3d;
}

/* Iridescent Border on Hover */
.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  /* Standard */
  pointer-events: none;
}

/* Glare Element (handled by JS) */
.bento-glare {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

.bento-item:hover .bento-glare {
  opacity: 1;
}



.span-12 {
  grid-column: span 12;
}

.span-8 {
  grid-column: span 8;
}

.span-6 {
  grid-column: span 6;
}

.span-4 {
  grid-column: span 4;
}

@media (max-width: 900px) {

  .span-8,
  .span-6,
  .span-4 {
    grid-column: span 12;
  }
}

/* ===================================
   MAGNETIC BUTTONS
   =================================== */
.btn-aurora {
  display: inline-flex;
  padding: 1.25rem 3rem;
  background: var(--text-main);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 0.5rem;
}

/* Gradient hover state */
.btn-aurora::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: var(--grad-liquid);
  background-size: 200% 200%;
  animation: liquidGradient 3s ease infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  transform: translateX(-25%);
}

@keyframes liquidGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-aurora:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.4);
}

.btn-aurora:hover::before {
  opacity: 1;
}

.pill {
  display: inline-block;
  padding: 0.5rem 1.0rem;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-main);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===================================
   HERO
   =================================== */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
  position: relative;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 3rem;
  font-weight: 500;
}

/* ===================================
   COMPONENTS
   =================================== */
.nav-glass {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.section {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem
}

/* Cert Grid */
.cert-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.cert-circle {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  margin-bottom: 0.5rem;
  transition: transform 0.4s var(--ease-elastic);
}

.cert-badge:hover .cert-circle {
  transform: scale(1.15) rotate(5deg);
}

/* ===================================
   NEW CONTENT STYLES
   =================================== */

/* Styled Lists (Checkmarks or Bullets) */
ul.list-styled {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.list-styled li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.5;
}

ul.list-styled li::before {
  content: '•';
  /* Simple bullet, can be changed to SVG check */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--accent-blue);
  font-size: 1.2rem;
  line-height: 1.4;
}

/* NAICS List */
.naics-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.naics-item {
  font-size: 0.9rem;
  color: var(--text-main);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.naics-item:last-child {
  border-bottom: none;
}

.naics-item strong {
  color: var(--accent-blue);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Logo Box Placeholder */
.logo-box {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: #475569;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.logo-box:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* ===================================
   NEW LAYOUT UTILITIES - Unique Content
   =================================== */

/* Lead Text */
.lead-text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-blue);
  padding-left: 1.5rem;
}

/* Tag Cloud Grid */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-pill:hover {
  background: white;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s var(--ease-smooth);
}

.feature-card:hover {
  background: white;
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}