/* =======================
   PREMIUM PORTFOLIO REDESIGN
======================== */
:root {
  --bg-0: #03050a;
  --bg-1: #050816;
  --bg-2: #081022;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.14);
  --text-1: #f4f6ff;
  --text-2: rgba(244, 246, 255, 0.74);
  --text-3: rgba(244, 246, 255, 0.52);
  --accent-1: #7b5cff;
  --accent-2: #3da7ff;
  --accent-3: #d45cff;
  --success: #2ef2a5;
  --accent-gradient: linear-gradient(
    135deg,
    #5d8cff 0%,
    #8f63ff 48%,
    #d45cff 100%
  );
  --panel-gradient: linear-gradient(
    180deg,
    rgba(17, 22, 46, 0.94),
    rgba(8, 12, 26, 0.96)
  );
  --container: 1380px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.24);
  --transition: 0.35s ease;

  /* ΑΛΛΑΓΗ: το scroll-padding-top οριζόταν και εδώ (στο :root) και στο html παρακάτω.
     Το αφήνουμε μόνο εδώ — το :root είναι το σωστό μέρος για CSS variables & properties. */
  scroll-padding-top: 120px;
}

* {
  box-sizing: border-box;
}
/* Display/heading τυπογραφία = Manrope (έχει πλήρη ελληνικά, geometric).
   Το Clash Display μένει μόνο στο λογότυπο/OG (λατινικά, ως εικόνες) γιατί
   δεν υποστηρίζει ελληνικά. Το body κρατάει Inter. */
h1,
h2,
h3,
h4,
h5,
h6,
.timeline-year,
.stat-item strong {
  font-family: "Manrope", "Inter", sans-serif;
}
html {
  /* ΑΛΛΑΓΗ: αφαιρέθηκε το scroll-behavior: smooth από εδώ.
     Το JS (initSmoothAnchors) χειρίζεται ήδη το smooth scroll με window.scrollTo.
     Έχοντας και τα δύο ταυτόχρονα μπορεί να προκαλεί double-smooth ή inconsistency. */

  /* ΑΛΛΑΓΗ: αφαιρέθηκε το duplicate scroll-padding-top (ήταν ορισμένο και στο :root) */
}
html.loading,
html.loading body,
.menu-open body {
  overflow: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: var(--text-1);
  background:
    radial-gradient(
      circle at 14% 10%,
      rgba(61, 167, 255, 0.08),
      transparent 16%
    ),
    radial-gradient(
      circle at 86% 12%,
      rgba(123, 92, 255, 0.12),
      transparent 20%
    ),
    radial-gradient(
      circle at 78% 34%,
      rgba(212, 92, 255, 0.08),
      transparent 18%
    ),
    linear-gradient(180deg, #02040b 0%, #050916 44%, #070c1c 100%);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1100;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: #000;
  transform: translateY(-140%);
  transition: var(--transition);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--accent-1);
  outline-offset: 4px;
}

/* Loader */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at center,
      rgba(123, 92, 255, 0.12),
      transparent 40%
    ),
    #03050a;
  transition:
    opacity 1s ease,
    visibility 1s ease,
    transform 1s ease;
}
.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  /* ΑΛΛΑΓΗ (προαιρετικό): αφαίρεσε το translateY(-40px) αν θέλεις
     πιο clean fade-out χωρίς το "ανεβαίνει" effect κατά το κλείσιμο */
  transform: translateY(-40px);
  pointer-events: none;
}
.loader-title {
  display: flex;
  gap: 6px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}
