/* ==========================================================================
   VELOCITY STUDIO - DIGITAL MARKETING THEME
   Core Stylesheet
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

/* --- 1. CSS Variables --- */
:root {
  /* Color Palette */
  --bg-base: #f8fafc;
  --bg-alt: #ffffff;
  --bg-dark: #0f172a;
  --bg-darker: #020617;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  --primary-blue: #2563eb;
  --primary-purple: #7c3aed;
  --accent-orange: #f97316;
  --accent-hover: #ea580c;

  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  --gradient-glow: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.5),
    rgba(124, 58, 237, 0.5)
  );

  /* Typography */
  --font-main: "Plus Jakarta Sans", sans-serif;

  /* Spacing & Layout */
  --container-width: 1300px;
  --section-padding: 100px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* For custom cursor */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple);
}

/* --- 3. Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* --- 4. Custom Cursor --- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(249, 115, 22, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(249, 115, 22, 0.1);
  border-color: var(--accent-orange);
}

/* --- 5. Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader-circle {
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* --- 6. Layout Utilities --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: var(--section-padding) 0;
}

.text-center {
  text-align: center;
}

.d-flex {
  display: flex;
}

/* --- 7. Components --- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: none; /* override default */
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn i {
  margin-left: 0.5rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

.btn-primary {
  background-color: var(--accent-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent-hover);
  transition: var(--transition-smooth);
  z-index: 0;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-gradient {
  background: var(--gradient-primary);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}
.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

/* --- 8. Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  filter: brightness(0) invert(1); /* Makes logo white for dark header */
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  font-size: 0.95rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: none;
}

.hamburger .bar {
  width: 30px;
  height: 3px;
  background-color: var(--text-light);
  transition: var(--transition-fast);
}

/* --- 9. Index Specific Sections --- */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-darker);
  overflow: hidden;
  padding-top: 80px;
}

.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(80px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-blue);
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-purple);
  bottom: 100px;
  right: -50px;
  animation-delay: -5s;
}

.hero-grid {
  position: absolute;
  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;
}

