/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
  --primary: #00f0ff;
  --primary-dark: #008b99;
  --primary-glow: rgba(0, 240, 255, 0.6);
  --secondary: #7000ff;
  --secondary-glow: rgba(112, 0, 255, 0.6);
  --bg-dark: #050508;
  --bg-card: rgba(20, 20, 25, 0.7);
  --text-light: #f0f0f5;
  --text-muted: #a0a0b0;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(10, 10, 15, 0.4);
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Roboto", sans-serif;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: 100px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--text-light);
  text-shadow: 0 0 10px var(--primary-glow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: var(--section-pad) 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 3rem;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

/* ==========================================================================
   Background Effects
   ========================================================================== */
.background-glow {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(112, 0, 255, 0.05) 0%,
    transparent 60%
  );
  z-index: -2;
  pointer-events: none;
}

.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  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: 50px 50px;
  z-index: -1;
  pointer-events: none;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-fast);
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2) inset;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-glow),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow:
    0 0 20px var(--primary-glow),
    0 0 20px rgba(0, 240, 255, 0.4) inset;
  transform: translateY(-2px);
  color: #fff;
}

/* ==========================================================================
   Header & Navbar (IDENTICAL ACROSS ALL PAGES)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-fast);
  background: transparent;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 50px;
  filter: brightness(0) invert(1);
  transition: var(--transition-fast);
}


.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
  box-shadow: 0 0 10px var(--primary-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section (Index)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid var(--secondary);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(112, 0, 255, 0.3);
  background: rgba(112, 0, 255, 0.1);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-visuals {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  perspective: 1000px;
  z-index: 1;
}

.cube-wrapper {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 150px;
  left: 150px;
  border: 2px solid var(--primary);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2) inset;
  backdrop-filter: blur(2px);
}

.front {
  transform: translateZ(150px);
}
.back {
  transform: rotateY(180deg) translateZ(150px);
}
.right {
  transform: rotateY(90deg) translateZ(150px);
}
.left {
  transform: rotateY(-90deg) translateZ(150px);
}
.top {
  transform: rotateX(90deg) translateZ(150px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(150px);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

/* ==========================================================================
   Stats Bar (Index)
   ========================================================================== */
.stats-bar {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 40px 0;
  backdrop-filter: blur(5px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
  margin-bottom: 5px;
}

.stat-item p {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Section (Index)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 10px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform-style: preserve-3d;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(0, 240, 255, 0.1),
    transparent
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  border-color: var(--primary);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 240, 255, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  color: var(--primary);
  transform: scale(1.1) translateZ(20px);
  text-shadow: 0 0 15px var(--primary-glow);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transform: translateZ(10px);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  transform: translateZ(5px);
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: translateZ(10px);
}

/* ==========================================================================
   ROI Calculator Section (Index)
   ========================================================================== */
.roi-section {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.9),
    rgba(5, 5, 8, 0.9)
  );
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.calculator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.calc-value {
  color: var(--primary);
  text-shadow: 0 0 5px var(--primary-glow);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: var(--glass-border);
  border-radius: 3px;
}
input[type="range"]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.calc-results {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-results::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--secondary);
  filter: blur(100px);
  opacity: 0.3;
}

.result-title {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.result-amount {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
  margin-bottom: 20px;
  line-height: 1;
}

/* ==========================================================================
   Reports Dashboard Section (Index)
   ========================================================================== */
.dashboard-ui {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.dash-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
}

.dash-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
}

.dash-chart {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 20px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-top: 50px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--secondary), var(--primary));
  border-radius: 5px 5px 0 0;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  height: 0; /* Animated via JS */
}

.chart-bar span {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  opacity: 0;
}

.dash-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-stat-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-stat-box i {
  font-size: 2rem;
  color: var(--secondary);
}

.dash-stat-info h4 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dash-stat-info p {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-light);
  font-weight: bold;
}

/* ==========================================================================
   Industry Focus Section (Index)
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.industry-card h4 {
  font-size: 1.1rem;
  margin: 0;
  transition: var(--transition-fast);
}

.industry-card:hover {
  background: rgba(0, 240, 255, 0.05);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1) inset;
}

.industry-card:hover i,
.industry-card:hover h4 {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================================================
   Testimonials Section (Index)
   ========================================================================== */
.testimonial-track {
  display: flex;
  gap: 30px;
  overflow-x: hidden;
  padding: 20px 0;
  position: relative;
}

.testimonial-card {
  min-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 15px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, serif;
  line-height: 1;
}

.test-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: bold;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   CTA Section (Index)
   ========================================================================== */
.cta-section {
  background: linear-gradient(
    45deg,
    rgba(112, 0, 255, 0.2),
    rgba(0, 240, 255, 0.2)
  );
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1" width="100" height="100"/></svg>');
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* ==========================================================================
   Footer (IDENTICAL ACROSS ALL PAGES)
   ========================================================================== */
.footer {
  background: #020203;
  border-top: 1px solid var(--glass-border);
  padding-top: 80px;
  position: relative;
  z-index: 10;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  color: #000;
}

.footer-links h3,
.footer-contact h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  color: var(--text-muted);
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Page Headers (Internal Pages)
   ========================================================================== */
.page-header {
  padding: 180px 0 80px 0;
  text-align: center;
  background: linear-gradient(to bottom, rgba(5, 5, 8, 1), rgba(5, 5, 8, 0));
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.page-title {
  font-size: 4rem;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.breadcrumbs {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 15px;
}

.breadcrumbs a {
  color: var(--primary);
}

/* ==========================================================================
   Legal Pages Formatting
   ========================================================================== */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.content-wrapper h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}

.content-wrapper p,
.content-wrapper ul {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Contact Page Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-wrapper {
  background: transparent;
}

.contact-heading {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-subheading {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  background: var(--glass-bg);
  padding: 20px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 5px;
}

.info-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-text p {
  color: var(--text-muted);
  margin: 0;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 5px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1) inset;
}

.btn-full-width {
  width: 100%;
}

/* ==========================================================================
   Interactive Elements (Preloader, Back to Top, Chat)
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-logo {
  max-width: 150px;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--glass-border);
  position: relative;
  overflow: hidden;
}

.preloader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--primary);
  animation: loading 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--primary));
  }
  100% {
    opacity: 0.5;
  }
}
@keyframes loading {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 15px var(--primary-glow);
}

.chat-bubble {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 0 20px var(--secondary-glow);
  transition: var(--transition-fast);
}

.chat-bubble:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-visuals {
    width: 400px;
    height: 400px;
    right: -10%;
  }
  .cube-face {
    width: 200px;
    height: 200px;
    top: 100px;
    left: 100px;
  }
  .front {
    transform: translateZ(100px);
  }
  .back {
    transform: rotateY(180deg) translateZ(100px);
  }
  .right {
    transform: rotateY(90deg) translateZ(100px);
  }
  .left {
    transform: rotateY(-90deg) translateZ(100px);
  }
  .top {
    transform: rotateX(90deg) translateZ(100px);
  }
  .bottom {
    transform: rotateX(-90deg) translateZ(100px);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-wrapper,
  .dashboard-ui {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 150px;
  }
  .hero-visuals {
    position: relative;
    right: 0;
    transform: none;
    margin: 40px auto 0;
    height: 300px;
    width: 300px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .content-wrapper {
    padding: 30px 20px;
  }
}
