/* =========================================================
   CODILY — CLEAN MASTER STYLESHEET
   ========================================================= */

/* =========================================================
   1. RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", sans-serif;
  transition:
    background 0.45s ease,
    color 0.45s ease;
}

body.loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   2. VARIABLES
   ========================================================= */

:root {
  --bg: #07070a;
  --fg: #f5f3f7;

  --muted: #8e8996;
  --muted-2: #6f6976;

  --line: rgba(255, 255, 255, 0.12);

  --surface: #0d0c11;
  --surface-2: #111016;

  --purple: #8d78ee;
  --purple-2: #9b87f5;

  --pink: #df58d5;
  --pink-2: #eb60e1;

  --nav-bg: rgba(13, 12, 17, 0.78);
  --nav-border: rgba(255, 255, 255, 0.13);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;

  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   3. LIGHT MODE
   ========================================================= */

html.light {
  --bg: #f5f3ee;
  --fg: #111014;

  --muted: #66616b;
  --muted-2: #77717d;

  --line: rgba(17, 16, 20, 0.12);

  --surface: #fffefa;
  --surface-2: #eeeae5;

  --nav-bg: rgba(255, 254, 250, 0.82);
  --nav-border: rgba(17, 16, 20, 0.12);
}


/* =========================================================
   4. GLOBAL TEXT EFFECTS
   ========================================================= */

.gradient-text {
  background: linear-gradient(
    110deg,
    var(--purple-2),
    var(--pink)
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


/* =========================================================
   5. NOISE OVERLAY
   ========================================================= */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 10;

  pointer-events: none;

  opacity: 0.035;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

html.light body::before {
  opacity: 0.018;
}


/* =========================================================
   6. NAVBAR
   ========================================================= */

.nav {
  position: fixed;

  top: 18px;
  left: 50%;

  z-index: 30;

  width: min(1100px, calc(100% - 36px));
  height: 76px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 18px 0 28px;

  background: var(--nav-bg);

  border: 1px solid var(--nav-border);
  border-radius: 28px;

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);

  transition:
    background 0.45s ease,
    border 0.45s ease,
    box-shadow 0.45s ease;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;

  letter-spacing: -1.5px;
}

.logo span {
  color: var(--pink);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;

  color: var(--muted);

  font-size: 13px;
}

.desktop-nav a {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--fg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill {
  padding: 12px 18px;

  border: 1px solid var(--line);
  border-radius: 100px;

  font-size: 12px;
}

.nav-pill b {
  margin-left: 7px;
  color: var(--pink);
}


/* =========================================================
   7. LANGUAGE SWITCHER
   ========================================================= */

.lang-switch {
  display: flex;
  align-items: center;

  padding: 3px;

  border: 1px solid var(--line);
  border-radius: 100px;

  background: transparent;

  color: var(--muted);
}

.lang-option {
  min-width: 36px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50px;

  background: transparent;

  color: var(--muted);

  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.lang-option.active {
  background: var(--fg);
  color: var(--bg);
}


/* =========================================================
   8. THEME SWITCH
   ========================================================= */

.theme-switch {
  width: 42px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--line);
  border-radius: 100px;

  background: transparent;

  color: var(--fg);
}

.theme-icon {
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   9. MOBILE MENU
   ========================================================= */

.menu-btn {
  display: none;

  width: 42px;
  height: 38px;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  border: 1px solid var(--line);
  border-radius: 13px;

  background: transparent;
}

.menu-btn span {
  width: 17px;
  height: 2px;

  background: var(--fg);

  border-radius: 2px;
}

.mobile-menu {
  display: none;
}


/* =========================================================
   10. PAGE PROGRESS
   ========================================================= */

.progress {
  position: fixed;

  top: 0;
  left: 0;

  z-index: 50;

  width: 0;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--pink)
    );
}


/* =========================================================
   11. LOADER
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: grid;
  place-items: center;

  background: #07070a;

  transition:
    opacity 0.8s cubic-bezier(.76, 0, .24, 1),
    visibility 0.8s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  position: relative;

  width: min(430px, 78vw);

  text-align: center;
}

.loader-logo {
  margin-bottom: 42px;

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 8vw, 76px);
  line-height: 1;

  font-weight: 700;

  letter-spacing: -4px;
}

.loader-logo span {
  color: var(--pink);
}

.loader-line {
  height: 2px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.12);
}

.loader-line i {
  display: block;

  width: 0;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--pink)
    );

  box-shadow:
    0 0 18px rgba(235, 96, 225, 0.7);
}

.loader-status {
  display: flex;
  justify-content: space-between;

  margin-top: 14px;

  color: #716c78;

  font-size: 9px;
  letter-spacing: 2px;
}

.loader-status b {
  color: #d9d4df;
  font-weight: 500;
}

.loader-inner::after {
  content: "";

  position: absolute;

  width: 240px;
  height: 240px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  z-index: -1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(155, 135, 245, 0.12),
      transparent 70%
    );

  filter: blur(20px);

  animation: breathe 3s ease-in-out infinite;
}


/* =========================================================
   12. CUSTOM CURSOR
   ========================================================= */

.cursor {
  position: fixed;

  width: 22px;
  height: 22px;

  z-index: 100;

  pointer-events: none;

  transform: translate(-50%, -50%);

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;

  mix-blend-mode: difference;

  transition:
    width 0.25s ease,
    height 0.25s ease,
    background 0.25s ease;
}

.cursor span {
  display: block;

  width: 3px;
  height: 3px;

  margin: 8px auto;

  border-radius: 50%;

  background: #fff;
}


/* =========================================================
   13. HERO
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;

  min-height: 90vh;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  padding:
    140px 6vw
    70px;

  max-width: 1500px;
  margin: auto;
}

.hero-left {
  position: relative;
  z-index: 3;

  max-width: 650px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  text-align: left;
}

.hero-title {
  margin: 18px 0;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(
    2.2rem,
    5.5vw,
    5rem
  );

  line-height: 1.05;

  letter-spacing: -2px;

  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-title .line {
  display: block;
  white-space: nowrap;
}

.hero-bottom {
  position: relative;
  z-index: 3;
}

.hero-bottom p {
  max-width: 480px;

  margin-bottom: 24px;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.6;
}


/* =========================================================
   14. HERO ORBIT
   ========================================================= */

.hero-orb {
  position: relative;
  z-index: 3;

  width: 480px;
  height: 480px;

  flex: 0 0 480px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  position: relative;
  z-index: 3;

  width: 90px;
  height: 90px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      #ffaff8,
      var(--pink) 30%,
      var(--purple) 65%,
      #24123d 100%
    );

  box-shadow:
    0 0 50px rgba(223, 88, 213, 0.6),
    0 0 100px rgba(141, 120, 238, 0.3);

  animation:
    sphereFloat 6s ease-in-out infinite;
}


/* =========================================================
   15. ORBIT SERVICES (PERFECT SPACING & EQUAL DISTANCE)
   ========================================================= */

.orbit-services {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(223, 88, 213, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(223, 88, 213, 0.2);
  animation: codilyOrbitRotate 32s linear infinite;
}

.orbit-service {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: max-content;
  padding: 8px 16px;
  
  border: 1.5px solid rgba(223, 88, 213, 0.7);
  border-radius: 50px;
  background: rgba(13, 10, 22, 0.92);
  color: #ffffff;
  
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(223, 88, 213, 0.3);
  
  cursor: pointer;
  transition: all 0.3s ease;

  /* Position calculation via CSS Variable --angle */
  /* Radius fixed at 50% of parent container */
  transform: 
    translate(-50%, -50%) 
    rotate(var(--angle)) 
    translate(min(26vw, 340px)) 
    rotate(calc(-1 * var(--angle)));
}



/* Iza 3andak 6 services (60deg offset): */

.orbit-service:nth-child(1) { --angle: 0deg; }
.orbit-service:nth-child(2) { --angle: 60deg; }
.orbit-service:nth-child(3) { --angle: 120deg; }
.orbit-service:nth-child(4) { --angle: 180deg; }
.orbit-service:nth-child(5) { --angle: 240deg; }
.orbit-service:nth-child(6) { --angle: 300deg; }


/* Keep Counter Animation smoothly centered */
@keyframes codilyOrbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-service:hover {
  border-color: #ffffff;
  background: rgba(223, 88, 213, 0.3);
  box-shadow: 0 0 25px rgba(223, 88, 213, 0.8);
}

/* =========================================================
   16. DIGITAL ORBIT VISUAL (ENHANCED VISIBILITY)
   ========================================================= */

.digital-orbit-visual {
  position: absolute;
  width: min(52vw, 680px);
  height: min(52vw, 680px);
  right: 2vw;
  top: 50%;
  transform: translateY(-46%);
  z-index: 0;
  pointer-events: none;
  /* Zidna l-opacity la-ytsalo sa7 */
  opacity: 0.85; 
  mix-blend-mode: screen;
  animation: heroOrbitDrift 10s ease-in-out infinite;
}

.orbit-sphere {
  position: absolute;
  width: 43%;
  height: 43%;
  left: 28.5%;
  top: 28.5%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 33% 27%,
    rgba(255, 174, 249, 0.98) 0 5%,
    rgba(205, 103, 247, 0.94) 18%,
    rgba(136, 65, 222, 0.95) 46%,
    rgba(57, 22, 105, 0.96) 73%,
    #0a0712 100%
  );
  box-shadow:
    0 0 50px rgba(173, 80, 244, 0.6),
    0 0 140px rgba(223, 88, 213, 0.4),
    inset -35px -30px 55px rgba(0, 0, 0, 0.58),
    inset 18px 16px 35px rgba(255, 172, 255, 0.3);
  animation: sphereFloat 6s ease-in-out infinite;
}

.orbit-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 15%;
  top: 15%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(223, 88, 213, 0.35),
    rgba(141, 120, 238, 0.2) 40%,
    transparent 70%
  );
  filter: blur(35px);
  animation: glowPulse 4.5s ease-in-out infinite;
}

