:root {
  --color-primary: #fb4d8f;
  --color-secondary: #7e3ff2;
  --color-dark: #0e0b24;
  --color-muted: #71717a;
  --color-surface: #ffffff;
  --gradient-brand: linear-gradient(135deg, #fa4d6a 0%, #ff7a8a 30%, #a141ff 100%);
  --font-stack: 'Poppins', 'Segoe UI', sans-serif;
  --shadow-soft: 0 20px 45px rgba(14, 11, 36, 0.08);
  --shadow-card: 0 16px 30px rgba(14, 11, 36, 0.12);
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  color: var(--color-dark);
  background: #f7f8fc;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: none;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 248, 252, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 1.6rem;
  font-weight: 500;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav ul li a:hover,
nav ul li a:focus {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

nav button.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-dark);
  cursor: pointer;
}

.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(126, 63, 242, 0.18) 0%, rgba(126, 63, 242, 0) 55%),
    radial-gradient(circle at 10% 85%, rgba(251, 77, 143, 0.16) 0%, rgba(251, 77, 143, 0) 60%),
    linear-gradient(135deg, #ffffff 0%, #fff6fb 35%, #f4f7ff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(../assets/img/cybernova-symbole-degrade.png) center / cover no-repeat;
  filter: grayscale(100%) brightness(70%) contrast(110%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 80% 30%, rgba(126, 63, 242, 0.2) 0%, rgba(126, 63, 242, 0) 65%),
    radial-gradient(circle at 15% 75%, rgba(251, 77, 143, 0.18) 0%, rgba(251, 77, 143, 0) 70%);
  filter: blur(28px);
  opacity: 0.85;
  z-index: 1;
}

.hero .content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero-text h1 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  margin: 1.4rem 0 2rem;
  color: var(--color-muted);
  max-width: 36ch;
}

.cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.button-secondary {
  border: 1px solid rgba(14, 11, 36, 0.08);
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.9);
}

.button-secondary:hover {
  border-color: rgba(14, 11, 36, 0.2);
  transform: translateY(-2px);
}

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.section-header p {
  color: var(--color-muted);
  max-width: 45ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-medium);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1px solid rgba(14, 11, 36, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(14, 11, 36, 0.1);
}

.card h3 {
  font-size: 1.4rem;
}

.card p {
  color: var(--color-muted);
}

.service-cards {
  gap: 2.2rem;
}

.service-card {
  position: relative;
  gap: 1.8rem;
  padding: 2.2rem;
  border: 1px solid rgba(14, 11, 36, 0.05);
  --service-accent: var(--color-secondary);
  --service-accent-soft: rgba(126, 63, 242, 0.12);
  --service-icon-bg: rgba(126, 63, 242, 0.18);
  --service-icon-border: rgba(126, 63, 242, 0.24);
  background:
    radial-gradient(135% 135% at 0% 0%, var(--service-accent-soft) 0%, rgba(255, 255, 255, 0) 60%),
    var(--color-surface);
  overflow: hidden;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 11, 36, 0.12);
}

.service-visual {
  flex-shrink: 0;
  width: calc(100% + 4.4rem);
  height: 56px;
  margin: 0 -2.2rem;
  display: block;
  line-height: 0;
}

.service-visual svg,
.service-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-body {
  display: grid;
  gap: 1rem;
  flex: 1;
}

.service-body h3 {
  font-size: 1.4rem;
}

.button-service {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--service-accent);
  color: var(--service-accent);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 26px rgba(14, 11, 36, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button-service:hover {
  transform: translateY(-2px);
  background: var(--service-accent);
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(14, 11, 36, 0.15);
}

.button-service:hover .button-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.button-service .button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--service-icon-bg);
  color: var(--service-accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.button-service .button-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.service-card--bolt {
  --service-accent: #fb4d8f;
  --service-accent-soft: rgba(251, 77, 143, 0.14);
  --service-icon-bg: rgba(251, 77, 143, 0.18);
  --service-icon-border: rgba(251, 77, 143, 0.25);
}

.service-card--bolt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 18% 18%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%),
    url('../assets/img/image-integrate.png') center 35% / 220px auto no-repeat;
  opacity: 0.10;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 0;
}

