/* =========================
   BASE SYSTEM RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0b0b0b;
  color: #f5f5f5;
  padding-top: 80px;
  overflow-x: hidden;
}

/* =========================
   AI INTELLIGENCE LAYER (CANVAS BACKGROUND)
========================= */
#ai-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0.65;
  pointer-events: none;
  display: block;
}

/* =========================
   BACKGROUND DEPTH (APPLE + AI FUSION LAYER)
========================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(212,175,55,0.10), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(120,180,255,0.06), transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* DATA GRID / MIST LAYER */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.25;
  z-index: 2;
  pointer-events: none;
}


/* =========================
   STACKING FIX FOR DEPLOYED CANVAS BACKGROUND
   Keeps the animated canvas visible while placing all content above it.
========================= */
.navbar,
.hero,
.section,
.cta,
footer {
  position: relative;
  z-index: 5;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   NAVBAR (APPLE GLASS STYLE)
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  z-index: 999;
}

.nav-inner {
height: 108px;
  min-height: 108px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LOGO (BRAND ANCHOR ENHANCED)
========================= */
.logo {
display: flex;
  align-items: center;
  gap: 12px;
}

.logo::before {
  content: "";
  position: absolute;
  left: -14px;
  width: 3px;
  height: 24px;
  background: linear-gradient(180deg, #d4af37, #b68e2d);
  border-radius: 2px;
}

.logo img {
height: 88px;
  width: auto;
  object-fit: contain;
}

.logo img:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 18px rgba(212,175,55,0.55))
    brightness(1.25);
}

/* 🔥 OPTIONAL BRAND TEXT (SUBTLE, NOT LOUD) */
.logo::after {
content: "VISTURE TECHNOLOGIES, LLC";
  margin-left: 8px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.40);
}

/* =========================
   NAV LINKS (APPLE MINIMAL)
========================= */
.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: #d4af37;
  transition: 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* =========================
   HERO (APPLE FOCUS LAYER)
========================= */
.hero {
  padding: 130px 0 100px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  animation: fadeUp 0.9s ease both;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,0.75);
  animation: fadeUp 1.05s ease both;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 100px 0;
}

.section.dark {
  background: rgba(255,255,255,0.035);
}

/* =========================
   HEADINGS
========================= */
h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  letter-spacing: -0.3px;
}

/* =========================
   GRID SYSTEM
========================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* =========================
   CARDS (AI-ENHANCED LIFT)
========================= */
.card {
  background: rgba(18,18,18,0.85);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 14px;
  padding: 22px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* subtle AI glow pulse */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

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

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.primary {
  background: linear-gradient(135deg, #d4af37, #b68e2d);
  color: #0b0b0b;
}

.primary:hover {
  transform: scale(1.05);
}

.outline {
  border: 1px solid rgba(212,175,55,0.7);
  color: #d4af37;
}

.outline:hover {
  background: rgba(212,175,55,0.08);
}

/* =========================
   CTA
========================= */
.cta {
  text-align: center;
  padding: 110px 20px;
  background: linear-gradient(135deg, rgba(212,175,55,0.10), transparent);
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 22px;
  background: #000;
  border-top: 1px solid rgba(212,175,55,0.15);
  color: rgba(255,255,255,0.6);
}

/* =========================
   ANIMATION SYSTEM
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SCROLL REVEAL SYSTEM
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* stagger effect */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.85rem;
  }
}


/* =========================
   VISTURE CONTENT EXTENSIONS
   Keeps the existing Vercel look while supporting the updated content.
========================= */

.eyebrow {
  display: inline-block;
  color: #d4af37;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.05;
}

.hero p + p {
  margin-top: -10px;
}

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

.section-intro {
  max-width: 820px;
  margin: -28px auto 42px;
  text-align: center;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
}

.section:not(.dark) .section-intro {
  color: rgba(255,255,255,0.68);
}

.card h3 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.card p {
  color: rgba(255,255,255,0.72);
  line-height: 1.58;
  position: relative;
  z-index: 1;
}

.card p + p {
  margin-top: 12px;
}

.metric h3 {
  color: #d4af37;
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 10px;
}

.metric p {
  font-weight: 600;
}

.statement-card {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.04rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.card-actions a {
  color: #d4af37;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 8px;
  padding: 8px 10px;
  text-decoration: none;
  font-size: 0.88rem;
  transition: 0.25s ease;
}

.card-actions a:hover {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.80);
}

#procurement .card p {
  line-height: 1.75;
}

.cta p {
  max-width: 760px;
  margin: -25px auto 28px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

footer p + p {
  margin-top: 8px;
}

@media (max-width: 900px) {
  body {
    padding-top: 76px;
  }

  .nav-inner {
    height: auto;
    min-height: 70px;
    padding: 10px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding: 95px 0 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .logo img {
    height: 64px;
  }

  .logo::after {
    display: none;
  }

  h2 {
    font-size: 1.65rem;
    margin-bottom: 38px;
  }

  .section {
    padding: 78px 0;
  }
}


/* Header spacing/company name update */
@media (max-width: 640px) {
  .nav-inner {
    height: 96px;
    min-height: 96px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    height: 70px;
  }

  .logo::after {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }
}


/* Elevated positioning update */
.section-intro {
  max-width: 920px;
}

.statement-card {
  max-width: 960px;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }
}
