/* ==========================================================================
   Awwwards Quality Design System - Kaizen Entertainment
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #050505;
  --bg-darker: #020202;
  --bg-surface: rgba(20, 20, 20, 0.7);
  --bg-glass: rgba(25, 25, 25, 0.4);

  --accent: #ccff00; /* Neon Green/Yellow */
  --accent-hover: #b3e600;
  --accent-secondary: #7b2cbf; /* Deep Purple */

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;

  --border-color: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-display: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --container-w: 1300px;
  --container-sm: 900px;
  --section-pad: 120px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --trans-fast: 0.3s var(--ease-out-expo);
  --trans-slow: 0.8s var(--ease-out-expo);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* Hide default cursor for custom one */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.1;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 5%;
}
.container-sm {
  max-width: var(--container-sm);
}
.text-center {
  text-align: center;
}
.pt-150 {
  padding-top: 150px;
}
.pt-120 {
  padding-top: var(--section-pad);
}
.pb-120 {
  padding-bottom: var(--section-pad);
}
.pb-80 {
  padding-bottom: 80px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-40 {
  margin-top: 40px;
}
.w-100 {
  width: 100%;
}

.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.align-center {
  align-items: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ==========================================================================
   Custom Cursor & Noise
   ========================================================================== */
.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);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(204, 255, 0, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
.cursor-outline.hover-active {
  width: 60px;
  height: 60px;
  background-color: rgba(204, 255, 0, 0.1);
  border-color: transparent;
}

.noise-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background: url('data:image/svg+xml;utf8,%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');
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: var(--trans-fast);
  border: none;
  outline: none;
}
.btn-text {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-in-out);
  z-index: 1;
}
.btn-primary:hover::before {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-in-out);
  z-index: 1;
}
.btn-outline:hover .btn-hover-bg {
  transform: scaleY(1);
  transform-origin: top;
}
.btn-outline:hover {
  color: var(--bg-dark);
  border-color: transparent;
}
.btn-large {
  padding: 20px 48px;
  font-size: 1.1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 500;
  margin-top: 20px;
  font-family: var(--font-display);
  transition: var(--trans-fast);
}
.link-arrow svg {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition:
    padding 0.4s ease,
    background 0.4s ease;
}
.site-header.scrolled {
  padding: 16px 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  height: 60px;
  display: block;
  filter: brightness(0) invert(1);
}
.brand-logo img {
  height: 100%;
  object-fit: contain;
}

.main-nav .nav-list {
  display: flex;
  gap: 40px;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  display: inline-block;
}
/* Awwwards style text hover reveal */
.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--accent);
  transition: transform 0.4s var(--ease-out-expo);
}
.nav-link:hover::before {
  transform: translateY(-100%);
}
.nav-link {
  transition: transform 0.4s var(--ease-out-expo);
}
.nav-link:hover {
  transform: translateY(-100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 1002;
}
.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 14px;
}
.hamburger .line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
}
.hamburger .line-1 {
  top: 0;
}
.hamburger .line-2 {
  bottom: 0;
}

.menu-open .hamburger .line-1 {
  transform: translateY(6px) rotate(45deg);
}
.menu-open .hamburger .line-2 {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-darker);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.8s var(--ease-in-out);
}
.menu-open .mobile-menu-overlay {
  clip-path: circle(150% at 100% 0%);
}

