@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Syne:wght@400;600;700;800&display=swap");

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
  --bg-dark: #050505;
  --bg-darker: #000000;
  --bg-light: #111111;
  --text-main: #f5f5f5;
  --text-muted: #999999;
  --accent-1: #ff3366; /* Neon Pink */
  --accent-2: #00ffcc; /* Cyan */
  --accent-3: #7000ff; /* Deep Purple */

  --font-heading: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;

  --container-width: 1400px;
  --pad-x: clamp(1.5rem, 5vw, 4rem);
  --pad-y: clamp(4rem, 10vw, 8rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s var(--ease-out-expo);
  --transition-fast: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-1);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 700;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ==========================================================================
   2. 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(--accent-2);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 51, 102, 0.1);
  border-color: var(--accent-1);
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   3. PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    opacity 1s ease,
    visibility 1s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 1.5s infinite alternate;
}

.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-2);
  animation: loadBar 2s ease-in-out forwards;
}

@keyframes loadBar {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* ==========================================================================
   4. HEADER & NAVIGATION (STRICT SITE-WIDE CONSISTENCY)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-fast);
  background: transparent;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 80px;
  filter: invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.nav-menu {
  display: flex;
  gap: 3vw;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-2);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Magnetic Button Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: none;
  background: transparent;
  color: var(--text-main);
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-3));
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-3), var(--accent-2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

/* Mobile Menu */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.6s var(--ease-out-expo);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 2rem;
    font-family: var(--font-heading);
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .btn-primary.header-btn {
    display: none;
  }
}

