/* CSS Variables for Material Design 3 */
:root {
  --md-sys-color-primary: #7c5cff;
  --md-sys-color-secondary: #29d3ff;
  --md-sys-color-tertiary: #33d17a;
  --md-sys-color-surface: #0b0d10;
  --md-sys-color-surface-variant: #10141a;
  --md-sys-color-on-surface: #e9eef5;
  --md-sys-color-on-surface-variant: rgba(233,238,245,.72);
  --md-sys-color-background: #0b0d10;
  --md-sys-color-on-background: #e9eef5;

  /* Brand colors */
  --accent: #7c5cff;
  --accent-2: #29d3ff;
  --good: #33d17a;
  --text-primary: #e9eef5;
  --text-secondary: rgba(233,238,245,.72);
  --bg-primary: #0b0d10;
  --bg-secondary: #10141a;
  --bg-tertiary: rgba(233,238,245,.08);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-2);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.4);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 13, 16, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(233, 238, 245, 0.1);
  transition: all 0.3s ease;
  height: 80px;
}

header.scrolled {
  height: 70px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.brand .logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.navlinks {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.navlinks a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.navlinks a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.navlinks a:hover::after,
.navlinks a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none !important;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Navigation */
.navlinks.mobile {
  display: none;
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 13, 16, 0.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 20px;
  border-top: 1px solid rgba(233, 238, 245, 0.1);
  z-index: 999;
}

.navlinks.mobile.active {
  display: flex;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  animation: gradientShift 3s ease-in-out infinite;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-hub {
  position: relative;
  width: 300px;
  height: 300px;
}

    .visual-hub {
      position: relative;
      width: 100%;
      height: 100%;
      animation: visualHubEntrance 2s ease-out;
      transition: transform 0.3s ease;
    }

    .hero-visual:hover .visual-hub {
      transform: scale(1.05);
    }

    @keyframes visualHubEntrance {
      0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
      }
      50% {
        opacity: 0.7;
        transform: scale(1.05) rotate(2deg);
      }
      100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
      }
    }

    .visual-ring {
      position: absolute;
      top: 50%;
      left: 50%;
      border: 2px solid transparent;
      border-radius: 50%;
      transform: translate(-50%, -50%);
    }

    .visual-ring-1 {
      width: 200px;
      height: 200px;
      border-color: rgba(124, 92, 255, 0.2);
      animation: ringPulse 4s ease-in-out infinite;
    }

    .visual-ring-2 {
      width: 160px;
      height: 160px;
      border-color: rgba(41, 211, 255, 0.15);
      animation: ringPulse 3s ease-in-out infinite reverse;
    }

    .visual-ring-3 {
      width: 120px;
      height: 120px;
      border-color: rgba(33, 209, 122, 0.1);
      animation: ringPulse 5s ease-in-out infinite;
    }

    .visual-particle {
      position: absolute;
      width: 6px;
      height: 6px;
      background: linear-gradient(45deg, var(--accent), var(--accent-2));
      border-radius: 50%;
      box-shadow: 0 0 10px var(--accent);
    }

    .particle-1 {
      top: 20%;
      left: 30%;
      animation: particleOrbit 8s linear infinite;
    }

    .particle-2 {
      top: 70%;
      right: 25%;
      animation: particleOrbit 6s linear infinite reverse;
    }

    .particle-3 {
      bottom: 20%;
      left: 25%;
      animation: particleOrbit 10s linear infinite;
    }

    .particle-4 {
      top: 25%;
      right: 30%;
      animation: particleOrbit 7s linear infinite reverse;
    }

    .visual-core {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 120px;
      height: 120px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: corePulse 2s ease-in-out infinite;
      box-shadow:
        0 0 30px rgba(124, 92, 255, 0.3),
        0 0 60px rgba(124, 92, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    }

    .energy-wave {
      position: absolute;
      top: 50%;
      left: 50%;
      border: 2px solid transparent;
      border-radius: 50%;
      transform: translate(-50%, -50%);
    }

    .wave-1 {
      width: 140px;
      height: 140px;
      border-color: rgba(255, 255, 255, 0.3);
      animation: energyWave 3s ease-in-out infinite;
    }

    .wave-2 {
      width: 160px;
      height: 160px;
      border-color: rgba(255, 255, 255, 0.2);
      animation: energyWave 4s ease-in-out infinite reverse;
    }

    .orbital-element {
      position: absolute;
      width: 8px;
      height: 8px;
      background: linear-gradient(45deg, var(--accent-2), var(--good));
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent-2);
    }

    .element-1 {
      top: 10%;
      left: 50%;
      animation: orbitalFloat 6s ease-in-out infinite;
    }

    .element-2 {
      top: 50%;
      right: 10%;
      animation: orbitalFloat 8s ease-in-out infinite reverse;
    }

    .element-3 {
      bottom: 10%;
      left: 50%;
      animation: orbitalFloat 7s ease-in-out infinite;
    }

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.visual-content {
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

/* Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.stat-card {
  --md-filled-card-container-shape: 16px;
  min-height: 180px;
  padding: 24px 20px !important;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, rgba(233,238,245,.08), rgba(233,238,245,.04)) !important;
  border: 1px solid rgba(233,238,245,.1) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex: 1;
  gap: 8px;
  padding: 0;
  width: 100%;
}

.stat-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.stat-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 2px;
  display: block;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 4px 0;
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: rgba(233,238,245,.72);
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

    /* Service Flow Diagram */
    .service-flow {
      position: relative;
      margin: 40px 0;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .flow-connector {
      position: relative;
      width: 100%;
      max-width: 600px;
      height: 4px;
      background: linear-gradient(90deg,
        rgba(124, 92, 255, 0.3) 0%,
        rgba(41, 211, 255, 0.5) 50%,
        rgba(33, 209, 122, 0.3) 100%);
      border-radius: 2px;
      animation: flowPulse 3s ease-in-out infinite;
    }

    .flow-line {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg,
        var(--accent) 0%,
        var(--accent-2) 50%,
        var(--good) 100%);
      border-radius: 2px;
      animation: flowProgress 8s ease-in-out infinite;
    }

    .flow-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 24px;
      height: 24px;
      background: var(--bg-primary);
      border: 2px solid var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 16px;
      animation: arrowBounce 2s ease-in-out infinite;
    }

    .arrow-1 {
      left: 25%;
      animation-delay: 0s;
    }

    .arrow-2 {
      left: 75%;
      animation-delay: 1s;
    }

    /* Process Indicators */
    .process-indicators {
      margin-top: 60px;
      position: relative;
    }

    .indicator-line {
      height: 3px;
      background: linear-gradient(90deg,
        rgba(124, 92, 255, 0.2) 0%,
        rgba(41, 211, 255, 0.3) 50%,
        rgba(33, 209, 122, 0.2) 100%);
      border-radius: 2px;
      position: relative;
      overflow: hidden;
    }

    .indicator-line::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg,
        transparent 0%,
        var(--accent) 50%,
        transparent 100%);
      animation: indicatorSweep 6s ease-in-out infinite;
    }

    .indicator-dots {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 20px;
      position: relative;
    }

    .indicator-dot {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(124, 92, 255, 0.3);
      position: relative;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .indicator-dot.active {
      background: var(--accent);
      border-color: var(--accent);
      box-shadow: 0 0 20px rgba(124, 92, 255, 0.5);
    }

    .indicator-dot:hover {
      transform: scale(1.2);
      box-shadow: 0 0 15px rgba(124, 92, 255, 0.4);
    }

    .dot-label {
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(11, 13, 16, 0.9);
      color: var(--text-primary);
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 600;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      white-space: nowrap;
    }

    .indicator-dot:hover .dot-label {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(-5px);
    }

    /* Section Connector */
    .section-connector {
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      margin: 40px 0;
    }

    .connector-line {
      position: absolute;
      width: 2px;
      height: 100%;
      background: linear-gradient(to bottom,
        rgba(124, 92, 255, 0.3) 0%,
        rgba(41, 211, 255, 0.5) 50%,
        rgba(33, 209, 122, 0.3) 100%);
      animation: connectorPulse 3s ease-in-out infinite;
    }

    .connector-node {
      width: 48px;
      height: 48px;
      background: var(--bg-primary);
      border: 3px solid var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 24px;
      z-index: 1;
      position: relative;
      animation: nodeRotate 6s linear infinite;
    }

    .connector-glow {
      position: absolute;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(124, 92, 255, 0.1) 0%, transparent 70%);
      animation: connectorGlow 4s ease-in-out infinite;
    }

    /* Services Section */
    .service-card {
  --md-filled-card-container-shape: 20px;
  padding: 24px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(233,238,245,.08), rgba(233,238,245,.04)) !important;
  border: 1px solid rgba(233,238,245,.1) !important;
  position: relative;
  overflow: hidden;
}

    .service-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--good));
      border-radius: 20px 20px 0 0;
      box-shadow: 0 2px 8px rgba(124, 92, 255, 0.3);
    }

    .service-card:hover,
    .service-step.highlighted .service-card {
      transform: translateY(-8px) scale(1.01);
      box-shadow: 0 20px 60px rgba(0,0,0,.2), 0 0 30px rgba(124, 92, 255, 0.1);
      border-color: rgba(124,92,255,0.3) !important;
    }

    .service-step.highlighted {
      animation: serviceHighlight 2s ease-in-out infinite;
    }

    @keyframes serviceHighlight {
      0%, 100% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.02);
        filter: brightness(1.1);
      }
    }

    .service-card {
      perspective: 1000px;
    }

