/* ==========================================================================
   DOMAINDIGITAL - AWWWARDS LEVEL STYLESHEET
   Pure CSS - No Frameworks
   ========================================================================== */

/* --- 01. CSS VARIABLES & RESET --- */
:root {
  /* Color Palette */
  --bg-dark: #070709;
  --bg-surface: #121217;
  --bg-glass: rgba(18, 18, 23, 0.6);
  --bg-glass-light: rgba(255, 255, 255, 0.03);

  --text-main: #f4f4f5;
  --text-muted: #9ca3af;
  --text-dark: #070709;

  --accent-1: #00f0ff; /* Cyber Cyan */
  --accent-2: #7000ff; /* Deep Purple */
  --accent-3: #ff0055; /* Neon Pink */

  --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-text: linear-gradient(
    to right,
    var(--accent-1),
    var(--accent-2),
    var(--accent-3)
  );

  /* Typography */
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;

  /* Metrics */
  --container-w: 1400px;
  --header-h: 90px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Timings */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Handled by JS for smoothness */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* --- 02. CUSTOM CURSOR --- */
body {
  cursor: none;
}
a,
button,
input,
textarea,
select,
.magnetic-element {
  cursor: none;
}

.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: 6px;
  height: 6px;
  background-color: var(--accent-1);
  transition: transform 0.1s;
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-1);
}

/* --- 03. TYPOGRAPHY & UTILITIES --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 5%;
}

.center {
  text-align: center;
}
.w-full {
  width: 100%;
}

.section-padding {
  padding: 8rem 0;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  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');
}

/* Orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-2);
  top: -200px;
  left: -200px;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-1);
  bottom: 10%;
  right: -100px;
}

/* --- 04. BUTTONS --- */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  background: var(--text-main);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  z-index: 1;
}

.primary-btn .btn-text {
  position: relative;
  z-index: 2;
}

/* Updated Pseudo-element for perfect hover fill on any size */
.primary-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%; /* Button se thoda bada */
  aspect-ratio: 1 / 1; /* Hamesha perfect circle banayega */
  border-radius: 50%;
  background: var(--gradient-primary);
  transform: translate(-50%, 150%); /* Shuru mein button ke neeche rahega */
  transition: transform 0.6s var(--ease-out-expo);
  z-index: 0;
}

.primary-btn:hover {
  color: var(--text-main);
}

.primary-btn:hover::before {
  transform: translate(
    -50%,
    -50%
  ); /* Hover par center mein aakar pura fill karega */
}

/* Manual circle hide */
.primary-btn .btn-circle {
  display: none;
}

.huge-btn {
  font-size: 1.5rem;
  padding: 1.5rem 4rem;
}

/* FIX: Full-width form buttons ko apni jagah se hilne (jump hone) se rokne ke liye */
.w-full.magnetic-element {
  transform: none !important;
}

/* --- 05. UNIVERSAL HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: var(--transition-fast);
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-glass-light);
  height: 70px;
}

.header-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: block;
  height: 30px; /* Adjust based on logo proportions */
}
.logo-img {
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Forces logo to white if it's dark */
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .nav-list {
    display: flex;
    gap: 2.5rem;
  }

  .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-block;
  }

  .nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--accent-1);
    transition: top 0.3s var(--ease-out-expo);
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    top: 0;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-actions .cta-button {
  display: none;
}
@media (min-width: 768px) {
  .header-actions .cta-button {
    display: inline-flex;
  }
}

.menu-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-glass-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle .line {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: var(--transition-fast);
}
.menu-toggle .line-2 {
  width: 14px;
  align-self: flex-end;
  margin-right: 15px;
}

