/* =========================================================================
   CORE VARIABLES & RESET
   ========================================================================= */
:root {
  --bg-main: #060608;
  --bg-surface: #101015;
  --bg-glass: rgba(16, 16, 21, 0.4);

  --primary: #4361ee;
  --secondary: #7209b7;
  --accent: #f72585;

  --text-main: #ffffff;
  --text-muted: #8a8a93;

  --font-head: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow-neon: 0 0 20px rgba(67, 97, 238, 0.3);

  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none; /* Custom Cursor */
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: none;
  border: none;
  background: none;
  font-family: inherit;
}

/* =========================================================================
   CUSTOM CURSOR & NOISE OVERLAY
   ========================================================================= */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    background 0.3s;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s linear,
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}

.cursor.hover {
  width: 15px;
  height: 15px;
  background: var(--accent);
}
.cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.2);
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* =========================================================================
   LAYOUT & TYPOGRAPHY
   ========================================================================= */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}
.section-padding {
  padding: 120px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-main);
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(15px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-glass);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}
.logo, .footer-logo {
  height: 60px;
  filter:  invert(1);
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-list {
  display: flex;
  gap: 40px;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1001;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.btn-primary:hover {
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}
.btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-main);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 40px;
}
.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition:
    width 0.6s ease,
    height 0.6s ease;
}
.btn-primary:hover .btn-glow {
  width: 300px;
  height: 300px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}
.mobile-toggle .bar {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.active .bar:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-main);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-menu ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-nav-menu a {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  transition: 0.3s;
}
.mobile-nav-menu a:hover {
  color: var(--primary);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  right: -10%;
  animation: float 10s infinite alternate;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -10%;
  left: -10%;
  animation: float 12s infinite alternate-reverse;
}
.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 40%;
  left: 30%;
  animation: pulse 8s infinite alternate;
}

@keyframes float {
  100% {
    transform: translate(50px, 50px) rotate(10deg);
  }
}
@keyframes pulse {
  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(67, 97, 238, 0.1);
  border: 1px solid rgba(67, 97, 238, 0.3);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 4.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-btns {
  display: flex;
  gap: 20px;
}

.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 200px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-glass);
  padding-bottom: 10px;
}
.chart-bar {
  width: 40px;
  background: var(--border-glass);
  border-radius: 6px 6px 0 0;
  transition: 1s;
}
.chart-bar:hover {
  background: var(--accent);
}
.glass-card-info h4 {
  font-size: 2.5rem;
  color: var(--primary);
}

