/* ==========================================================================
   RESET & VARIABLES
   ========================================================================== */
:root {
  /* Colors - Light Theme with Warm Gradients (No Orange) */
  --bg-primary: #faf9f6;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0eef1;
  --text-main: #0b0b0c;
  --text-muted: #555560;
  --text-light: #ffffff;

  /* Warm Gradients (Magenta, Crimson, Deep Pink) */
  --color-primary: #e61d4c;
  --color-secondary: #ff5e7e;
  --color-dark: #0a0a0e;
  --color-border: rgba(11, 11, 12, 0.08);

  --gradient-warm: linear-gradient(135deg, #e61d4c 0%, #ff5e7e 100%);
  --gradient-warm-dark: linear-gradient(135deg, #9d00ff 0%, #e61d4c 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 30px 60px rgba(230, 29, 76, 0.15);

  /* Typography */
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Poppins", sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(230, 29, 76, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    border-color 0.2s;
}
.cursor-hover {
  width: 60px;
  height: 60px;
  border-color: var(--color-primary);
  background-color: rgba(230, 29, 76, 0.1);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 2rem;
}

.gradient-text {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  margin-bottom: 4rem;
}
.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: var(--gradient-warm);
  color: var(--text-light);
  border: none;
  box-shadow: 0 10px 20px rgba(230, 29, 76, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-warm-dark);
  opacity: 0;
  z-index: 1;
  transition: var(--transition-smooth);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:hover {
  box-shadow: 0 15px 30px rgba(230, 29, 76, 0.4);
  color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--text-main);
}
.btn-outline:hover {
  background: var(--text-main);
  color: var(--text-light);
}
.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1rem;
}

/* ==========================================================================
   HEADER / NAVIGATION (Dark Theme for White Logo)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
}
.header.scrolled {
  background: rgba(
    10,
    10,
    14,
    0.95
  ); /* Dark background for white logo contrast */
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img {
  height: 60px;
  filter: invert(1);
  object-fit: contain;
}
.nav-list {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main); /* Defaults to main text on light BG */
  position: relative;
}
.header.scrolled .nav-link {
  color: var(--text-light); /* Changes to white when scrolled for dark header */
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-warm);
  transition: var(--transition-smooth);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-toggle,
.nav-close {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
}
.header.scrolled .nav-toggle {
  color: var(--text-light);
}
.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  background-color: currentColor;
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION (3D Creative)
   ========================================================================== */
.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;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: pulse 8s infinite alternate;
}
.orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--color-primary);
}
.orb-2 {
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: var(--color-secondary);
  animation-delay: -4s;
}
.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  transform: perspective(500px) rotateX(60deg) translateY(-100px);
  transform-origin: top;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(230, 29, 76, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(230, 29, 76, 0.2);
}
.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-cta {
  display: flex;
  gap: 1.5rem;
}
.hero-visual {
  position: relative;
  height: 500px;
}
.shape-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  position: absolute;
  width: 280px;
}
.glass-card:nth-child(1) {
  top: 10%;
  right: 0;
}
.glass-card:nth-child(2) {
  bottom: 10%;
  left: 0;
}
.card-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-data h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.progress-bar .fill {
  height: 100%;
  background: var(--gradient-warm);
  border-radius: 4px;
  transform-origin: left;
  animation: fillBar 2s ease forwards;
}
.card-data span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

@keyframes float-anim {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
.float-anim {
  animation: float-anim 6s ease-in-out infinite;
}
.delay-anim {
  animation-delay: -3s;
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */
.marquee-section {
  background: var(--color-dark);
  color: var(--text-light);
  padding: 2rem 0;
  overflow: hidden;
  transform: rotate(-2deg) scale(1.05);
  margin: 4rem 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}
.marquee-content i {
  color: var(--color-primary);
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-list {
  margin-top: 2rem;
}
.feature-list li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-list i {
  color: var(--color-primary);
  background: rgba(230, 29, 76, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.stat-box {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}
.stat-box h3 {
  font-size: 3rem;
  display: inline-block;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.stat-box span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   SERVICES SECTION (3D Tilt Cards)
   ========================================================================== */
.services-section {
  background: var(--bg-tertiary);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
}
.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-warm);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 2rem;
  transform: translateZ(30px);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transform: translateZ(20px);
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  transform: translateZ(10px);
}
.service-link {
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateZ(20px);
}
.service-link i {
  transition: var(--transition-fast);
}
.service-link:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background: var(--color-border);
}
.timeline-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-warm);
  transition: height 1s ease;
}
.process-timeline.active .timeline-line::after {
  height: 100%;
}
.process-step {
  position: relative;
  padding-left: 100px;
  margin-bottom: 4rem;
}
.step-number {
  position: absolute;
  left: 15px;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  z-index: 2;
  box-shadow: 0 0 20px rgba(230, 29, 76, 0.2);
}
.step-content {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}
.step-content h3 {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   REPORTS SECTION (Data Viz)
   ========================================================================== */
.reports-section {
  background: var(--color-dark);
  color: var(--text-light);
  overflow: hidden;
}
.reports-section .section-title {
  color: var(--text-light);
}
.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.dashboard-mockup {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
  margin-right: 5px;
}
.dots span:nth-child(2) {
  background: #ffbd2e;
}
.dots span:nth-child(3) {
  background: #27c93f;
}
.dash-header .title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.chart-container {
  height: 200px;
  margin-bottom: 2rem;
}
.chart-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath 3s ease forwards infinite alternate;
}
@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.metric {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}
.metric .label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.metric .value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calc-container {
  background: var(--bg-secondary);
  border-radius: 30px;
  padding: 4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.input-group {
  margin-bottom: 2rem;
}
.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: var(--bg-tertiary);
  height: 8px;
  border-radius: 4px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(230, 29, 76, 0.5);
}
.range-val {
  display: block;
  text-align: right;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.5rem;
}
.calc-results {
  background: var(--bg-tertiary);
  padding: 3rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.result-item:last-child {
  border-bottom: none;
}
.result-item strong {
  font-size: 1.5rem;
  font-family: var(--font-heading);
}
.result-item.highlight strong {
  font-size: 2.5rem;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.industry-card {
  position: relative;
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-smooth);
}
.industry-card i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}
.industry-card h3 {
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}
.hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-warm);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: 1;
}
.industry-card:hover .hover-content {
  opacity: 1;
  transform: translateY(0);
}
.industry-card:hover h3,
.industry-card:hover i {
  opacity: 0;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: var(--bg-tertiary);
}
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 4rem;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}
.testimonial-card {
  display: none;
  text-align: center;
}
.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}
.stars {
  color: #ffd700;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.quote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-main);
}
.author h4 {
  margin-bottom: 0.2rem;
}
.author span {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.slider-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--text-main);
  transition: var(--transition-fast);
}
.slider-controls button:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ==========================================================================
   CONTACT CTA SECTION
   ========================================================================== */
