/* =========================================================
   CHANCE FLOREL AGBOKA
   PORTFOLIO
========================================================= */

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


:root {
  --bg: #07090d;
  --bg-soft: #0c0f14;
  --card: rgba(15, 18, 24, 0.68);
  --text: #f6f7f9;
  --muted: #9297a2;
  --border: rgba(255, 255, 255, 0.09);
  --accent: #d8ff3e;
  --purple: #805cff;
  --blue: #376dff;
  --whatsapp: #25d366;
  --container: 1180px;
}


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  font-family:
    "Inter",
    sans-serif;

  color: var(--text);

  background:
    var(--bg);

  line-height: 1.65;

  overflow-x: hidden;
}


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


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


button {
  font: inherit;
}


::selection {
  background: var(--accent);
  color: #07090d;
}


.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}


/* =========================================================
   BACKGROUND
========================================================= */

#neon-canvas {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;

  pointer-events: none;
}


.ambient-background {
  position: fixed;
  inset: 0;

  overflow: hidden;

  pointer-events: none;

  z-index: 0;
}


.ambient-orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(110px);

  opacity: 0.24;

  will-change: transform;
}


.orb-green {
  width: 520px;
  height: 520px;

  top: -240px;
  left: -190px;

  background:
    rgba(216, 255, 62, 0.42);

  animation:
    moveGreen 13s
    ease-in-out
    infinite alternate;
}


.orb-purple {
  width: 560px;
  height: 560px;

  top: 35%;
  right: -280px;

  background:
    rgba(128, 92, 255, 0.28);

  animation:
    movePurple 16s
    ease-in-out
    infinite alternate;
}


.orb-blue {
  width: 480px;
  height: 480px;

  left: 38%;
  bottom: -260px;

  background:
    rgba(55, 109, 255, 0.21);

  animation:
    moveBlue 18s
    ease-in-out
    infinite alternate;
}


.background-grid {
  position: absolute;
  inset: 0;

  opacity: 0.22;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    );

  background-size:
    70px 70px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.9),
      transparent 95%
    );

  animation:
    gridMovement 20s
    linear infinite;
}


.mouse-glow {
  position: fixed;

  width: 440px;
  height: 440px;

  left: 0;
  top: 0;

  border-radius: 50%;

  transform:
    translate(-50%, -50%);

  background:
    radial-gradient(
      circle,
      rgba(216,255,62,.11),
      rgba(216,255,62,.025) 40%,
      transparent 70%
    );

  pointer-events: none;

  z-index: 1;
}


/* =========================================================
   CONTENT
========================================================= */

.header,
main,
.footer {
  position: relative;
  z-index: 2;
}


/* =========================================================
   PROGRESS
========================================================= */

.scroll-progress {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  z-index: 99999;
}


#scroll-progress-bar {
  width: 0;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      white
    );

  box-shadow:
    0 0 15px
    var(--accent);
}


/* =========================================================
   HEADER
========================================================= */

.header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  transition:
    background .35s ease,
    box-shadow .35s ease,
    border .35s ease;
}


.header.header-scrolled {
  background:
    rgba(7, 9, 13, .8);

  backdrop-filter:
    blur(22px);

  -webkit-backdrop-filter:
    blur(22px);

  border-bottom:
    1px solid
    rgba(255,255,255,.07);

  box-shadow:
    0 15px 50px
    rgba(0,0,0,.28);
}


.nav {
  height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}


.logo {
  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 1.75rem;

  font-weight: 700;

  letter-spacing: -.05em;

  transition:
    transform .3s ease;
}


.logo span {
  color: var(--accent);
}


.logo:hover {
  transform:
    scale(1.08)
    rotate(-4deg);
}


.nav-links {
  display: flex;

  align-items: center;

  gap: 29px;
}


.nav-links a {
  position: relative;

  color: #c8cbd2;

  font-size: .84rem;

  transition:
    color .25s ease;
}


.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 2px;

  border-radius: 50px;

  background:
    var(--accent);

  box-shadow:
    0 0 12px
    rgba(216,255,62,.5);

  transition:
    width .3s ease;
}


.nav-links a:hover,
.nav-links a.active {
  color: white;
}


.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