.loader-title img {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  filter: blur(10px);
  animation: loaderLetter 0.7s forwards;
}
.loader-title span:nth-child(1) {
  animation-delay: 0.05s;
}
.loader-title span:nth-child(2) {
  animation-delay: 0.12s;
}
.loader-title span:nth-child(3) {
  animation-delay: 0.19s;
}
.loader-title span:nth-child(4) {
  animation-delay: 0.26s;
}
.loader-title span:nth-child(5) {
  animation-delay: 0.33s;
}
.loader-title span:nth-child(6) {
  animation-delay: 0.4s;
}
.loader-line {
  width: 0;
  height: 2px;
  margin: 26px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3da7ff, #7b5cff, #d45cff);
  animation: loaderLine 1s ease forwards 0.55s;
  box-shadow: 0 0 30px rgba(123, 92, 255, 0.4);
}
@keyframes loaderLetter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes loaderLine {
  to {
    width: 180px;
  }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 14px 0;
  transition: padding 0.35s ease;
}
.site-header.is-scrolled {
  padding: 6px 0;
}
.header-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  background: rgba(4, 8, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transition: var(--transition);
}
.site-header.is-scrolled .header-wrapper {
  padding: 8px 20px;
  background: rgba(5, 9, 22, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.logo-link {
  display: inline-flex;
  align-items: center;
}
.logo {
  max-width: 150px;
  height: auto;
  transition: var(--transition);
}
.site-header.is-scrolled .logo {
  max-width: 118px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 28px);
}
.nav-link {
  position: relative;
  color: var(--text-3);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-gradient);
  opacity: 0;
  transform: scaleX(0.35);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--text-1);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.header-cta,
.ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition),
    border-color var(--transition);
}
.header-cta {
  color: #fff;
  background: var(--accent-gradient);
  box-shadow:
    0 12px 30px rgba(127, 96, 255, 0.26),
    0 0 40px rgba(127, 96, 255, 0.12);
}
.header-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 40px rgba(127, 96, 255, 0.3),
    0 0 42px rgba(127, 96, 255, 0.18);
}
.ghost-cta {
  color: var(--text-1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.ghost-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(173, 122, 255, 0.32);
}
.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
  transition: var(--transition);
}
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero-panel {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: #020409;
  overflow: hidden;
}
.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image img {
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.01);
  filter: brightness(0.48) saturate(1.05) contrast(1.02);
  animation: heroZoom 9s ease-in-out infinite alternate;
  /* ΑΛΛΑΓΗ: αφαιρέθηκε το "filter" από το will-change.
     Το will-change: filter δημιουργεί βαρύ compositing layer και νέο stacking context.
     Αρκεί το transform. */
  will-change: transform;
}
.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}
.hero-panel::before {
  width: 420px;
  height: 420px;
  top: 10%;
  right: 4%;
  background: radial-gradient(
    circle,
    rgba(154, 108, 255, 0.28),
    rgba(154, 108, 255, 0.07) 52%,
    transparent 72%
  );
  animation: floatGlowA 8s ease-in-out infinite alternate;
}
.hero-panel::after {
  width: 320px;
  height: 320px;
  left: 7%;
  bottom: 12%;
  background: radial-gradient(
    circle,
    rgba(61, 167, 255, 0.18),
    rgba(61, 167, 255, 0.04) 54%,
    transparent 74%
  );
  animation: floatGlowB 11s ease-in-out infinite alternate;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(2, 4, 9, 0.72) 0%,
      rgba(2, 4, 9, 0.38) 36%,
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(2, 4, 9, 0.28) 0%,
      transparent 18%,
      transparent 78%,
      rgba(2, 4, 9, 0.88) 100%
    );
  backdrop-filter: blur(1px);
}
.hero-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 140px 0 70px;
}
.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  max-width: 760px;
}
.hero-kicker {
  margin: 0;
  font-size: clamp(10px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}
.hero-logo-concept {
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(123, 92, 255, 0.18));
}
.hero-subtitle {
  width: min(800px, 100%);
  margin: 0 auto 14px;
  color: var(--text-2);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.8;
}
.hero-word-slider {
  position: relative;
  height: clamp(98px, 18vw, 225px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 60px) scale(0.88);
  opacity: 0;
  filter: blur(12px);
  white-space: normal;
  text-wrap: balance;
  font-size: clamp(3rem, 7.2vw, 7.2rem);
  max-width: min(1200px, 100%);
  padding: 0 12px;
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 900;
  color: #eef2ff;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.8s cubic-bezier(0.22, 0.9, 0.2, 1),
    opacity 0.6s ease,
    filter 0.6s ease;
}
.hero-slide-word.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: blur(0);
  z-index: 2;
}
.hero-slide-word.is-exit {
  transform: translate(-50%, -120px) scale(0.92);
  opacity: 0;
  filter: blur(10px);
}
.hero-slide-word.is-next {
  transform: translate(-50%, 80px) scale(0.84);
  opacity: 0;
  filter: blur(14px);
}
.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.hero-floating-panel {
  position: absolute;
  z-index: 5;
  right: clamp(20px, 5vw, 86px);
  bottom: clamp(88px, 12vh, 150px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 11, 26, 0.58);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}
