/* =========================================================================
   AWWWARDS-LEVEL PURE CSS - PREMIUM DIGITAL MARKETING AGENCY
   Dark Theme, Glassmorphism, Neon Accents, Fluid Typography, 3D Transforms
   ========================================================================= */

/* --- CSS Variables & Theming --- */
:root {
  --bg-color: #060608;
  --surface: #111116;
  --surface-light: rgba(255, 255, 255, 0.05);
  --surface-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;

  /* Neon Gradients for that Digital Agency look */
  --accent-1: #6366f1; /* Indigo */
  --accent-2: #ec4899; /* Pink */
  --accent-3: #06b6d4; /* Cyan */
  --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-glow: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.5),
    rgba(236, 72, 153, 0.5)
  );

  /* Fonts */
  --font-head: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;

  /* Transitions & Layout */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1280px;
}

/* --- Resets & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* For Custom Cursor */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.text-center {
  text-align: center;
}
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Custom Cursor --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--text-main);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    background 0.3s;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s ease-out,
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}

.cursor-hover .custom-cursor {
  width: 0;
  height: 0;
}
.cursor-hover .custom-cursor-follower {
  width: 60px;
  height: 60px;
  background: var(--surface-light);
  border-color: var(--accent-1);
  backdrop-filter: blur(2px);
}

/* --- Reusable Components --- */
.glass-card {
  background: var(--surface-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid transparent;
}

.btn-primary .btn-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  z-index: -1;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-primary:hover .btn-bg {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.btn-primary .btn-text {
  z-index: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: var(--text-main);
  color: var(--bg-color);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--surface-border);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo img {
  height: 40px;
  object-fit: contain;
}

.main-nav .nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s ease;
  overflow: hidden;
  display: inline-block;
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--text-main);
  transition: top 0.3s ease;
}

.nav-link:hover {
  color: transparent;
}
.nav-link:hover::before {
  top: 0;
}
.nav-link.active {
  color: var(--text-main);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-smooth);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(6, 6, 8, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  text-align: center;
}

.mobile-nav-links li {
  margin: 2rem 0;
}

.mobile-nav-links a {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}
.mobile-nav-links a:hover {
  color: var(--accent-1);
}

/* --- Hero Section (Index) --- */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 ;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 5%;
}

.hero-subtitle {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 50px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hero-desc {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
  z-index: 1;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-main);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--text-main);
  border-radius: 50%;
  animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