.nav-contact {
  padding:
    9px 17px;

  border:
    1px solid
    var(--border);

  border-radius:
    50px;

  background:
    rgba(255,255,255,.025);
}


.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  border:
    1px solid
    var(--border);

  border-radius: 11px;

  background:
    rgba(255,255,255,.035);

  cursor: pointer;
}


.menu-toggle span {
  display: block;

  width: 19px;
  height: 2px;

  margin: 4px auto;

  background: white;

  transition: .3s ease;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;

  padding:
    125px 0 85px;

  overflow: hidden;
}


.hero-light {
  position: absolute;

  border-radius: 50%;

  filter: blur(80px);

  pointer-events: none;
}


.hero-light-one {
  width: 300px;
  height: 300px;

  top: 25%;
  left: 20%;

  background:
    rgba(216,255,62,.05);

  animation:
    heroGlow 5s
    ease-in-out infinite;
}


.hero-light-two {
  width: 350px;
  height: 350px;

  right: 10%;
  bottom: 10%;

  background:
    rgba(128,92,255,.07);

  animation:
    heroGlow 6s
    ease-in-out infinite reverse;
}


.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(300px, .75fr);

  gap: 75px;

  align-items: center;
}


.hero-content {
  position: relative;
  z-index: 3;
}


.hero-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding:
    8px 13px;

  margin-bottom: 22px;

  border:
    1px solid
    rgba(216,255,62,.18);

  border-radius: 50px;

  background:
    rgba(216,255,62,.045);

  color: #cbd4a5;

  font-size: .67rem;

  font-weight: 700;

  letter-spacing: .14em;
}


.badge-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 14px
    var(--accent);

  animation:
    badgePulse 1.6s
    ease-in-out infinite;
}


/* NAME */

.hero-name {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(3.6rem, 7.2vw, 7rem);

  line-height: .88;

  letter-spacing: -.065em;

  perspective: 1000px;
}


.animated-name {
  display: block;

  white-space: nowrap;
}


.animated-name .letter {
  display: inline-block;

  opacity: 0;

  filter: blur(8px);

  transform:
    translateY(50px)
    rotateX(90deg)
    scale(.82);

  animation:
    revealLetter .75s
    cubic-bezier(.16,1,.3,1)
    forwards;

  animation-delay:
    calc(
      var(--letter-index)
      * .055s
      + .1s
    );
}


.animated-name .space {
  display: inline-block;

  width: .26em;
}


.accent-name {
  color: var(--accent);

  text-shadow:
    0 0 18px
    rgba(216,255,62,.16),
    0 0 50px
    rgba(216,255,62,.07);
}


.hero-tagline {
  margin-top: 28px;

  max-width: 750px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(1.1rem,2vw,1.55rem);

  font-weight: 500;

  color: #dadce1;
}


.hero-tagline span {
  color: var(--accent);
}


.hero-description {
  max-width: 680px;

  margin-top: 20px;

  color: var(--muted);

  font-size: .95rem;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 31px;
}


.button {
  position: relative;

  overflow: hidden;

  min-height: 50px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 16px;

  padding:
    0 22px;

  border-radius: 50px;

  font-size: .84rem;

  font-weight: 700;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}


.button::before {
  content: "";

  position: absolute;

  top: -70%;
  left: -100px;

  width: 45px;
  height: 250%;

  background:
    rgba(255,255,255,.32);

  transform:
    rotate(25deg);

  transition:
    left .65s ease;
}


.button:hover::before {
  left: 130%;
}


.button:hover {
  transform:
    translateY(-4px);
}


.button-primary {
  background:
    var(--accent);

  color: #090b0e;

  box-shadow:
    0 12px 40px
    rgba(216,255,62,.13);
}


.button-primary:hover {
  box-shadow:
    0 0 25px
    rgba(216,255,62,.22),
    0 15px 45px
    rgba(216,255,62,.15);
}


.button-secondary {
  color: white;

  border:
    1px solid
    var(--border);

  background:
    rgba(255,255,255,.035);

  backdrop-filter:
    blur(12px);
}


.button-secondary:hover {
  border-color:
    rgba(216,255,62,.3);
}


/* CHEVRON BUTTON */

.btn-chevron {
  position: relative;

  width: 9px;
  height: 9px;

  border-top:
    2px solid currentColor;

  border-right:
    2px solid currentColor;

  transform:
    rotate(45deg);

  transition:
    transform .3s ease;
}