@keyframes gridMove {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0)
      translateZ(-200px);
  }
  100% {
    transform: perspective(500px) rotateX(60deg) translateY(50px)
      translateZ(-200px);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: var(--text-light-muted);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.fc-1 {
  top: 10%;
  right: 10%;
  width: 250px;
  animation-delay: 0s;
}
.fc-2 {
  bottom: 20%;
  left: 0;
  width: 280px;
  animation-delay: -2s;
  z-index: 2;
}
.fc-3 {
  top: 40%;
  right: -5%;
  width: 200px;
  animation-delay: -4s;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.chart-bar-wrap {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  margin-top: 1rem;
}
.c-bar {
  background: var(--primary-blue);
  width: 15px;
  border-radius: 3px 3px 0 0;
  animation: barGrow 2s ease-out forwards;
  transform-origin: bottom;
}
@keyframes barGrow {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}

/* Ticker Section */
.ticker-section {
  background: var(--gradient-primary);
  padding: 1.5rem 0;
  overflow: hidden;
  color: white;
  display: flex;
}

.ticker-wrap {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.ticker-item {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 3rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.ticker-item i {
  color: var(--accent-orange);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services Section */
.services-section {
  background-color: var(--bg-base);
}

.section-header {
  margin: 4rem auto;
  max-width: 600px;
}

.section-header h2 {
  font-size: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-alt);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s; /* Controlled by JS for 3D */
  transform-style: preserve-3d;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.03;
}

.service-content {
  position: relative;
  z-index: 1;
  transform: translateZ(30px); /* 3D pop */
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-base);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) translateZ(20px);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.service-link:hover {
  color: var(--accent-orange);
}

/* ROI Calculator Section */
.calculator-section {
  background-color: var(--bg-alt);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.calculator-wrapper {
  background: var(--bg-dark);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.calc-left h2 {
  color: white;
  font-size: 2.5rem;
}
.calc-left p {
  color: var(--text-light-muted);
  margin-bottom: 2rem;
}

.calc-group {
  margin-bottom: 2rem;
}
.calc-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 500;
}
.calc-value {
  color: var(--accent-orange);
  font-weight: 700;
}

/* Custom Range Input */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  cursor: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--accent-orange);
  margin-top: -10px;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.calc-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.calc-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  cursor: none;
  transition: var(--transition-fast);
}
.calc-checkbox:hover {
  background: rgba(255, 255, 255, 0.1);
}
.calc-checkbox input {
  accent-color: var(--accent-orange);
  width: 18px;
  height: 18px;
}

.calc-right {
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.result-box {
  margin-bottom: 2rem;
}
.result-label {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}
.result-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

/* Dashboard Preview Section */
.dashboard-section {
  background: var(--bg-base);
  overflow: hidden;
}
.dash-wrapper {
  position: relative;
  margin-top: 3rem;
}
.dash-mockup {
  background: var(--bg-alt);
  border-radius: 24px 24px 0 0;
  padding: 2rem;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: none;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}
.dash-sidebar {
  background: var(--bg-base);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}
.dash-main {
  display: grid;
  gap: 1.5rem;
}
.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dash-card {
  background: var(--bg-base);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}
.skeleton-line {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  margin-bottom: 10px;
}
.skeleton-line.w-50 {
  width: 50%;
}
.dash-chart {
  height: 200px;
  background: var(--bg-base);
  border-radius: var(--border-radius-md);
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.chart-svg {
  width: 100%;
  height: 100%;
}
.chart-path {
  fill: none;
  stroke: url(#chart-gradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease-out;
}
.dash-mockup.active .chart-path {
  stroke-dashoffset: 0;
}

/* CTA Strip */
.cta-strip {
  background: var(--gradient-primary);
  padding: 5rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.cta-strip .orb {
  background: rgba(255, 255, 255, 0.1);
}

/* Industries Section */
.industries-section {
  background: var(--bg-alt);
}
.industry-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 1rem 2rem;
  background: var(--bg-base);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: none;
  transition: var(--transition-fast);
  color: var(--text-muted);
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-blue);
  color: white;
  box-shadow: var(--shadow-md);
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.tab-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tab-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonials */
.testimonials-section {
  background: var(--bg-base);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.testi-card {
  background: var(--bg-alt);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}
.quote-icon {
  font-size: 3rem;
  color: rgba(37, 99, 235, 0.1);
  margin-bottom: 1rem;
}
.testi-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}
.author-info h4 {
  margin-bottom: 0.2rem;
}
.author-info p {
  font-size: 0.9rem;
  color: var(--primary-blue);
}

/* Quick Contact */
.quick-contact {
  background: var(--bg-dark);
  color: white;
  padding: 6rem 0;
}
.qc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.qc-left h2 {
  color: white;
  font-size: 3rem;
}
.qc-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
}
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}
.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.1);
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- 10. Legal & Sub Pages Base --- */
.page-hero {
  background: var(--bg-darker);
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0.2;
  pointer-events: none;
}
.page-hero h1 {
  color: white;
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
}
.page-hero p {
  color: var(--text-light-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.legal-content-section {
  background: var(--bg-base);
}
.legal-wrapper {
  background: var(--bg-alt);
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}
.legal-wrapper h2,
.legal-wrapper h3 {
  margin-top: 2rem;
  color: var(--primary-blue);
}
.legal-wrapper h3 {
  font-size: 1.5rem;
}
.legal-wrapper p,
.legal-wrapper ul {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}
.legal-wrapper ul {
  padding-left: 2rem;
  list-style: disc;
}
.legal-wrapper li {
  margin-bottom: 0.5rem;
}

/* --- Contact Page Specific --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-info-card {
  background: var(--gradient-primary);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  color: white;
  height: 100%;
}
.contact-info-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.c-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.c-text h4 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.c-text p,
.c-text a {
  color: rgba(255, 255, 255, 0.8);
}
.contact-form-wrap {
  background: var(--bg-alt);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap .form-control {
  background: var(--bg-base);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}
.contact-form-wrap .form-control:focus {
  border-color: var(--primary-blue);
}
.contact-form-wrap .form-control::placeholder {
  color: var(--text-muted);
}

/* --- 11. Global Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
}
.social-links a:hover {
  background: var(--accent-orange);
  transform: translateY(-3px);
}
.footer-widget h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-widget h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}
.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.footer-contact i {
  color: var(--accent-orange);
  margin-top: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a:hover {
  color: white;
}

/* --- Live Chat Widget --- */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
  border: none;
}
.chat-toggle:hover {
  transform: scale(1.1);
}
.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--bg-alt);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: var(--transition-smooth);
  opacity: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.chat-box.active {
  transform: scale(1);
  opacity: 1;
}
.chat-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: none;
}
.chat-body {
  padding: 1.5rem;
  height: 250px;
  overflow-y: auto;
  background: var(--bg-base);
}
.msg-received {
  background: white;
  padding: 1rem;
  border-radius: 10px 10px 10px 0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}
.chat-input {
  padding: 1rem;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 1rem;
}
.chat-input input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
}
.chat-input button {
  background: var(--primary-blue);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: none;
}

/* --- Animations & Utilities --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* --- 12. Responsive Design --- */
@media (max-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }
  .hero .container,
  .calculator-wrapper,
  .qc-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual {
    height: 400px;
    order: -1;
  }
  .tab-content.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 100px 2rem;
    transition: var(--transition-smooth);
    gap: 2rem;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }
  h1 {
    font-size: 2.5rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .dash-mockup {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    display: none;
  }
  .dash-row {
    grid-template-columns: 1fr;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  } /* Disable custom cursor on mobile */
  body {
    cursor: auto;
  }
  a,
  button,
  input,
  .tab-btn,
  .chat-toggle {
    cursor: pointer;
  }
}