/* Clearer Neon Ring 1 */
.orbit-ring {
  position: absolute;
  left: 5%;
  top: 25%;
  width: 90%;
  height: 50%;
  border: 1.5px solid rgba(223, 88, 213, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(223, 88, 213, 0.3), inset 0 0 15px rgba(223, 88, 213, 0.2);
  transform: rotate(-14deg);
  animation: orbitVisualOne 9s linear infinite;
}

/* Clearer Neon Ring 2 */
.orbit-ring-2 {
  width: 98%;
  height: 58%;
  left: 1%;
  top: 21%;
  border: 1.5px dashed rgba(155, 135, 245, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(155, 135, 245, 0.25);
  transform: rotate(29deg);
  animation: orbitVisualTwo 12s linear infinite reverse;
}

/* Clearer Neon Ring 3 */
.orbit-ring-3 {
  width: 72%;
  height: 98%;
  left: 14%;
  top: 1%;
  border: 1.5px solid rgba(235, 96, 225, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(235, 96, 225, 0.3);
  transform: rotate(65deg);
  animation: orbitVisualThree 15s linear infinite;
}


/* =========================================================
   17. ORBIT LABELS
   ========================================================= */

.orbit-word {
  position: absolute;

  color: var(--pink);

  font-family: "Space Grotesk", sans-serif;

  font-size: 10px;
  font-weight: 600;

  line-height: 1;

  letter-spacing: 4px;

  text-transform: uppercase;

  opacity: 0.9;
}

.word-ai {
  right: 5%;
  top: 12%;
}

.word-web {
  left: 7%;
  top: 68%;

  color: #a79eea;
}

.word-sys {
  left: 8%;
  bottom: 7%;

  color: #a8a1b3;
}

.word-apps {
  right: 12%;
  bottom: 18%;

  color: #b9b1d8;
}

.word-shop {
  left: 34%;
  top: 7%;
}


/* =========================================================
   18. TICKER
   ========================================================= */

.ticker {
  overflow: hidden;

  padding: 18px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background: #0b0a0e;
}

.ticker-track {
  display: flex;
  align-items: center;

  width: max-content;

  gap: 28px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;

  letter-spacing: 2px;

  animation:
    marquee 22s linear infinite;
}

.ticker i {
  color: var(--pink);
  font-style: normal;
}


/* =========================================================
   19. SECTIONS
   ========================================================= */

.section {
  max-width: 1500px;

  margin: auto;

  padding: 140px 6vw;
}

.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 80px;
}

.heading-row h2,
.work-head h2,
.process-title h2 {
  margin-top: 25px;

  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(55px, 7.5vw, 115px);

  line-height: 0.85;

  font-weight: 700;

  letter-spacing: -6px;
}

.heading-row > p {
  max-width: 360px;

  color: var(--muted);

  line-height: 1.7;
}


/* =========================================================
   20. SERVICES
   ========================================================= */

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;

  grid-template-columns:
    70px
    1fr
    50px;

  gap: 25px;

  padding: 35px 0;

  border-bottom: 1px solid var(--line);

  align-items: start;

  transition:
    padding 0.45s ease,
    background 0.45s ease;
}

.service > span {
  color: #625d68;
  font-size: 11px;
}

.service h3 {
  margin-bottom: 12px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 38px;
  font-weight: 600;

  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.service p {
  max-width: 550px;

  color: var(--muted);

  line-height: 1.65;
}

.service > b {
  color: #77717e;

  font-size: 24px;
  font-weight: 400;

  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.service:hover {
  padding-left: 20px;

  background:
    linear-gradient(
      90deg,
      rgba(155, 135, 245, 0.05),
      transparent
    );
}

.service:hover h3 {
  color: #fff;
  transform: translateX(10px);
}

.service:hover > b {
  color: var(--pink);
  transform:
    translate(8px, -8px);
}


/* =========================================================
   21. WORK / PROJECTS
   ========================================================= */

.work {
  max-width: none;

  background: #0a090d;
}

.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin:
    25px 0
    70px;
}

.work-head p {
  color: var(--muted);

  font-size: 14px;
}

.projects {
  display: grid;

  grid-template-columns:
    1.15fr
    0.85fr;

  gap: 18px;
}

.project {
  margin-bottom: 30px;
}

.p1 {
  grid-row: span 2;
}

.project-art {
  position: relative;

  height: 400px;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: #111016;

  transition:
    transform 0.6s ease,
    box-shadow 0.6s ease;
}

.p1 .project-art {
  height: 820px;

  background:
    radial-gradient(
      circle at 70% 20%,
      #9b87f5,
      #28173d 35%,
      #0d0b12 72%
    );
}

.p2 .project-art {
  background:
    radial-gradient(
      circle at 20% 20%,
      #eb60e1,
      #321533 35%,
      #0d0a11
    );
}

.p3 .project-art {
  background:
    radial-gradient(
      circle at 75% 20%,
      #8199ff,
      #17204a 40%,
      #090b12
    );
}

.project:hover .project-art {
  transform: scale(0.985);

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.4);
}


/* =========================================================
   22. PROJECT MOCK BROWSER
   ========================================================= */

.mock-browser {
  position: absolute;

  width: 72%;
  height: 62%;

  left: 14%;
  top: 19%;

  overflow: hidden;

  border-radius: 15px;

  background: #f2eff6;

  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.35);

  transform: rotate(-4deg);

  transition:
    transform 0.6s ease;
}