.button:hover .btn-chevron,
.contact-main-button:hover .btn-chevron {
  transform:
    translateX(4px)
    rotate(45deg);
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
  display: flex;

  gap: 34px;

  margin-top: 42px;
}


.hero-stat {
  display: flex;

  flex-direction: column;
}


.hero-stat strong {
  font-family:
    "Space Grotesk";

  font-size: .82rem;

  letter-spacing: .04em;
}


.hero-stat span {
  color: var(--muted);

  font-size: .63rem;
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-visual {
  position: relative;

  min-height: 440px;

  display: flex;

  align-items: center;

  justify-content: center;
}


.hero-card {
  position: relative;

  width: 100%;
  min-height: 390px;

  padding: 25px;

  display: flex;

  flex-direction: column;

  justify-content:
    space-between;

  border:
    1px solid
    rgba(255,255,255,.10);

  border-radius: 30px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.015)
    );

  backdrop-filter:
    blur(22px);

  -webkit-backdrop-filter:
    blur(22px);

  box-shadow:
    0 35px 90px
    rgba(0,0,0,.38),
    inset 0 1px 0
    rgba(255,255,255,.07);

  transform-style:
    preserve-3d;

  transition:
    transform .15s ease-out;
}


.hero-card::before {
  content: "";

  position: absolute;

  width: 240px;
  height: 240px;

  top: -90px;
  right: -90px;

  border-radius: 50%;

  background:
    rgba(216,255,62,.12);

  filter: blur(35px);
}


.hero-card::after {
  content: "";

  position: absolute;

  left: 10%;
  right: 10%;
  bottom: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--accent),
      transparent
    );

  box-shadow:
    0 0 18px
    rgba(216,255,62,.8);
}


.hero-card-top {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: space-between;

  color: #b6bac3;

  font-size: .62rem;

  letter-spacing: .13em;
}


.status-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background:
    var(--accent);

  box-shadow:
    0 0 14px
    var(--accent);

  animation:
    badgePulse 1.6s infinite;
}


.hero-card-center {
  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 15px;
}


.digital-system {
  position: relative;

  width: 160px;
  height: 160px;

  display: flex;

  align-items: center;

  justify-content: center;
}


.digital-ring {
  position: absolute;

  border-radius: 50%;
}


.ring-one {
  inset: 0;

  border:
    1px solid
    rgba(216,255,62,.27);

  border-top-color:
    var(--accent);

  animation:
    rotateRing 9s linear infinite;
}


.ring-two {
  inset: 20px;

  border:
    1px dashed
    rgba(255,255,255,.16);

  animation:
    rotateRingReverse 13s linear infinite;
}


.digital-core {
  position: relative;

  z-index: 2;

  width: 80px;
  height: 80px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(216,255,62,.16),
      rgba(216,255,62,.03)
    );

  border:
    1px solid
    rgba(216,255,62,.18);

  box-shadow:
    0 0 45px
    rgba(216,255,62,.08);

  color:
    var(--accent);

  font-family:
    "Space Grotesk";

  font-weight: 700;

  font-size: 1.35rem;
}


.hero-card-center p {
  color:
    rgba(255,255,255,.42);

  font-size: .58rem;

  font-weight: 700;

  letter-spacing: .3em;
}


.hero-card-bottom {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;
}


.hero-card-bottom div {
  padding: 13px;

  border:
    1px solid
    var(--border);

  border-radius: 12px;

  background:
    rgba(255,255,255,.025);
}


.hero-card-bottom small {
  display: block;

  color: var(--muted);

  font-size: .61rem;
}


.hero-card-bottom strong {
  font-size: .76rem;
}


/* CHIPS */

.floating-chip {
  position: absolute;

  padding:
    9px 14px;

  border:
    1px solid
    rgba(216,255,62,.18);

  border-radius: 50px;

  background:
    rgba(11,14,18,.82);

  backdrop-filter:
    blur(12px);

  color: #dfe5c3;

  font-size: .6rem;

  font-weight: 800;

  letter-spacing: .1em;

  box-shadow:
    0 10px 30px
    rgba(0,0,0,.3);
}


.chip-one {
  top: 35px;
  left: -25px;

  animation:
    floatOne 4s
    ease-in-out infinite;
}


.chip-two {
  top: 46%;
  right: -24px;

  animation:
    floatTwo 4.7s
    ease-in-out infinite;
}


.chip-three {
  bottom: 28px;
  left: 10px;

  animation:
    floatOne 5.2s
    ease-in-out infinite;
}


/* =========================================================
   SCROLL
========================================================= */

.scroll-indicator {
  position: absolute;

  bottom: 25px;
  left: 50%;

  transform:
    translateX(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;

  color: var(--muted);

  font-size: .56rem;

  letter-spacing: .16em;
}


.scroll-line {
  position: relative;

  width: 1px;
  height: 38px;

  overflow: hidden;

  background:
    rgba(255,255,255,.11);
}


.scroll-line::after {
  content: "";

  position: absolute;

  left: 0;
  top: -70%;

  width: 100%;
  height: 60%;

  background:
    var(--accent);

  animation:
    scrollLine 1.8s
    ease-in-out infinite;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  position: relative;

  padding:
    105px 0;
}


.section-glass {
  background:
    rgba(8,10,14,.5);

  backdrop-filter:
    blur(3px);

  border-top:
    1px solid
    rgba(255,255,255,.04);

  border-bottom:
    1px solid
    rgba(255,255,255,.04);
}


.section-label {
  color:
    var(--accent);

  font-size: .67rem;

  font-weight: 800;

  letter-spacing: .16em;
}


.section-title {
  max-width: 760px;

  margin-top: 13px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(2.3rem,5vw,4.4rem);

  line-height: 1;

  letter-spacing: -.045em;
}


.section-title span {
  color: #737985;
}


.section-description {
  max-width: 520px;

  margin-top: 18px;

  color: var(--muted);

  font-size: .9rem;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
  display: grid;

  grid-template-columns:
    .95fr 1.05fr;

  gap: 100px;

  align-items: start;
}


.about-content {
  padding-top: 13px;
}


.about-content p {
  margin-bottom: 17px;

  color: var(--muted);

  font-size: .93rem;
}


.about-content .about-lead {
  color: white;

  font-family:
    "Space Grotesk";

  font-size: 1.22rem;

  line-height: 1.55;
}


.about-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 28px;
}


.about-tags span {
  padding:
    7px 12px;

  border:
    1px solid
    var(--border);

  border-radius: 50px;

  background:
    rgba(255,255,255,.025);

  color: #c2c6ce;

  font-size: .67rem;

  transition: .3s ease;
}


.about-tags span:hover {
  color:
    var(--accent);

  border-color:
    rgba(216,255,62,.25);

  transform:
    translateY(-3px);
}


/* =========================================================
   SKILLS
========================================================= */

.skills-grid {
  display: grid;

  grid-template-columns:
    repeat(3,1fr);

  gap: 16px;

  margin-top: 48px;
}


.skill-card {
  position: relative;

  min-height: 255px;

  padding: 24px;

  overflow: hidden;

  border:
    1px solid
    var(--border);

  border-radius: 21px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.012)
    );

  backdrop-filter:
    blur(15px);

  transition:
    transform .4s ease,
    border-color .4s ease,
    box-shadow .4s ease;
}


.skill-card::before {
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  top: -95px;
  right: -90px;

  border-radius: 50%;

  background:
    rgba(216,255,62,.09);

  filter:
    blur(30px);

  transition: .5s;
}


.skill-card:hover {
  transform:
    translateY(-9px);

  border-color:
    rgba(216,255,62,.26);

  box-shadow:
    0 25px 60px
    rgba(0,0,0,.27),
    0 0 35px
    rgba(216,255,62,.03);
}


.skill-card:hover::before {
  top: -40px;
  right: -35px;
}


.skill-number {
  position: absolute;

  top: 18px;
  right: 20px;

  color:
    rgba(255,255,255,.2);

  font-size: .65rem;
}


.skill-icon {
  width: 45px;
  height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 29px;

  border:
    1px solid
    rgba(216,255,62,.16);

  border-radius: 12px;

  background:
    rgba(216,255,62,.055);

  color:
    var(--accent);

  font-family:
    "Space Grotesk";

  font-size: .8rem;
}


.skill-card h3 {
  margin-bottom: 8px;

  font-family:
    "Space Grotesk";

  font-size: 1.08rem;
}


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

  font-size: .82rem;
}


.skill-line {
  position: absolute;

  left: 24px;
  bottom: 0;

  width: 0;
  height: 2px;

  background:
    var(--accent);

  box-shadow:
    0 0 14px
    rgba(216,255,62,.6);

  transition:
    width .5s ease;
}


.skill-card:hover .skill-line {
  width:
    calc(100% - 48px);
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-header {
  display: grid;

  grid-template-columns:
    1fr .6fr;

  gap: 50px;

  align-items: end;
}


.projects-intro {
  max-width: 400px;

  color: var(--muted);

  font-size: .88rem;
}


.projects-grid {
  display: grid;

  grid-template-columns:
    repeat(4,1fr);

  gap: 18px;

  margin-top: 47px;
}


.project-card {
  position: relative;

  overflow: hidden;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    rgba(15,18,24,.58);

  backdrop-filter:
    blur(12px);

  transition:
    transform .4s
    cubic-bezier(.16,1,.3,1),
    border-color .4s ease,
    box-shadow .4s ease;
}


.project-card:hover {
  transform:
    translateY(-8px);

  border-color:
    rgba(216,255,62,.28);

  box-shadow:
    0 22px 55px
    rgba(0,0,0,.34),
    0 0 25px
    rgba(216,255,62,.04);
}


.project-image {
  position: relative;

  height: 145px;

  overflow: hidden;

  background: #111419;
}


.project-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .7s
    cubic-bezier(.16,1,.3,1),
    filter .5s ease;
}


.project-card:hover
.project-image img {
  transform:
    scale(1.09);

  filter:
    brightness(.66);
}


.project-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: flex-end;

  padding: 12px;

  opacity: 0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.68),
      transparent 65%
    );

  transition:
    opacity .35s ease;
}


.project-card:hover
.project-overlay {
  opacity: 1;
}


.project-overlay span {
  padding:
    5px 9px;

  border-radius: 30px;

  background:
    var(--accent);

  color: #0a0c0f;

  font-size: .57rem;

  font-weight: 800;

  transform:
    translateY(8px);

  transition:
    transform .35s ease;
}


.project-card:hover
.project-overlay span {
  transform:
    translateY(0);
}


.project-info {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  padding: 14px;
}


.project-info h3 {
  font-family:
    "Space Grotesk";

  font-size: .87rem;

  line-height: 1.25;

  transition:
    color .3s ease;
}


.project-card:hover
.project-info h3 {
  color:
    var(--accent);
}


.project-info p {
  margin-top: 3px;

  color: var(--muted);

  font-size: .62rem;
}


/* =========================================================
   NOUVELLE FLECHE
========================================================= */

.flow-arrow {
  position: relative;

  flex: 0 0 auto;

  width: 34px;
  height: 26px;

  display: flex;

  align-items: center;

  transition:
    transform .35s ease;
}


.flow-arrow::before {
  content: "";

  position: absolute;

  left: 3px;
  right: 6px;

  height: 1px;

  background:
    rgba(255,255,255,.28);

  transform-origin: left;

  transition:
    background .35s ease,
    transform .35s ease,
    box-shadow .35s ease;
}


.flow-arrow::after {
  content: "";

  position: absolute;

  right: 5px;

  width: 6px;
  height: 6px;

  border-top:
    1.5px solid
    rgba(255,255,255,.4);

  border-right:
    1.5px solid
    rgba(255,255,255,.4);

  transform:
    rotate(45deg);

  transition:
    border-color .35s ease,
    transform .35s ease;
}


.project-card:hover
.flow-arrow,
.service-item:hover
.flow-arrow {
  transform:
    translateX(4px);
}


.project-card:hover
.flow-arrow::before,
.service-item:hover
.flow-arrow::before {
  background:
    var(--accent);

  transform:
    scaleX(1.12);

  box-shadow:
    0 0 10px
    rgba(216,255,62,.45);
}


.project-card:hover
.flow-arrow::after,
.service-item:hover
.flow-arrow::after {
  border-color:
    var(--accent);

  transform:
    translateX(2px)
    rotate(45deg);
}


/* =========================================================
   SERVICES
========================================================= */