/* --- Reveal Animations --- */
.reveal-up {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* --- Marquee Section --- */
.marquee-section {
  padding: 2rem 0;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  transform: rotate(-1deg) scale(1.02);
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.marquee-content span {
  margin: 0 1rem;
}
.marquee-content .dot {
  color: var(--accent-1);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- About Section --- */
.about-section {
  padding: 8rem 0;
}

.about-visual .glass-card {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.abstract-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.shape-pink {
  width: 200px;
  height: 200px;
  background: var(--accent-2);
  top: -50px;
  right: -50px;
  opacity: 0.4;
}

.shape-blue {
  width: 250px;
  height: 250px;
  background: var(--accent-1);
  bottom: -50px;
  left: -50px;
  opacity: 0.4;
}

.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
}

.stat h4 {
  font-size: 2.5rem;
  color: var(--accent-1);
  margin-bottom: 0.2rem;
}

.stat span {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-list i {
  color: var(--accent-1);
  font-size: 1.25rem;
}

/* --- Services Grid --- */
.services-section {
  padding: 8rem 0;
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--bg-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: left;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.1;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-1);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.service-link {
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.service-link i {
  transition: transform 0.3s;
}
.service-link:hover i {
  transform: translateX(5px);
  color: var(--accent-2);
}

/* --- Calculator Section --- */
.calculator-section {
  padding: 8rem 0;
}

.calc-widget {
  padding: 3rem;
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.calc-group label span {
  color: var(--accent-1);
  font-weight: 700;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--text-main);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--surface-border);
  border-radius: 2px;
}

.calc-results {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
}

.result-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  text-align: center;
}

.result-box h5 {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.result-box h3 {
  font-size: 2rem;
  margin-bottom: 0;
}

/* --- Industries Accordion --- */
.industries-section {
  padding: 8rem 0;
  background: var(--surface);
}

.industry-accordion {
  max-width: 900px;
  margin: 3rem auto 0;
}

.industry-item {
  border-bottom: 1px solid var(--surface-border);
  padding: 2rem 0;
  position: relative;
  cursor: pointer;
}

.industry-item h3 {
  font-size: 2rem;
  transition: var(--transition-smooth);
}

.industry-item p {
  height: 0;
  overflow: hidden;
  color: var(--text-muted);
  transition: all 0.4s ease;
  max-width: 80%;
  opacity: 0;
}

.industry-item i {
  position: absolute;
  top: 2.5rem;
  right: 0;
  font-size: 1.5rem;
  transition: transform 0.4s ease;
}

.industry-item.active h3 {
  color: var(--accent-1);
}
.industry-item.active p {
  height: 60px;
  opacity: 1;
  margin-top: 1rem;
}
.industry-item.active i {
  transform: rotate(45deg);
  color: var(--accent-2);
}

/* --- Reports / Dashboard Mockup --- */
.reports-section {
  padding: 8rem 0;
}

.dashboard-mockup {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dash-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
}

.dash-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}
.dash-dots span:nth-child(1) {
  background: #ff5f56;
}
.dash-dots span:nth-child(2) {
  background: #ffbd2e;
}
.dash-dots span:nth-child(3) {
  background: #27c93f;
}

.dash-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dash-body {
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.dash-card {
  background: var(--bg-color);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 2rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  margin-top: 2rem;
}

.bar-chart .bar {
  width: 40px;
  background: var(--gradient-primary);
  border-radius: 4px 4px 0 0;
  position: relative;
  transform-origin: bottom;
  animation: growUp 1.5s ease-out forwards;
}

.bar span {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes growUp {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.circular-chart {
  display: block;
  margin: 2rem auto;
  max-width: 120px;
  max-height: 120px;
}
.circle-bg {
  fill: none;
  stroke: var(--surface-border);
  stroke-width: 2.5;
}
.circle {
  fill: none;
  stroke: var(--accent-3);
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: progress 2s ease-out forwards;
}
@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}
.circle-chart {
  position: relative;
}
.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-head);
}

/* --- Testimonials --- */
.testimonials-section {
  padding: 8rem 0;
  background: var(--surface);
}

.testimonial-slider {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: none;
}
.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testi-card {
  min-width: 400px;
  background: var(--bg-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 3rem;
  text-align: left;
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-1);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.testi-text {
  font-size: 1.25rem;
  font-family: var(--font-head);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.testi-author h4 {
  margin-bottom: 0.2rem;
  font-size: 1.125rem;
}
.testi-author span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* --- CTA Section --- */
.cta-section {
  padding: 8rem 0;
}
.cta-container {
  padding: 6rem 3rem;
  background:
    linear-gradient(135deg, rgba(17, 17, 22, 0.8), rgba(6, 6, 8, 0.9)),
    url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}
.cta-container h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* --- Footer --- */
.site-footer {
  background: #000000;
  border-top: 1px solid var(--surface-border);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.social-links a:hover {
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent-2);
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-contact i {
  color: var(--accent-1);
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links a {
  transition: color 0.3s;
}
.legal-links a:hover {
  color: var(--text-main);
}
.separator {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* --- Live Chat Widget --- */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: none;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
  transition: var(--transition-smooth);
}
.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.chat-box.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
}
.chat-header h4 {
  margin: 0;
  font-size: 1rem;
}
.chat-header button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.chat-body {
  padding: 1rem;
  height: 250px;
  background: var(--bg-color);
}
.chat-msg {
  background: var(--surface-light);
  padding: 0.75rem;
  border-radius: 8px 8px 8px 0;
  font-size: 0.875rem;
  display: inline-block;
  max-width: 80%;
}

.chat-input-area {
  padding: 1rem;
  border-top: 1px solid var(--surface-border);
  display: flex;
  gap: 0.5rem;
}
.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  padding: 0.5rem;
  border-radius: 4px;
  color: white;
  outline: none;
}
.chat-input-area button {
  background: var(--accent-1);
  border: none;
  padding: 0 1rem;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

/* --- Inner Pages (Contact, Legal) --- */
.inner-page main {
  padding-top: 80px;
}
.inner-hero-section {
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
}
.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: var(--accent-1);
  filter: blur(150px);
  opacity: 0.2;
  z-index: -1;
}
.inner-hero-section .hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.legal-content-section {
  padding: 4rem 0 8rem;
}
.legal-content-wrapper {
  padding: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.legal-content-wrapper p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}
.legal-content-wrapper h2 {
  margin: 3rem 0 1.5rem;
  font-size: 2rem;
  color: var(--accent-1);
}
.legal-list {
  list-style: disc;
  padding-left: 2rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.legal-list li {
  margin-bottom: 0.5rem;
}

/* Contact Page specific */
.contact-page-wrapper {
  margin-top: 3rem;
}
.info-item-flex {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  font-size: 1.25rem;
}
.info-text h4 {
  margin-bottom: 0.2rem;
}
.info-text p,
.info-text a {
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  padding: 1rem;
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-1);
}
.custom-select-wrapper {
  position: relative;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .layout-split {
    grid-template-columns: 1fr;
  }
  .dash-body {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-right .btn-primary {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .hero-title {
    font-size: 3rem;
  }
  .legal-content-wrapper {
    padding: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .stat-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}
