/* ==========================================================================
   DOMAINTHEME - PREMIUM DIGITAL AGENCY STYLESHEET
   ========================================================================== */

/* --- 1. Variables & Setup --- */
:root {
  --bg-main: #07070a;
  --bg-surface: #111116;
  --bg-surface-light: #1a1a24;

  --text-primary: #f8f8f8;
  --text-secondary: #a0a0ab;

  --accent-1: #8a2be2; /* Neon Purple */
  --accent-2: #00ffff; /* Electric Cyan */
  --gradient-main: linear-gradient(135deg, var(--accent-1), var(--accent-2));

  --font-heading: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;

  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  --glass-bg: rgba(17, 17, 22, 0.4);
  --glass-border: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* Handled by JS for smoothness */
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

body.no-scroll {
  overflow: hidden;
}

/* --- 2. Typography & Utilities --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-primary);
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.pt-pb {
  padding: 120px 0;
}
.text-center {
  text-align: center;
}

/* Custom Selection */
::selection {
  background: var(--accent-1);
  color: #fff;
}

/* 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;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');
}

/* --- 3. 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(--accent-2);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
.cursor-outline.hover {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
}

/* --- 4. Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.preloader-bar {
  width: 200px;
  height: 2px;
  background: #333;
  position: relative;
  overflow: hidden;
}
.preloader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  animation: loadProgress 1.5s ease forwards;
}
@keyframes loadProgress {
  to {
    width: 100%;
  }
}

/* --- 5. Header & Navigation (UNIVERSAL) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 20px 0;
  transition: var(--transition-fast);
}
.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4%;
}
.logo-img {
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
} /* Force white if black */

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}
.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-2);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}
.nav-link:hover::after {
  transform: translateX(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 901;
}
.menu-toggle .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  left: 0;
  transition: var(--transition-fast);
}
.menu-toggle .line-1 {
  top: 0;
}
.menu-toggle .line-2 {
  bottom: 0;
}
.menu-toggle.active .line-1 {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .line-2 {
  transform: translateY(-9px) rotate(-45deg);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  overflow: hidden;
  z-index: 1;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--bg-surface-light);
  color: #fff;
  border-color: var(--glass-border);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent-1);
}

.btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.btn-primary:hover .btn-bg,
.btn-secondary:hover .btn-bg {
  transform: scaleX(1);
}
.btn-text {
  position: relative;
  z-index: 2;
}

/* --- 6. Hero Section 3D --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}
.hero-3d-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  z-index: -1;
}
.hero-3d-bg .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite linear;
}
.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-1);
  top: 10%;
  left: 10%;
}
.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  bottom: -10%;
  right: 5%;
  animation-duration: 25s;
  animation-direction: reverse;
}
.shape-3 {
  width: 300px;
  height: 300px;
  background: #4b0082;
  top: 40%;
  left: 50%;
  animation-duration: 15s;
}

@keyframes float {
  0% {
    transform: rotate(0deg) translate(50px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translate(50px) rotate(-360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
}
.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
}
.mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

/* --- 7. Marquee --- */
.marquee-section {
  padding: 30px 0;
  background: var(--accent-1);
  color: #fff;
  overflow: hidden;
  transform: rotate(-2deg) scale(1.05);
}
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: marqueeAnim 20s linear infinite;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}
.marquee-content span {
  padding: 0 20px;
}
.marquee-content .dot {
  color: var(--bg-main);
}
@keyframes marqueeAnim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- 8. Grids & Cards (About & Services) --- */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.stat-item h3 {
  font-size: 4rem;
  color: var(--accent-2);
  display: inline;
}
.stat-item span {
  font-size: 2rem;
  color: var(--text-secondary);
}
.stat-item p {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-top: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transform-style: preserve-3d;
  transition: border-color 0.3s;
}
.service-card:hover {
  border-color: rgba(138, 43, 226, 0.5);
}
.card-icon {
  width: 50px;
  height: 50px;
  color: var(--accent-2);
  margin-bottom: 25px;
  transform: translateZ(30px);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transform: translateZ(20px);
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transform: translateZ(10px);
}
.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 0.1) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .card-glow {
  opacity: 1;
}