.hero-floating-panel strong,
.hero-floating-panel small {
  display: block;
}
.hero-floating-panel small {
  margin-top: 3px;
  color: var(--text-3);
}
.availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px rgba(46, 242, 165, 0.8);
}
.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 34px;
  height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.hero-scroll-indicator span {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-3));
  animation: scrollDot 1.8s infinite;
}

.about-image,
.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-image img {
  object-fit: cover;
  object-position: 32% 30%;
  transform: scale(1.01);
  filter: brightness(0.46) saturate(1.05) contrast(1.05);
  animation: AboutZoom 9s ease-in-out infinite alternate;
  will-change: transform;
}
/* Overlay: αριστερά καθαρό (φαίνεται το πρόσωπο), δεξιά σκουραίνει
   ώστε το κείμενο/cards να διαβάζονται άνετα. */
.section-about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 26%,
    rgba(5, 9, 18, 0.5) 56%,
    rgba(5, 9, 18, 0.82) 100%
  );
}

.section-about {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.section-about > .container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
/* General sections */
main {
  position: relative;
  margin-top: -1px;
}
.section {
  position: relative;
  padding: 88px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: clip;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 24%,
      rgba(61, 167, 255, 0.06),
      transparent 18%
    ),
    radial-gradient(
      circle at 86% 30%,
      rgba(123, 92, 255, 0.08),
      transparent 16%
    );
  opacity: 0.85;
  pointer-events: none;
}
.section > .container {
  position: relative;
  z-index: 2;
}
.dot-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-top: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #9e76ff, #5d8cff);
  box-shadow: 0 0 20px rgba(138, 106, 255, 0.5);
}
.dot-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 8px;
}
.dot-title h2,
.contact-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 2.7vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-title-row p {
  margin: 10px 0 0;
  color: var(--text-3);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 720px;
}
.section-label,
.eyebrow {
  color: #c793ff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.section-head.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 42px;
  align-items: center;
}
.about-grid {
  align-items: center;
  width: 100%;
}
.about-copy p {
  margin: 16px 0 0;
  max-width: 620px;
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.75;
}
.signature {
  margin-top: 20px;
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  color: #a66cff;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.05em;
  text-shadow: 0 0 30px rgba(166, 108, 255, 0.24);
}