.mobile-nav ul li {
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
}
.menu-open .mobile-nav ul li {
  opacity: 1;
  transform: translateY(0);
}
.menu-open .mobile-nav ul li:nth-child(1) {
  transition-delay: 0.2s;
}
.menu-open .mobile-nav ul li:nth-child(2) {
  transition-delay: 0.3s;
}
.menu-open .mobile-nav ul li:nth-child(3) {
  transition-delay: 0.4s;
}
.menu-open .mobile-nav ul li:nth-child(4) {
  transition-delay: 0.5s;
}
.menu-open .mobile-nav ul li:nth-child(5) {
  transition-delay: 0.6s;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
}
.mobile-nav a.mobile-cta {
  color: var(--accent);
  font-size: 2rem;
}
.mobile-contact {
  margin-top: 50px;
  opacity: 0;
  transition: 0.4s ease 0.7s;
}
.menu-open .mobile-contact {
  opacity: 1;
}
.mobile-contact p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* ==========================================================================
   Hero Section (Index)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(204, 255, 0, 0.15) 0%,
    rgba(5, 5, 5, 0) 70%
  );
  z-index: 0;
}
.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(123, 44, 191, 0.15) 0%,
    rgba(5, 5, 5, 0) 70%
  );
  z-index: 0;
}
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(204, 255, 0, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(204, 255, 0, 0.05);
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.line-wrap {
  display: block;
  overflow: hidden;
}
.line-inner {
  display: block;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 500px;
  margin-bottom: 50px;
  color: #ccc;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-stats {
  display: flex;
  gap: 30px;
  border-left: 1px solid var(--border-color);
  padding-left: 30px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* 3D Visual in Hero */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}
.visual-sphere {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: floatSlow 6s ease-in-out infinite;
}
.visual-sphere svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(204, 255, 0, 0.2));
  opacity: 0.8;
}
.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 15px 25px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.el-1 {
  top: 20%;
  left: 10%;
  transform: translateZ(50px);
  animation: float1 4s ease-in-out infinite;
}
.el-2 {
  top: 60%;
  right: 10%;
  transform: translateZ(80px);
  animation: float2 5s ease-in-out infinite;
  background: var(--accent);
  color: var(--bg-dark);
}
.el-3 {
  bottom: 10%;
  left: 30%;
  transform: translateZ(30px);
  animation: float3 4.5s ease-in-out infinite;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes float1 {
  0%,
  100% {
    transform: translateZ(50px) translateY(0);
  }
  50% {
    transform: translateZ(50px) translateY(-10px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translateZ(80px) translateY(0);
  }
  50% {
    transform: translateZ(80px) translateY(-15px);
  }
}
@keyframes float3 {
  0%,
  100% {
    transform: translateZ(30px) translateY(0);
  }
  50% {
    transform: translateZ(30px) translateY(-8px);
  }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-darker);
  overflow: hidden;
  position: relative;
  display: flex;
}
.marquee-inner {
  display: flex;
  width: 200%;
  animation: marquee 20s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 50%;
}
.marquee-content span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}
.marquee-content .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 30px;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Typography Sections (About, Titles)
   ========================================================================== */
.section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 20px;
}
.section-header {
  margin-bottom: 60px;
  max-width: 600px;
}
.about-text h2 {
  line-height: 1.2;
}
.about-desc p {
  font-size: 1.25rem;
  color: #ccc;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(204, 255, 0, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(204, 255, 0, 0.3);
}
.service-card:hover .card-glow {
  opacity: 1;
}
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.service-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.service-features {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}
.service-features li {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.service-features li::before {
  content: "→";
  color: var(--accent);
  margin-right: 8px;
  font-family: var(--font-display);
}

/* ==========================================================================
   Calculator Section
   ========================================================================== */
.dark-bg {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.calc-features .c-feat {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #fff;
}
.c-feat .check {
  color: var(--accent);
  margin-right: 10px;
}

.glass-panel {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.calc-box .input-group {
  margin-bottom: 30px;
}
.calc-box label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  margin-bottom: 15px;
  color: #fff;
}
.calc-box label span {
  color: var(--accent);
  font-weight: 700;
}

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);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #333;
  border-radius: 2px;
}
.calc-result {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}
.calc-result h4 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 400;
}
.result-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Industry Tabs
   ========================================================================== */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.tab-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: none;
  transition: var(--trans-fast);
}
.tab-btn.active,
.tab-btn:hover {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
}

.tab-content-area {
  position: relative;
  min-height: 400px;
}
.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-pane.active {
  display: block;
}

.pane-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pane-text h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.pane-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ccc;
}
.list-checked li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
}
.list-checked li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 15px;
  font-weight: bold;
}

.pane-image {
  height: 100%;
  min-height: 300px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}