.contact-cta-section {
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(230,29,76,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>');
  background-color: var(--bg-primary);
}

/* ==========================================================================
   FOOTER (Dark Theme for White Logo)
   ========================================================================== */
.footer {
  background: #0a0a0e;
  color: #ffffff;
  padding: 6rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer-bg-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 50vh;
  background: radial-gradient(
    ellipse at center,
    rgba(230, 29, 76, 0.2) 0%,
    rgba(10, 10, 14, 0) 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-logo {
  display: block;
  margin-bottom: 1.5rem;
}
.footer-about-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-links a:hover {
  background: var(--gradient-warm);
  border-color: transparent;
}
.footer-col-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}
.footer-links ul li {
  margin-bottom: 1rem;
}
.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-primary);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact i {
  color: var(--color-primary);
  margin-top: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(230, 29, 76, 0.3);
  cursor: none;
  transition: transform 0.3s;
}
.chat-toggle:hover {
  transform: scale(1.1);
}
.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--bg-secondary);
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: var(--transition-smooth);
  opacity: 0;
  pointer-events: none;
}
.chat-box.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}
.chat-header {
  background: var(--gradient-warm);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h4 {
  margin: 0;
  color: white;
}
.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
}
.chat-body {
  height: 250px;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  overflow-y: auto;
}
.chat-message.agent {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: 10px 10px 10px 0;
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}
.chat-input-area {
  display: flex;
  padding: 1rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
}
.chat-input-area input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
}
.chat-input-area button {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.fade-up {
  transform: translateY(50px);
}
.fade-down {
  transform: translateY(-50px);
}
.fade-left {
  transform: translateX(50px);
}
.fade-right {
  transform: translateX(-50px);
}
.scale-in {
  transform: scale(0.9);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   PAGE HEADER (Legal & Contact Pages)
   ========================================================================== */
.page-header-section {
  background: var(--color-dark);
  padding: 150px 0 80px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.page-header-section .section-title {
  color: white;
}
.breadcrumbs {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.breadcrumbs a {
  color: white;
  font-weight: 600;
}
.breadcrumbs i {
  font-size: 0.7rem;
}

/* ==========================================================================
   LEGAL PAGES CONTENT
   ========================================================================== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 4rem;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}
.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}
.legal-content strong {
  color: var(--text-main);
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info-card {
  background: var(--gradient-warm);
  color: white;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: var(--shadow-hover);
}
.contact-info-card h3 {
  color: white;
  margin-bottom: 1rem;
}
.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.info-item .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;
}
.info-item h4 {
  color: white;
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}
.info-item p,
.info-item a {
  color: rgba(255, 255, 255, 0.8);
}
.contact-form-card {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}
.form-group {
  position: relative;
  margin-bottom: 2rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-smooth);
}
.form-group label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  pointer-events: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--color-primary);
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--color-primary);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-container,
  .about-grid,
  .reports-grid,
  .calc-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 400px;
    margin-top: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease-in-out;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .nav-link {
    font-size: 1.5rem;
    color: var(--text-main) !important;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .calc-container,
  .legal-content,
  .contact-form-card,
  .contact-info-card {
    padding: 2rem;
  }
  .process-timeline {
    padding-left: 0;
  }
  .timeline-line {
    display: none;
  }
  .process-step {
    padding-left: 0;
    text-align: center;
  }
  .step-number {
    position: relative;
    left: 0;
    margin: 0 auto 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-contact li {
    justify-content: center;
  }
}
