/* ============================================================
   AUTOMIC AI — BRAND STYLESHEET v3.0
   Color Palette:
   Primary Navy      #081443
   Royal Blue        #3332BE
   Brand Purple      #6E46D9
   Cyan Accent       #159ECE
   Soft Lavender     #AEAED6
   Steel Grey        #5C627E
   Off White         #F3F4FC
   ============================================================ */

/* ─── FONTS & RESET ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #081443;
  --royal: #3332BE;
  --purple: #6E46D9;
  --cyan: #159ECE;
  --lavender: #AEAED6;
  --grey: #5C627E;
  --offwhite: #F3F4FC;
  --white: #FFFFFF;
  --grad: linear-gradient(135deg, #081443 0%, #3332BE 55%, #6E46D9 100%);
  --grad-cta: linear-gradient(135deg, #3332BE 0%, #6E46D9 100%);
  --success: #1DB954;
  --warning: #FFB000;
  --error: #E74C3C;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.5;
  background-color: var(--offwhite);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

body.page-loaded {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── KEYFRAMES ──────────────────────────────────────────── */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: var(--royal)
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes marqueeTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* ─── HEADER / NAV ───────────────────────────────────────── */
header {
  background-color: rgba(243, 244, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(8, 20, 67, 0.06);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.logo .brand-text {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-logo .brand-text {
  font-size: 1.3rem;
  font-weight: 800;
}

.logo .brand-tagline {
  font-size: 0.42rem;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0px;
  text-transform: uppercase;
  margin-top: 1px;
}

.footer-logo .brand-tagline {
  font-size: 0.38rem;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: -0.1px;
  text-transform: uppercase;
  margin-top: 1px;
}

.footer .brand-tagline {
  color: var(--lavender) !important;
}

.brand-auto,
.brand-mic {
  color: var(--navy);
}

.brand-ai {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Logo SVG rings */
.logo-ring-outer {
  transform-origin: center;
  animation: spin 4s linear infinite;
}

.logo-ring-inner {
  transform-origin: center;
  animation: spin 3s linear infinite reverse;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 48px;
}

.nav-link {
  color: var(--grey);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cta);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--royal);
  transform: scale(1.02);
  text-shadow: 0 2px 10px rgba(51, 50, 190, 0.2);
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  color: var(--grey);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: color 0.2s;
}

.dropdown:hover .dropbtn {
  color: var(--royal);
}

.dropdown:hover .dropbtn svg {
  transform: rotate(180deg);
}

.dropbtn svg {
  transition: transform 0.25s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 10px;
  min-width: 260px;
  z-index: 300;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.dropdown-menu {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(8, 20, 67, 0.12);
  padding: 10px 0;
  min-width: 260px;
  overflow: visible;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: dropFadeSlide 0.25s forwards;
}

@keyframes dropFadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content a {
  color: var(--grey);
  padding: 10px 16px;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-radius: 8px;
  margin: 0 6px 2px;
}

.dropdown-content a:hover {
  background: var(--offwhite);
  color: var(--royal);
}

/* Nested dropdown */
.dropdown-item-has-children {
  position: relative;
}

.nested-dropbtn {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  font-weight: 600 !important;
}

.nested-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: -10px;
  min-width: 240px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(8, 20, 67, 0.12);
  padding: 10px 0;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  z-index: 301;
}

.dropdown-item-has-children:hover .nested-dropdown-content {
  display: block;
  animation: slideRight 0.25s forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* CTA Button */
.btn-demo {
  background: var(--grad-cta);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(51, 50, 190, 0.25);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-demo:hover {
  box-shadow: 0 10px 25px rgba(110, 70, 217, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.btn-demo:active {
  transform: translateY(1px) scale(0.97);
}

/* ─── HAMBURGER ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--offwhite);
  border-radius: 10px;
  cursor: pointer;
  z-index: 2001;
  transition: background 0.2s;
}

.hamburger:hover {
  background: var(--lavender);
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(2) {
  margin: 4px 0;
}

/* Mobile Nav */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.85, 0, 0.15, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(8, 20, 67, 0.12);
  border-left: 1px solid rgba(8, 20, 67, 0.05);
}

.mobile-nav-overlay.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--offwhite);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  transition: all 0.2s;
}

.mobile-nav-close:hover {
  background: var(--lavender);
  transform: scale(1.1);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a,
.mobile-nav-links .mobile-dropdown-btn {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
}

.mobile-nav-overlay.active .mobile-nav-links a,
.mobile-nav-overlay.active .mobile-nav-links .mobile-dropdown-btn {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-links>*:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-links>*:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-links>*:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-links>*:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding-left: 20px;
  margin-top: 16px;
  border-left: 2px solid var(--lavender);
}

.mobile-dropdown-content.active {
  display: flex;
}

.mobile-dropdown-content a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
  opacity: 1;
  transform: none;
}

.mobile-dropdown-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--royal);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 12px 0 4px 20px;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 60px;
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}

.mobile-nav-overlay.active .mobile-nav-footer {
  opacity: 1;
}

/* ─── HERO SECTION ───────────────────────────────────────── */
.hero-section {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0 0;
  background: linear-gradient(-45deg, #0a0f25, #12183a, #081443, #04091a);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-section>.container {
  width: 100%;
}

/* Mouse-follow spotlight */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.08), transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* Static ambient orb */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(51, 50, 190, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.5s ease-out both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(21, 158, 206, 0.6);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(21, 158, 206, 0);
  }
}