.project:hover .mock-browser {
  transform:
    rotate(0)
    translateY(-10px);
}

.browser-top {
  height: 28px;

  display: flex;
  align-items: center;

  gap: 6px;

  padding-left: 12px;

  background: #ded9e4;
}

.browser-top i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #aaa2af;
}

.browser-content {
  padding: 45px;

  color: #151019;
}

.browser-content small {
  font-size: 8px;

  letter-spacing: 2px;
}

.browser-content strong {
  display: block;

  margin-top: 35px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 55px;
  line-height: 0.85;

  font-weight: 700;
}

.browser-content span {
  display: block;

  width: 80px;
  height: 7px;

  margin-top: 30px;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--pink)
    );
}


/* =========================================================
   23. PROJECT PHONE
   ========================================================= */

.phone {
  position: absolute;

  width: 190px;
  height: 370px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    rotate(8deg);

  border: 8px solid #17151c;
  border-radius: 34px;

  background: #0c0b10;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  height: 100%;

  padding: 35px 22px;

  border-radius: 25px;

  background:
    linear-gradient(
      160deg,
      #9b87f5,
      #21152e 45%,
      #09080c
    );
}

.phone-screen small {
  font-size: 8px;
  letter-spacing: 2px;
}

.phone-screen strong {
  display: block;

  margin-top: 70px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 37px;
  line-height: 0.82;
}

.mini-bars {
  height: 70px;

  display: flex;
  align-items: flex-end;

  gap: 5px;

  margin-top: 45px;
}

.mini-bars i {
  display: block;

  width: 22px;

  border-radius: 5px;

  background: rgba(255, 255, 255, 0.8);
}

.mini-bars i:nth-child(1) {
  height: 25px;
}

.mini-bars i:nth-child(2) {
  height: 50px;
}

.mini-bars i:nth-child(3) {
  height: 38px;
}


/* =========================================================
   24. PROJECT META
   ========================================================= */

