@import url("https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

/* ==========================================================================
   CSS Variables & Configuration
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-dark: #050507;
  --bg-surface: #0a0a0d;
  --bg-surface-light: #121218;
  --primary-accent: #6d28d9;
  --secondary-accent: #06b6d4;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(10, 10, 13, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: "Clash Display", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-xxl: 12rem;

  /* Layout */
  --container-width: 1400px;
  --header-height: 90px;

  /* Transitions */
  --trans-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Effects */
  --glow-primary: 0 0 40px rgba(109, 40, 217, 0.3);
  --glow-secondary: 0 0 40px rgba(6, 182, 212, 0.3);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Handled by JS smooth scroll */
}

body {
  background-color: var(--bg-dark);
  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;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* Custom Selection */
::selection {
  background: var(--primary-accent);
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--trans-fast);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

.section-padding {
  padding: var(--space-xl) 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: var(--space-xxl) 0;
  }
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--text-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(
    135deg,
    var(--primary-accent) 0%,
    var(--secondary-accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  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");
}

/* Background Glows */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(109, 40, 217, 0.15);
  top: -200px;
  left: -200px;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.1);
  bottom: 20%;
  right: -100px;
}

/* Magnetic Button */
.btn-magnetic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 1;
}

.btn-magnetic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-accent),
    var(--secondary-accent)
  );
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 100px;
}

.btn-magnetic:hover::before {
  transform: translateY(0);
}

.btn-magnetic:hover {
  border-color: transparent;
  box-shadow: var(--glow-primary);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-accent);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(6, 182, 212, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

.cursor-outline.hover-state {
  width: 80px;
  height: 80px;
  background-color: rgba(6, 182, 212, 0.1);
  border-color: transparent;
}

/* ==========================================================================
   Navigation (Header) - EXACT MATCH REQUIRED
   ========================================================================== */
.premium-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--trans-fast);
  border-bottom: 1px solid transparent;
}

.premium-nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-item {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-accent);
  transition: var(--trans-fast);
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--trans-fast);
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-item {
    font-size: 2rem;
    font-family: var(--font-heading);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-actions .btn-magnetic {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: var(--header-height);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.2s;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  transform: translateY(100%);
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line:nth-child(1) .word {
  animation-delay: 0.3s;
}
.hero-title .line:nth-child(2) .word {
  animation-delay: 0.5s;
}

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.8s;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 1s;
}

/* 3D Floating Elements CSS */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  perspective: 1000px;
  z-index: 1;
}

.shape {
  position: absolute;
  background: linear-gradient(
    135deg,
    var(--primary-accent),
    var(--secondary-accent)
  );
  opacity: 0.1;
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-duration: 25s;
}
.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 15%;
  animation-duration: 18s;
  animation-direction: reverse;
}
.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 80%;
  animation-duration: 22s;
}

@keyframes float {
  0% {
    transform: rotate(0deg) translate(50px) rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) translate(50px) rotate(-180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) translate(50px) rotate(-360deg) scale(1);
  }
}

@keyframes revealUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Marquee Section
   ========================================================================== */
.client-marquee {
  padding: 3rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  display: flex;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-muted);
  margin: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-item::after {
  content: "✦";
  font-size: 1.5rem;
  color: var(--primary-accent);
}

.marquee-item:hover {
  color: var(--text-primary);
  -webkit-text-stroke: 0px;
  cursor: default;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   About / Intro Section
   ========================================================================== */
.about-section {
  position: relative;
}

.huge-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.text-reveal {
  color: var(--text-muted);
  background: linear-gradient(
    to right,
    var(--text-primary) 50%,
    var(--text-muted) 50%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1s ease-out;
}

.text-reveal.is-visible {
  background-position: 0 0;
}

/* ==========================================================================
   Core Services (Bento Grid)
   ========================================================================== */
.section-header {
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  max-width: 600px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  auto-rows: minmax(300px, auto);
}

.bento-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
}

.bento-card > * {
  z-index: 1;
  position: relative;
  transform: translateZ(30px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-surface-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary-accent);
}

.bento-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.bento-card p {
  color: var(--text-secondary);
}

/* Grid Layouts */
.card-seo {
  grid-column: span 8;
}
.card-ppc {
  grid-column: span 4;
  background: linear-gradient(145deg, var(--bg-surface), #1a1a24);
}
.card-content {
  grid-column: span 4;
}
.card-social {
  grid-column: span 8;
}

@media (max-width: 1024px) {
  .bento-card {
    grid-column: span 12 !important;
  }
}

/* ==========================================================================
   Industry Expertise (Interactive Tabs)
   ========================================================================== */
.industry-wrapper {
  display: flex;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .industry-wrapper {
    flex-direction: column;
  }
}

.industry-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.industry-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--trans-fast);
}

.industry-item h4 {
  font-size: 2rem;
  margin: 0;
  color: var(--text-muted);
  transition: var(--trans-fast);
}