.hero-content h1 {
  font-size: 3.0rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

.hero-content h1 span {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-typewriter {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.badge-typewriter.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

.badge-typewriter.fade-in-prepare {
  opacity: 0;
  transform: translateY(8px);
  transition: none !important;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--lavender);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--grad-cta);
  color: var(--white);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(51, 50, 190, 0.3);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(110, 70, 217, 0.4), 0 0 20px rgba(0, 212, 255, 0.4);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.97);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: fadeUp 0.6s ease-out 0.4s both;
  overflow: hidden;
}

.stat-item {
  padding: 20px 16px;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--lavender);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero domain chips */
.hero-chips-container {
  margin-top: 48px;
  z-index: 10;
  position: relative;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  animation: fadeUp 0.6s ease-out 0.5s both;
}

.chip {
  padding: 6px 14px;
  background: var(--offwhite);
  color: var(--grey);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(174, 174, 214, 0.4);
  transition: all 0.2s;
}

.chip:hover {
  background: rgba(51, 50, 190, 0.08);
  color: var(--royal);
  border-color: var(--royal);
}

/* Hero Image */
.hero-image {
  position: relative;
  animation: fadeUp 0.7s ease-out 0.3s both;
}

.hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(8, 20, 67, 0.12);
  animation: floatY 6s ease-in-out infinite;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: var(--grad-cta);
  z-index: -1;
  opacity: 0.15;
  filter: blur(20px);
}

/* ─── HERO VISUAL CARD CLUSTER ───────────────────────────── */
.hero-visual {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero-card-cluster {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 500px;
}

/* Central Core Orb */
.hero-center-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-core {
  width: 76px;
  height: 76px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(110, 70, 217, 0.45);
  border: 2px solid rgba(0, 212, 255, 0.6);
  z-index: 10;
  position: relative;
  overflow: hidden;
}

.orb-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(110, 70, 217, 0.3);
  pointer-events: none;
}

.orb-ring.ring-1 {
  width: 110px;
  height: 110px;
  border-color: rgba(0, 212, 255, 0.5);
  animation: spin 15s linear infinite;
}

.orb-ring.ring-2 {
  width: 170px;
  height: 170px;
  border-color: rgba(110, 70, 217, 0.35);
  border-style: dotted;
  animation: spin 25s linear infinite reverse;
}

.orb-ring.ring-3 {
  width: 230px;
  height: 230px;
  border-color: rgba(59, 91, 255, 0.2);
  animation: spin 35s linear infinite;
}