.project-meta {
  display: flex;
  justify-content: space-between;

  padding-top: 17px;
}

.project-meta h3 {
  font-family: "Space Grotesk", sans-serif;

  font-size: 19px;
  font-weight: 600;
}

.project-meta span {
  color: #77717d;
  font-size: 11px;
}


/* =========================================================
   25. STATEMENT
   ========================================================= */

.statement {
  overflow: hidden;

  padding: 140px 6vw;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-word {
  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(65px, 13vw, 190px);

  line-height: 0.78;

  font-weight: 700;

  letter-spacing: -10px;
}

.statement-word.right {
  text-align: right;
}

.statement-word.gradient {
  background:
    linear-gradient(
      100deg,
      var(--purple),
      var(--pink)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


/* =========================================================
   26. STATS
   ========================================================= */

.stats {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  max-width: none;

  padding:
    0;

  background: #0b0a0f;
}

.stats > div {
  padding:
    90px 6vw;

  border-right: 1px solid var(--line);
}

.stats > div:last-child {
  border-right: 0;
}

.stats strong {
  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(65px, 8vw, 120px);

  font-weight: 700;

  letter-spacing: -7px;
}

.stats strong span {
  color: var(--pink);

  font-size: 0.45em;

  vertical-align: top;
}

.stats small {
  display: block;

  margin-top: 10px;

  color: #77717e;

  font-size: 9px;

  letter-spacing: 2px;
}


/* =========================================================
   27. PROCESS
   ========================================================= */

.process-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin:
    25px 0
    80px;
}

.process-title p {
  max-width: 320px;

  color: var(--muted);

  line-height: 1.7;
}

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top: 1px solid var(--line);
}

.process-card {
  min-height: 290px;

  padding:
    28px 25px
    25px 0;

  margin-right: 25px;

  border-right: 1px solid var(--line);
}

.process-card:last-child {
  border-right: 0;
}

.process-card span {
  color: #66616d;

  font-size: 11px;
}

.process-card h3 {
  margin:
    65px 0
    15px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 30px;
  font-weight: 600;
}

.process-card p {
  color: var(--muted);

  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   28. CTA
   ========================================================= */

.big-cta {
  position: relative;

  min-height: 90vh;

  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding:
    120px 6vw;

  text-align: center;

  border-top: 1px solid var(--line);
}

.cta-glow {
  position: absolute;

  width: 600px;
  height: 600px;

  background:
    radial-gradient(
      circle,
      rgba(155, 135, 245, 0.2),
      rgba(235, 96, 225, 0.06) 35%,
      transparent 65%
    );

  filter: blur(20px);

  animation:
    breathe 6s ease-in-out infinite;
}

.big-cta > *:not(.cta-glow) {
  position: relative;
}

.big-cta h2 {
  margin: 30px 0;

  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(70px, 12vw, 180px);

  line-height: 0.8;

  font-weight: 700;

  letter-spacing: -10px;
}

.big-cta p {
  margin-bottom: 35px;

  color: var(--muted);
}

.cta-button {
  padding:
    19px 27px;

  border: 0;
  border-radius: 100px;

  background: #fff;

  color: #08070a;

  font-size: 14px;
  font-weight: 600;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.cta-button:hover {
  transform: scale(1.06);

  background:
    linear-gradient(
      100deg,
      var(--purple),
      var(--pink)
    );
}

.cta-button span {
  margin-left: 20px;
}


/* =========================================================
   29. FOOTER
   ========================================================= */

footer {
  padding:
    45px 5vw
    25px;

  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  justify-content: space-between;

  padding-bottom: 55px;
}

.footer-main > div {
  display: flex;

  gap: 30px;

  color: #aaa5b0;

  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  padding-top: 20px;

  border-top: 1px solid var(--line);

  color: #68636f;

  font-size: 10px;
}


/* =========================================================
   30. REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(35px);

  transition:
    opacity 0.9s cubic-bezier(.2, .8, .2, 1),
    transform 0.9s cubic-bezier(.2, .8, .2, 1);
}

.reveal.visible {
  opacity: 1;

  transform: none;
}


/* =========================================================
   31. SHOWCASE OVERLAY
   ========================================================= */

.codily-showcase {
  position: fixed;
  inset: 0;

  z-index: 9998;

  display: grid;
  place-items: center;

  padding: 25px;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.codily-showcase.active {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;
}

body.showcase-open {
  overflow: hidden;
}


/* =========================================================
   32. SHOWCASE BACKDROP
   ========================================================= */

.codily-showcase-backdrop {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(141, 120, 238, 0.12),
      transparent 45%
    ),
    rgba(4, 3, 8, 0.78);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}


/* =========================================================
   33. SHOWCASE CARD
   ========================================================= */

.codily-showcase-card {
  position: relative;
  z-index: 2;

  width: min(1050px, 94vw);

  min-height: 560px;

  display: grid;

  grid-template-columns:
    1.05fr
    0.95fr;

  align-items: center;

  gap: 55px;

  padding: 45px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  border-radius: 34px;

  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(141, 120, 238, 0.12),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      rgba(25, 21, 35, 0.97),
      rgba(10, 9, 14, 0.98)
    );

  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(141, 120, 238, 0.08);

  transform:
    translateY(30px)
    scale(0.96);

  opacity: 0;

  transition:
    transform 0.55s cubic-bezier(.16, 1, .3, 1),
    opacity 0.45s ease;
}

.codily-showcase.active
.codily-showcase-card {
  transform: none;
  opacity: 1;
}


/* =========================================================
   34. SHOWCASE DECORATIVE GLOWS
   ========================================================= */

.codily-showcase-card::before {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  right: -180px;
  top: -180px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(223, 88, 213, 0.18),
      transparent 70%
    );

  filter: blur(20px);

  pointer-events: none;
}

.codily-showcase-card::after {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  left: -180px;
  bottom: -180px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(141, 120, 238, 0.13),
      transparent 70%
    );

  filter: blur(20px);

  pointer-events: none;
}