.industry-item svg {
  width: 30px;
  height: 30px;
  stroke: var(--text-muted);
  transition: var(--trans-fast);
  transform: rotate(-45deg);
}

.industry-item:hover h4,
.industry-item.active h4 {
  color: var(--text-primary);
  padding-left: 1rem;
}

.industry-item:hover svg,
.industry-item.active svg {
  stroke: var(--secondary-accent);
  transform: rotate(0);
}

.industry-visual {
  flex: 1;
  height: 500px;
  background: var(--bg-surface);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 3rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-content.active {
  opacity: 1;
}

/* ==========================================================================
   Data Visualization (Dashboard Mockup)
   ========================================================================== */
.data-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.dashboard-mockup {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  overflow: hidden;
  height: 600px;
}

.dash-sidebar {
  width: 250px;
  background: var(--bg-surface-light);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dash-item {
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
}
.dash-item.active {
  background: rgba(109, 40, 217, 0.2);
  border-left: 3px solid var(--primary-accent);
}

.dash-main {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dash-stat-card {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.dash-stat-card .value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary-accent);
  margin-top: 0.5rem;
}

.dash-chart {
  flex: 1;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
  padding: 2rem;
}

/* Animated SVG Chart Line */
.chart-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease-in-out infinite alternate;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 768px) {
  .dash-sidebar {
    display: none;
  }
  .dash-stats-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-mockup {
    height: auto;
  }
}

/* ==========================================================================
   ROI Calculator UI
   ========================================================================== */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-surface);
  padding: 4rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  position: relative;
}

@media (max-width: 900px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

.calc-info h3 {
  font-size: 2.5rem;
}

.input-group {
  margin-bottom: 2rem;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Custom Range Slider */
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(--secondary-accent);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 15px var(--secondary-accent);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--border-color);
  border-radius: 2px;
}

.calc-results {
  background: var(--bg-dark);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--primary-accent);
  box-shadow: var(--glow-primary);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-val {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--text-primary);
  margin: 1rem 0;
}

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.slider-container {
  overflow: hidden;
  padding: 2rem 0;
}

.slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  cursor: grab;
}

.slider-track:active {
  cursor: grabbing;
}

.testimonial-card {
  min-width: 400px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 20px;
  user-select: none;
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 300px;
  }
}

.stars {
  color: #fbbf24;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  background: var(--bg-surface-light);
  border-radius: 50%;
}

/* ==========================================================================
   Live Chat Mockup Section
   ========================================================================== */
.chat-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, var(--bg-dark), var(--bg-surface));
  padding: 6rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
  .chat-section {
    flex-direction: column;
    gap: 4rem;
    padding: 3rem 1.5rem;
  }
}

.chat-mockup {
  width: 350px;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.chat-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.chat-header {
  background: var(--primary-accent);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.chat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 300px;
  background: #111;
}

.msg {
  padding: 1rem;
  border-radius: 12px;
  max-width: 80%;
  font-size: 0.9rem;
}
.msg.received {
  background: var(--bg-surface);
  align-self: flex-start;
  border-bottom-left-radius: 0;
}
.msg.sent {
  background: var(--primary-accent);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.chat-input {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
  background: var(--bg-surface-light);
}

.chat-input div {
  flex: 1;
  background: var(--bg-surface);
  border-radius: 20px;
  height: 36px;
}

/* ==========================================================================
   Pre-Footer CTA
   ========================================================================== */
.pre-footer {
  text-align: center;
  padding: var(--space-xxl) 0;
  position: relative;
}

.massive-text {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 15rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Footer - EXACT MATCH REQUIRED
   ========================================================================== */
.premium-footer {
  background: #000;
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: var(--text-secondary);
  max-width: 300px;
  margin-bottom: 2rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--trans-fast);
}

.footer-links a:hover {
  color: var(--primary-accent);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  stroke: var(--secondary-accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.social-links a:hover {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
}

/* ==========================================================================
   Legal Pages Specific Styles
   ========================================================================== */
.legal-page-wrapper {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: var(--space-xl);
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 1rem;
}

.legal-content-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 5rem);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.legal-content-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-accent),
    transparent
  );
}

.legal-content-box h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-accent);
}

.legal-content-box p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ==========================================================================
   Contact Page Specific Styles
   ========================================================================== */
.contact-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4rem;
}

@media (max-width: 900px) {
  .contact-grid-modern {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

.contact-info-panel h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-item-modern {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.info-item-modern svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary-accent);
}

.info-item-modern h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.info-item-modern p {
  color: var(--text-secondary);
}

.form-group-modern {
  margin-bottom: 2rem;
  position: relative;
}

.form-control-modern {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: var(--trans-fast);
}

.form-control-modern:focus {
  outline: none;
  border-bottom-color: var(--secondary-accent);
}

textarea.form-control-modern {
  resize: vertical;
  min-height: 100px;
}

.form-control-modern::placeholder {
  color: var(--text-muted);
}