/* Floating Tech Cards (Holographic Nodes) */
.float-card {
  position: absolute;
  width: 140px;
  background: rgba(8, 20, 67, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(0, 212, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 6;
  cursor: pointer;
  text-decoration: none;
  padding: 16px 12px;
  text-align: center;
}

.float-card svg {
  width: 24px;
  height: 24px;
  color: #00d4ff;
  transition: transform 0.4s, filter 0.4s;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.6));
  margin-bottom: 10px;
}

.float-card span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Tooltip positioning removed */

.float-card:hover {
  transform: scale(1.05) !important;
  background: rgba(13, 20, 50, 0.95);
  border-color: #00d4ff;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3), inset 0 0 15px rgba(0, 212, 255, 0.15);
}

.float-card:hover svg {
  transform: scale(1.1);
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 1));
}

/* Specific Node Layout Positioning (Aligned to SVG lines) */
.card-automation {
  top: 11%;
  left: 8%;
  animation: floatCard1 5.5s ease-in-out infinite;
}

.card-ai {
  top: 45%;
  left: -4%;
  animation: floatCard2 6.5s ease-in-out infinite;
}

.card-cloud {
  top: 78%;
  left: 10%;
  animation: floatCard3 7.5s ease-in-out infinite;
}

.card-apps {
  top: 8%;
  right: 8%;
  animation: floatCard2 6.8s ease-in-out infinite reverse;
}

.card-growth {
  top: 45%;
  right: -4%;
  animation: floatCard5 7s ease-in-out infinite;
}

.card-design {
  top: 81%;
  right: 10%;
  animation: floatCard4 6s ease-in-out infinite;
}

/* Glowing Connector Lines (Electrical Waves) */
.cluster-connectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.electric-line {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.5px;
  stroke-dasharray: 6 8;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.8));
  animation: electricFlow 2s linear infinite;
}

@keyframes electricFlow {
  to {
    stroke-dashoffset: -28;
  }
}