/* --- 9. Interactive Calculator --- */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
}
.calc-group {
  margin-bottom: 30px;
}
.calc-group label {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
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-2);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 15px var(--accent-2);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #333;
  border-radius: 2px;
}
.calc-results {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 30px;
}
.res-box {
  flex: 1;
}
.res-box h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.res-num {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- 10. Campaign Reports (CSS Charts) --- */
.chart-container {
  height: 400px;
  display: flex;
  align-items: flex-end;
  margin-top: 60px;
  position: relative;
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
  padding: 20px 0 0 20px;
}
.chart-y-axis {
  position: absolute;
  left: -40px;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-bottom: 30px;
}
.chart-bars {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  align-items: flex-end;
}
.bar-group {
  display: flex;
  gap: 10px;
  height: 100%;
  align-items: flex-end;
  position: relative;
  width: 15%;
  justify-content: center;
}
.bar {
  width: 40px;
  border-radius: 4px 4px 0 0;
  height: 0; /* Animated via JS class */
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.bar.organic {
  background: var(--bg-surface-light);
  border: 1px solid var(--text-secondary);
  border-bottom: none;
}
.bar.paid {
  background: var(--gradient-main);
}
.chart-container.animate .bar {
  height: var(--target-height);
}
.month {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
}
.chart-legend {
  position: absolute;
  top: -40px;
  right: 0;
  display: flex;
  gap: 20px;
}
.leg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.organic-dot {
  background: var(--bg-surface-light);
  border: 1px solid var(--text-secondary);
}
.paid-dot {
  background: var(--accent-1);
}

/* --- 11. Industries Accordion --- */
.industry-accordion {
  max-width: 800px;
  margin-top: 40px;
}
.accordion-item {
  border-bottom: 1px solid #333;
  padding: 20px 0;
  cursor: pointer;
}
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acc-header h3 {
  margin: 0;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.acc-header .icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  color: var(--text-secondary);
  padding-right: 40px;
}
.accordion-item.active .acc-content {
  max-height: 200px;
  margin-top: 15px;
}
.accordion-item.active .acc-header h3 {
  color: var(--accent-2);
}
.accordion-item.active .icon {
  transform: rotate(45deg);
  color: var(--accent-2);
}

/* --- 12. Testimonials --- */
.testimonials-section {
  text-align: center;
  position: relative;
}
.quote-icon {
  font-family: var(--font-heading);
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 250px;
}
.testi-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}
.testi-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.quote {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 30px;
}
.client-info h4 {
  color: var(--accent-2);
  margin-bottom: 5px;
}
.client-info span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.slider-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.slider-btn svg {
  width: 20px;
  height: 20px;
}

/* --- 13. CTA Pre-Footer --- */
.cta-section {
  padding: 150px 0;
  background: linear-gradient(to top, var(--bg-surface), var(--bg-main));
}
.huge-text {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1;
  margin-bottom: 40px;
}
.cta-btn {
  font-size: 1.2rem;
  padding: 20px 50px;
}

/* --- 14. Footer (UNIVERSAL) --- */
.footer {
  background: var(--bg-surface);
  padding: 80px 0 30px;
  border-top: 1px solid #222;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  color: var(--text-secondary);
  max-width: 300px;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 15px;
}
.hover-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.hover-link:hover {
  color: var(--accent-2);
}
.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #222;
  padding-top: 30px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  transition: background 0.3s;
}
.social-links a:hover {
  background: var(--accent-1);
}
.social-links svg {
  width: 18px;
  height: 18px;
}

/* --- 15. Live Chat Widget --- */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: none;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}
.chat-widget svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

/* --- 16. Legal Pages Styling --- */
.page-header {
  padding: 200px 0 100px;
  text-align: center;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.page-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 5%;
  background: var(--bg-main);
}
.legal-content h2 {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--accent-2);
}
.legal-content p,
.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}
.legal-content ul {
  padding-left: 20px;
}
.legal-content strong {
  color: var(--text-primary);
}

/* --- 17. Contact Page Styling --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.contact-info-panel h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}
.contact-info-panel p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-item svg {
  width: 30px;
  height: 30px;
  color: var(--accent-2);
  flex-shrink: 0;
}
.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.contact-item p,
.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-item a:hover {
  color: #fff;
}

.contact-form-panel {
  background: var(--bg-surface);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}
.form-group {
  position: relative;
  margin-bottom: 30px;
}
.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-2);
}
.form-label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--text-secondary);
  pointer-events: none;
  transition: 0.3s ease all;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--accent-2);
}
textarea.form-input {
  resize: none;
  height: 100px;
}
select.form-input {
  appearance: none;
  cursor: pointer;
}
select.form-input option {
  background: var(--bg-surface);
  color: #fff;
}

/* --- 18. Animations & Reveals --- */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.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;
}

/* --- 19. Responsive Design --- */
@media (max-width: 1024px) {
  .grid-2-col,
  .footer-top,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .glass-card {
    padding: 30px;
  }
  .hero-title {
    font-size: 4rem;
  }
  .chart-container {
    display: none;
  } /* Simplified for tablets */
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    clip-path: circle(0px at calc(100% - 40px) 40px);
    transition: clip-path 0.6s cubic-bezier(0.83, 0, 0.17, 1);
    z-index: 900;
  }
  .nav-menu.active {
    clip-path: circle(150% at calc(100% - 40px) 40px);
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .nav-link {
    font-size: 2rem;
  }
  .header-actions .btn-primary {
    display: none;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  body {
    cursor: auto;
  }
  .service-card {
    cursor: auto;
    transform: none !important;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }
  .contact-form-panel {
    padding: 30px 20px;
  }
}