.abstract-shape {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  opacity: 0.8;
  filter: blur(10px);
}
.shape-ecommerce {
  background: linear-gradient(135deg, #ccff00, #ff00cc);
}
.shape-saas {
  background: linear-gradient(135deg, #00ffff, #0055ff);
  border-radius: 0;
  transform: rotate(45deg);
  animation: rotate 10s linear infinite;
}
.shape-health {
  background: linear-gradient(135deg, #00ff66, #00aa00);
  border-radius: 50%;
}
.shape-finance {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border-radius: 10px;
  animation: pulse 4s ease infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}
@keyframes rotate {
  100% {
    transform: rotate(405deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ==========================================================================
   Live Reports / Dash UI
   ========================================================================== */
.dashboard-mockup {
  padding: 20px;
}
.dash-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #fff;
}
.dash-header .dots {
  display: flex;
  gap: 6px;
  margin-right: 15px;
}
.dash-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
.dash-header .dots span:nth-child(1) {
  background: #ff5f56;
}
.dash-header .dots span:nth-child(2) {
  background: #ffbd2e;
}
.dash-header .dots span:nth-child(3) {
  background: #27c93f;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.metric {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.m-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.m-value {
  display: inline-block;
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.m-percent {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-left: 5px;
}

.chart-container {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}
.bar {
  width: 100%;
  background: #333;
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
  position: relative;
}
.bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--radius-md);
  position: relative;
}
.quote-icon {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 1;
}
.testi-text {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  font-style: italic;
}
.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.author-info span {
  font-size: 0.9rem;
  color: var(--accent);
}

/* ==========================================================================
   Pre-Footer & Chat
   ========================================================================== */
.chat-promo-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.8) 0%,
    rgba(204, 255, 0, 0.05) 100%
  );
  border-left: 4px solid var(--accent);
}
.chat-text h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.chat-text p {
  max-width: 500px;
}

.cta-title {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 20px;
}
.cta-desc {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Footer (Identical across pages)
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(
    ellipse at bottom,
    rgba(204, 255, 0, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
.footer-logo {
  display: block;
  width: 180px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 15px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--trans-fast);
}
.social-link:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}
.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-heading {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 24px;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.footer-links a:hover::after {
  width: 100%;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-contact li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact a {
  transition: color 0.3s ease;
}
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.legal-links {
  display: flex;
  gap: 20px;
}
.legal-links a:hover {
  color: #fff;
}

/* ==========================================================================
   Sub-pages (Contact, Legal)
   ========================================================================== */
.sub-page .site-header {
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid var(--border-color);
}
.page-title {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 20px;
}
.page-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Page Specific */
.contact-wrapper {
  align-items: flex-start;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  margin-bottom: 20px;
}
.method-icon {
  width: 50px;
  height: 50px;
  background: rgba(204, 255, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #fff;
}
.method-details p {
  color: var(--text-secondary);
}
.hover-link {
  position: relative;
  display: inline-block;
}
.hover-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.hover-link:hover {
  color: var(--accent);
}
.hover-link:hover::after {
  width: 100%;
}

/* Custom Forms */
.custom-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  position: relative;
  margin-bottom: 24px;
}
.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-bottom-color: var(--accent);
}
.floating-label {
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--text-muted);
  transition: 0.3s ease;
  pointer-events: none;
}
.form-control:focus ~ .floating-label,
.form-control:not(:placeholder-shown) ~ .floating-label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--accent);
}
.select-control {
  color: var(--text-muted);
  cursor: pointer;
}
.select-control option {
  background: var(--bg-dark);
  color: #fff;
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Legal Pages Content Formatting */
.legal-page-body {
  background: var(--bg-darker);
}
.legal-content-section .content-wrapper {
  padding: 60px;
}
.legal-content-section p {
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: #ccc;
}
.legal-content-section h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #fff;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title,
  .hero-subtitle,
  .hero-cta-group {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-visual {
    display: none; /* Simplify on smaller screens */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }
  .main-nav,
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .custom-form .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-col {
    grid-column: span 1;
  }
  .legal-content-section .content-wrapper {
    padding: 30px 20px;
  }
  .tab-buttons {
    flex-direction: column;
  }
  .pane-inner {
    grid-template-columns: 1fr;
  }
  .pane-image {
    min-height: 200px;
  }
}
