/*
Theme Name: Autivox
Theme URI: https://www.autivox-co-179490.hostingersite.com
Author: Autivox
Author URI: https://www.autivox-co-179490.hostingersite.com
Description: Enterprise AI automation infrastructure for global industry leaders. No industry limits. Fortune 500 ready. SOC2 in progress.
Version: 1.0
License: GPL v2 or later
Text Domain: autivox
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== ABSOLUTE BLACK BACKGROUND FOR EVERYTHING – NO WHITE FLASH ===== */
html, body {
  background: #000000 !important;
  min-height: 100vh;
}

body {
  background: #010105; /* slight variation for depth, but base is black */
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
  position: relative;
}

/* ALL images, lazy‑load placeholders, background‑image divs – force BLACK */
img,
picture,
video,
iframe,
source,
[data-src],
[data-lazy-src],
[data-srcset],
.lazy,
.lazyload,
.lazyloading,
.lazy-load,
.wp-block-image img,
.entry-content img,
.post-content img,
.wp-image,
.attachment-full,
.attachment-large,
.attachment-medium,
.wp-block-cover__image-background,
.wp-block-cover__video-background,
.wp-block-image,
figure.wp-block-image,
.blocks-gallery-item img,
.wp-block-gallery img,
div[style*="background-image"],
section[style*="background-image"],
[class*="image"] img,
[class*="photo"] img {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important; /* kill any white background image placeholders */
  display: block;
}

/* Also kill any inline white background styles */
[style*="background-color: white"],
[style*="background-color:#fff"],
[style*="background-color: #fff"],
[style*="background: white"],
[style*="background:#fff"],
[style*="background-color: rgb(255,255,255)"],
[style*="background-color: rgb(255, 255, 255)"] {
  background-color: #000000 !important;
}

/* For lazy images that haven't loaded their src yet */
img:not([src]),
img[src=""],
img[src="#"],
img[data-src]:not([src]) {
  opacity: 1 !important;
  background: #000000 !important;
  color: #000000;
}

/* Even pseudo‑elements of containers (some themes use them) */
.wp-block-image::before,
.wp-block-image::after,
figure::before,
figure::after {
  background: #000000 !important;
  display: none !important;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, #010105 100%);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
  pointer-events: none;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 60px 170px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 210px 190px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 310px 250px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 420px 120px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 530px 310px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 640px 90px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 750px 210px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 860px 160px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 970px 280px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 1080px 140px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 1190px 350px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 1300px 70px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 1410px 220px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 1520px 180px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 1630px 290px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 1740px 110px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 1850px 330px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 1960px 200px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 30px 420px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 140px 550px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 250px 680px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 360px 790px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 470px 910px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 580px 1050px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 690px 1160px, rgba(255,255,255,0.5), rgba(0,0,0,0)), radial-gradient(2px 2px at 800px 1280px, rgba(255,255,255,0.7), rgba(0,0,0,0)), radial-gradient(1px 1px at 910px 1390px, rgba(255,255,255,0.6), rgba(0,0,0,0)), radial-gradient(1px 1px at 1020px 1500px, rgba(255,255,255,0.5), rgba(0,0,0,0));
  background-repeat: no-repeat;
  opacity: 0.6;
}