/* About visual */
.about-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
/* Τα δύο cards (stats + code) δίπλα-δίπλα για εξοικονόμηση χώρου */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: stretch;
  width: 100%;
}
.about-cards .stats-card,
.about-cards .code-card {
  flex: 1 1 270px;
  min-width: 0;
  width: auto;
}
.about-orbit {
  position: absolute;
  right: -8%;
  top: 0%;
  width: min(400px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 36% 34%,
      rgba(75, 185, 255, 0.55),
      rgba(75, 185, 255, 0.05) 40%,
      transparent 58%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(200, 100, 255, 0.55),
      rgba(200, 100, 255, 0.06) 36%,
      transparent 60%
    );
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}
.about-orbit::before {
  content: "";
  position: absolute;
  inset: 12% 2% auto auto;
  width: 110%;
  height: 62%;
  border-radius: 50%;
  border: 1px solid rgba(179, 109, 255, 0.5);
  transform: rotate(-18deg);
}
.floating-card,
.expertise-card,
.expertise-feature,
.timeline-card,
.project-card,
.featured-project,
.contact-card,
.testimonial-card {
  border: 1px solid var(--stroke);
  background: var(--panel-gradient);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.stats-card {
  position: relative;
  z-index: 3;
  width: min(420px, 100%);
  padding: 24px 22px;
  border-radius: 24px;
  transition: var(--transition);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.stat-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: center;
}
.stat-item + .stat-item {
  margin-top: 0;
}
.stat-item i,
.expertise-card i,
.contact-card i {
  color: #b67fff;
  font-size: 1.55rem;
}
.stat-item strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-item span,
.contact-card span {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 0.88rem;
}
.skill-orbit-card {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text-1);
  background: rgba(8, 12, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  font-size: 0.95rem;
  font-weight: 800;
  animation: floatMiniCard 5s ease-in-out infinite alternate;
}
.skill-orbit-card i {
  color: #b67fff;
  font-size: 1.15rem;
}
.card-wordpress {
  top: 12%;
  right: 22%;
}
.card-woo {
  right: 2%;
  bottom: 30%;
  animation-delay: 0.6s;
}

/* ΑΛΛΑΓΗ: αφαιρέθηκε το .card-speed badge (Performance) για λιγότερο visual clutter
   στο about section. Κρατάμε μόνο WordPress + WooCommerce που είναι τα core skills. */
.card-speed {
  display: none;
}

.code-card {
  position: relative;
  z-index: 4;
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(5, 9, 22, 0.74);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.code-card-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.code-card-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.code-card pre {
  margin: 0;
  padding: 14px 16px;
  color: rgba(244, 246, 255, 0.78);
  font:
    600 0.82rem/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  white-space: pre-wrap;
}
.about-portrait {
  position: absolute;
  right: -45px;
  bottom: -20px;
  width: min(530px, 78%);
  aspect-ratio: 0.8;
  border-radius: 28px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.72) saturate(0.85) contrast(1.06);
}

/* Expertise */
.expertise-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 24px;
  align-items: stretch;
}
.expertise-feature {
  padding: 34px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.expertise-feature h3 {
  margin: 18px 0 16px;
  font-size: clamp(1.8rem, 2.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.expertise-feature p,
.expertise-card p,
.timeline-card p,
.project-card p,
.featured-project p,
.testimonial-card p,
.contact-intro p {
  color: var(--text-2);
  line-height: 1.85;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.metric-row div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.metric-row strong {
  display: block;
  font-size: 1.35rem;
}
.metric-row span {
  display: block;
  margin-top: 6px;
  color: var(--text-3);
  font-size: 0.88rem;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.expertise-card {
  padding: 28px;
  border-radius: 24px;
  transition: var(--transition);
}
.expertise-card h3 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 24px;
  margin-top: 34px;
}
.timeline {
  --timeline-rail: 235px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: var(--timeline-rail);
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(123, 92, 255, 0.7),
    transparent
  );
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 140px;
  align-items: start;
}
/* ΑΛΛΑΓΗ: η κουκίδα ήταν ::after πάνω στο .timeline-year (width: fit-content),
   οπότε η θέση της άλλαζε ανάλογα με το πλάτος του κειμένου ("2024" vs "2022")
   και δεν έπεφτε ποτέ ακριβώς πάνω στη σταθερή κάθετη γραμμή (left: 235px).
   Τη μετακινήσαμε σε ::before πάνω στο .timeline-item, στο ΙΔΙΟ left
   με τη γραμμή (μέσω --timeline-rail) — έτσι ευθυγραμμίζονται πάντα. */
.timeline-item::before {
  content: "";
  position: absolute;
  left: var(--timeline-rail);
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow:
    0 0 0 8px rgba(123, 92, 255, 0.12),
    0 0 28px rgba(123, 92, 255, 0.55);
  z-index: 1;
}

/* ΑΛΛΑΓΗ: οι χρονολογίες (2024, 2022, 2021) πήραν gradient text αντί για
   το σχεδόν αόρατο color: rgba(244,246,255,0.12).
   Τώρα διαβάζονται ευκρινώς αλλά παραμένουν decorative — δεν "τρώνε"
   το timeline card δίπλα τους. */
.timeline-year {
  position: relative;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.9;
  font-weight: 900;
  /* letter-spacing: -0.08em; */
  /* gradient text */
  color: transparent;
  background: linear-gradient(
    135deg,
    rgba(154, 118, 255, 0.55) 0%,
    rgba(93, 140, 255, 0.35) 50%,
    rgba(244, 246, 255, 0.15) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  width: fit-content;
}
.timeline-card {
  padding: 28px;
  border-radius: 24px;
}
.timeline-card > span {
  color: var(--text-3);
  font-weight: 800;
}
.timeline-card h3 {
  margin: 10px 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(154, 116, 255, 0.2);
  background: rgba(123, 92, 255, 0.1);
  color: rgba(244, 246, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

/* Projects */
.subtle-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #c793ff;
  font-weight: 800;
  transition: var(--transition);
  white-space: nowrap;
}
.subtle-link:hover {
  gap: 14px;
  color: #dfb6ff;
}
.featured-project {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  margin-bottom: 24px;
  overflow: hidden;
}
.featured-project-visual {
  min-height: 410px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 24% 18%,
      rgba(212, 92, 255, 0.2),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(29, 37, 72, 0.9), rgba(14, 18, 36, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.browser-mock {
  width: min(720px, 88%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 9, 22, 0.82);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.browser-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.browser-content {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 22px;
  min-height: 250px;
}
.mock-sidebar,
.mock-main {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.mock-main {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.mock-main span {
  display: block;
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    rgba(93, 140, 255, 0.38),
    rgba(212, 92, 255, 0.16)
  );
}
.featured-project-content {
  padding: 10px 16px;
}
.featured-project-content h3 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 2.8vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.project-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.project-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-weight: 800;
}
.project-points i {
  color: var(--success);
}
.projects-grid-redesign {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 18px;
  border-radius: 24px;
  transition: var(--transition);
}
.project-thumb {
  position: relative;
  min-height: 190px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(29, 37, 72, 0.9),
    rgba(14, 18, 36, 0.96)
  );
}
.project-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 34%,
    rgba(161, 104, 255, 0.44),
    transparent 34%
  );
}
.device-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 142px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f0cbff, #9360ff);
  border: 6px solid rgba(28, 18, 55, 0.8);
  transform: translate(-50%, -50%) rotate(-24deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.device-phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: rgba(26, 18, 42, 0.86);
  transform: translateX(-50%);
}
.device-phone::after {
  content: "";
  position: absolute;
  inset: 24px 12px 18px;
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.26)
    ),
    linear-gradient(180deg, rgba(143, 99, 255, 0.42), rgba(93, 140, 255, 0.22));
}
.dashboard-mock,
.site-mock {
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  background: rgba(6, 9, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.dashboard-mock::before,
.site-mock::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(167, 108, 255, 0.74),
    rgba(93, 140, 255, 0.34)
  );
}
.dashboard-mock::after,
.site-mock::after {
  content: "";
  position: absolute;
  inset: 40px 14px 14px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 34%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 10px,
      transparent 10px,
      transparent 26px
    );
}
.project-card h3 {
  margin: 8px 0 10px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

/* Live link στο featured project */
.project-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 0 20px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(154, 116, 255, 0.32);
  background: rgba(123, 92, 255, 0.12);
  color: #dcc6ff;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: var(--transition);
}
.project-live:hover {
  gap: 13px;
  background: rgba(123, 92, 255, 0.2);
  border-color: rgba(154, 116, 255, 0.5);
}

/* Featured screenshot μέσα στο browser frame */
.browser-shot {
  display: block;
  width: 100%;
  height: auto;
}

/* Projects carousel */
.projects-carousel {
  margin-top: 6px;
}
.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.carousel-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-3);
}
.carousel-nav {
  display: flex;
  gap: 10px;
}
.carousel-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--stroke-strong);
  background: rgba(123, 92, 255, 0.08);
  color: var(--text-1);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: rgba(123, 92, 255, 0.2);
  border-color: rgba(154, 116, 255, 0.5);
  transform: translateY(-2px);
}
.carousel-btn:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}
.carousel-track {
  padding-bottom: 4px;
}
/* Owl: ίσο ύψος καρτών μέσα στο stage */
.carousel-track .owl-stage {
  display: flex;
}
.carousel-track .owl-item {
  display: flex;
}
.carousel-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--panel-gradient);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}
.carousel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 116, 255, 0.42);
}
.carousel-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(8, 12, 26, 0.8);
}
.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.2, 1);
}
.carousel-card:hover .carousel-thumb img {
  transform: scale(1.05);
}
.carousel-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 9, 20, 0.55));
}
.carousel-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 22px;
}
.carousel-body h3 {
  margin: 4px 0 4px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.carousel-body p {
  color: var(--text-2);
  font-size: 0.98rem;
}
.carousel-body .live-go {
  margin-top: 12px;
}
/* Owl dots — restyle στο dark theme */
.projects-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}
.projects-carousel .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: rgba(244, 246, 255, 0.2);
  transition: var(--transition);
}
.projects-carousel .owl-dots .owl-dot:hover span {
  background: rgba(244, 246, 255, 0.4);
}
.projects-carousel .owl-dots .owl-dot.active span {
  width: 26px;
  background: var(--accent-gradient);
}
.live-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #c793ff;
  font-weight: 800;
  font-size: 0.92rem;
  transition: var(--transition);
}
.carousel-card:hover .live-go {
  gap: 12px;
  color: #dfb6ff;
}

