/* ==========================================================================
   AWWARDS LEVEL CSS ARCHITECTURE - DIGITAL MARKETING AGENCY
   ========================================================================== */

/* --- 1. VARIABLES & TOKENS --- */
:root {
  /* Color Palette */
  --bg-base: #050507;
  --bg-surface: #0a0a0e;
  --bg-glass: rgba(20, 20, 28, 0.4);
  --bg-glass-hover: rgba(30, 30, 45, 0.6);

  --accent-primary: #00f3ff; /* Neon Cyan */
  --accent-secondary: #b026ff; /* Deep Purple */
  --accent-glow: rgba(0, 243, 255, 0.3);

  --text-primary: #ffffff;
  --text-secondary: #9494a0;
  --text-muted: #6b6b78;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 243, 255, 0.2);

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Layout */
  --container-w: 1400px;
  --container-sm: 800px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

/* --- 2. RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: initial; /* Handled by Lenis */
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--accent-primary);
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 3. TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-md);
}

.h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

/* --- 4. GLOBAL UI ELEMENTS & EFFECTS --- */

/* Custom Cursor */
@media (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }
  .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    transition: transform 0.1s;
  }
  .cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    transition:
      transform 0.2s ease-out,
      width 0.2s,
      height 0.2s,
      background 0.2s;
  }
  body:hover .cursor-dot {
    opacity: 1;
  }
  .cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    background: var(--accent-glow);
    border-color: var(--accent-primary);
  }
}

/* Background Noise & Grid */
.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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');
  opacity: 0.03;
  z-index: -2;
  pointer-events: none;
}
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 100px 100px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.preloader-content {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.preloader-logo {
  width: 150px;
  opacity: 0.8;
  filter: brightness(1) invert(1);
}
.loader-bar-wrap {
  width: 100%;
  height: 2px;
  background: var(--border-color);
  position: relative;
  overflow: hidden;
}
.loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}
.loader-text {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

/* Glass Panel Component */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  z-index: 1;
}
.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}
.btn-primary {
  color: #000;
  background: transparent;
}
.btn-primary .btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-primary), #fff);
  z-index: -1;
  transition: transform 0.4s ease;
}
.btn-primary:hover .btn-bg {
  transform: scale(1.05);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
.btn-text {
  position: relative;
  z-index: 2;
}

/* Badges */
.badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s infinite;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 5%;
}
.container-sm {
  max-width: var(--container-sm);
}
.align-center {
  text-align: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.align-end {
  align-items: flex-end;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}
.m-0 {
  margin: 0;
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.padding-top-xl {
  padding-top: var(--space-xl);
}
.padding-bottom-xl {
  padding-bottom: var(--space-xl);
}
.padding-bottom-sm {
  padding-bottom: var(--space-sm);
}
.padding-bottom-md {
  padding-bottom: var(--space-md);
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-w-md {
  max-width: 600px;
}
.overflow-hidden {
  overflow: hidden;
}

/* --- 5. HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
}
.site-header.scrolled {
  padding: 1rem 0;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo img {
  height: 50px;
  filter: brightness(1) invert(1);
}

.header-nav {
  display: none;
}
@media (min-width: 992px) {
  .header-nav {
    display: block;
  }
  .nav-links {
    display: flex;
    gap: 3rem;
  }
  .nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    overflow: hidden;
  }
  .nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    color: var(--accent-primary);
    transition: top 0.3s ease;
  }
  .nav-link:hover::before,
  .nav-link.active::before {
    top: 0;
  }
  .nav-link:hover,
  .nav-link.active {
    color: transparent;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-actions .btn-primary {
  display: none;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .header-actions .btn-primary {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger-menu {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 1001;
  position: relative;
}
@media (min-width: 992px) {
  .hamburger-menu {
    display: none;
  }
}
.hamburger-menu .line {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
  display: block;
}
.hamburger-menu.active .line-1 {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .line-2 {
  opacity: 0;
}
.hamburger-menu.active .line-3 {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 5%;
  clip-path: circle(0% at top right);
  transition: clip-path 0.6s var(--ease-out-expo);
}
.mobile-nav-overlay.active {
  clip-path: circle(150% at top right);
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}
.mobile-links a {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}
.mobile-contact p {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

/* --- 6. INDEX PAGE SPECIFIC --- */

/* Hero Section */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}
.shape-1 {
  top: -20%;
  right: -10%;
}
.shape-2 {
  bottom: -20%;
  left: -10%;
  background: radial-gradient(
    circle,
    rgba(176, 38, 255, 0.2) 0%,
    transparent 70%
  );
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}
.hero-desc {
  max-width: 500px;
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 3D Visuals in Hero */
.hero-visuals {
  position: relative;
  height: 400px;
  perspective: 1000px;
}
.abstract-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  animation: rotateOrb 20s linear infinite;
}
.orb-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 50%;
}
.ring-1 {
  transform: rotateX(60deg) rotateY(0deg);
}
.ring-2 {
  transform: rotateX(60deg) rotateY(60deg);
}
.ring-3 {
  transform: rotateX(60deg) rotateY(120deg);
}
.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 40px var(--accent-primary);
}
.floating-card {
  position: absolute;
  background: rgba(10, 10, 14, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}
.floating-card svg {
  color: var(--accent-primary);
}
.fc-data span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.fc-data strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.fc-1 {
  top: 10%;
  right: -20%;
  animation-delay: 0s;
}
.fc-2 {
  bottom: 10%;
  left: -20%;
  animation-delay: -3s;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}
.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
}
.wheel {
  width: 4px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}