.service-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.service-icon {
  font-size: 32px;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-description {
  margin-bottom: 16px;
}

.service-features {
  margin-top: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

/* Case Studies */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.case {
  background: var(--bg-tertiary);
  border: 1px solid rgba(233,238,245,.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  border-color: rgba(124,92,255,0.2);
}

.case .meta {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.case h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.case p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 0.5rem;
}

.tech-badge {
  background: rgba(124, 92, 255, 0.1);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(124, 92, 255, 0.2);
}

/* Trust Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.trust-card {
  --md-outlined-card-container-shape: 16px;
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.trust-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px;
}

.trust-icon {
  font-size: 2rem;
  color: var(--accent);
}

.trust-badge {
  background: transparent !important;
  border: 1px solid rgba(233,238,245,0.3) !important;
  color: var(--accent) !important;
}

/* Contact Section */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.contact-method {
  --md-outlined-card-container-shape: 16px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-method-content {
  padding: 20px;
}

.method-icon {
  margin-bottom: 12px;
  color: var(--accent);
}

.response-time {
  color: var(--accent-2);
  font-size: 12px;
  margin-top: 4px;
}

.contact-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* Footer */
footer {
  background: rgba(16, 20, 26, 0.9);
  border-top: 1px solid rgba(233, 238, 245, 0.1);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Material Design 3 - CSS Pure Components */
.md-filled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.md-filled-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 92, 255, 0.3);
}

.md-filled-button .md-icon {
  font-size: 18px;
}

.md-outlined-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.md-outlined-button:hover {
  background: var(--accent);
  color: white;
}

.md-outlined-button .md-icon {
  font-size: 18px;
}

.md-filled-card {
  background: linear-gradient(135deg, rgba(233,238,245,.08), rgba(233,238,245,.04));
  border: 1px solid rgba(233,238,245,.1);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.md-outlined-card {
  background: rgba(233,238,245,.02);
  border: 1px solid rgba(233,238,245,.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.md-outlined-card:hover {
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateY(-2px);
}

.md-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(233,238,245,.08);
  color: rgba(233,238,245,.72);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(233,238,245,.1);
}

.md-chip.elevated {
  background: rgba(124, 92, 255, 0.1);
  color: var(--accent);
  border-color: rgba(124, 92, 255, 0.2);
}

.md-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(233,238,245,.08);
  color: rgba(233,238,245,.72);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.md-icon-button:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.md-icon-button.loading {
  pointer-events: none;
  opacity: 0.7;
}

.md-icon-button.loading .material-icons {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.md-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,238,245,.1), transparent);
  margin: 24px 0;
}

.md-tooltip {
  position: relative;
  display: inline-block;
}

.md-tooltip .tooltip-content {
  visibility: hidden;
  width: 200px;
  background: rgba(11,13,16,0.95);
  color: var(--text-primary);
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid rgba(233,238,245,0.2);
  backdrop-filter: blur(10px);
}

.md-tooltip:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
}

/* Fallback styles pour badge et tooltip */
.md-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 1;
}

.stat-badge-success {
  background: var(--good) !important;
}

.stat-badge-info {
  background: var(--accent-2) !important;
}

.service-step-badge {
  background: var(--accent) !important;
  font-size: 10px;
  min-width: 18px;
  height: 18px;
}

.contact-badge {
  background: #ff9800 !important;
}

.service-phase-chips {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.service-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.contact-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* Mouse Effects */
.cursor-glow {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-trail {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 211, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease;
}

.cursor-glow.hovering {
  transform: scale(1.5);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.5) 0%, transparent 70%);
}

.cursor-trail.hovering {
  transform: scale(1.3);
  background: radial-gradient(circle, rgba(41, 211, 255, 0.4) 0%, transparent 70%);
}

/* Enhanced hover effects */
.md-filled-card, .md-outlined-card, .stat-card, .service-card, .trust-card, .contact-method, .case {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.md-filled-card::before, .md-outlined-card::before, .stat-card::before, .service-card::before, .trust-card::before, .contact-method::before, .case::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
  z-index: 1;
}

.md-filled-card:hover::before, .md-outlined-card:hover::before, .stat-card:hover::before, .service-card:hover::before, .trust-card:hover::before, .contact-method:hover::before, .case:hover::before {
  left: 100%;
}

/* Local sonar halo on hover */
.md-filled-card::after, .md-outlined-card::after, .stat-card::after, .service-card::after, .trust-card::after, .contact-method::after, .case::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: 0;
  opacity: 0;
}