/* Workflow */
.workflow-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
  padding: 36px;
  border-radius: 30px;
  border: 1px solid var(--stroke-strong);
  background: linear-gradient(
    135deg,
    rgba(123, 92, 255, 0.11),
    rgba(61, 167, 255, 0.04) 46%,
    rgba(212, 92, 255, 0.08)
  );
  box-shadow: var(--shadow-lg);
}
.workflow-list {
  display: grid;
  gap: 12px;
}
.workflow-list div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  font-weight: 800;
  /* ΑΛΛΑΓΗ: προστέθηκε transition για hover effect */
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  cursor: default;
}

/* ΑΛΛΑΓΗ: hover state για workflow items — subtle translate + accent border */
.workflow-list div:hover {
  background: rgba(123, 92, 255, 0.1);
  border-color: rgba(154, 116, 255, 0.3);
  transform: translateX(4px);
}

/* ΑΛΛΑΓΗ: ο αριθμός (span) μετατράπηκε από plain text σε pill με background */
.workflow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(123, 92, 255, 0.15);
  border: 1px solid rgba(154, 116, 255, 0.22);
  color: #c793ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  flex-shrink: 0;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.workflow-list div:hover span {
  background: rgba(123, 92, 255, 0.25);
  border-color: rgba(154, 116, 255, 0.5);
}