/* =========================================================================
   MARQUEE SECTION
   ========================================================================= */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
  background: var(--bg-surface);
}
.marquee {
  display: flex;
  white-space: nowrap;
  gap: 40px;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scroll-left 20s linear infinite;
}
.marquee-content span {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-muted);
}
.marquee-content i {
  color: var(--primary);
  font-size: 1.2rem;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  background: url("https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80")
    center/cover;
  border-radius: 30px;
}
.abstract-shape {
  position: absolute;
  inset: -20px;
  border: 2px dashed var(--primary);
  border-radius: 35px;
  z-index: -1;
  animation: spin 20s linear infinite;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
.over-image {
  position: absolute;
  bottom: -30px;
  right: -30px;
  text-align: center;
  padding: 30px;
}
.over-image h2 {
  font-size: 3rem;
  color: var(--accent);
}
.section-title {
  font-size: 3rem;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.feature-list i {
  color: var(--primary);
  background: rgba(67, 97, 238, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #fff;
}
.service-link i {
  transition: 0.3s;
}
.service-card:hover .service-link i {
  transform: translateX(5px);
  color: var(--accent);
}
.card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: var(--primary);
  filter: blur(50px);
  opacity: 0;
  transition: 0.5s;
}
.service-card:hover .card-glow {
  opacity: 0.5;
}

/* =========================================================================
   REPORTS SECTION
   ========================================================================= */
.reports {
  background: #0a0a0c;
}
.reports-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.dashboard-mockup {
  padding: 30px;
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 15px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}
.dash-title {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.stat-row {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.stat-label {
  width: 100%;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.progress-bar {
  flex-grow: 1;
  height: 8px;
  background: var(--border-glass);
  border-radius: 4px;
  overflow: hidden;
  margin-right: 20px;
}
.progress-fill {
  height: 100%;
  background: var(--primary);
  width: 0;
  transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  width: 80px;
  text-align: right;
}

/* =========================================================================
   INDUSTRIES ACCORDION
   ========================================================================= */
.industry-accordion {
  max-width: 800px;
  margin: 50px auto 0;
}
.accordion-item {
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 10px;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: 0.3s;
}
.accordion-header h3 {
  font-size: 1.5rem;
  transition: 0.3s;
}
.accordion-header:hover h3 {
  color: var(--primary);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease-out;
}
.accordion-content p {
  padding-bottom: 20px;
  color: var(--text-muted);
}
.accordion-item.active .accordion-content {
  max-height: 200px;
}
.accordion-item.active .accordion-header i {
  transform: rotate(45deg);
  color: var(--accent);
}

/* =========================================================================
   CALCULATOR SECTION
   ========================================================================= */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.input-group {
  margin-bottom: 30px;
}
.input-group label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
}
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: var(--border-glass);
  height: 6px;
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary);
}
.range-val {
  display: block;
  text-align: right;
  margin-top: 10px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
}
.calc-results {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
}
.result-box {
  flex: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  text-align: center;
}
.result-box.highlight {
  background: rgba(67, 97, 238, 0.1);
  border: 1px solid rgba(67, 97, 238, 0.3);
}
.result-box span {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.result-box h3 {
  font-size: 2rem;
  margin-top: 10px;
  color: var(--primary);
}
.result-box.highlight h3 {
  color: var(--accent);
}

/* =========================================================================
   TESTIMONIALS SECTION
   ========================================================================= */
.testi-slider {
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}
.testi-slider::-webkit-scrollbar {
  display: none;
}
.testi-track {
  display: flex;
  gap: 30px;
  width: max-content;
}
.testi-card {
  width: 400px;
  padding: 40px;
  white-space: normal;
}
.quote-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.5;
}
.testi-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.8;
}
.client-info h4 {
  font-size: 1.2rem;
}
.client-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================================================
   CTA & FOOTER
   ========================================================================= */
.cta-box {
  padding: 80px 40px;
  border-color: rgba(247, 37, 133, 0.3);
}
.footer {
  border-top: 1px solid var(--border-glass);
  background: #040405;
  padding-top: 80px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-glass);
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border: 1px solid var(--border-glass);
}
.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-5px);
}
.footer-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-muted);
  transition: 0.3s;
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.contact-list i {
  color: var(--primary);
  margin-top: 5px;
}
.footer-bottom {
  text-align: center;
  padding: 25px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================================================
   CHAT WIDGET
   ========================================================================= */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-neon);
  transition: 0.3s;
}
.chat-toggle:hover {
  transform: scale(1.1);
}
.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  border-radius: 16px;
  transform: scale(0);
  transform-origin: bottom right;
  opacity: 0;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-window.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}
.chat-header {
  background: rgba(67, 97, 238, 0.2);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}
.chat-body {
  padding: 20px;
  height: 250px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.2);
}
.chat-msg.bot {
  background: var(--bg-surface);
  padding: 10px 15px;
  border-radius: 12px 12px 12px 0;
  font-size: 0.9rem;
  display: inline-block;
  border: 1px solid var(--border-glass);
}
.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid var(--border-glass);
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
}
.chat-input button {
  color: var(--primary);
  cursor: pointer;
}

/* =========================================================================
   PAGES (CONTACT & LEGAL)
   ========================================================================= */
.page-header {
  padding: 150px 0 60px;
}
.page-title {
  font-size: 4rem;
  margin-bottom: 20px;
}
.page-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}
.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.contact-methods {
  margin-top: 40px;
}
.method-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.method-icon {
  width: 50px;
  height: 50px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}
.method-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.method-text span,
.method-text a {
  color: var(--text-muted);
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.input-field {
  position: relative;
}
.input-field input,
.input-field textarea,
.input-field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  padding: 15px 20px;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}
.input-field input:focus,
.input-field textarea:focus {
  border-color: var(--primary);
  box-shadow: inset 0 0 10px rgba(67, 97, 238, 0.1);
}
.input-field label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-muted);
  transition: 0.3s;
  pointer-events: none;
}
.input-field input:focus ~ label,
.input-field input:not(:placeholder-shown) ~ label,
.input-field textarea:focus ~ label,
.input-field textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  background: var(--bg-surface);
  padding: 0 5px;
  color: var(--primary);
}

/* Legal Pages */
.legal-page .legal-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
}
.legal-box h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary);
}
.legal-box p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.8;
}
.legal-box ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}
.legal-box li {
  margin-bottom: 10px;
}

/* =========================================================================
   ANIMATIONS & REVEALS
   ========================================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(50px);
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 992px) {
  .hero-content,
  .about-grid,
  .reports-layout,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .hero {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .nav-list {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    cursor: none;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .legal-page .legal-box {
    padding: 30px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testi-card {
    width: 300px;
    padding: 25px;
  }
}
