@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  /* Color Palette - Cyber Agency Theme */
  --bg-dark: #050507;
  --bg-surface: #0a0a0f;
  --bg-surface-light: #12121c;
  --bg-glass: rgba(18, 18, 28, 0.4);

  --color-primary: #00f3ff;
  --color-primary-glow: rgba(0, 243, 255, 0.4);
  --color-secondary: #7000ff;
  --color-secondary-glow: rgba(112, 0, 255, 0.4);
  --color-accent: #ff00ea;

  --text-main: #ffffff;
  --text-muted: #8e8e9f;
  --text-dark: #050507;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 243, 255, 0.2);

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Outfit", sans-serif;

  /* Layout & Spacing */
  --container-width: 1400px;
  --padding-x: clamp(1.5rem, 5vw, 4rem);
  --section-py: clamp(5rem, 10vw, 10rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: initial; /* Handled by JS for smoothness if needed, but keeping native fast */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Custom cursor */
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   UTILITIES & EFFECTS
   ========================================================================== */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--text-main) 0%,
    var(--text-muted) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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");
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 40vw;
  height: 40vw;
  background: var(--color-secondary);
  top: -10%;
  left: -10%;
}
.orb-2 {
  width: 30vw;
  height: 30vw;
  background: var(--color-primary);
  bottom: 10%;
  right: -5%;
  animation-delay: -5s;
}
.orb-3 {
  width: 25vw;
  height: 25vw;
  background: var(--color-accent);
  top: 40%;
  left: 40%;
  opacity: 0.2;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(5%, 10%) scale(1.1);
  }
}

/* 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(--color-primary);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
body:hover .cursor-outline.hover {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary-glow);
  border-color: transparent;
  mix-blend-mode: screen;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  z-index: 1;
  border: none;
  background: transparent;
}

.btn-primary {
  color: var(--text-dark);
  background: var(--text-main);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  transition: top 0.4s var(--ease-out-expo);
  z-index: -1;
  border-radius: 100px;
}
.btn-primary:hover {
  color: var(--text-main);
}
.btn-primary:hover::before {
  top: 0;
}

.btn-outline {
  color: var(--text-main);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-glow);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.magnetic-wrap {
  display: inline-block;
}

/* ==========================================================================
   HEADER / NAVIGATION (Strict Consistency)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    backdrop-filter 0.4s ease;
}
.header.scrolled {
  padding: 1rem 0;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  backdrop-filter: blur(10px);
}
.logo img {
  height: 60px;
  filter: brightness(0) invert(1); /* Ensure white logo */
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}
.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  padding-left: 1.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s;
  left: 10px;
}
.hamburger {
  top: 19px;
}
.hamburger::before {
  top: -6px;
  left: 0;
}
.hamburger::after {
  top: 6px;
  left: 0;
}
.menu-toggle.active .hamburger {
  background: transparent;
}
.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-close {
  display: none;
}

/* ==========================================================================
   FOOTER (Strict Consistency)
   ========================================================================== */