/* REST OF YOUR ORIGINAL STYLES (unchanged) */
.card, .layer, .problem-card, .seo-warning, .portfolio-card, .faq-item {
  background: rgba(12, 12, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover, .layer:hover, .problem-card:hover, .seo-warning:hover, .portfolio-card:hover, .faq-item:hover {
  transform: perspective(800px) rotateX(3deg) rotateY(3deg) translateY(-6px) translateZ(8px);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 20px 35px rgba(0,0,0,0.4);
  background: rgba(30, 30, 45, 0.7);
}

.layer, .seo-warning {
  border-left: 2px solid rgba(255,255,255,0.3);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, .accent {
  background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 50%, #a0a0a0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* HEADER & FOOTER LINKS + LOGO = SILVER */
.logo,
.nav a,
.mobile-nav a,
.footer a,
.footer-social a {
  color: #C0C0C0 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-decoration: none;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav a:hover,
.mobile-nav a:hover,
.footer a:hover,
.footer-social a:hover {
  color: #ffffff !important;
  opacity: 1;
}

/* ALL PAGE CONTENT LINKS = CYAN */
.entry-content a,
.page-content a,
.post-content a,
.blog-card a,
.contact-link,
.social-tag,
.social-matrix a,
.hero-section a:not(.nav a):not(.footer a),
section:not(.header):not(.footer) a {
  color: #00E5FF !important;
  background: none !important;
  text-decoration: none;
}

.entry-content a:hover,
.page-content a:hover,
.post-content a:hover,
.blog-card a:hover,
.contact-link:hover,
.social-tag:hover,
.social-matrix a:hover,
section:not(.header):not(.footer) a:hover {
  color: #00E5FF !important;
  opacity: 0.75;
}

/* BUTTON "Request Enterprise Audit" -> GLASS STYLE, TEXT #00E5FF */
.btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #00E5FF !important;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* The rest of your original CSS (unchanged) continues below */
h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 2rem 0 1rem;
  border-left: 4px solid rgba(255,255,255,0.6);
  padding-left: 1.2rem;
}

h3 {
  font-size: 1.4rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.header {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: transparent;
  border: none;
  outline: none;
  z-index: 200;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #ffffff;
  transition: 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
  gap: 16px;
  padding-bottom: 10px;
}

.mobile-nav a {
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav.active {
  display: flex;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 8px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 0;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.2s ease;
  color: #dddddd;
  padding: 0;
}

.faq-answer.active {
  max-height: 350px;
  padding-top: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 12px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 48px 0 32px;
  text-align: center;
  color: #ccc;
  font-size: 0.85rem;
  margin-top: 60px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.founder-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.founder-text {
  flex: 1;
  text-align: left;
}

.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
  aspect-ratio: 1 / 1;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a1a2e;
}

.founder-photo:hover {
  transform: scale(1.02);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.portfolio-card {
  text-align: left;
  animation: subtle3dFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.portfolio-card:nth-child(1) { animation-delay: 0s; }
.portfolio-card:nth-child(2) { animation-delay: 0.8s; }
.portfolio-card:nth-child(3) { animation-delay: 1.6s; }
.portfolio-card:nth-child(4) { animation-delay: 2.4s; }

@keyframes subtle3dFloat {
  0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateX(2deg) rotateY(2deg); }
  100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
}

.portfolio-card i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ffffff, #c0c0c0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: inline-block;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 28px;
  margin: 32px 0;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #e0e0e0;
}

.feature-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
}

.badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 24px;
  color: #dddddd;
}

section,
[id] {
  scroll-margin-top: 0;
}

.animate-glow {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 1.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.animate-glow.revealed {
  opacity: 1;
  transform: translateY(0);
}

.animate-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.animate-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

.animate-list {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 1s ease, transform 1s ease;
}

.animate-list.revealed {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

section {
  animation: fadeInUp 1.2s ease-out forwards;
}

.hero-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 32px 0;
}

.blog-card {
  background: rgba(12, 12, 16, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.5);
  background: rgba(30,30,45,0.7);
}

.blog-card h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
}

.blog-card p {
  color: #dddddd;
}

.animate-glow,
.animate-text,
.animate-list {
  will-change: opacity, transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

#wpadminbar,
.notice,
.upgrade-pro,
.pro-banner,
.upgrade-notice,
[class*="upgrade"],
[class*="pro-banner"],
[id*="upgrade"],
.footer a[href*="upgrade"],
.footer a[href*="pro"] {
  display: none !important;
}

/* ===== Universal Unordered Lists ===== */
ul:not(.footer-social):not(.mobile-nav) {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul:not(.footer-social):not(.mobile-nav) li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

ul:not(.footer-social):not(.mobile-nav) li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
}

/* ===== Ordered Lists ===== */
ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: list-counter;
}

ol li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
  color: #ffffff;
}

/* ===== Paragraph Spacing ===== */
p {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.6;
}

p:last-child {
  margin-bottom: 0;
}

/* ===== Desktop Asset Grounding ===== */
@media (min-width: 769px) {
  .tech-breakdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: nowrap;
  }

  .tech-showcase-img {
    display: block;
    max-width: 100%;
    height: auto;
    flex: 1 1 50%;
  }

  .mobile-nav {
    display: none !important;
  }

  .hamburger {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .container {
    padding: 0 20px;
  }

  .card,
  .layer,
  .problem-card,
  .seo-warning,
  .portfolio-card,
  .faq-item {
    padding: 20px;
  }

  .founder-wrapper {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .founder-text {
    text-align: left;
  }

  .founder-photo {
    width: 100%;
    height: auto;
    border-radius: 24px;
  }

  .footer-social {
    gap: 20px;
  }

  .footer-social a {
    font-size: 1.2rem;
  }

  .portfolio-grid {
    gap: 20px;
  }

  .portfolio-card {
    max-width: 100%;
  }

  .portfolio-card .btn-outline {
    align-self: center;
  }

  .faq-question {
    font-size: 1rem;
  }

  .hero-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .blog-grid {
    gap: 20px;
  }
}
/* Hide all images completely until they are fully loaded */
img {
  display: none;
}

/* Once loaded, show them with a smooth fade-in */
img.loaded {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.header {
  z-index: 9999 !important;
}