/* ΑΛΛΑΓΗ: arrow indicator που εμφανίζεται on hover */
.workflow-list div::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  opacity: 0;
  color: #c793ff;
  font-size: 0.9rem;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.workflow-list div:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Testimonials + Contact */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.testimonial-card {
  padding: 28px;
  border-radius: 24px;
}
.testimonial-card p {
  margin: 0;
  font-size: 1.02rem;
}
.testimonial-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonial-meta strong,
.testimonial-meta span {
  display: block;
}
.testimonial-meta span {
  margin-top: 6px;
  color: var(--text-3);
}
.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px 32px;
  align-items: start;
  padding: 36px;
  border-radius: 30px;
  border: 1px solid var(--stroke-strong);
  background: linear-gradient(
    180deg,
    rgba(11, 16, 36, 0.92),
    rgba(7, 10, 24, 0.98)
  );
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.contact-intro p {
  margin-top: 18px;
  max-width: 430px;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  transition: var(--transition);
}
.contact-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}
.contact-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  grid-column: 1 / -1;
}
.contact-cta {
  min-width: 200px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  transition: var(--transition);
}
.social-row a:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(173, 122, 255, 0.32);
}
.contact-form {
  grid-column: 1 / -1;
  margin-top: 6px;
}
.contact-form-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row:nth-child(3) {
  grid-column: 1 / -1;
}
.form-row label {
  color: var(--text-2);
  font-size: 0.95rem;
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  min-height: 52px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-1);
  font: inherit;
  outline: 0;
  transition: var(--transition);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: rgba(123, 92, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.12);
}
.contact-form-card textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-submit {
  width: min(280px, 100%);
  justify-self: start;
  border: 0;
  cursor: pointer;
}

