/* ==========================================================================
   INTEGRATION AND SOFTWARE - CORPORATE TECHNOLOGY CSS
   ========================================================================== */

/* --- CSS VARIABLES --- */
:root {
  /* Colors - Dark Theme with Neon Accents */
  --bg-main: #050508;
  --bg-secondary: #0a0a10;
  --bg-tertiary: #12121a;
  --bg-panel: rgba(20, 20, 30, 0.7);

  --primary: #00f0ff; /* Electric Blue */
  --primary-glow: rgba(0, 240, 255, 0.4);
  --secondary: #ff003c; /* Digital Magenta */
  --secondary-glow: rgba(255, 0, 60, 0.4);
  --accent: #7000ff; /* Deep Purple */

  --text-main: #f0f0f5;
  --text-muted: #8a8a9e;
  --text-dark: #050508;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 240, 255, 0.3);

  /* Typography */
  --font-heading: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Fira Code", monospace;

  /* Spacing & Layout */
  --container-width: 1320px;
  --section-padding: 100px;
  --header-height: 90px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Transitions & Shadows */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-neon:
    0 0 20px var(--primary-glow), inset 0 0 10px var(--primary-glow);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- RESET & BASE --- */
*,
*::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-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--primary);
  color: var(--text-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 5px;
  border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- TYPOGRAPHY & UTILITIES --- */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent),
    var(--secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.text-center {
  text-align: center;
}
.section-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: var(--section-padding) 0;
}
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
  transform: perspective(500px) rotateX(60deg) scale(2);
  transform-origin: top;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: perspective(500px) rotateX(60deg) scale(2) translateY(0);
  }
  100% {
    transform: perspective(500px) rotateX(60deg) scale(2) translateY(50px);
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--trans-normal);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: var(--trans-normal);
  z-index: -1;
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  left: 100%;
  transition: 0.6s;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: inset 0 0 10px var(--primary-glow);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--trans-normal);
}
.header.scrolled {
  height: 70px;
  background: rgba(5, 5, 8, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 40px;
  transition: var(--trans-normal);
  filter: drop-shadow(0 0 5px var(--primary-glow));
}

.nav-menu {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}
.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primary);
  width: 0;
  overflow: hidden;
  transition: var(--trans-normal);
  white-space: nowrap;
}
.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-toggle,
.nav-close {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* --- HERO SECTION (3D & Interactive) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(112, 0, 255, 0.15) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 1;
  position: relative;
}
.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Hero 3D Graphic */
.hero-visual {
  perspective: 1000px;
  width: 100%;
  height: 500px;
  position: relative;
}
.h-cube {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
  transform: translate(-50%, -50%);
}
.h-face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(10, 10, 16, 0.8);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 2rem;
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.2);
}
.h-face:nth-child(1) {
  transform: rotateY(0deg) translateZ(100px);
}
.h-face:nth-child(2) {
  transform: rotateY(90deg) translateZ(100px);
}
.h-face:nth-child(3) {
  transform: rotateY(180deg) translateZ(100px);
}
.h-face:nth-child(4) {
  transform: rotateY(-90deg) translateZ(100px);
}
.h-face:nth-child(5) {
  transform: rotateX(90deg) translateZ(100px);
}
.h-face:nth-child(6) {
  transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
  0% {
    transform: translate(-50%, -50%) rotateX(0) rotateY(0);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
  }
}

/* Floating Elements */
.float-el {
  position: absolute;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}
.float-el i {
  font-size: 2rem;
  color: var(--secondary);
}
.fl-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}
.fl-2 {
  bottom: 20%;
  left: -5%;
  animation-delay: 2s;
}
.fl-3 {
  bottom: 10%;
  right: 20%;
  animation-delay: 4s;
  border-color: var(--primary);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* --- STATS SECTION --- */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-box {
  padding: 2rem;
  position: relative;
}
.stat-box::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color);
}
.stat-box:last-child::after {
  display: none;
}
.stat-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}
.stat-label {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* --- SERVICES (3D Tilt Cards) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1000px;
}
.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    var(--primary-glow),
    transparent 70%
  );
  opacity: 0;
  transition: var(--trans-normal);
  z-index: 0;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
  z-index: 10;
}
.service-card:hover::before {
  opacity: 1;
}
.sc-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transform: translateZ(30px);
}
.service-card h3 {
  font-size: 1.5rem;
  transform: translateZ(20px);
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--text-muted);
  transform: translateZ(10px);
  position: relative;
  z-index: 1;
}

