@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

/* ==========================================================================
   CSS VARIABLES & THEME SETUP
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-dark: #030712;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --primary: #00f0ff;
  --primary-glow: rgba(0, 240, 255, 0.5);
  --secondary: #7000ff;
  --secondary-glow: rgba(112, 0, 255, 0.5);
  --accent: #ff0055;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-text: linear-gradient(to right, #ffffff, var(--primary));
  --gradient-card: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.8),
    rgba(3, 7, 18, 0.9)
  );

  /* Typography */
  --font-sans: "Outfit", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  /* Spacing & Layout */
  --container-width: 1320px;
  --section-pad: 100px 0;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --glass-bg: rgba(17, 24, 39, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.05);
  --glass-blur: blur(12px);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary-glow);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-brand);
  z-index: -1;
  transition: var(--transition);
}

.btn-primary {
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(112, 0, 255, 0.6);
  transform: translateY(-3px);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover::after {
  left: 100%;
  transition: 0.7s ease-in-out;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline::before {
  background: rgba(0, 240, 255, 0.1);
  transform: scaleX(0);
  transform-origin: left;
}

.btn-outline:hover::before {
  transform: scaleX(1);
}

.btn-outline:hover {
  color: #fff;
  border-color: transparent;
}

/* ==========================================================================
   GLOBAL HEADER (STRICT CONSISTENCY)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.main-nav .nav-list {
  display: flex;
  gap: 2.5rem;
}

.main-nav .nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  box-shadow: 0 0 10px var(--primary);
}

.main-nav .nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: var(--transition);
}

.mobile-toggle span:nth-child(1) {
  top: 0;
}
.mobile-toggle span:nth-child(2) {
  top: 11px;
}
.mobile-toggle span:nth-child(3) {
  top: 22px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: floatOrb 20s infinite alternate linear;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: -10%;
  left: -10%;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  bottom: -10%;
  right: -5%;
  animation-delay: -5s;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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;
  transform: perspective(500px) rotateX(60deg) translateY(-100px)
    translateZ(-200px);
  animation: gridMove 20s linear infinite;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  animation: slideDown 1s ease-out forwards;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slideUp 1s ease-out 0.3s forwards;
}

.hero-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: slideUp 1s ease-out 0.6s forwards;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  animation: slideUp 1s ease-out 0.9s forwards;
}

/* Floating Stats in Hero */
.hero-floating-stats {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.float-stat {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: float 6s infinite ease-in-out;
}

.stat-left {
  left: 5%;
  top: -100px;
  animation-delay: 0s;
}
.stat-right {
  right: 5%;
  top: 100px;
  animation-delay: -3s;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.stat-info h4 {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}
.stat-info p {
  font-size: 0.875rem;
  margin: 0;
}

/* ==========================================================================
   ABOUT / MARQUEE SECTION
   ========================================================================== */
.about-section {
  padding: var(--section-pad);
  background: var(--bg-card);
  position: relative;
  border-top: var(--glass-border);
  border-bottom: var(--glass-border);
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 2rem 0;
}

.marquee-content {
  display: inline-block;
  animation: marqueeText 30s linear infinite;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}

.marquee-content span {
  margin: 0 2rem;
  color: var(--text-main);
  -webkit-text-stroke: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: 1;
  transform: translate(15px, 15px);
  transition: var(--transition);
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  filter: grayscale(50%) contrast(120%);
  transition: var(--transition);
}

.about-img-wrap:hover::before {
  transform: translate(0, 0);
}
.about-img-wrap:hover .about-img {
  filter: grayscale(0%) contrast(100%);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-box {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.stat-num {
  font-size: 3rem;
  font-family: var(--font-display);
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   SERVICES SECTION (3D TILT CARDS)
   ========================================================================== */
.services-section {
  padding: var(--section-pad);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1000px;
}

.service-card {
  background: var(--gradient-card);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  position: relative;
  transform-style: preserve-3d;
  transition:
    transform 0.1s ease,
    box-shadow 0.3s ease;
  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(--transition);
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.2;
}
.service-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transform: translateZ(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--primary);
}

.service-content {
  position: relative;
  z-index: 1;
  transform: translateZ(20px);
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.service-link svg {
  width: 20px;
  transition: var(--transition);
  fill: var(--primary);
}
.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* ==========================================================================
   INDUSTRIES TABS SECTION
   ========================================================================== */
.industries-section {
  padding: var(--section-pad);
  background: var(--bg-card);
}

.tabs-wrapper {
  display: flex;
  gap: 4rem;
  background: rgba(0, 0, 0, 0.2);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.tabs-nav {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  font-family: var(--font-display);
  text-align: left;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: var(--transition);
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}
.tab-btn.active {
  color: #fff;
  background: rgba(0, 240, 255, 0.05);
}
.tab-btn.active::before {
  transform: scaleY(1);
}

.tabs-content-area {
  flex: 1;
  position: relative;
}

.tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
  transform: translateY(20px);
}

.tab-pane.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tab-pane h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.tab-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tab-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius-sm);
}
.tab-features li svg {
  fill: var(--secondary);
  width: 20px;
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: var(--section-pad);
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%2300f0ff" opacity="0.2"/></svg>')
    repeat;
}

.calc-container {
  background: var(--gradient-card);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.calc-container::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    transparent,
    transparent
  );
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 2px);
  animation: borderGlow 4s linear infinite;
}

.calc-input-group {
  margin-bottom: 2.5rem;
}
.calc-input-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}
.calc-value {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary);
  margin-top: -10px;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.calc-results {
  background: rgba(0, 0, 0, 0.3);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: var(--glass-border);
}
.result-item {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.result-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.result-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.result-number {
  font-size: 3.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   ANALYTICS / REPORTS MOCKUP SECTION
   ========================================================================== */
.reports-section {
  padding: var(--section-pad);
  background: var(--bg-card);
  overflow: hidden;
}

.dashboard-mockup {
  background: #0a0e17;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  transform: rotateX(5deg) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
  transform: rotateX(0) rotateY(0);
}

.dash-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.dash-card-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  margin-top: 1rem;
}
.bar {
  flex: 1;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  animation: barRise 2s ease-out forwards;
  transform-origin: bottom;
}
.bar:nth-child(even) {
  background: var(--secondary);
}

.circular-chart {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0% 75%,
    rgba(255, 255, 255, 0.1) 75% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}
.circular-chart::before {
  content: "";
  position: absolute;
  inset: 15px;
  background: #0a0e17;
  border-radius: 50%;
}
.circle-val {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: var(--section-pad);
  position: relative;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testi-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  opacity: 0.1;
  width: 60px;
  fill: #fff;
}
.testi-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-brand);
  padding: 2px;
}
.client-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.client-name {
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
}
.client-role {
  font-size: 0.875rem;
  color: var(--primary);
}

/* ==========================================================================
   CONTACT / CTA SECTION
   ========================================================================== */
.contact-section {
  padding: var(--section-pad);
  background: var(--bg-card);
  border-top: var(--glass-border);
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  padding: 4rem;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.contact-methods {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.method-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-icon svg {
  width: 20px;
  fill: var(--primary);
}
.method-text h4 {
  margin-bottom: 0.25rem;
  color: #fff;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.input-group {
  position: relative;
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  transition: var(--transition);
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.05);
}
.input-group label {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.75rem;
  background: var(--bg-card);
  padding: 0 0.5rem;
  color: var(--primary);
}
.input-group select {
  appearance: none;
  color: var(--text-muted);
}

/* ==========================================================================
   GLOBAL FOOTER (STRICT CONSISTENCY)
   ========================================================================== */
.site-footer {
  background: #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(
    ellipse at bottom,
    rgba(112, 0, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.footer-brand .logo img {
  height: 50px;
  margin-bottom: 1.5rem;
}
.footer-desc {
  margin-bottom: 2rem;
  max-width: 350px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-icon svg {
  width: 18px;
  fill: #fff;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  display: inline-block;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.footer-contact-list svg {
  width: 18px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

/* ==========================================================================
   SUBPAGE & LEGAL PAGES STYLING
   ========================================================================== */
.subpage-hero {
  padding: 150px 0 80px;
  background: var(--bg-card);
  text-align: center;
  border-bottom: var(--glass-border);
}
.subpage-hero h1 {
  font-size: 4rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}
.breadcrumbs a {
  color: #fff;
}

.legal-content {
  padding: var(--section-pad);
  max-width: 900px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 2rem;
  color: #fff;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: disc;
  color: var(--text-muted);
}
.legal-content ul li {
  margin-bottom: 0.5rem;
}
.legal-content strong {
  color: #fff;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-brand);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chat-toggle svg {
  width: 30px;
  fill: #fff;
}
.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: var(--transition);
  overflow: hidden;
}
.chat-widget.active .chat-box {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: var(--gradient-brand);
  padding: 1.25rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h4 {
  margin: 0;
  font-size: 1.1rem;
}
.close-chat {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.chat-messages {
  height: 300px;
  padding: 1.25rem;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.msg {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  max-width: 80%;
  font-size: 0.875rem;
}
.msg.bot {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 0;
  align-self: flex-start;
}
.msg.user {
  background: var(--primary);
  color: #000;
  font-weight: 500;
  border-bottom-right-radius: 0;
  align-self: flex-end;
}

.chat-input {
  padding: 1rem;
  border-top: var(--glass-border);
  display: flex;
  gap: 0.5rem;
}
.chat-input input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  color: #fff;
}
.chat-input button {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
}
.chat-input button svg {
  width: 24px;
  fill: currentColor;
}

/* ==========================================================================
   ANIMATIONS KEYFRAMES
   ========================================================================== */
@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.2);
  }
}
@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 50px;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes marqueeText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes borderGlow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
@keyframes barRise {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .tabs-wrapper {
    flex-direction: column;
  }
  .tabs-nav {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .tab-btn {
    white-space: nowrap;
    padding: 1rem;
  }
  .tab-btn::before {
    height: 3px;
    width: 100%;
    top: auto;
    bottom: 0;
    transform: scaleX(0);
  }
  .tab-btn.active::before {
    transform: scaleX(1);
    transform-origin: left;
  }

  .calc-container {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border-left: var(--glass-border);
    padding: 6rem 2rem 2rem;
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }
  .main-nav.active {
    right: 0;
  }
  .main-nav .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }
  .hero-floating-stats {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-mockup {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2.5rem;
  }
  .calc-results {
    padding: 1.5rem;
  }
  .result-number {
    font-size: 2.5rem;
  }
  .subpage-hero h1 {
    font-size: 2.5rem;
  }
  .chat-box {
    width: calc(100vw - 40px);
    right: -10px;
  }
}