/* Legal pages (Privacy / Terms) */
.legal-hero {
  padding: 150px 0 20px;
}
.legal-hero .section-title-row p {
  margin-top: 12px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text-3);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}
.legal-back:hover {
  color: var(--text-1);
  gap: 12px;
}
.legal-updated {
  color: var(--text-3);
  font-size: 0.92rem;
}
.legal-content {
  max-width: 760px;
  margin-top: 12px;
}
.legal-content h2 {
  margin: 42px 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  margin: 0 0 14px;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.85;
}
.legal-content ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.85;
}
.legal-content li {
  margin-bottom: 6px;
}
.legal-content a {
  color: #c793ff;
  font-weight: 700;
}
.legal-content a:hover {
  color: #dfb6ff;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-3);
}
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--text-1);
}
.brand span span {
  color: var(--text-3);
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #c38cff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.brand-mark img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a:hover {
  color: var(--text-1);
}

/* Interactions */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 0.9, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.expertise-card:hover,
.project-card:hover,
.contact-card:hover,
.stats-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 116, 255, 0.24);
  box-shadow:
    var(--shadow-lg),
    0 0 38px rgba(134, 100, 255, 0.08);
}
@keyframes heroZoom {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.05);
  }
}
@keyframes AboutZoom {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.05);
  }
}
@keyframes floatGlowA {
  to {
    transform: translate(-18px, 24px);
  }
}
@keyframes floatGlowB {
  to {
    transform: translate(24px, -18px);
  }
}
@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(24px);
    opacity: 0.25;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes floatMiniCard {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

/* ΑΛΛΑΓΗ: prefers-reduced-motion — overrides για workflow hover animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .workflow-list div:hover {
    transform: none;
  }
  .workflow-list div::after {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1280px) {
  .main-nav {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .header-cta {
    padding: 0 18px;
  }
  .expertise-layout,
  .featured-project,
  .workflow-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .header-wrapper {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .menu-toggle {
    display: block;
    order: 3;
  }
  .site-header .header-cta {
    display: none;
  }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 92px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 9, 22, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link {
    padding: 16px;
    border-radius: 14px;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(255, 255, 255, 0.06);
  }
  .about-grid,
  .projects-grid-redesign,
  .testimonials-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .contact-shell {
    grid-template-columns: 1fr;
  }
  /* Σε 1 στήλη το κείμενο γεμίζει όλο το πλάτος πάνω από τη φωτογραφία.
     Το gradient overlay (φτιαγμένο για left/right split) πρέπει να γίνει
     top-to-bottom ώστε όλο το κείμενο να έχει σκούρο φόντο από κάτω. */
  .section-about::after {
    background: linear-gradient(
      180deg,
      rgba(5, 9, 18, 0.22) 0%,
      rgba(5, 9, 18, 0.6) 30%,
      rgba(5, 9, 18, 0.88) 100%
    );
  }
  .about-visual {
    min-height: 0;
  }
  .about-orbit {
    width: 220px;
    opacity: 0.55;
  }
  .timeline {
    --timeline-rail: 20px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 48px;
  }
  .timeline-item::before {
    top: 12px;
  }
  .timeline-year {
    font-size: 3.4rem;
  }
  .section-head.split-head {
    flex-direction: column;
  }
  .subtle-link {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 30px);
  }
  .section {
    padding: 68px 0;
  }
  .hero-inner {
    padding: 130px 0 92px;
  }
  .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-word-slider {
    height: 160px;
  }
  .hero-slide-word {
    font-size: clamp(2.55rem, 13vw, 4.8rem);
    letter-spacing: -0.055em;
  }
  .hero-floating-panel {
    left: 15px;
    right: 15px;
    bottom: 100px;
    border-radius: 22px;
  }
  .hero-actions {
    align-items: stretch;
  }
  .hero-actions a {
    width: 100%;
  }
  .about-visual {
    min-height: 0;
  }
  .about-orbit {
    display: none;
  }
  .about-cards {
    flex-direction: column;
  }
  /* ΑΛΛΑΓΗ: .about-cards .stats-card (2 classes) είναι πιο specific από
     το standalone .stats-card εδώ κάτω — χωρίς αυτό το override η κάρτα
     έμενε στο grid 2 στηλών (αρχικός κανόνας) και τα στατιστικά στρίμωχναν. */
  .about-cards .stats-card,
  .about-cards .code-card {
    width: 100%;
    flex: 0 1 auto;
  }
  .about-cards .stats-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .skill-orbit-card {
    position: relative;
    inset: auto !important;
    margin: 8px 8px 0 0;
    animation: none;
  }
  .about-portrait {
    right: -20px;
    width: 82%;
    opacity: 0.65;
  }
  .metric-row {
    grid-template-columns: 1fr;
  }
  .browser-content {
    grid-template-columns: 1fr;
  }
  .carousel-head {
    flex-wrap: wrap;
    gap: 12px;
  }
  .carousel-label {
    flex: 1 1 220px;
    min-width: 0;
  }
  .carousel-nav {
    flex: 0 0 auto;
  }
  .mock-sidebar {
    min-height: 60px;
  }
  .featured-project-visual {
    min-height: 280px;
  }
  .contact-shell {
    padding: 24px;
  }
  .contact-info {
    grid-template-columns: 1fr 1fr;
  }
  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-form-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .form-row:nth-child(3) {
    grid-column: auto;
  }
  .footer-shell {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-wrapper {
    padding: 10px 12px;
  }
  .logo {
    max-width: 118px;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
  }
  .hero-word-slider {
    height: 140px;
  }
  .hero-slide-word {
    font-size: 2.75rem;
  }
  .dot-title {
    gap: 10px;
  }
  .dot-title h2,
  .contact-intro h2 {
    font-size: 2rem;
  }
  .expertise-feature,
  .timeline-card,
  .featured-project,
  .project-card,
  .testimonial-card,
  .workflow-shell,
  .contact-shell {
    padding: 20px;
    border-radius: 22px;
  }
  .workflow-list div {
    padding: 15px;
  }
  /* Σε πολύ μικρά πλάτη, 2 στήλες στα contact-card στρίμωχναν κείμενο
     όπως "Συνήθως εντός 24 ωρών" — μία στήλη διαβάζεται καθαρά. */
  .contact-info {
    grid-template-columns: 1fr;
  }
  .carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}