.md-filled-card:hover::after, .md-outlined-card:hover::after, .stat-card:hover::after, .service-card:hover::after, .trust-card:hover::after, .contact-method:hover::after, .case:hover::after {
  width: 200px;
  height: 200px;
  opacity: 1;
}


/* Sonar Effects */
.sonar-halo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sonarPulse 4s infinite;
  pointer-events: none;
  z-index: 9995;
}

.sonar-ring {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sonarRing 6s infinite;
  pointer-events: none;
  z-index: 9994;
}

.sonar-ring:nth-child(2) {
  animation-delay: 2s;
  width: 150px;
  height: 150px;
}

.sonar-ring:nth-child(3) {
  animation-delay: 4s;
  width: 200px;
  height: 200px;
}

/* Magnetic hover effect */
.magnetic-hover {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.2) !important;
}

/* Subtle shake animation */
.shake-subtle {
  animation: shake-subtle 0.6s ease-in-out;
}

/* Click feedback */
.click-feedback {
  transform: scale(0.98) !important;
  transition: transform 0.1s ease !important;
}

/* Breathing effect for important elements */
.stat-card, .service-card {
  animation: breathe 4s ease-in-out infinite;
}

/* Pulse effect for CTA buttons */
.md-filled-button {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Scroll-triggered animations */
.stat-card, .service-card, .trust-card, .case, .contact-method {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card.animate-in, .service-card.animate-in, .trust-card.animate-in, .case.animate-in, .contact-method.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

    /* Staggered animation delays */
    .stat-card:nth-child(1) { transition-delay: 0.1s; }
    .stat-card:nth-child(2) { transition-delay: 0.2s; }
    .stat-card:nth-child(3) { transition-delay: 0.3s; }

    .service-card:nth-child(1) {
      transition-delay: 0.1s;
      animation: serviceCardEntrance 0.8s ease-out 0.1s both;
    }
    .service-card:nth-child(2) {
      transition-delay: 0.2s;
      animation: serviceCardEntrance 0.8s ease-out 0.2s both;
    }
    .service-card:nth-child(3) {
      transition-delay: 0.3s;
      animation: serviceCardEntrance 0.8s ease-out 0.3s both;
    }

.trust-header {
  text-align: center;
  margin-bottom: 3rem;
}

.trust-header h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    height: 400px;
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  header {
    height: 64px;
  }

  header.scrolled {
    height: 56px;
  }

  .navlinks {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .stat-card {
    min-height: 140px;
    padding: 20px 16px !important;
  }

  .stat-content {
    gap: 6px;
  }

  .stat-icon {
    font-size: 28px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
    min-height: 28px;
  }

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

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

  .contact-methods {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  header {
    height: 64px;
  }

  header.scrolled {
    height: 56px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


@keyframes sonarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
    border-color: rgba(255, 255, 255, 0.3);
  }
  50% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
    border-color: rgba(255, 255, 255, 0);
  }
}

@keyframes sonarRing {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0.8;
    border-color: rgba(255, 255, 255, 0.2);
  }
  50% {
    opacity: 0.3;
    border-color: rgba(255, 255, 255, 0.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
    border-color: rgba(255, 255, 255, 0);
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.005); }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(124, 92, 255, 0.2);
  }
  50% {
    box-shadow: 0 4px 25px rgba(124, 92, 255, 0.4);
  }
}

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