/* =========================================================
   35. SHOWCASE CLOSE
   ========================================================= */

.codily-showcase-close {
  position: absolute;

  right: 20px;
  top: 18px;

  z-index: 10;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.045);

  color: #fff;

  font-size: 27px;
  font-weight: 300;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.codily-showcase-close:hover {
  background:
    rgba(223, 88, 213, 0.16);

  border-color:
    rgba(223, 88, 213, 0.4);

  transform:
    rotate(90deg);
}


/* =========================================================
   36. SERVICE VISUAL
   ========================================================= */

.codily-service-visual {
  position: relative;

  min-height: 430px;

  display: grid;
  place-items: center;

  overflow: hidden;
}

.codily-service-icon {
  position: relative;

  width: 240px;
  height: 240px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 174, 249, 0.95),
      rgba(205, 103, 247, 0.8) 20%,
      rgba(136, 65, 222, 0.75) 45%,
      rgba(40, 20, 75, 0.95) 72%,
      #09070e 100%
    );

  box-shadow:
    0 0 50px rgba(173, 80, 244, 0.4),
    0 0 130px rgba(151, 75, 238, 0.18),
    inset -25px -25px 50px rgba(0, 0, 0, 0.55);

  animation:
    codilyServiceFloat 5s ease-in-out infinite;
}

.codily-service-icon::before {
  content: "";

  position: absolute;
  inset: -25px;

  border:
    1px solid
    rgba(223, 88, 213, 0.25);

  border-radius: 50%;

  animation:
    codilyServiceRing 8s linear infinite;
}

.codily-service-icon::after {
  content: "";

  position: absolute;
  inset: -55px;

  border:
    1px solid
    rgba(141, 120, 238, 0.14);

  border-radius: 50%;

  animation:
    codilyServiceRing 12s linear infinite reverse;
}

.codily-service-symbol {
  position: relative;
  z-index: 2;

  font-family: "Space Grotesk", sans-serif;

  font-size: 82px;

  font-weight: 700;

  letter-spacing: -5px;

  color: #fff;

  text-shadow:
    0 0 25px rgba(255, 255, 255, 0.3),
    0 0 50px rgba(223, 88, 213, 0.5);
}


/* =========================================================
   37. FLOATING LABELS
   ========================================================= */

.codily-floating-label {
  position: absolute;

  padding:
    8px 12px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 100px;

  background:
    rgba(255, 255, 255, 0.035);

  backdrop-filter: blur(10px);

  color: #aaa5b4;

  font-family: "Space Grotesk", sans-serif;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 1.8px;

  text-transform: uppercase;
}

.codily-floating-label.one {
  top: 13%;
  left: 8%;
}

.codily-floating-label.two {
  top: 28%;
  right: 4%;

  color: var(--pink);
}

.codily-floating-label.three {
  bottom: 22%;
  left: 4%;
}

.codily-floating-label.four {
  bottom: 12%;
  right: 10%;
}


/* =========================================================
   38. SERVICE CONTENT
   ========================================================= */

.codily-service-content {
  position: relative;
  z-index: 3;
}

.codily-service-number {
  display: block;

  margin-bottom: 16px;

  color: #77717e;

  font-family: "Space Grotesk", sans-serif;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 3px;
}

.codily-service-content h3 {
  margin-bottom: 22px;

  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(48px, 6vw, 82px);

  line-height: 0.88;

  font-weight: 700;

  letter-spacing: -4px;

  background:
    linear-gradient(
      110deg,
      var(--purple-2),
      var(--pink)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.codily-service-description {
  max-width: 470px;

  margin-bottom: 25px;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================================
   39. TECHNOLOGY TAGS
   ========================================================= */

.codily-tech-list {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 28px;
}

.codily-tech {
  padding:
    9px 13px;

  border:
    1px solid
    var(--line);

  border-radius: 100px;

  background:
    rgba(255, 255, 255, 0.025);

  color: #aaa5b0;

  font-family: "Space Grotesk", sans-serif;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 0.8px;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.codily-tech:hover {
  border-color:
    rgba(223, 88, 213, 0.4);

  background:
    rgba(223, 88, 213, 0.08);

  color: #fff;
}


/* =========================================================
   40. SERVICE CTA
   ========================================================= */

.codily-service-cta {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding:
    14px 21px;

  border: 0;
  border-radius: 100px;

  background: var(--fg);

  color: var(--bg);

  font-size: 12px;
  font-weight: 600;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.codily-service-cta:hover {
  transform:
    translateY(-3px);

  background:
    linear-gradient(
      100deg,
      var(--purple),
      var(--pink)
    );

  color: #fff;
}

.codily-service-cta span {
  font-size: 17px;

  transition:
    transform 0.3s ease;
}

.codily-service-cta:hover span {
  transform:
    translateX(4px);
}


/* =========================================================
   41. SHOWCASE SWITCHER
   ========================================================= */

.codily-service-switcher {
  position: absolute;

  bottom: 22px;
  left: 50%;

  z-index: 5;

  transform:
    translateX(-50%);

  display: flex;

  gap: 7px;

  padding: 6px;

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  border-radius: 100px;

  background:
    rgba(0, 0, 0, 0.25);

  backdrop-filter: blur(12px);
}

.codily-service-dot {
  width: 8px;
  height: 8px;

  border: 0;

  border-radius: 50%;

  background: #57515f;

  transition:
    width 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.codily-service-dot.active {
  width: 25px;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--pink)
    );

  box-shadow:
    0 0 15px rgba(223, 88, 213, 0.5);
}


/* =========================================================
   42. RTL / ARABIC
   ========================================================= */

body.rtl {
  direction: rtl;
}

body.rtl .nav {
  direction: ltr;
}

body.rtl .hero,
body.rtl .section,
body.rtl .statement,
body.rtl .big-cta,
body.rtl footer {
  direction: rtl;
}

body.rtl .hero-left {
  align-items: flex-start;
  text-align: right;
}

body.rtl .hero-title,
body.rtl .heading-row h2,
body.rtl .work-head h2,
body.rtl .process-title h2,
body.rtl .big-cta h2 {
  text-align: right;
}

body.rtl .service {
  grid-template-columns:
    50px
    1fr
    70px;
}

body.rtl .service > span {
  order: 3;
  text-align: left;
}

body.rtl .service > b {
  order: 1;
}

body.rtl .service > div {
  order: 2;
}

body.rtl .service:hover {
  padding-left: 0;
  padding-right: 20px;
}

body.rtl .project-meta {
  flex-direction: row-reverse;
}

body.rtl .footer-main,
body.rtl .footer-bottom {
  flex-direction: row-reverse;
}


/* =========================================================
   43. LIGHT MODE
   ========================================================= */

html.light .ticker,
html.light .stats,
html.light .work {
  background: var(--surface-2);
}

html.light .project-art {
  border-color:
    rgba(17, 16, 20, 0.12);
}

html.light .browser-content {
  color: #151019;
}

html.light .orb-label {
  color: #5f5966;
}

html.light .mock-browser {
  box-shadow:
    0 30px 70px rgba(20, 15, 25, 0.18);
}

html.light .digital-orbit-visual {
  mix-blend-mode: multiply;
  opacity: 0.22;
}

html.light .orbit-ring {
  border-color:
    rgba(117, 82, 173, 0.24);
}

html.light .orbit-sphere {
  box-shadow:
    0 0 45px rgba(135, 68, 207, 0.26),
    0 0 100px rgba(135, 68, 207, 0.14),
    inset -35px -30px 55px rgba(0, 0, 0, 0.38),
    inset 18px 16px 35px rgba(255, 255, 255, 0.25);
}

html.light .codily-showcase-backdrop {
  background:
    rgba(240, 237, 233, 0.78);
}

html.light .codily-showcase-card {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(141, 120, 238, 0.08),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      rgba(255, 254, 250, 0.98),
      rgba(239, 235, 231, 0.98)
    );

  border-color:
    rgba(17, 16, 20, 0.12);

  box-shadow:
    0 35px 100px rgba(20, 15, 25, 0.18);
}

html.light .codily-showcase-close {
  color: #111014;

  background:
    rgba(17, 16, 20, 0.04);

  border-color:
    rgba(17, 16, 20, 0.12);
}

html.light .codily-floating-label {
  background:
    rgba(17, 16, 20, 0.035);

  border-color:
    rgba(17, 16, 20, 0.1);

  color: #66616b;
}

html.light .codily-service-cta {
  background: #111014;
  color: #fff;
}

html.light .codily-service-dot {
  background: #aaa4ae;
}


/* =========================================================
   44. NOSCRIPT
   ========================================================= */

.noscript {
  position: fixed;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 99999;

  padding: 12px;

  background: #fff;

  color: #000;

  text-align: center;

  font-size: 13px;
}


/* =========================================================
   45. ANIMATIONS
   ========================================================= */

@keyframes marquee {
  to {
    transform:
      translateX(-50%);
  }
}

@keyframes float {
  0%,
  100% {
    transform:
      translateY(0);
  }

  50% {
    transform:
      translateY(-20px);
  }
}

@keyframes sphereFloat {
  0%,
  100% {
    transform:
      translateY(0)
      scale(1);
  }

  50% {
    transform:
      translateY(-10px)
      scale(1.015);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform:
      scale(0.9);

    opacity: 0.65;
  }

  50% {
    transform:
      scale(1.1);

    opacity: 1;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.72;

    transform:
      scale(0.96);
  }

  50% {
    opacity: 1;

    transform:
      scale(1.06);
  }
}


/* =========================================================
   46. HERO ORBIT ANIMATIONS
   ========================================================= */

@keyframes codilyOrbitRotate {
  from {
    transform:
      rotate(0deg);
  }

  to {
    transform:
      rotate(360deg);
  }
}

@keyframes codilyOrbitCounter {
  from {
    margin-top: 0;

    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }

  to {
    margin-top: 0;

    transform:
      translate(-50%, -50%)
      rotate(-360deg);
  }
}

@keyframes heroOrbitDrift {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -14px;
  }
}

@keyframes orbitVisualOne {
  from {
    transform:
      rotate(-14deg)
      rotate(0deg);
  }

  to {
    transform:
      rotate(-14deg)
      rotate(360deg);
  }
}

@keyframes orbitVisualTwo {
  from {
    transform:
      rotate(29deg)
      rotate(0deg);
  }

  to {
    transform:
      rotate(29deg)
      rotate(360deg);
  }
}

@keyframes orbitVisualThree {
  from {
    transform:
      rotate(65deg)
      rotate(0deg);
  }

  to {
    transform:
      rotate(65deg)
      rotate(360deg);
  }
}


/* =========================================================
   47. SHOWCASE ANIMATIONS
   ========================================================= */

@keyframes codilyServiceFloat {
  0%,
  100% {
    transform:
      translateY(0)
      scale(1);
  }

  50% {
    transform:
      translateY(-12px)
      scale(1.015);
  }
}

@keyframes codilyServiceRing {
  from {
    transform:
      rotate(0deg)
      scaleX(1.1);
  }

  to {
    transform:
      rotate(360deg)
      scaleX(1.1);
  }
}


/* =========================================================
   48. TABLET — 900PX
   ========================================================= */

@media (max-width: 900px) {

  /* Navbar */

  .nav {
    top: 12px;

    width:
      calc(100% - 24px);

    height: 68px;

    padding:
      0 12px
      0 20px;

    border-radius: 23px;
  }

  .desktop-nav,
  .nav-pill {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .mobile-menu {
    position: fixed;

    top: 92px;
    left: 12px;
    right: 12px;

    z-index: 29;

    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 15px;

    opacity: 0;
    visibility: hidden;

    transform:
      translateY(-10px);

    background:
      var(--nav-bg);

    border:
      1px solid
      var(--nav-border);

    border-radius: 22px;

    backdrop-filter: blur(22px);

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;

    transform: none;
  }

  .mobile-menu a {
    padding: 15px;

    border-radius: 13px;

    color: var(--muted);
  }

  .mobile-menu a:hover {
    background: var(--line);
    color: var(--fg);
  }


  /* Hero */

  .hero {
    min-height: auto;

    flex-direction: column;

    align-items: flex-start;

    padding-top: 130px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-title {
    font-size: 10vw;
  }

  .hero-orb {
    width: 320px;
    height: 320px;

    flex-basis: 320px;

    margin:
      30px auto
      0;

    align-self: center;
  }

  .orb-core {
    width: 70px;
    height: 70px;
  }


  /* Orbit */

  .orbit-service {
    font-size: 10px;

    padding:
      8px 13px;
  }

  .orbit-service:nth-child(1) {
    transform:
      translate(-50%, -50%)
      translateY(-160px);
  }

  .orbit-service:nth-child(2) {
    transform:
      translate(-50%, -50%)
      translate(150px, -50px);
  }

  .orbit-service:nth-child(3) {
    transform:
      translate(-50%, -50%)
      translate(100px, 125px);
  }

  .orbit-service:nth-child(4) {
    transform:
      translate(-50%, -50%)
      translate(-100px, 125px);
  }

  .orbit-service:nth-child(5) {
    transform:
      translate(-50%, -50%)
      translate(-150px, -50px);
  }


  /* Digital planet */

  .digital-orbit-visual {
    width: min(86vw, 560px);
    height: min(86vw, 560px);

    right: 50%;
    top: 31%;

    transform:
      translate(50%, -50%);

    opacity: 0.28;
  }


  /* Sections */

  .heading-row,
  .work-head,
  .process-title {
    display: block;
  }

  .heading-row > p,
  .work-head p,
  .process-title p {
    margin-top: 30px;
  }


  /* Projects */

  .projects {
    grid-template-columns: 1fr;
  }

  .p1 {
    grid-row: auto;
  }

  .p1 .project-art {
    height: 500px;
  }


  /* Stats */

  .stats {
    grid-template-columns: 1fr;
  }

  .stats > div {
    padding:
      60px 6vw;

    border-right: 0;
    border-bottom:
      1px solid
      var(--line);
  }


  /* Process */

  .process-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .process-card {
    border-bottom:
      1px solid
      var(--line);

    padding-bottom: 40px;
  }


  /* Footer */

  .footer-main {
    display: block;
  }

  .footer-main > div {
    flex-direction: column;

    gap: 12px;

    margin-top: 35px;
  }


  /* Showcase */

  .codily-showcase {
    padding: 15px;
  }

  .codily-showcase-card {
    width:
      min(650px, 96vw);

    min-height: 0;

    grid-template-columns: 1fr;

    gap: 20px;

    padding: 30px;

    max-height: 92vh;

    overflow-y: auto;
  }

  .codily-service-visual {
    min-height: 300px;
  }

  .codily-service-icon {
    width: 180px;
    height: 180px;
  }

  .codily-service-symbol {
    font-size: 65px;
  }

  .codily-service-content h3 {
    font-size: 55px;
  }

  .codily-service-switcher {
    position: relative;

    left: auto;
    bottom: auto;

    width: max-content;

    margin:
      10px auto 0;

    transform: none;
  }
}


/* =========================================================
   49. MOBILE — 600PX
   ========================================================= */

@media (max-width: 600px) {

  /* Navbar */

  .nav {
    top: 10px;

    width:
      calc(100% - 20px);

    padding:
      0 10px
      0 16px;
  }

  .nav-actions {
    gap: 5px;
  }

  .theme-switch {
    width: 38px;
  }

  .lang-option {
    min-width: 32px;
    height: 32px;
  }

  .logo {
    font-size: 25px;
  }


  /* Hero */

  .hero {
    min-height: 760px;

    padding:
      120px 5vw
      50px;
  }

  .hero-title {
    font-size: 16vw;

    letter-spacing: -4px;
  }

  .hero-bottom p {
    font-size: 14px;
  }

  .hero-orb {
    width: 290px;
    height: 290px;

    flex-basis: 290px;
  }

  .orb-core {
    width: 65px;
    height: 65px;
  }


  /* Orbit */

  .orbit-service {
    font-size: 9px;

    padding:
      7px 10px;
  }

  .orbit-service:nth-child(1) {
    transform:
      translate(-50%, -50%)
      translateY(-145px);
  }

  .orbit-service:nth-child(2) {
    transform:
      translate(-50%, -50%)
      translate(132px, -45px);
  }

  .orbit-service:nth-child(3) {
    transform:
      translate(-50%, -50%)
      translate(88px, 112px);
  }

  .orbit-service:nth-child(4) {
    transform:
      translate(-50%, -50%)
      translate(-88px, 112px);
  }

  .orbit-service:nth-child(5) {
    transform:
      translate(-50%, -50%)
      translate(-132px, -45px);
  }


  /* Digital planet */

  .digital-orbit-visual {
    width: 105vw;
    height: 105vw;

    top: 30%;

    opacity: 0.2;
  }

  .orbit-word {
    font-size: 8px;

    letter-spacing: 3px;
  }

  .word-shop {
    left: 28%;
    top: 8%;
  }

  .word-ai {
    right: 3%;
    top: 16%;
  }

  .word-web {
    left: 3%;
    top: 62%;
  }

  .word-sys {
    left: 3%;
    bottom: 8%;
  }

  .word-apps {
    right: 6%;
    bottom: 16%;
  }


  /* Sections */

  .section {
    padding:
      95px 5vw;
  }

  .heading-row h2,
  .work-head h2,
  .process-title h2 {
    font-size: 18vw;

    letter-spacing: -5px;
  }


  /* Services */

  .service {
    grid-template-columns:
      35px
      1fr
      20px;
  }

  .service h3 {
    font-size: 28px;
  }

  .service p {
    font-size: 13px;
  }


  /* Projects */

  .project-art,
  .p1 .project-art {
    height: 360px;
  }

  .mock-browser {
    width: 78%;
    height: 65%;

    left: 11%;
  }

  .browser-content {
    padding: 28px;
  }

  .browser-content strong {
    font-size: 40px;
  }


  /* Statement */

  .statement {
    padding:
      100px 5vw;
  }

  .statement-word {
    font-size: 20vw;

    letter-spacing: -5px;
  }


  /* Process */

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    border-right: 0;

    margin-right: 0;
  }


  /* CTA */

  .big-cta h2 {
    font-size: 19vw;

    letter-spacing: -5px;
  }


  /* Footer */

  .footer-bottom {
    flex-direction: column;

    gap: 12px;
  }


  /* Showcase */

  .codily-showcase {
    padding: 10px;
  }

  .codily-showcase-card {
    padding: 22px;

    border-radius: 25px;

    max-height: 94vh;
  }

  .codily-showcase-close {
    right: 12px;
    top: 12px;

    width: 40px;
    height: 40px;
  }

  .codily-service-visual {
    min-height: 240px;
  }

  .codily-service-icon {
    width: 145px;
    height: 145px;
  }

  .codily-service-symbol {
    font-size: 52px;
  }

  .codily-floating-label {
    padding:
      6px 9px;

    font-size: 7px;
  }

  .codily-service-content h3 {
    font-size: 47px;

    letter-spacing: -3px;
  }

  .codily-service-description {
    font-size: 13px;

    line-height: 1.65;
  }

  .codily-tech {
    padding:
      8px 10px;

    font-size: 9px;
  }
}


/* =========================================================
   50. TOUCH DEVICES
   ========================================================= */

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}


/* =========================================================
   51. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      0.001ms !important;

    animation-iteration-count:
      1 !important;

    scroll-behavior:
      auto !important;

    transition-duration:
      0.001ms !important;
  }

  .orbit-services,
  .orbit-service,
  .orbit-sphere,
  .orbit-glow,
  .orbit-ring,
  .orb-core,
  .codily-service-icon,
  .codily-service-icon::before,
  .codily-service-icon::after {
    animation: none !important;
  }
}

/* =========================================================
   ORBIT SHOWCASE — CARD FIX
   ========================================================= */

.codily-showcase {
  z-index: 99999;
}

.codily-showcase-backdrop {
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.codily-showcase-card {
  position: relative;
  isolation: isolate;
}

.codily-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 75% 20%, rgba(235,96,225,.14), transparent 30%),
    linear-gradient(135deg, rgba(25,21,35,.98), rgba(10,9,14,.99));
}

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

.showcase-kicker,
.showcase-label {
  color: var(--pink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.showcase-kicker {
  margin-bottom: 12px;
}

#showcaseTitle {
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -3px;
}

#showcaseText {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.showcase-groups {
  display: grid;
  gap: 22px;
}

.showcase-group {
  display: grid;
  gap: 10px;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-tags span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--fg);
  font-size: 12px;
  line-height: 1;
}

.showcase-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--fg);
  font-size: 27px;
  line-height: 1;
  transition: .25s ease;
}

.showcase-close:hover {
  transform: rotate(90deg);
  background: rgba(235,96,225,.18);
}

.showcase-visual {
  min-height: 330px;
  display: grid;
  place-items: center;
  position: relative;
}

.showcase-orb {
  width: min(300px, 65vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #ffaff8 0, var(--pink) 24%, var(--purple) 58%, #24123d 100%);
  box-shadow:
    0 0 55px rgba(223,88,213,.45),
    0 0 120px rgba(141,120,238,.22);
  animation: showcaseFloat 5s ease-in-out infinite;
}

.showcase-code {
  position: absolute;
  font-family: "Space Grotesk", sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 30px rgba(255,255,255,.35);
}

@keyframes showcaseFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.025); }
}

html.light .showcase-tags span {
  border-color: rgba(17,16,20,.12);
  background: rgba(17,16,20,.045);
}

html.light .codily-showcase-backdrop {
  background: rgba(245,243,238,.72);
}

html.light .codily-showcase-card::before {
  background:
    radial-gradient(circle at 75% 20%, rgba(235,96,225,.12), transparent 30%),
    linear-gradient(135deg, rgba(255,254,250,.99), rgba(238,234,229,.99));
}

@media (max-width: 760px) {
  .codily-showcase {
    padding: 15px;
  }

  .codily-showcase-card {
    width: min(94vw, 560px);
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 22px 25px;
    max-height: 90vh;
    overflow-y: auto;
  }

  #showcaseTitle {
    font-size: 42px;
    letter-spacing: -2px;
  }

  #showcaseText {
    font-size: 14px;
  }

  .showcase-visual {
    min-height: 180px;
  }

  .showcase-orb {
    width: 170px;
  }

  .showcase-code {
    font-size: 45px;
  }

  .showcase-close {
    top: 12px;
    right: 12px;
  }

  body.rtl .showcase-close {
    right: auto;
    left: 12px;
  }
}

body.rtl .codily-showcase-card {
  direction: rtl;
  text-align: right;
}

body.rtl .showcase-tags {
  justify-content: flex-start;
}