.footer {
  background: #020203;
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary),
    transparent
  );
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-about p {
  color: var(--text-muted);
  margin: 1.5rem 0;
  max-width: 300px;
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.footer-socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-dark);
  transform: translateY(-5px);
}
.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.footer-links ul li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}
.footer-contact ul li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.footer-contact i {
  color: var(--color-primary);
  margin-top: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   PAGE HEADERS (Legal & Contact)
   ========================================================================== */
.page-header {
  padding: 15rem 0 5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(
    circle at center top,
    var(--bg-surface-light),
    var(--bg-dark)
  );
}
.page-header h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1rem;
}
.breadcrumbs {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.breadcrumbs a {
  color: var(--text-main);
  margin: 0 0.5rem;
}
.breadcrumbs span {
  color: var(--color-primary);
  margin: 0 0.5rem;
}

/* ==========================================================================
   LEGAL CONTENT PAGES
   ========================================================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-py) 0;
}
.legal-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--color-primary);
}
.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.legal-content strong {
  color: var(--text-main);
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.contact-section {
  padding: var(--section-py) 0;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-subtitle {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
}
.section-description {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
  transition: var(--transition-fast);
}
.contact-card:hover {
  border-color: var(--color-primary);
  transform: translateX(10px);
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 243, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.contact-details p,
.contact-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    var(--color-secondary-glow),
    transparent 70%
  );
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.form-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.contact-form {
  position: relative;
  z-index: 1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1rem 1rem 3rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}
.form-group textarea {
  padding-left: 1rem;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(0, 243, 255, 0.05);
}
.form-icon {
  position: absolute;
  left: 1rem;
  top: 42px;
  color: var(--text-muted);
}
.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* ==========================================================================
   INDEX PAGE - SPECIFIC SECTIONS (AWWWARDS STYLE)
   ========================================================================== */

/* 1. HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 50px;
}
.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 1000px;
}
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-title span {
  display: block;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  color: transparent;
  transition: 0.5s;
}
.hero-title span:hover {
  color: var(--text-main);
  -webkit-text-stroke: 0px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* 2. MARQUEE */
.marquee-section {
  padding: 2rem 0;
  background: var(--color-primary);
  color: var(--text-dark);
  transform: rotate(-2deg) scale(1.05);
  z-index: 20;
  position: relative;
}
.marquee-inner {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}
.marquee-part {
  padding: 0 2rem;
  animation: marquee 20s linear infinite;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* 3. ABOUT / METRICS */
.about-section {
  padding: var(--section-py) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.metric-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  text-align: center;
}
.metric-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 4. SERVICES GRID (Creative Hover) */
.services-section {
  padding: var(--section-py) 0;
  background: var(--bg-surface-light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.service-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: 0.5s;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: auto;
  transition: transform 0.5s;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.service-card p {
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s;
}
.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at bottom right,
    var(--color-secondary-glow),
    transparent 60%
  );
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}
.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-10px);
}
.service-card:hover .service-bg {
  opacity: 1;
}
.service-card:hover p {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
}

/* 5. INTERACTIVE FEATURE: MOCK DASHBOARD */
.dashboard-section {
  padding: var(--section-py) 0;
  overflow: hidden;
}
.dashboard-wrapper {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 1px;
  margin-top: 4rem;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}
.dashboard-inner {
  background: #0a0a0c;
  border-radius: 29px;
  padding: clamp(1rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}
.dash-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
  margin-right: 8px;
}
.dash-dots span:nth-child(2) {
  background: #ffbd2e;
}
.dash-dots span:nth-child(3) {
  background: #27c93f;
}
.chart-container {
  height: 300px;
  display: flex;
  align-items: flex-end;
  gap: 2%;
  padding-top: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.bar {
  flex: 1;
  background: linear-gradient(
    0deg,
    var(--color-primary),
    rgba(0, 243, 255, 0.1)
  );
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  height: 0%;
  transition: height 1.5s var(--ease-out-expo);
  position: relative;
}
.bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 10px var(--color-primary);
}