.menu-toggle.active .line-1 {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .line-2 {
  opacity: 0;
}
.menu-toggle.active .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 999;
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.8s var(--ease-out-expo);
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.mobile-menu-overlay.active {
  clip-path: circle(150% at 100% 0%);
}

.mobile-nav-list li {
  margin-bottom: 2rem;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.4s;
}
.mobile-menu-overlay.active .mobile-nav-list li {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(1) {
  transition-delay: 0.2s;
}
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(2) {
  transition-delay: 0.3s;
}
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(3) {
  transition-delay: 0.4s;
}
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(4) {
  transition-delay: 0.5s;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-main);
}
.mobile-nav-link:hover {
  color: var(--accent-1);
}

.mobile-contact-info {
  margin-top: 4rem;
  color: var(--text-muted);
  opacity: 0;
}
.mobile-menu-overlay.active .mobile-contact-info {
  opacity: 1;
  transition: 1s 0.6s;
}

/* --- 06. HERO SECTION --- */
.hero-section {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

.line-wrap {
  display: block;
  overflow: hidden;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: 2rem;
  line-height: 1;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 3rem;
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
  transition: var(--transition-fast);
}
.scroll-btn:hover {
  border-color: var(--accent-1);
  gap: 15px;
}

/* Hero 3D Abstract Visual */
.hero-visual {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

.face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.front {
  transform: translateZ(100px);
}
.back {
  transform: rotateY(180deg) translateZ(100px);
}
.right {
  transform: rotateY(90deg) translateZ(100px);
}
.left {
  transform: rotateY(-90deg) translateZ(100px);
}
.top {
  transform: rotateX(90deg) translateZ(100px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/* --- 07. MARQUEE --- */
.marquee-section {
  padding: 3rem 0;
  background: var(--accent-1);
  color: var(--bg-dark);
  transform: rotate(-2deg) scale(1.05);
  margin: 4rem 0;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  width: 100%;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marquee-content .star {
  font-size: 1.5rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- 08. ABOUT & STATS --- */
.about-section {
  padding: 8rem 0;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.large-text {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-1);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}

/* --- 09. SERVICES 3D CARDS --- */
.services-section {
  padding: 6rem 0;
  position: relative;
}
.sub-title {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-1);
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  perspective: 1000px;
}

.services-grid > .service-card {
  min-width: 0;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.1s;
  transform-style: preserve-3d;
  overflow: hidden;
  min-width: 0;
}

.card-inner {
  transform: translateZ(30px);
  min-width: 0;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  margin-bottom: 2rem;
}

.card-icon svg {
  width: 30px;
  height: 30px;
}
.service-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  max-width: 100%;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.service-features {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.service-features li::before {
  content: "→";
  color: var(--accent-2);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: var(--radius-lg);
}
.service-card:hover .card-glow {
  opacity: 1;
}

/* --- 10. CALCULATOR UI --- */
.calculator-section {
  padding: 8rem 0;
  background: #0c0c0f;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.input-group {
  margin-bottom: 2rem;
}
.input-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.input-group label span {
  color: var(--accent-1);
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--accent-1);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--accent-1);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.calc-results {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.result-box h4 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.result-value {
  font-size: 3.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}

/* --- 11. DASHBOARD MOCKUP --- */
.reports-section {
  padding: 6rem 0;
}
.dashboard-mockup {
  max-width: 900px;
  margin: 4rem auto 0;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.dash-header {
  background: #1a1a1f;
  padding: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dots {
  display: flex;
  gap: 6px;
  margin-right: 20px;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
.dots span:nth-child(1) {
  background: #ff5f56;
}
.dots span:nth-child(2) {
  background: #ffbd2e;
}
.dots span:nth-child(3) {
  background: #27c93f;
}
.dash-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dash-body {
  padding: 2rem;
  gap: 2rem;
}
.widget-title {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #ccc;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.bar-row .label {
  width: 60px;
  color: #888;
}
.bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--accent-1);
  width: 0;
  transition: width 1.5s ease-out;
}
.dash-body:hover .bar-fill {
  width: var(--w);
} /* Trigger animation on hover for demo or via JS */

.line-chart-css svg {
  width: 100%;
  height: 150px;
}
.chart-area {
  fill: rgba(112, 0, 255, 0.1);
}
.chart-line {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 3;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 3s forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* --- 12. INDUSTRY ACCORDION --- */
.industry-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  display: flex;
  justify-content: space-between;
  cursor: none;
  transition: color 0.3s;
}
.accordion-header:hover {
  color: var(--accent-1);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  color: var(--text-muted);
}
.accordion-item.active .accordion-content {
  max-height: 200px;
  padding-bottom: 2rem;
}
.accordion-item.active .accordion-header span {
  transform: rotate(45deg);
  display: inline-block;
  transition: 0.3s;
}

/* --- 13. TESTIMONIALS --- */
.testimonials-section {
  padding: 8rem 0;
  overflow: hidden;
}
.testimonial-slider {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonial-slider::-webkit-scrollbar {
  display: none;
}
.test-card {
  min-width: 400px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--radius-md);
  scroll-snap-align: start;
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
.test-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.test-author h4 {
  font-size: 1.1rem;
}
.test-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- 14. MASSIVE CTA --- */
.cta-massive-section {
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}
.massive-text {
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.cta-massive-section p {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* --- 15. FORMS & CONTACT --- */
.inline-contact-section {
  padding: 0 0 8rem 0;
}
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.input-wrap {
  position: relative;
}
.input-wrap input,
.input-wrap textarea,
.input-wrap select {
  width: 100%;
  padding: 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  background: transparent;
  color: #fff;
}
.input-wrap label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  pointer-events: none;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-1);
  transition: 0.4s;
}
.input-wrap input:focus,
.input-wrap textarea:focus,
.input-wrap select:focus {
  border-bottom-color: transparent;
}
.input-wrap input:focus ~ .input-line,
.input-wrap input:valid ~ .input-line,
.input-wrap textarea:focus ~ .input-line,
.input-wrap textarea:valid ~ .input-line {
  width: 100%;
}
.input-wrap input:focus ~ label,
.input-wrap input:valid ~ label,
.input-wrap textarea:focus ~ label,
.input-wrap textarea:valid ~ label,
.input-wrap label.active {
  top: -15px;
  font-size: 0.8rem;
  color: var(--accent-1);
}
select {
  appearance: none;
}
option {
  background: var(--bg-dark);
}
.mt-4 {
  margin-top: 2rem;
}

/* Page Specific: Contact Page Layout */
.page-header {
  padding: 12rem 0 4rem;
  position: relative;
}
.narrow-header {
  padding: 10rem 0 2rem;
}
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-details-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  flex-shrink: 0;
}
.icon-wrap svg {
  width: 20px;
  height: 20px;
}
.detail-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.detail-content p,
.detail-content a {
  color: var(--text-muted);
  transition: 0.3s;
}
.detail-content a:hover {
  color: var(--accent-1);
}

/* --- 16. LEGAL PAGES --- */
.legal-page .page-header {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.document-wrapper {
  padding: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
  color: #d1d5db;
}
.document-wrapper h2 {
  font-size: 2rem;
  color: #fff;
  margin: 3rem 0 1.5rem;
  font-family: var(--font-display);
}
.document-wrapper p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.document-wrapper strong {
  color: var(--accent-1);
  font-weight: 600;
}

/* --- 17. UNIVERSAL FOOTER --- */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 6rem;
  position: relative;
  z-index: 10;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand .logo-img {
  height: 40px;
  margin-bottom: 1.5rem;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links ul li {
  margin-bottom: 1rem;
}
.hover-link {
  color: var(--text-muted);
  transition: 0.3s;
  position: relative;
  display: inline-block;
}
.hover-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-1);
  transition: 0.3s;
}
.hover-link:hover {
  color: #fff;
}
.hover-link:hover::after {
  width: 100%;
}
.contact-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 1rem;
  color: var(--text-muted);
  align-items: flex-start;
}
.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-1);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.social-links {
  display: flex;
  gap: 1.5rem;
}
.social-links a {
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.3s;
}
.social-links a:hover {
  color: var(--accent-1);
}

/* --- 18. ANIMATIONS (Vanilla Observers) --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s var(--ease-out-expo);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: 1s var(--ease-out-expo);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: 1s var(--ease-out-expo);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: 1s var(--ease-out-expo);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

.reveal-text {
  display: inline-block;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transform: translateY(100%);
  transition:
    clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1),
    transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.reveal-text.is-visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateY(0);
}
.line-wrap:nth-child(2) .reveal-text {
  transition-delay: 0.1s;
}
.line-wrap:nth-child(3) .reveal-text {
  transition-delay: 0.2s;
}

/* Chat Widget */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(112, 0, 255, 0.4);
  transition: transform 0.3s;
}
.live-chat-widget:hover {
  transform: scale(1.1) translateY(-5px);
}
.chat-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* --- 19. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
  html {
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 992px) {
  .layout-grid,
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }
  .document-wrapper {
    padding: 2rem;
  }
}
@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
  .marquee-content {
    font-size: 1.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .input-wrap {
    margin-bottom: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .test-card {
    min-width: 300px;
    padding: 2rem;
  }
}
@media (hover: none) {
  /* Disable custom cursor on touch devices */
  body,
  a,
  button,
  input,
  textarea,
  select,
  .magnetic-element {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  .accordion-header {
    cursor: pointer;
  }
}