/* --- INTERACTIVE REPORTS UI --- */
.reports-section {
  position: relative;
}
.dashboard-mockup {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dash-metric {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
.dash-metric h4 {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.dash-metric .val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.dash-metric .trend {
  color: #00ff88;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.dash-main {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 2rem;
}
.chart-container {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  height: 250px;
  padding-top: 2rem;
  border-bottom: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), var(--primary));
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease-out;
  height: 0;
}
.chart-bar span {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  opacity: 0;
  transition: 0.3s;
}
.chart-bar:hover span {
  opacity: 1;
  color: var(--primary);
}

/* --- SERVICE CALCULATOR --- */
.calc-section {
  background: var(--bg-secondary);
}
.calc-wrapper {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  box-shadow: var(--shadow-card);
}
.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.range-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.range-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--primary-glow);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--border-color);
  border-radius: 2px;
}
.calc-result {
  background: var(--bg-tertiary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.05);
}
.calc-result h3 {
  color: var(--text-muted);
  font-weight: 400;
}
.result-val {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  margin: 1rem 0;
  text-shadow: 0 0 20px var(--primary-glow);
}

/* --- INDUSTRIES MARQUEE --- */
.industries-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 2rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.industries-wrap::before,
.industries-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
}
.industries-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}
.industries-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}
.ind-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.ind-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 3rem;
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-color);
  transition: var(--trans-fast);
  cursor: default;
}
.ind-item:hover {
  color: var(--text-main);
  -webkit-text-stroke: 0px;
  text-shadow: 0 0 10px var(--primary-glow);
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- TESTIMONIALS (3D Carousel) --- */
.testimonials {
  overflow: hidden;
  position: relative;
}
.testi-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.testi-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: var(--radius-md);
  width: calc(33.333% - 1.5rem);
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
}
.testi-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.t-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--border-color);
}
.t-info h4 {
  margin: 0;
  font-size: 1rem;
}
.t-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* --- CONTACT CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-tertiary), #0f0c1b);
  text-align: center;
  border-top: 1px solid var(--border-color);
}
.cta-box {
  max-width: 800px;
  margin: 0 auto;
}
.cta-box h2 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo {
  margin-bottom: 1.5rem;
  display: inline-block;
}
.footer-about-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.social-links a:hover {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}
.footer-col-title {
  font-family: var(--font-mono);
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-muted);
}
.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.status-online {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* --- LIVE CHAT WIDGET --- */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.chat-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-neon);
  cursor: pointer;
  transition: transform 0.3s;
}
.chat-btn:hover {
  transform: scale(1.1);
}
.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: 0.3s;
  overflow: hidden;
}
.chat-window.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.chat-header {
  background: var(--bg-secondary);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-body {
  padding: 1rem;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.msg {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  max-width: 80%;
  font-size: 0.9rem;
}
.msg.bot {
  background: var(--bg-secondary);
  border-bottom-left-radius: 0;
  align-self: flex-start;
}
.msg.user {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--primary);
  border-bottom-right-radius: 0;
  align-self: flex-end;
}
.chat-input {
  display: flex;
  border-top: 1px solid var(--border-color);
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem;
  color: var(--text-main);
  outline: none;
}
.chat-input button {
  padding: 0 1rem;
  color: var(--primary);
}

/* --- CONTACT PAGE STYLES --- */
.page-header-section {
  padding: 150px 0 80px;
  background: linear-gradient(to bottom, var(--bg-tertiary), var(--bg-main));
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.page-header-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-info-panel h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-details-list li {
  display: flex;
  gap: 1.5rem;
}
.contact-details-list i {
  font-size: 1.5rem;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-details-list h4 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}
.contact-details-list p,
.contact-details-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-form {
  background: var(--bg-panel);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  outline: none;
  transition: 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}
.btn-full {
  width: 100%;
}

/* --- LEGAL PAGES STYLES --- */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 4rem;
}
.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.8rem;
}
.legal-content strong {
  color: var(--text-main);
}
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.breadcrumbs a {
  color: var(--primary);
}

/* --- ANIMATIONS (Reveal on Scroll) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1024px) {
  .hero-container,
  .dashboard-mockup,
  .calc-wrapper,
  .contact-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-card {
    width: calc(50% - 1rem);
  }
  .hero-visual {
    display: none;
  }
  .section-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-tertiary);
    border-left: 1px solid var(--border-color);
    padding: 5rem 2rem;
    transition: 0.4s;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 2rem;
  }
  .nav-toggle,
  .nav-close {
    display: block;
  }
  .nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box::after {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testi-card {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 2rem;
  }
}