.services-list {
  margin-top: 49px;

  border-top:
    1px solid
    var(--border);
}


.service-item {
  position: relative;

  display: grid;

  grid-template-columns:
    60px
    1.2fr
    1fr
    45px;

  gap: 20px;

  align-items: center;

  min-height: 95px;

  padding:
    17px 6px;

  overflow: hidden;

  border-bottom:
    1px solid
    var(--border);

  transition:
    padding .35s ease,
    background .35s ease;
}


.service-item::before {
  content: "";

  position: absolute;

  left: -100%;
  top: 0;

  width: 100%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      rgba(216,255,62,.06),
      transparent
    );

  transition:
    left .55s
    cubic-bezier(.16,1,.3,1);
}


.service-item:hover::before {
  left: 0;
}


.service-item:hover {
  padding-left: 15px;
}


.service-number,
.service-item h3,
.service-item p,
.service-item .flow-arrow {
  position: relative;
}


.service-number {
  color:
    var(--accent);

  font-size: .64rem;
}


.service-item h3 {
  font-family:
    "Space Grotesk";

  font-size:
    clamp(1.05rem,2vw,1.45rem);
}


.service-item p {
  color: var(--muted);

  font-size: .77rem;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {
  position: relative;

  overflow: hidden;

  display: grid;

  grid-template-columns:
    1.1fr .9fr;

  gap: 60px;

  padding: 55px;

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: 30px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.012)
    );

  backdrop-filter:
    blur(18px);

  box-shadow:
    0 40px 100px
    rgba(0,0,0,.28);
}


.contact-glow {
  position: absolute;

  width: 400px;
  height: 400px;

  top: -230px;
  left: 20%;

  border-radius: 50%;

  background:
    rgba(216,255,62,.15);

  filter:
    blur(80px);

  animation:
    contactGlow 7s
    ease-in-out
    infinite alternate;
}


.contact-main {
  position: relative;

  z-index: 2;
}


.contact-main h2 {
  margin:
    12px 0 18px;

  font-family:
    "Space Grotesk";

  font-size:
    clamp(2.5rem,5vw,4.8rem);

  line-height: .95;

  letter-spacing: -.055em;
}


.contact-main h2 span {
  color:
    var(--accent);
}


.contact-main > p {
  max-width: 480px;

  color:
    var(--muted);
}


.contact-main-button {
  display: inline-flex;

  align-items: center;

  gap: 30px;

  margin-top: 28px;

  padding:
    13px 18px;

  border-radius: 50px;

  background:
    var(--accent);

  color: #07090d;

  font-size: .77rem;

  font-weight: 800;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.contact-main-button:hover {
  transform:
    translateY(-4px);

  box-shadow:
    0 15px 45px
    rgba(216,255,62,.17);
}


.contact-links {
  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;

  justify-content: center;
}


.contact-links a {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding:
    13px 2px;

  border-bottom:
    1px solid
    var(--border);

  transition:
    padding .3s ease,
    background .3s ease;
}


.contact-links a:hover {
  padding-left: 8px;
  padding-right: 8px;

  background:
    rgba(216,255,62,.02);
}


.contact-links a > div {
  display: flex;

  flex-direction: column;
}


.contact-links span {
  color:
    var(--muted);

  font-size: .6rem;
}


.contact-links strong {
  margin-top: 2px;

  font-size: .78rem;

  font-weight: 500;
}


/* CONTACT CHEVRON */

.contact-chevron {
  flex: 0 0 auto;

  width: 8px;
  height: 8px;

  border-top:
    1.5px solid
    #737985;

  border-right:
    1.5px solid
    #737985;

  transform:
    rotate(45deg);

  transition:
    transform .3s ease,
    border-color .3s ease;
}


.contact-links a:hover
.contact-chevron {
  border-color:
    var(--accent);

  transform:
    translateX(4px)
    rotate(45deg);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  border-top:
    1px solid
    var(--border);

  background:
    rgba(6,8,11,.45);

  backdrop-filter:
    blur(10px);
}


.footer-inner {
  min-height: 115px;

  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  gap: 20px;
}


.footer-logo {
  font-family:
    "Space Grotesk";

  font-size: 1.4rem;

  font-weight: 700;
}


.footer-logo span {
  color:
    var(--accent);
}


.footer-inner > div p,
.footer-copy {
  color:
    var(--muted);

  font-size: .63rem;
}


.back-top {
  justify-self: end;

  width: 39px;
  height: 39px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid
    var(--border);

  border-radius: 50%;

  transition:
    background .3s ease,
    transform .3s ease,
    border-color .3s ease;
}


.back-top:hover {
  background:
    var(--accent);

  border-color:
    var(--accent);

  transform:
    translateY(-4px);
}


.top-chevron {
  width: 8px;
  height: 8px;

  border-top:
    2px solid
    var(--muted);

  border-left:
    2px solid
    var(--muted);

  transform:
    rotate(45deg)
    translate(2px,2px);

  transition: .3s ease;
}


.back-top:hover
.top-chevron {
  border-color:
    #07090d;

  transform:
    rotate(45deg)
    translate(-1px,-1px);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-floating {
  position: fixed;

  right: 20px;
  bottom: 24px;

  z-index: 9999;

  width: 58px;
  height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  color: white;

  background:
    var(--whatsapp);

  box-shadow:
    0 0 20px
    rgba(37,211,102,.3),
    0 12px 30px
    rgba(0,0,0,.35);

  animation:
    whatsappFloat 3s
    ease-in-out infinite;

  transition:
    transform .3s ease;
}


.whatsapp-floating:hover {
  transform:
    scale(1.1);
}


.whatsapp-ring {
  position: absolute;

  inset: -1px;

  border-radius: 50%;

  border:
    2px solid
    rgba(37,211,102,.55);

  animation:
    whatsappRing 1.8s
    ease-out infinite;
}


/* =========================================================
   REVEALS
========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(36px);

  transition:
    opacity .85s
    cubic-bezier(.16,1,.3,1),
    transform .85s
    cubic-bezier(.16,1,.3,1);
}


.reveal.visible {
  opacity: 1;

  transform:
    translateY(0);
}


.reveal-left {
  opacity: 0;

  transform:
    translateX(-45px);

  transition:
    .9s
    cubic-bezier(.16,1,.3,1);
}


.reveal-left.visible {
  opacity: 1;

  transform:
    translateX(0);
}


.reveal-right {
  opacity: 0;

  transform:
    translateX(45px);

  transition:
    .9s
    cubic-bezier(.16,1,.3,1);
}


.reveal-right.visible {
  opacity: 1;

  transform:
    translateX(0);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes revealLetter {

  0% {
    opacity: 0;

    filter: blur(8px);

    transform:
      translateY(50px)
      rotateX(90deg)
      scale(.82);
  }

  65% {
    opacity: 1;

    filter: blur(0);
  }

  100% {
    opacity: 1;

    filter: blur(0);

    transform:
      translateY(0)
      rotateX(0)
      scale(1);
  }

}


@keyframes badgePulse {

  0%,
  100% {
    opacity: .5;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

}


@keyframes rotateRing {

  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }

}


@keyframes rotateRingReverse {

  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }

}


@keyframes floatOne {

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

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

}


@keyframes floatTwo {

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

  50% {
    transform:
      translate(-6px,8px);
  }

}


@keyframes scrollLine {

  0% {
    top: -70%;
  }

  100% {
    top: 120%;
  }

}


@keyframes heroGlow {

  0%,
  100% {
    opacity: .4;
    transform: scale(.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }

}


@keyframes moveGreen {

  from {
    transform:
      translate(0,0)
      scale(1);
  }

  to {
    transform:
      translate(260px,220px)
      scale(1.2);
  }

}


@keyframes movePurple {

  from {
    transform:
      translate(0,0);
  }

  to {
    transform:
      translate(-260px,170px)
      scale(1.15);
  }

}


@keyframes moveBlue {

  from {
    transform:
      translate(0,0);
  }

  to {
    transform:
      translate(170px,-230px)
      scale(1.18);
  }

}


@keyframes gridMovement {

  from {
    transform:
      translateY(0);
  }

  to {
    transform:
      translateY(70px);
  }

}


@keyframes contactGlow {

  from {
    transform:
      translateX(-70px);
  }

  to {
    transform:
      translateX(170px);
  }

}


@keyframes whatsappRing {

  0% {
    transform:
      scale(1);

    opacity: .8;
  }

  100% {
    transform:
      scale(1.6);

    opacity: 0;
  }

}


@keyframes whatsappFloat {

  0%,
  100% {
    margin-bottom: 0;
  }

  50% {
    margin-bottom: 7px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .hero-grid {
    grid-template-columns:
      1.1fr .9fr;

    gap: 45px;
  }


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


  .projects-grid {
    grid-template-columns:
      repeat(3,1fr);
  }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 820px) {

  .menu-toggle {
    display: block;
  }


  .nav-links {
    position: absolute;

    top: 72px;
    left: 4%;
    right: 4%;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 12px;

    border:
      1px solid
      var(--border);

    border-radius: 17px;

    background:
      rgba(9,11,15,.97);

    backdrop-filter:
      blur(22px);

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-10px)
      scale(.98);

    transition: .3s ease;
  }


  .nav-links.open {
    opacity: 1;

    visibility: visible;

    transform:
      translateY(0)
      scale(1);
  }


  .nav-links a {
    padding:
      11px 10px;
  }


  .nav-links a::after {
    display: none;
  }


  .nav-contact {
    border: 0;
  }


  .hero {
    min-height: auto;

    padding-top: 120px;
  }


  .hero-grid,
  .about-grid,
  .contact-card {
    grid-template-columns:
      1fr;
  }


  .hero-visual {
    max-width: 500px;

    width: 100%;

    margin:
      0 auto;
  }


  .scroll-indicator {
    display: none;
  }


  .about-grid {
    gap: 45px;
  }


  .projects-header {
    grid-template-columns:
      1fr;
  }


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


  .service-item {
    grid-template-columns:
      45px 1fr 40px;
  }


  .service-item p {
    display: none;
  }


  .contact-card {
    padding: 38px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

  .container {
    width: min(91%,var(--container));
  }


  .nav {
    height: 70px;
  }


  .hero {
    padding:
      110px 0 75px;
  }


  .hero-name {
    font-size:
      clamp(3rem,15.5vw,4.5rem);
  }


  .animated-name .letter {
    animation-delay:
      calc(
        var(--letter-index)
        * .035s
      );
  }


  .hero-tagline {
    line-height: 1.45;
  }


  .hero-buttons {
    flex-direction: column;
  }


  .button {
    width: 100%;
  }


  .hero-stats {
    justify-content:
      space-between;

    gap: 12px;
  }


  .hero-stat strong {
    font-size: .7rem;
  }


  .hero-stat span {
    font-size: .55rem;
  }


  .hero-visual {
    min-height: 360px;
  }


  .hero-card {
    min-height: 340px;
  }


  .chip-one {
    left: -4px;
  }


  .chip-two {
    right: -4px;
  }


  .section {
    padding:
      78px 0;
  }


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


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


  /* REALISATIONS COMPACTES */

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

    gap: 10px;
  }


  .project-image {
    height: 105px;
  }


  .project-info {
    padding: 10px;
  }


  .project-info h3 {
    font-size: .72rem;
  }


  .project-info p {
    font-size: .54rem;
  }


  .flow-arrow {
    width: 25px;
    height: 22px;
  }


  .flow-arrow::after {
    width: 5px;
    height: 5px;
  }


  .service-item {
    min-height: 76px;

    grid-template-columns:
      35px 1fr 30px;
  }


  .service-item h3 {
    font-size: .96rem;
  }


  .contact-card {
    gap: 40px;

    padding:
      28px 20px;

    border-radius: 22px;
  }


  .contact-main h2 {
    font-size: 2.65rem;
  }


  .contact-main-button {
    width: 100%;

    justify-content:
      space-between;
  }


  .footer-inner {
    grid-template-columns:
      1fr auto;

    padding:
      25px 0;
  }


  .footer-copy {
    display: none;
  }


  .mouse-glow {
    display: none;
  }


  .orb-green {
    width: 320px;
    height: 320px;
  }


  .orb-purple {
    width: 330px;
    height: 330px;
  }


  .orb-blue {
    width: 300px;
    height: 300px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      .01ms !important;

    animation-iteration-count:
      1 !important;

    scroll-behavior:
      auto !important;
  }


  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;

    transform: none;
  }


  .animated-name .letter {
    opacity: 1;

    filter: none;

    transform: none;
  }

}