.service-card--bolt:hover::before {
  opacity: 0.38;
  transform: scale(1.02);
}

.service-card--gear::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 18% 18%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%),
    url('../assets/img/image-automate.png') center 35% / 220px auto no-repeat;
  opacity: 0.10;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 0;
}

.service-card--gear:hover::before {
  opacity: 0.38;
  transform: scale(1.02);
}


.service-card--gear {
  --service-accent: #7e3ff2;
  --service-accent-soft: rgba(126, 63, 242, 0.16);
  --service-icon-bg: rgba(126, 63, 242, 0.22);
  --service-icon-border: rgba(126, 63, 242, 0.28);
}

.service-card--star {
  --service-accent: #f2a93f;
  --service-accent-soft: rgba(242, 169, 63, 0.18);
  --service-icon-bg: rgba(242, 169, 63, 0.22);
  --service-icon-border: rgba(242, 169, 63, 0.3);
}

.service-card--star::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 18% 18%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%),
    url('../assets/img/image-innovate.png') center 35% / 220px auto no-repeat;
  opacity: 0.10;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 0;
}

.service-card--star:hover::before {
  opacity: 0.38;
  transform: scale(1.02);
}


.service-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  color: var(--color-dark);
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  top: 0.55rem;
  left: 0.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--service-accent);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7);
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(126, 63, 242, 0.1);
  color: var(--color-secondary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag.tag-flash {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.87);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag.tag-flash .tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 122, 191, 0.18);
  color: #ff7abf;
  box-shadow: 0 0 0 rgba(255, 122, 191, 0.35);
  animation: boltBlink 1.6s ease-in-out infinite;
}

.tag.tag-flash .tag-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.projects .card {
  position: relative;
  overflow: hidden;
  padding: 2.2rem;
  gap: 1.6rem;
  border: 1px solid rgba(24, 21, 52, 0.08);
  background:
    radial-gradient(120% 120% at -10% -20%, rgba(126, 63, 242, 0.16) 0%, rgba(126, 63, 242, 0) 54%),
    radial-gradient(110% 110% at 110% 0%, rgba(255, 122, 191, 0.14) 0%, rgba(255, 122, 191, 0) 60%),
    var(--color-surface);
}

.projects .project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.projects .project-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.projects .project-logo {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  align-content: space-between;
}

.projects .project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projects .project-heading {
  display: grid;
  gap: 0.4rem;
}

.projects .project-client {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(50, 45, 78, 0.8);
}

.projects .project-summary {
  margin: 0;
  color: rgba(36, 32, 58, 0.82);
}

.projects .project-body {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-top: 1px solid rgba(24, 21, 52, 0.08);
}

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.about .values {
  display: grid;
  gap: 1rem;
}

.about .value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about .value-item span {
  background: rgba(250, 77, 106, 0.15);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.contact {
  background:
    radial-gradient(circle at 15% 20%, rgba(251, 77, 143, 0.25) 0%, rgba(251, 77, 143, 0) 55%),
    radial-gradient(circle at 85% 80%, rgba(126, 63, 242, 0.32) 0%, rgba(126, 63, 242, 0) 60%),
    linear-gradient(140deg, #120c2c 0%, #1b1045 45%, #2f2370 100%);
  border-radius: var(--radius-large);
  padding: 3rem;
  color: white;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  align-items: center;
}

.contact p {
  opacity: 0.85;
  max-width: 40ch;
}

.contact .contact-cta {
  display: grid;
  gap: 1.2rem;
}

.contact-list {
  margin: 1.6rem 0 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.contact-list li::marker {
  color: var(--color-secondary);
}

.contact-info {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-medium);
  padding: 1.2rem 1.6rem;
  display: grid;
  gap: 0.8rem;
}

.contact-info p {
  margin: 0;
  opacity: 0.85;
}

.contact-info small {
  font-size: 0.8rem;
  opacity: 0.75;
}

.contact-info .button {
  justify-self: start;
}

footer {
  padding: 2.4rem 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}

footer ul {
  display: flex;
  gap: 1.2rem;
}

footer ul li {
  list-style: none;
}

footer a:hover {
  color: var(--color-secondary);
}

.highlight-card {
  background:
    linear-gradient(160deg, rgba(28, 18, 66, 0.9) 0%, rgba(16, 9, 36, 0.92) 35%, rgba(58, 26, 101, 0.82) 100%);
  color: white;
  padding: 2.8rem;
  border-radius: var(--radius-medium);
  display: grid;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(173, 134, 255, 0.2);
  box-shadow: 0 45px 70px rgba(8, 0, 28, 0.48);
  isolation: isolate;
}

.highlight-card::before {
  content: '';
  position: absolute;
  inset: -45% -20% -35% -25%;
  background: url('../assets/img/hero-network.svg') center/cover no-repeat;
  background-size: 160%;
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: networkDrift 28s linear infinite;
  pointer-events: none;
  will-change: transform, background-position;
}



.highlight-card .tag-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.highlight-card .tag-list .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  width: 100%;
}

.highlight-card .tag-list .tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7abf 0%, #7bf3ff 100%);
  box-shadow: 0 4px 10px rgba(9, 0, 40, 0.3);
  color: white;
}