.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Marquee */
.section-marquee {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(5, 5, 7, 0.5);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  padding: 0 2rem;
}
.marquee-separator {
  font-size: 1.5rem;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
}

/* About Section */
.section-about {
  padding: var(--space-xl) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--space-lg);
}
.stat-number {
  font-size: 3rem;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dots .r {
  background: #ff5f56;
}
.dots .y {
  background: #ffbd2e;
}
.dots .g {
  background: #27c93f;
}
.panel-header .title {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.code-block {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #a9b7c6;
}
.keyword {
  color: #cc7832;
}
.string {
  color: #6a8759;
}

/* Services Bento */
.section-services {
  padding: var(--space-xl) 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}
.bento-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.box-large {
  grid-column: span 12;
}
@media (min-width: 768px) {
  .box-large {
    grid-column: span 8;
  }
  .box-medium {
    grid-column: span 4;
  }
  .box-small {
    grid-column: span 6;
  }
}
@media (min-width: 992px) {
  .box-small {
    grid-column: span 4;
  }
}

.bento-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-size: cover;
  background-position: center;
}
.bento-item:hover .bento-bg {
  opacity: 0.15;
}
.bento-content {
  position: relative;
  z-index: 1;
}
.bento-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--accent-primary);
}
.bento-title {
  font-size: 1.5rem;
}
.bento-list {
  margin-top: 1rem;
}
.bento-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.bento-list li::before {
  content: "→";
  color: var(--accent-primary);
}

/* Industries */
.section-industries {
  padding: var(--space-xl) 0;
  background: #07070a;
}
.industry-wrapper {
  flex-direction: column;
  gap: 4rem;
}
@media (min-width: 992px) {
  .industry-wrapper {
    flex-direction: row;
  }
  .industry-text,
  .industry-display {
    width: 50%;
  }
}
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-md);
}
.tab-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-heading);
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--text-primary);
  color: #000;
}

.industry-display {
  position: relative;
  height: 350px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.display-ring {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, var(--border-glow) 0%, transparent 60%);
  animation: rotateOrb 15s linear infinite;
}
.display-content {
  display: none;
  text-align: center;
  position: relative;
  z-index: 1;
}
.display-content.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}
.ind-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Calculator */
.section-calculator {
  padding: var(--space-xl) 0;
}
.calc-header {
  margin-bottom: var(--space-md);
  text-align: center;
}
.calc-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .calc-body {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}
.range-group {
  margin-bottom: 2rem;
}
.range-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}
.range-group label span {
  color: var(--accent-primary);
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 2;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--accent-primary);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--border-color);
  border-radius: 2px;
}
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.result-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.result-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.result-value {
  font-size: 3rem;
}

/* Dashboard Mockup */
.section-dashboard {
  padding: var(--space-xl) 0;
}
.dashboard-mockup {
  background: #0d0d12;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  height: 500px;
  margin-top: var(--space-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.dash-sidebar {
  width: 200px;
  background: #0a0a0e;
  border-right: 1px solid var(--border-color);
  padding: 1.5rem;
  display: none;
}
@media (min-width: 768px) {
  .dash-sidebar {
    display: block;
  }
}
.dash-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.dash-menu-item {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.dash-menu-item.active {
  background: rgba(0, 243, 255, 0.1);
  color: var(--accent-primary);
}
.dash-main {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.dash-topbar {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}
.dash-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.dash-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.dash-metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
}
.dash-metric-card span:first-child {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.dash-metric-card strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-heading);
  line-height: 1;
}
.dash-metric-card .pos {
  color: #27c93f;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: inline-block;
}
.dash-chart {
  flex: 1;
  display: flex;
  gap: 1rem;
  position: relative;
  margin-top: 1rem;
}
.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.7rem;
  padding-bottom: 20px;
}
.chart-bars {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1px;
}
.chart-bar {
  width: 8%;
  background: linear-gradient(
    to top,
    rgba(0, 243, 255, 0.1),
    var(--accent-primary)
  );
  border-radius: 4px 4px 0 0;
  height: 0; /* Animated in JS */
  transition: height 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Timeline */
.section-process {
  padding: var(--space-xl) 0;
  background: #07070a;
}
.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--border-color);
}
@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 60px;
}
@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
    text-align: right;
  }
  .timeline-item.right {
    margin-left: 50%;
    padding-left: 40px;
    padding-right: 0;
    text-align: left;
  }
}
.timeline-dot {
  position: absolute;
  left: 10px;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-base);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--accent-primary);
}
@media (min-width: 768px) {
  .timeline-item .timeline-dot {
    left: auto;
    right: -12px;
  }
  .timeline-item.right .timeline-dot {
    left: -12px;
    right: auto;
  }
}
.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.section-testimonials {
  padding: var(--space-xl) 0;
}
.slider-controls button {
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
.slider-controls button:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
.testimonial-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s var(--ease-out-expo);
}
.testimonial-card {
  min-width: 350px;
  flex: 0 0 calc(33.333% - 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }
}
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}
.quote-icon {
  font-family: serif;
  font-size: 4rem;
  color: var(--accent-primary);
  line-height: 0.5;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.test-text {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2rem;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #333;
}
.author-info h4 {
  margin: 0;
  font-size: 1rem;
}
.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA Block */
.section-cta {
  padding: 0 0 var(--space-xl) 0;
}
.cta-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  background: linear-gradient(
    145deg,
    rgba(20, 20, 28, 0.8),
    rgba(0, 243, 255, 0.05)
  );
}
@media (min-width: 768px) {
  .cta-box {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 4rem;
  }
}

/* --- 7. INTERNAL PAGES (Legal & Contact) --- */
.page-internal {
  padding-top: 100px;
}
.page-header {
  border-bottom: 1px solid var(--border-color);
}
.page-title {
  font-size: clamp(3rem, 6vw, 5rem);
}
.page-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.legal-panel {
  background: rgba(10, 10, 14, 0.5);
}
.content-block h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  color: #fff;
}
.content-block p {
  margin-bottom: 1.2rem;
}
.content-block ul {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  list-style: disc;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-grid {
  display: grid;
  gap: 4rem;
}
@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}
.contact-list-large .c-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.c-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-details h4 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.custom-form {
  padding: 3rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .form-row {
    flex-direction: row;
  }
  .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
  }
}
.form-group {
  position: relative;
  margin-bottom: 2rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-muted);
  padding: 1rem 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  color: var(--text-muted);
}
.form-group select:focus,
.form-group select:valid {
  color: #fff;
}
.form-group label {
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--text-muted);
  transition: 0.3s ease;
  pointer-events: none;
}
.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(--accent-primary);
}
.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width 0.4s ease;
}
.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line,
.form-group select:focus ~ .input-line {
  width: 100%;
}

/* --- 8. FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #020203;
  padding-top: 10px;
}
.footer-top {
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer-logo img {
  height: 50px;
  margin-bottom: 1.5rem;
  filter: brightness(1) invert(1);
}
.footer-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 400px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.social-link:hover {
  background: var(--text-primary);
  color: #000;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer-nav li {
  margin-bottom: 0.8rem;
}
.footer-nav a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}
.contact-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.contact-list svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.wrap-mobile {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .wrap-mobile {
    flex-direction: row;
    text-align: left;
  }
}
.legal-links {
  display: flex;
  gap: 1.5rem;
}
.legal-links a:hover {
  color: #fff;
}

/* --- 9. ANIMATIONS (KEYFRAMES) --- */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
  }
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes rotateOrb {
  0% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
  }
}
@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} /* Needs duplicating content to be seamless */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes for GSAP */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}
.fade-up-text {
  opacity: 0;
  transform: translateY(20px);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