/* ==========================================================================
   5. REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-50px);
}
.reveal-right {
  transform: translateX(50px);
}
.reveal-scale {
  transform: scale(0.9);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

/* Ambient Background Glow */
.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(112, 0, 255, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
  filter: blur(50px);
}
.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    rgba(255, 51, 102, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
  filter: blur(50px);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.text-stroke {
  -webkit-text-stroke: 1px var(--text-main);
  color: transparent;
}

.hero-content p {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline::before,
.btn-outline::after {
  display: none;
}
.btn-outline:hover {
  border-color: var(--text-main);
  background: var(--text-main);
  color: var(--bg-dark);
}

/* 3D CSS Element */
.hero-visual {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cube-wrapper {
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0, 255, 204, 0.3);
  background: rgba(112, 0, 255, 0.05);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 50px rgba(0, 255, 204, 0.1);
}

.cube-face:nth-child(1) {
  transform: translateZ(150px);
}
.cube-face:nth-child(2) {
  transform: rotateY(180deg) translateZ(150px);
}
.cube-face:nth-child(3) {
  transform: rotateY(90deg) translateZ(150px);
}
.cube-face:nth-child(4) {
  transform: rotateY(-90deg) translateZ(150px);
}
.cube-face:nth-child(5) {
  transform: rotateX(90deg) translateZ(150px);
}
.cube-face:nth-child(6) {
  transform: rotateX(-90deg) translateZ(150px);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0) rotateY(0) rotateZ(0);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-visual {
    display: none; /* Hide complex 3D on mobile for perf */
  }
}

/* ==========================================================================
   7. MARQUEE SECTION
   ========================================================================== */
.marquee-section {
  padding: 30px 0;
  background: var(--accent-1);
  transform: rotate(-2deg) scale(1.05);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg-dark);
  text-transform: uppercase;
  padding: 0 40px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   8. ABOUT / TEXT MASK
   ========================================================================== */
.about-section {
  padding: var(--pad-y) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.stat-item h4 {
  font-size: 3rem;
  color: var(--accent-2);
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   9. INTERACTIVE SERVICES
   ========================================================================== */
.services-section {
  padding: var(--pad-y) 0;
  background: var(--bg-light);
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-subtitle {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: var(--transition-fast);
}

.service-item:hover {
  padding-left: 20px;
  padding-right: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.service-name {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  z-index: 2;
}

.service-item:hover .service-name {
  color: var(--text-main);
}

.service-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  transform: rotate(-45deg);
}

.service-item:hover .service-arrow {
  background: var(--accent-1);
  border-color: var(--accent-1);
  transform: rotate(0deg);
}

/* Hover Image Reveal Logic */
.service-img-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 400px;
  height: 300px;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition:
    opacity 0.4s ease,
    transform 0.4s var(--ease-out-expo);
  border-radius: 10px;
}

.service-item:hover ~ .service-img-preview,
.service-item:hover .service-img-preview-fallback {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   10. INDUSTRY CARDS
   ========================================================================== */
.industry-section {
  padding: var(--pad-y) 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.ind-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 20px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.ind-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(0, 255, 204, 0.1));
  opacity: 0;
  transition: var(--transition-fast);
}

.ind-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.ind-card:hover::before {
  opacity: 1;
}

.ind-icon {
  font-size: 2.5rem;
  color: var(--accent-2);
  margin-bottom: 20px;
}

.ind-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.ind-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   11. CAMPAIGN REPORT / LIVE DATA
   ========================================================================== */
.report-section {
  padding: var(--pad-y) 0;
  background: var(--bg-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-ui {
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.data-box {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.data-box:last-child {
  border: none;
}

.data-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.data-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-1);
}

.data-val.green {
  color: var(--accent-2);
}

@media (max-width: 992px) {
  .dashboard-ui {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .data-box:nth-child(2) {
    border-right: none;
  }
  .data-box:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .data-box:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ==========================================================================
   12. ROI CALCULATOR
   ========================================================================== */
.calc-section {
  padding: var(--pad-y) 0;
  position: relative;
}

.calc-wrapper {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.calc-group {
  margin-bottom: 40px;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

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: var(--accent-2);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 15px var(--accent-2);
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.calc-result {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-result p {
  color: var(--text-muted);
}
.calc-result h3 {
  font-size: 4rem;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   13. TESTIMONIALS (CUSTOM SLIDER)
   ========================================================================== */
.testi-section {
  padding: var(--pad-y) 0;
  overflow: hidden;
}

.testi-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollTesti 30s linear infinite;
}

.testi-card {
  width: 450px;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testi-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--text-main);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

@keyframes scrollTesti {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .testi-card {
    width: 300px;
    padding: 30px;
  }
}

/* ==========================================================================
   14. CONTACT CTA SECTION
   ========================================================================== */
.cta-section {
  padding: var(--pad-y) 0;
  text-align: center;
  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="rgba(255,255,255,0.1)"/></svg>');
}

.cta-title {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 40px;
  line-height: 1;
}

/* ==========================================================================
   15. FOOTER (STRICT SITE-WIDE CONSISTENCY)
   ========================================================================== */
.footer {
  background: var(--bg-darker);
  padding: 100px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 80px;
}

.footer-logo img {
  height: 80px;
  filter: invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--text-main);
}

.footer-links li {
  margin-bottom: 15px;
}
.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--accent-2);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.footer-contact svg {
  fill: var(--accent-1);
  width: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a:hover {
  color: var(--text-main);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================================================
   16. INNER PAGES (CONTACT & LEGAL)
   ========================================================================== */
.page-hero {
  padding: 180px 0 80px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(112, 0, 255, 0.1) 0%,
    var(--bg-dark) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 20px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding: var(--pad-y) var(--pad-x);
}

.contact-info-block h3 {
  margin-bottom: 30px;
  font-size: 2rem;
}
.contact-detail {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.contact-detail h4 {
  color: var(--accent-2);
  margin-bottom: 10px;
}

.custom-form {
  background: rgba(255, 255, 255, 0.02);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--accent-1);
}

.form-label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.form-control:focus ~ .form-label,
.form-control:valid ~ .form-label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--accent-1);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .custom-form {
    padding: 30px;
  }
}

/* Legal Pages Styling */
.legal-content-section {
  padding: var(--pad-y) 0;
}

.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  padding: 60px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-wrapper h2 {
  font-size: 2rem;
  margin: 50px 0 20px;
  color: var(--accent-2);
}

.legal-wrapper h2:first-child {
  margin-top: 0;
}

.legal-wrapper p {
  margin-bottom: 20px;
  color: #cccccc;
  font-size: 1.05rem;
  line-height: 1.8;
}

.legal-wrapper ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style-type: disc;
  color: #cccccc;
}
.legal-wrapper li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .legal-wrapper {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   17. LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 51, 102, 0.3);
  z-index: 999;
  transition: transform 0.3s ease;
}

.chat-widget:hover {
  transform: scale(1.1);
}
.chat-widget svg {
  fill: #fff;
  width: 30px;
}