.highlight-card .tag-list .tag-icon svg {
  width: 0.9rem;
  height: 0.9rem;
}

.highlight-card p {
  color: rgba(233, 235, 255, 0.82);
}

.highlight-card strong {
  color: #ffcbfb;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.hero .highlight-card {
  text-align: left;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.75;
  }
}

@keyframes ring {
  0% {
    transform: scale(0.8);
    opacity: 0.45;
  }
  50% {
    transform: scale(1);
    opacity: 0.25;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes boltBlink {
  0%,
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 rgba(255, 122, 191, 0.25);
    background: rgba(255, 122, 191, 0.12);
  }
  50% {
    transform: scale(0.95);
    box-shadow: 0 0 6px rgba(255, 122, 191, 0.4);
    background: rgba(255, 122, 191, 0.2);
  }
}

@keyframes networkDrift {
  0% {
    transform: rotate(0deg);
    background-position: 0% 40%;
  }
  50% {
    transform: rotate(3deg);
    background-position: 55% 60%;
  }
  100% {
    transform: rotate(0deg);
    background-position: 110% 40%;
  }
}

@keyframes cardOrbit {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: rotate(180deg) scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.6;
  }
}

.service-hero {
  background: var(--gradient-brand);
  color: white;
  padding: 6rem 0 4rem;
}

.service-hero .container {
  display: grid;
  gap: 2.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.service-hero p {
  opacity: 0.85;
  max-width: 48ch;
}

.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
}

.service-summary {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-medium);
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
}

.service-summary ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-weight: 500;
}

.service-summary li::before {
  content: '•';
  margin-right: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
}



.service-body .container {
  display: grid;
  gap: 3rem;
}

.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid .card {
  height: 100%;
}

.service-cta {
  background: #0e0b24;
  color: white;
  border-radius: var(--radius-large);
  padding: 3rem;
  display: grid;
  gap: 1.6rem;
}

@media (max-width: 900px) {
  .hero .content,
  .about,
  .contact,
  .service-hero .container {
    grid-template-columns: 1fr;
  }

  nav ul {
    display: none;
  }

  nav button.menu-toggle {
    display: inline-flex;
  }

  nav.open ul {
    display: grid;
    position: absolute;
    inset: calc(100% - 0.4rem) 0 auto 0;
    background: rgba(247, 248, 252, 0.95);
    padding: 1.6rem;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(14, 11, 36, 0.1);
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 5rem;
  }

  .hero-text h1 {
    font-size: clamp(2.1rem, 8vw, 2.7rem);
  }

  .section {
    padding: 4rem 0;
  }

  .contact {
    padding: 2.2rem;
  }

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

  .highlight-card .tag-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .highlight-card .tag-list .tag {
    font-size: 0.66rem;
    padding: 0.4rem 0.7rem;
  }

  .highlight-card .tag-list .tag-icon {
    width: 22px;
    height: 22px;
  }

  .highlight-card .tag-list .tag-icon svg {
    width: 0.7rem;
    height: 0.7rem;
  }
}