/* 6. INDUSTRY FOCUS (Accordion) */
.industry-section {
  padding: var(--section-py) 0;
}
.accordion-wrapper {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
}
.accordion-item {
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  cursor: pointer;
  transition: 0.3s;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted);
  transition: 0.3s;
}
.accordion-item:hover .accordion-header {
  color: var(--text-main);
  padding-left: 20px;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.accordion-inner {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  color: var(--text-muted);
}
.accordion-item.active .accordion-header {
  color: var(--color-primary);
}

/* 7. INTERACTIVE FEATURE: ROI CALCULATOR */
.calc-section {
  padding: var(--section-py) 0;
  background: var(--bg-surface-light);
}
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4rem;
}
.calc-inputs input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 5px;
  margin: 1.5rem 0 2rem;
}
.calc-inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 15px var(--color-primary);
}
.calc-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.calc-val {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
}
.calc-result {
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.res-title {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.res-amount {
  font-size: clamp(3rem, 5vw, 5rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  text-shadow: 0 0 30px var(--color-primary-glow);
}

/* 8. TESTIMONIALS (Masonry/Grid) */
.testi-section {
  padding: var(--section-py) 0;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.testi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 20px;
}
.testi-card:nth-child(2) {
  transform: translateY(40px);
}
.stars {
  color: #ffbd2e;
  margin-bottom: 1.5rem;
}
.testi-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}
.client-av {
  width: 50px;
  height: 50px;
  background: var(--color-secondary-glow);
  border-radius: 50%;
}
.client-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}
.client-role {
  font-size: 0.8rem;
  color: var(--color-primary);
  text-transform: uppercase;
}

/* 9. PROCESS SECTION (Steps) */
.process-section {
  padding: var(--section-py) 0;
  background: var(--bg-surface-light);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 3rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  transition: 0.3s;
}
.step:hover::before {
  color: var(--color-primary-glow);
  transform: translateY(-10px);
}
.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 10. BIG CTA */
.cta-section {
  padding: 10rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-title {
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-family: var(--font-heading);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .calc-container {
    grid-template-columns: 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testi-card:nth-child(2) {
    transform: none;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .logo.magnetic-wrap {
    display: inline-block !important;
  }

  .header-actions .magnetic-wrap {
    display: none !important;
  }

  .header .magnetic-wrap {
    transform: none !important;
  }

  .header {
    padding: 0.75rem 0;
  }

  .header-wrapper {
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    min-height: 56px;
  }

  .logo img {
    height: 60px !important;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    background: #000;
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    position: static;
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateY(30px);
    opacity: 0;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease;
    z-index: 1000;
  }

  .nav.active .nav-list {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    font-size: 1.25rem;
    letter-spacing: 1px;
    padding: 0.35rem 0;
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: max(1rem, env(safe-area-inset-top));
    right: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 1rem;
    z-index: 1002;
  }

  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    min-width: 100vw;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    transform: none;
  }
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  .contact-wrapper,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 4rem 0;
  }

  .about-grid {
    gap: 2rem;
  }

  .about-text h2 {
    font-size: clamp(2rem, 8vw, 2.4rem);
    line-height: 1.08;
    margin-bottom: 0.75rem;
  }

  .about-text p {
    margin-top: 0.8rem !important;
    font-size: 1rem !important;
    line-height: 1.65;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .metric-card {
    padding: 1.25rem 0.8rem;
    border-radius: 14px;
  }

  .metric-number {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
  }

  .metric-label {
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.8px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-contact ul li {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  .accordion-inner {
    grid-template-columns: 1fr;
  }
  .chart-container {
    height: 200px;
  }

  .calc-container {
    gap: 1.5rem;
    padding: 1.5rem 1.1rem;
    border-radius: 20px;
  }

  .calc-group {
    margin-bottom: 1rem;
  }

  .calc-label {
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    margin-bottom: 0.35rem;
  }

  .calc-val {
    font-size: 1.05rem;
  }

  .calc-inputs input[type="range"] {
    margin: 0.75rem 0 1.1rem;
  }

  .calc-inputs p {
    margin-top: 0.75rem !important;
    line-height: 1.5;
    font-size: 0.82rem !important;
  }

  .calc-result {
    padding: 1.8rem 1rem;
    border-radius: 16px;
  }

  .res-title {
    margin-bottom: 0.65rem;
    font-size: 1rem;
  }

  .calc-result .magnetic-wrap {
    margin-top: 1.2rem !important;
  }

  /* Mobile devices don't have hover: keep key hover visuals always active */
  .service-card {
    border-color: var(--color-primary);
    transform: none;
  }

  .service-card .service-bg {
    opacity: 1;
  }

  .service-card p {
    opacity: 1;
    transform: none;
  }

  .service-card .service-icon {
    transform: scale(1.1) rotate(6deg);
  }
}