@keyframes shake-subtle {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-1px); }
  20%, 40%, 60%, 80% { transform: translateX(1px); }
}

@keyframes text-reveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    filter: blur(10px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(10px) scale(0.95);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

    @keyframes statReveal {
      0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* Visual Hub Animations */
    @keyframes ringPulse {
      0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
      }
      50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
      }
    }

    @keyframes particleOrbit {
      0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
      }
      100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
      }
    }

    @keyframes energyWave {
      0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
      }
      50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
      }
      100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
      }
    }

    @keyframes orbitalFloat {
      0%, 100% {
        transform: translateY(0px);
        opacity: 0.8;
      }
      25% {
        transform: translateY(-10px);
        opacity: 1;
      }
      50% {
        transform: translateY(0px);
        opacity: 0.6;
      }
      75% {
        transform: translateY(10px);
        opacity: 0.9;
      }
    }

    /* Flow Animations */
    @keyframes flowPulse {
      0%, 100% {
        opacity: 0.7;
      }
      50% {
        opacity: 1;
      }
    }

    @keyframes flowProgress {
      0% {
        width: 0%;
      }
      50% {
        width: 100%;
      }
      100% {
        width: 0%;
      }
    }

    @keyframes arrowBounce {
      0%, 100% {
        transform: translateY(-50%) scale(1);
      }
      50% {
        transform: translateY(-50%) scale(1.2);
      }
    }

    @keyframes indicatorSweep {
      0% {
        left: -100%;
      }
      50% {
        left: 100%;
      }
      100% {
        left: -100%;
      }
    }

    @keyframes connectorPulse {
      0%, 100% {
        opacity: 0.6;
      }
      50% {
        opacity: 1;
      }
    }

    @keyframes nodeRotate {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

    @keyframes connectorGlow {
      0%, 100% {
        transform: scale(1);
        opacity: 0.5;
      }
      50% {
        transform: scale(1.2);
        opacity: 0.8;
      }
    }

    @keyframes serviceCardEntrance {
      0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }