/* ========================================
   NEXORA LABS — Portfolio CSS
   ======================================== */

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

:root {
  --bg: #ffffff;
  --bg-2: #fcfdfe;
  --bg-3: #f5f7fa;
  --accent: #111827;
  /* Sophisticated dark grey/black */
  --accent-2: #3b82f6;
  /* Premium blue */
  --accent-3: #2563eb;
  --text: #0f172a;
  --text-muted: #1e3a8a;
  --text-dim: #3b82f6;
  --border: rgba(15, 23, 42, 0.1);
  --border-2: rgba(15, 23, 42, 0.15);
  --card: rgba(15, 23, 42, 0.035);
  --card-hover: rgba(15, 23, 42, 0.065);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition: 0.4s var(--ease-out-expo);
}



html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: 4px;
}

/* ---- Selection ---- */
::selection {
  background: rgba(79, 156, 249, 0.25);
  color: var(--text);
}

/* ---- Noise ---- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
}

/* ---- Custom Cursor ---- */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: opacity 0.3s;
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--text);
  top: -5px;
  left: -5px;
  transform: translate3d(0, 0, 0);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.5);
  top: -18px;
  left: -18px;
  transition: width 0.4s var(--ease-out-expo),
    height 0.4s var(--ease-out-expo),
    background 0.4s,
    border 0.4s;
}

.cursor-follower.is-hovered {
  width: 60px;
  height: 60px;
  background: rgba(79, 156, 249, 0.1);
  border-color: var(--accent);
}

@media (hover: none) {

  .cursor,
  .cursor-follower {
    display: none;
  }
}

/* ---- Container ---- */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

/* ---- Reveal Animations ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo) var(--delay, 0s),
    transform 0.8s var(--ease-out-expo) var(--delay, 0s);
}

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

/* ==============================
   NAV
   ============================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.4s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-mark {
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 1px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-mark2-text {
  margin-left: 12px;
  margin-bottom: 10px;
  text-decoration: none;

}


.logo-mark2 img {
  width: 40px;
  height: 40px;
  filter: brightness(0) saturate(100%) invert(0%) sepia(35%) saturate(5412%) hue-rotate(212deg) brightness(96%) contrast(101%);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  margin-left: 20px;
  filter: brightness(0) saturate(100%) invert(0%) sepia(35%) saturate(5412%) hue-rotate(212deg) brightness(96%) contrast(101%);
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
}

.nav-link:hover {
  color: var(--text);
  background: var(--card);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #6aabfa;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
  display: block;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--accent);
}

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* ==============================
   HERO LOAD ANIMATION
   ============================== */

.hero-content {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.hero-badge {
  opacity: 0;
  transform: translateY(20px);
  animation: heroItemFade 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero-title {
  opacity: 0;
  transform: translateY(50px);
  animation: heroItemFade 1s ease forwards;
  animation-delay: 0.5s;
}

.hero-desc {
  opacity: 0;
  transform: translateY(30px);
  animation: heroItemFade 1s ease forwards;
  animation-delay: 0.8s;
}

.hero-actions {
  opacity: 0;
  transform: translateY(25px);
  animation: heroItemFade 1s ease forwards;
  animation-delay: 1s;
}

.hero-stats {
  opacity: 0;
  transform: translateY(40px);
  animation: heroItemFade 1s ease forwards;
  animation-delay: 1.2s;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -100px;
  left: -150px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  bottom: -80px;
  right: -100px;
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes orb-float {

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

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--card);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #196013;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.title-line {
  display: block;
}

.title-line--accent {
  background: linear-gradient(135deg, var(--accent), #1b59e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

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

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-anim 1.5s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.hero-scroll span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-sym {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.15));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 25px rgba(15, 23, 42, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}

.btn-ghost:hover {
  background: var(--card-hover);
  border-color: rgba(15, 23, 42, 0.2);
}

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

/* ==============================
   MARQUEE
   ============================== */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  padding-right: 2rem;
  min-width: max-content;
}

.marquee-inner span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-inner .dot {
  color: var(--accent);
  font-size: 1rem;
}

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

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

/* ==============================
   SECTIONS
   ============================== */
.section {
  padding: 7rem 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-tag::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #6796fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==============================
   WORK / PROJECTS
   ============================== */
.work-section {
  background: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}


.nova-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 390px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  isolation: isolate;
}

.skillo-preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  isolation: isolate;
}

.novadashboard-img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

/* Smooth GPU rendering */
.skillo-img,
.novadashboard-img {
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: flat;
  transform-style: flat;
  -webkit-transform: translateZ(0);
}

/* Initial hidden state */
.skillo-img,
.novadashboard-img {
  opacity: 0;
  -webkit-transform: translateY(60px) scale(0.92);
  transform: translateY(60px) scale(0.92);
  -webkit-transition:
    -webkit-transform 2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 2s ease;
  transition:
    transform 2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 2s ease;
}

/* Final visible state */
.project-card.is-visible .skillo-img-1 {
  opacity: 1;
  transform: rotate(0deg) translateY(0) scale(1);
  transition-delay: 0.12s;
}

.project-card.is-visible .skillo-img-2 {
  opacity: 1;
  transform: rotate(-5deg) translateY(0) scale(1);
  transition-delay: 0.12s;
}

.project-card.is-visible .skillo-img-3 {
  opacity: 1;
  transform: rotate(5deg) translateY(0) scale(1);
  transition-delay: 0.12s;
}

/* Nova dashboard animation */
.project-card.is-visible .novadashboard-img-1 {
  opacity: 1;
  transform: rotate(0deg) translateY(0) scale(1);
  transition-delay: 0.12s;
}

/* Hover effect stays smooth */
.project-card:hover .novadashboard-img-1 {
  transform: rotate(0deg) translateY(0px) scale(1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}


.skillo-img {
  position: absolute;
  width: 38%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.skillo-img-1 {
  left: 34%;
  top: 8%;
  transform: translateY(60px) scale(0.92) rotate(0deg);
  z-index: 2;
}

.skillo-img-2 {
  right: 0.2%;
  top: 8%;
  transform: translateY(60px) scale(0.92) rotate(-5deg);
  z-index: 1;
}

.skillo-img-3 {
  left: 1%;
  top: 8%;
  transform: translateY(60px) scale(0.92) rotate(5deg);
  z-index: 2;
}

.novadashboard-img-1 {
  left: 0px;
  top: 1%;
  transform: translateY(100px) scale(0.92) rotate(0deg);
  z-index: 2;
}

.project-card:hover .skillo-img-1 {
  transform: rotate(0deg) translateX(0px);
}

.project-card:hover .skillo-img-2 {
  transform: rotate(12deg) translateY(-8px);
}

.project-card:hover .skillo-img-3 {
  transform: rotate(-12deg) translateY(-8px);
}


.project-card {
  grid-column: span 6;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out-expo);
  cursor: pointer;
}

.project-card--large {
  grid-column: span 7;
}

.project-card--wide {
  grid-column: span 7;
}

.project-card:nth-child(3) {
  grid-column: span 5;
}

.project-card:nth-child(4) {
  grid-column: span 5;
}

.project-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}

.project-img {
  width: 100%;
  aspect-ratio: 12 / 5;
  overflow: hidden;
  position: relative;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.project-img-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-card:hover .project-img-bg {
  transform: scale(1.03);
}

.project-info {
  padding: 1.75rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.project-cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-year {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.project-tags span {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  background: rgba(79, 156, 249, 0.08);
  border: 1px solid rgba(79, 156, 249, 0.15);
  border-radius: 100px;
  color: var(--accent);
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  transition: gap 0.3s, color 0.3s;
}

.project-link svg {
  width: 15px;
  height: 15px;
}

.project-link:hover {
  color: var(--accent);
  gap: 0.7rem;
}

/* Mockups */
.project-mockup {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}

.mockup-1 .mock-bar {
  height: 28px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.mockup-1 .mock-content {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mockup-1 .mock-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(79, 156, 249, 0.2);
  flex-shrink: 0;
}

.mockup-1 .mock-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.mockup-1 .mock-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.07);
}

.mockup-1 .mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mockup-1 .mock-card {
  height: 60px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.mockup-2 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0;
}

.mock-phone {
  width: 120px;
  height: 200px;
  border-radius: 18px;
  border: 2px solid rgba(167, 139, 250, 0.4);
  overflow: hidden;
  background: rgba(167, 139, 250, 0.05);
  padding: 1rem 0.75rem;
}

.mock-phone-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(79, 156, 249, 0.3));
  margin-bottom: 4px;
}

.mock-app-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.12);
}

.mock-app-line.short {
  width: 60%;
}

.mock-app-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.mock-app-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
}

.mock-app-dot.accent {
  background: rgba(167, 139, 250, 0.4);
}

.mockup-3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mock-browser {
  width: 85%;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.04);
}

.mock-browser-dots {
  height: 28px;
  background: rgba(15, 23, 42, 0.05);
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mock-browser-dots::before {
  content: '';
  display: block;
  width: 40px;
  height: 8px;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.4);
  box-shadow: 50px 0 0 rgba(255, 200, 80, 0.4), 100px 0 0 rgba(255, 100, 80, 0.4);
}

.mock-browser-body {
  padding: 1rem;
}

.mock-hero-text {
  height: 12px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.1);
  margin-bottom: 8px;
}

.mock-hero-text.short {
  width: 60%;
}

.mock-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mock-btn {
  height: 22px;
  width: 60px;
  border-radius: 5px;
  background: rgba(52, 211, 153, 0.4);
}

.mock-btn.outline {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.mockup-4 {
  padding: 1rem;
  display: flex;
  align-items: stretch;
}

.mock-dashboard {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.mock-sidebar {
  width: 40px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-nav-item {
  height: 26px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.06);
}

.mock-nav-item.active {
  background: rgba(255, 100, 80, 0.35);
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mock-stat-card {
  height: 40px;
  border-radius: 6px;
  background: rgba(255, 100, 80, 0.1);
  border: 1px solid rgba(255, 100, 80, 0.15);
}

.mock-chart-area {
  flex: 1;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 80px;
  position: relative;
  overflow: hidden;
}

.mock-chart-area::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50'%3E%3Cpolyline fill='none' stroke='rgba(255,100,80,0.5)' stroke-width='2' points='0,40 30,30 60,35 90,15 120,25 160,10 200,20'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ==============================
   SERVICES
   ============================== */
.services-section {
  background: var(--bg-2);
}

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

.service-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo), background 0.4s;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 156, 249, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-item:hover {
  border-color: var(--border-2);
  background: var(--card-hover);
  transform: translateY(-3px);
}

.service-item:hover::before {
  opacity: 1;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(79, 156, 249, 0.1);
  border: 1px solid rgba(79, 156, 249, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-list li {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-left: 1rem;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

.service-num {
  position: absolute;
  bottom: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.04);
  line-height: 1;
  pointer-events: none;
}

.service-item--cta {
  background: linear-gradient(135deg, rgba(79, 156, 249, 0.08), rgba(167, 139, 250, 0.08));
  border-color: rgba(79, 156, 249, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.service-item--cta h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  max-width: 220px;
}

.service-cta-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ==============================
   ABOUT
   ============================== */
.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 300;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.value-pill {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--card);
  transition: border-color 0.3s, color 0.3s;
}

.value-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.team-avatar img{
  width: 47px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-avatar span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.7);
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-info strong {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.team-info span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.trust-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-bar>span {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

/* ==============================
   PROCESS
   ============================== */
.process-section {
  background: var(--bg-2);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 2rem;
  position: relative;
  border-left: 1px solid var(--border);
}

.process-step:first-child {
  border-left: none;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.process-step-num::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials-section {
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.4s var(--ease-out-expo);
}

.testimonial:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(79, 156, 249, 0.07);
  line-height: 1;
  pointer-events: none;
}

.testimonial p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 300;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial footer span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.testimonial-stars {
  position: absolute;
  top: 160px;
  left: 350px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #f59e0b;
}

/* ==============================
   CONTACT
   ============================== */
.contact-section {
  background: var(--bg-2);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-left p {
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.contact-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
  resize: vertical;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group select option {
  background: #1a2840;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(79, 156, 249, 0.04);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  border-color: var(--border-2);
  color: var(--text);
  background: var(--card);
}

.footer-mid {
  margin-bottom: 2.5rem;
}

.footer-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
}

.footer-nav a:hover {
  color: var(--text);
  background: var(--card);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.footer-bottom span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--large,
  .project-card--wide,
  .project-card:nth-child(3),
  .project-card:nth-child(4) {
    grid-column: span 1;
  }

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

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

  .process-step {
    border-bottom: 1px solid var(--border);
  }

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

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 8rem 0 5rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat {
    min-width: 50%;
    border-bottom: 1px solid var(--border);
  }

  .stat-divider {
    display: none;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  /* Project Images Pro Scaling Fix - Using aspect-ratio and percentage widths for absolute layout consistency */
  .project-img {
    height: auto;
    aspect-ratio: 12 / 5;
  }

  .skillo-preview,
  .nova-preview {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

  .stat {
    min-width: 100%;
  }

  .section {
    padding: 5rem 0;
  }
}