/* Floating Animations */
@keyframes floatOrb {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

@keyframes floatCard1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes floatCard2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatCard3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes floatCard4 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatCard5 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Responsive adjust for mobile */
@media (max-width: 991px) {
  .hero-visual {
    height: 380px;
    margin: 20px auto 0;
    max-width: 440px;
  }

  .hero-card-cluster {
    transform: scale(0.9);
  }

  .card-automation {
    left: 2%;
  }

  .card-ai {
    left: -8%;
  }

  .card-cloud {
    left: 1%;
  }

  .card-apps {
    right: 2%;
  }

  .card-growth {
    right: -8%;
  }

  .card-design {
    right: 1%;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }
  .cluster-connectors {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    height: 320px;
  }

  .hero-card-cluster {
    transform: scale(0.7);
  }

  .card-automation {
    left: -5px;
  }

  .card-ai {
    left: -10px;
  }

  .card-cloud {
    left: -10px;
  }

  .card-apps {
    right: -5px;
  }

  .card-growth {
    right: -10px;
  }

  .card-design {
    right: -10px;
  }
}

/* ─── MARQUEE TICKER ─────────────────────────────────────── */
.marquee-section {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeTicker 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 0 32px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
}

.marquee-item .marquee-dot {
  width: 5px;
  height: 5px;
  background: var(--purple);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SECTION COMMON ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  color: var(--royal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ─── SERVICES / WHAT WE DO ──────────────────────────────── */
.services-section {
  padding: 96px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(174, 174, 214, 0.4);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  border-color: rgba(51, 50, 190, 0.2);
  box-shadow: 0 16px 40px rgba(8, 20, 67, 0.12);
  /* Transform handled by JS 3D Tilt */
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(51, 50, 190, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(51, 50, 190, 0.14);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--royal);
  stroke: var(--royal);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--royal);
  transition: gap 0.2s ease, color 0.2s;
}

.service-learn-more:hover {
  gap: 10px;
  color: var(--purple);
}

.service-learn-more svg {
  width: 14px;
  height: 14px;
}


/* ─── ABOUT / WHY AUTOMIC AI ─────────────────────────────── */
.why-section {
  padding: 96px 0;
  background: var(--offwhite);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(174, 174, 214, 0.35);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: rgba(51, 50, 190, 0.25);
  box-shadow: 0 8px 28px rgba(8, 20, 67, 0.07);
  transform: translateX(4px);
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

.why-card-number {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  min-width: 48px;
  flex-shrink: 0;
  margin-top: -4px;
}


/* Tech tag cloud */
.trust-panel {
  background: #ffffff;
  border: 1px solid rgba(51, 50, 190, 0.1);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 8px 32px rgba(8, 20, 67, 0.08);
}

.trust-item {
  transition: transform 0.3s ease, background 0.3s ease;
  padding: 8px;
  margin: -8px;
  border-radius: 16px;
}

.trust-item:hover {
  background: rgba(51, 50, 190, 0.03);
  transform: translateX(4px);
}

.partner-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(174, 174, 214, 0.3);
}

.partner-badge {
  padding: 6px 14px;
  background: rgba(8, 20, 67, 0.06);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}

/* Tech Stack & Partners (For Why Choose Us) */
.tech-panel {
  background: #ffffff;
  border: 1px solid rgba(51, 50, 190, 0.1);
  border-radius: 20px;
  padding: 32px 32px;
  box-shadow: 0 8px 32px rgba(8, 20, 67, 0.08);
  margin-bottom: 24px;
}

.tech-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.tech-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(8, 20, 67, 0.04);
  border: 1px solid rgba(8, 20, 67, 0.08);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: #ffffff;
  border-color: rgba(51, 50, 190, 0.3);
  box-shadow: 0 4px 12px rgba(8, 20, 67, 0.06);
  transform: translateY(-2px);
}

.tech-tag img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ─── HOW WE WORK ────────────────────────────────────────── */
.process-section {
  padding: 96px 0;
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--offwhite);
  border: 1px solid rgba(174, 174, 214, 0.35);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.process-card:hover {
  background: var(--white);
  border-color: rgba(51, 50, 190, 0.25);
  box-shadow: 0 10px 32px rgba(8, 20, 67, 0.08);
  transform: translateY(-4px);
}

.process-card::after {
  content: '→';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lavender);
  font-size: 1.2rem;
  font-weight: 700;
}

.process-card:last-child::after {
  display: none;
}

.process-step-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-section {
  padding: 0 0 96px;
  background: var(--white);
}

.cta-banner {
  background: linear-gradient(-45deg, #0a0f25, #12183a, #081443, #04091a);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  border-radius: 24px;
  padding: 64px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

/* Mouse-follow spotlight for CTA */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.08), transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* Static ambient orb for CTA */
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(51, 50, 190, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.cta-text h2 span {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-text p {
  font-size: 1rem;
  color: var(--lavender);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cta-primary {
  padding: 14px 32px;
  background: var(--grad-cta);
  color: var(--white);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(51, 50, 190, 0.3);
  border: none;
  display: inline-block;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(51, 50, 190, 0.4), 0 0 20px rgba(0, 212, 255, 0.4);
  color: var(--white);
}

.btn-cta-outline {
  padding: 14px 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-decoration: none;
  display: inline-block;
}

.btn-cta-outline:hover {
  transform: translateY(-3px);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* ─── INDUSTRIES WE SERVE ────────────────────────────────── */
.industries-section {
  padding: 96px 0;
  background: #F3F4FC;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-card {
  background: var(--white);
  border: 1px solid rgba(174, 174, 214, 0.35);
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3332BE, #6E46D9);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(8, 20, 67, 0.08);
  border-color: rgba(51, 50, 190, 0.25);
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-icon {
  width: 60px;
  height: 60px;
  background: rgba(51, 50, 190, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #3332BE;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  background: rgba(51, 50, 190, 0.14);
  transform: scale(1.08);
}

.industry-icon svg {
  width: 28px;
  height: 28px;
}

.industry-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.industry-card p {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}

.footer .brand-auto,
.footer .brand-mic {
  color: var(--white) !important;
}

.footer .brand-ai {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 280px;
  margin-top: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-offerings a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-offerings a::before {
  content: '❯';
  color: #3B82F6;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.footer-offerings a:hover::before {
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ─── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 67, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--white);
  width: 100%;
  max-width: 500px;
  padding: 44px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(8, 20, 67, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s ease;
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-container h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.modal-container>p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 28px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--lavender);
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--navy);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid rgba(174, 174, 214, 0.5);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--offwhite);
  color: var(--navy);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(51, 50, 190, 0.1);
}

.submit-btn {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ─── COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: var(--navy);
  color: white;
  padding: 20px 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 10px 0;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.cookie-link {
  color: var(--cyan) !important;
  text-decoration: underline !important;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cookie-primary {
  background: var(--grad-cta);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-cookie-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(110, 70, 217, 0.3);
}

.btn-cookie.btn-primary:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(51, 50, 190, 0.4), 0 0 20px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.4);
}

.btn-cookie-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-cookie-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.cookie-toggle {
  position: fixed;
  bottom: 52px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: var(--grad-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0);
  opacity: 0;
  box-shadow: 0 4px 12px rgba(51, 50, 190, 0.2);
  border: none;
  color: white;
}

/* WhatsApp Floating Button */
.whatsapp-toggle {
  position: fixed;
  bottom: 52px;
  right: 24px;
  width: 36px;
  height: 36px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  border: none;
  color: white;
  text-decoration: none;
}

.whatsapp-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: #20ba5a;
  color: white;
}

.whatsapp-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cookie-toggle.show {
  transform: scale(1);
  opacity: 1;
}

.cookie-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(110, 70, 217, 0.3);
}

.cookie-toggle svg {
  width: 16px;
  height: 16px;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e1;
  transition: all 0.3s ease;
  border-radius: 34px;
}

.slider:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
  background: var(--royal);
}

input:checked+.slider:before {
  transform: translateX(20px);
}

/* Cookie details panel */
.cookie-details {
  position: fixed;
  bottom: -100%;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: white;
  border-radius: 20px;
  z-index: 10001;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

.cookie-details.open {
  bottom: 100px;
  max-height: 70vh;
  overflow-y: auto;
  padding-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.cookie-details-inner {
  padding: 24px;
  color: var(--navy);
}

.cookie-details-inner h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cookie-details-inner>p {
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 20px;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.category-info {
  max-width: 80%;
}

.category-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.category-info p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--grey);
}

.always-active {
  color: var(--success);
  font-weight: 700;
  font-size: 0.82rem;
}

.cookie-details-footer {
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-details .btn-cookie-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--lavender);
}

.cookie-details .btn-cookie-secondary:hover {
  background: var(--offwhite);
}

/* Modal for cookie policy */
.modal {
  display: none;
  position: fixed;
  z-index: 20000;
  padding-top: 100px;
  inset: 0;
  overflow: auto;
  background: rgba(8, 20, 67, 0.85);
  backdrop-filter: blur(4px);
}

.modal.open {
  display: block;
}

.cookie-policy-card {
  background: white;
  margin: auto;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
}

.cookie-policy-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.cookie-policy-card p {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

.close {
  color: var(--lavender);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* btn-cookie-symbol */
.btn-cookie-symbol {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem !important;
  border-radius: 50%;
  line-height: 1;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 36px;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-chips {
    justify-content: center;
  }

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats .stat-item:nth-child(2)::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-card::after {
    display: none;
  }

  .cta-banner {
    flex-direction: column;
    padding: 48px 40px;
    text-align: center;
  }

  .cta-text p {
    margin: 0 auto;
  }

  .cta-actions {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 40px 28px;
    border-radius: 16px;
  }

  .cta-text h2 {
    font-size: 1.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .cookie-main-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-demo {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .cta-banner {
    padding: 36px 20px;
  }
}

/* ─── HOME CONTACT SECTION ─────────────────────────────────── */
.home-contact-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--white) 0%, rgba(240, 245, 255, 0.6) 100%);
  border-top: 1px solid rgba(174, 174, 214, 0.3);
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-contact-info h2 {
  font-size: 2.4rem;
  color: var(--navy);
  margin-top: 16px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.home-contact-info p {
  font-size: 1.1rem;
  color: var(--grey);
  margin-bottom: 36px;
}

.contact-chips {
  display: flex;
  flex-direction: column;
  gap: 24px;
}



.contact-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(51, 50, 190, 0.25);
  box-shadow: 0 8px 24px rgba(8, 20, 67, 0.04);
}

.chip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.chip-icon svg {
  width: 22px;
  height: 22px;
}

.chip-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.chip-text a {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  transition: color 0.2s;
}

.chip-text a:hover {
  color: rgba(255,255,255,0.8);
}
.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.home-contact-info {
  padding: 48px;
  background: rgba(51, 50, 190, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(51, 50, 190, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-contact-form-card {
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(51, 50, 190, 0.08);
  box-shadow: 0 24px 64px rgba(51, 50, 190, 0.06), 0 8px 24px rgba(51, 50, 190, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-contact-form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(51, 50, 190, 0.1), 0 12px 32px rgba(51, 50, 190, 0.04);
}

.home-contact-form-card .form-group {
  margin-bottom: 20px;
}

.home-contact-form-card label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.home-contact-form-card input,
.home-contact-form-card textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(174, 174, 214, 0.5);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--navy);
  background: rgba(248, 250, 255, 0.8);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.home-contact-form-card input:hover,
.home-contact-form-card textarea:hover {
  background: var(--white);
  border-color: rgba(51, 50, 190, 0.3);
}

.home-contact-form-card input:focus,
.home-contact-form-card textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(51, 50, 190, 0.1);
}

@media (max-width: 768px) {
  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .home-contact-form-card {
    padding: 24px;
  }
  .home-contact-info {
    display: none !important;
  }
}

.logo-png-img {
  display: block;
  height: 44px;
  width: auto;
  margin-left: 0;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

.logo-png-img:hover {
  transform: scale(1.08) translateY(-3px) rotate(2deg);
  filter: drop-shadow(0 8px 16px rgba(0, 212, 255, 0.4));
  cursor: pointer;
}

.footer-logo .logo-png-img {
  height: 40px;
  margin-left: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
}

/* ═══ SCROLL ANIMATIONS (DRAMATIC 3D PIVOT) ═══ */
.scroll-animate {
  opacity: 0;
  transform: perspective(800px) rotateX(45deg) translateY(60px) scale(0.9);
  transform-origin: bottom center;
  transition: opacity 0.35s ease-out, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) translateY(0) scale(1);
}

/* ═══ STAGGERED CASCADE DELAYS ═══ */
/* Makes grid items flip in one after the other like a domino effect */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.5s; }

/* ═══ SCROLL ANIMATIONS (SLIDE FROM SIDE) ═══ */
.scroll-side {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.scroll-side.is-visible {
  opacity: 1;
  transform: translateX(0);
}



.contact-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--grad-cta);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(51, 50, 190, 0.15);
  transition: all 0.3s ease;
}

.contact-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(110, 70, 217, 0.3);
}

.chip-text-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
}

.chip-text-wrapper a {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.chip-text-wrapper a:hover {
  opacity: 0.8;
}

.copy-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.copy-action:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.05);
}


.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } @media (max-width: 768px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Mobile Header Layout Fixes */
@media (max-width: 768px) {
  .logo .brand-tagline { 
    display: none; 
  }
  .logo .brand-text { 
    font-size: 1.2rem; 
  }
  .logo svg { 
    width: 32px; 
    height: 32px; 
  }
  .nav-actions .btn-demo { 
    display: none;
  }
  .nav-actions { 
    gap: 8px; 
  }
}

/* Hide about page image on mobile */
@media (max-width: 768px) {
  .about-hero-image {
    display: none !important;
  }
}
