/* ===== CONFIG & VARIABLES ===== */
:root {
  /* Colors */
  --color-primary: #7c3aed;
  --color-secondary: #ec4899;
  --color-dark-100: #060608;
  --color-dark-200: #0d0d14;
  --color-dark-300: #13131e;
  --color-text-main: #f0f0f8;
  --color-text-muted: #6b6b8a;
  --color-border: rgba(255, 255, 255, 0.07);
  --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  
  /* Spacing - Using REM for better scaling */
  --space-unit: 1rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7.5rem;
  
  /* Layout */
  --container-max-width: 1440px;
  --container-padding: clamp(0.75rem, 3vw, 3.75rem); /* Responsive padding: 12px to 60px */
  --section-padding: clamp(4rem, 10vw, var(--space-xl));
  --border-radius-main: 14px;
  --transition-main: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --z-nav: 100;
  --z-loader: 10000;
}

/* Browser compatibility fixes */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
  font-size: 16px; /* Base size */
}

@media (max-width: 1600px) {
  html { font-size: 15px; }
}
@media (max-width: 1200px) {
  html { font-size: 14px; }
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--color-dark-100);
  background: #060608; /* Fallback */
  color: var(--color-text-main);
  color: #f0f0f8; /* Fallback */
  overflow-x: hidden;
  line-height: 1.6; /* Improved for readability */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button, input, textarea {
  font-family: inherit;
}

.section {
  padding: var(--section-padding) 0;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===== UTILITIES ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  display: block;
  animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Fallbacks for browsers that don't support CSS custom properties */
.gradient-text {
  background: linear-gradient(135deg, #7c3aed, #ec4899); /* Fallback */
  background: var(--gradient-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  color: transparent;
  -webkit-animation: gradientShift 3s ease infinite;
  -moz-animation: gradientShift 3s ease infinite;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@-webkit-keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@-moz-keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.outline-text {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
  color: transparent;
  transition: all 0.4s ease;
}

.outline-text:hover {
  -webkit-text-stroke: 1.5px var(--color-primary);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

/* Glitch Effect */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark-100);
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--color-secondary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--color-primary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.glitch:hover::before {
  animation: glitch-anim 0.3s infinite linear alternate-reverse;
}
.glitch:hover::after {
  animation: glitch-anim2 0.3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(31px, 9999px, 94px, 0); }
  4.16% { clip: rect(91px, 9999px, 43px, 0); }
  8.33% { clip: rect(65px, 9999px, 59px, 0); }
  12.5% { clip: rect(57px, 9999px, 5px, 0); }
  16.66% { clip: rect(34px, 9999px, 11px, 0); }
  20.83% { clip: rect(59px, 9999px, 100px, 0); }
  25% { clip: rect(20px, 9999px, 62px, 0); }
  29.16% { clip: rect(64px, 9999px, 96px, 0); }
  33.33% { clip: rect(16px, 9999px, 1px, 0); }
  37.5% { clip: rect(62px, 9999px, 31px, 0); }
  41.66% { clip: rect(84px, 9999px, 96px, 0); }
  45.83% { clip: rect(36px, 9999px, 31px, 0); }
  50% { clip: rect(22px, 9999px, 84px, 0); }
  54.16% { clip: rect(40px, 9999px, 43px, 0); }
  58.33% { clip: rect(58px, 9999px, 19px, 0); }
  62.5% { clip: rect(54px, 9999px, 47px, 0); }
  66.66% { clip: rect(28px, 9999px, 20px, 0); }
  70.83% { clip: rect(31px, 9999px, 11px, 0); }
  75% { clip: rect(72px, 9999px, 57px, 0); }
  79.16% { clip: rect(56px, 9999px, 8px, 0); }
  83.33% { clip: rect(52px, 9999px, 60px, 0); }
  87.5% { clip: rect(30px, 9999px, 97px, 0); }
  91.66% { clip: rect(13px, 9999px, 17px, 0); }
  95.83% { clip: rect(85px, 9999px, 30px, 0); }
  100% { clip: rect(24px, 9999px, 84px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  4.16% { clip: rect(52px, 9999px, 15px, 0); }
  8.33% { clip: rect(79px, 9999px, 85px, 0); }
  12.5% { clip: rect(18px, 9999px, 11px, 0); }
  16.66% { clip: rect(51px, 9999px, 38px, 0); }
  20.83% { clip: rect(49px, 9999px, 74px, 0); }
  25% { clip: rect(34px, 9999px, 38px, 0); }
  29.16% { clip: rect(17px, 9999px, 92px, 0); }
  33.33% { clip: rect(64px, 9999px, 86px, 0); }
  37.5% { clip: rect(2px, 9999px, 53px, 0); }
  41.66% { clip: rect(23px, 9999px, 98px, 0); }
  45.83% { clip: rect(11px, 9999px, 3px, 0); }
  50% { clip: rect(50px, 9999px, 9px, 0); }
  54.16% { clip: rect(78px, 9999px, 69px, 0); }
  58.33% { clip: rect(6px, 9999px, 85px, 0); }
  62.5% { clip: rect(62px, 9999px, 14px, 0); }
  66.66% { clip: rect(58px, 9999px, 49px, 0); }
  70.83% { clip: rect(32px, 9999px, 3px, 0); }
  75% { clip: rect(2px, 9999px, 88px, 0); }
  79.16% { clip: rect(39px, 9999px, 29px, 0); }
  83.33% { clip: rect(28px, 9999px, 83px, 0); }
  87.5% { clip: rect(53px, 9999px, 26px, 0); }
  91.66% { clip: rect(67px, 9999px, 48px, 0); }
  95.83% { clip: rect(79px, 9999px, 19px, 0); }
  100% { clip: rect(42px, 9999px, 59px, 0); }
}

@keyframes glitch-skew {
  0% { transform: skew(1deg); }
  10% { transform: skew(-1deg); }
  20% { transform: skew(2deg); }
  30% { transform: skew(-3deg); }
  40% { transform: skew(1deg); }
  50% { transform: skew(-2deg); }
  60% { transform: skew(0deg); }
  70% { transform: skew(1deg); }
  80% { transform: skew(-1deg); }
  90% { transform: skew(2deg); }
  100% { transform: skew(0deg); }
}

/* Applying glitch specifically to elements with gradient text */
.hero__line--accent.glitch::before,
.hero__line--accent.glitch::after,
.hero__num.glitch::before,
.hero__num.glitch::after,
.loader__pct.glitch::before,
.loader__pct.glitch::after {
  background: transparent;
  -webkit-text-fill-color: var(--color-text-main);
  background-clip: none;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-dark-100);
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader__logo {
  animation: spin 2s linear infinite, logoGlow 2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(124, 58, 237, 0.5)); }
  50% { filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.8)); }
}

.loader__path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: draw 1.5s ease forwards;
}

.loader__path2 {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 1.5s 0.3s ease forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.loader__bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  width: 0%;
  transition: width 0.05s linear;
}

.loader__pct {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  color: transparent;
}

.nav--fixed {
  background: rgba(6, 6, 8, 0.95);
  -webkit-backdrop-filter: blur(12px);
  -moz-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.nav__link--back {
  font-size: 0.85rem;
  opacity: 0.7;
}

.nav__link--back:hover {
  opacity: 1;
  color: var(--color-primary);
}

.legal-page {
  background: var(--color-dark-100);
  color: var(--color-text-main);
}

.legal-container {
  padding-top: 180px;
  min-height: 100vh;
}

.legal-header {
  margin-bottom: 4rem;
  text-align: center;
}

.legal-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 1rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 2rem 0 1rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Wavy text effect with Glitch */
.wavy {
  display: inline-flex;
  flex-wrap: wrap;
  cursor: default;
}

.wavy span {
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease;
}

.wavy span::before,
.wavy span::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.wavy:hover span {
  /* removed wavy-anim */
}

.wavy:hover span::before {
  opacity: 1;
  left: 2px;
  text-shadow: -1px 0 var(--color-secondary);
  clip: rect(10px, 9999px, 20px, 0);
  animation: glitch-anim 2s infinite linear alternate-reverse;
  animation-delay: calc(0.05s * var(--i));
}

.wavy:hover span::after {
  opacity: 1;
  left: -2px;
  text-shadow: -1px 0 var(--color-primary);
  clip: rect(20px, 9999px, 30px, 0);
  animation: glitch-anim2 2s infinite linear alternate-reverse;
  animation-delay: calc(0.05s * var(--i));
}

/* removed wavy-anim keyframes if no longer used */

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1.75rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-main);
  animation: navSlideDown 0.6s ease;
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav.scrolled {
  background: rgba(6, 6, 8, 0.8);
  -webkit-backdrop-filter: blur(24px);
  -moz-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: 1.125rem var(--container-padding);
  border-bottom: 1px solid var(--color-border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 0.3s ease;
}

.nav__logo:hover {
  transform: scale(1.05);
}

.nav__logo svg {
  transition: transform 0.3s ease;
}

.nav__logo:hover svg {
  transform: rotate(180deg);
}

.nav__center {
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--transition-main), transform 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width var(--transition-main);
}

.nav__link:hover { 
  color: var(--color-text-main);
  transform: translateY(-2px);
  animation: linkBounce 0.5s ease;
}

.nav__link:hover::after { width: 100%; }

@keyframes linkBounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(-5px); }
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 50px;
  transition: var(--transition-main);
  background: rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.nav__cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.nav__cta:hover::before {
  width: 300px;
  height: 300px;
}

.nav__cta:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.nav__cta svg {
  transition: transform 0.3s ease;
}

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

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
  transition: transform 0.3s ease;
}

.nav__burger:hover {
  transform: scale(1.1) rotate(90deg);
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: var(--transition-main);
  animation: burgerPulse 2s ease-in-out infinite;
}

.nav__burger span:nth-child(1) { animation-delay: 0s; }
.nav__burger span:nth-child(2) { animation-delay: 0.3s; }

@keyframes burgerPulse {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.2); }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-dark-100);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu__link {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-muted);
  transition: color var(--transition-main), transform 0.3s ease;
  opacity: 0;
  transform: translateX(50px);
}

.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu__link:hover { 
  color: var(--color-text-main); 
  transform: translateX(-10px) scale(1.05);
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 0 clamp(2rem, 5vw, 5rem);
  padding-top: clamp(6rem, 15vh, 10rem);
  padding-bottom: clamp(4rem, 10vh, 6rem);
  width: 100%;
}

.hero__canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  animation: canvasPulse 8s ease-in-out infinite;
}

@keyframes canvasPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.8; }
}

.hero__left {
  grid-column: 1;
  grid-row: 1;
  padding-top: 2.5rem;
}

.hero__right {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 3.75rem;
  padding-top: 2.5rem;
}

.hero__marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
  width: 100%;
  position: relative;
}

.hero__marquee-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-main);
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero__eyebrow:hover {
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-main);
  animation: pulse 2s ease-in-out infinite, dotSpin 4s linear infinite;
}

@keyframes dotSpin {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.3); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0); }
}

.hero__eyebrow span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  animation: eyebrowGlow 3s ease-in-out infinite;
}

@keyframes eyebrowGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 10px rgba(124, 58, 237, 0.5); }
}

.hero__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
  max-width: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero__line {
  display: block;
  overflow: visible;
}

.hero__line > *, .hero__line {
  opacity: 0;
  transform: translateY(60px);
  animation: slideUp 0.8s ease forwards;
}

.hero__line[data-delay="0"] { animation-delay: 0.4s; }
.hero__line[data-delay="1"] { animation-delay: 0.55s; }
.hero__line[data-delay="2"] { animation-delay: 0.7s; }

.hero__line--accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  color: transparent;
}

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

.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 1s ease forwards, bounce 2s 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  position: relative;
  overflow: hidden;
  animation: lineGrow 2s ease-in-out infinite;
}

@keyframes lineGrow {
  0%, 100% { width: 40px; }
  50% { width: 60px; }
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  animation: scanline 2s ease-in-out infinite;
}

@keyframes scanline {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.hero__scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: scrollTextPulse 2s ease-in-out infinite;
}

@keyframes scrollTextPulse {
  0%, 100% { opacity: 0.6; letter-spacing: 3px; }
  50% { opacity: 1; letter-spacing: 5px; }
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards, descFloat 5s 2s ease-in-out infinite;
}

@keyframes descFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero__desc em {
  color: var(--color-text-main);
  font-style: normal;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 1s ease forwards;
}

.hero__tags span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  color: var(--color-text-muted);
  transition: var(--transition-main);
  position: relative;
  overflow: hidden;
}

.hero__tags span::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
  transition: left 0.5s ease;
}

.hero__tags span:hover::before {
  left: 100%;
}

.hero__tags span:hover {
  border-color: var(--color-primary);
  color: var(--color-text-main);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.hero__counter {
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards, counterSpin 10s 2s linear infinite;
}

@keyframes counterSpin {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  75% { transform: rotate(-2deg); }
}

.hero__num {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 3s ease infinite, numberFloat 3s ease-in-out infinite;
}

@keyframes numberFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero__num-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  margin-top: 4px;
  animation: labelPulse 2s ease-in-out infinite;
}

@keyframes labelPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero__marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 18s linear infinite;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: animation-duration 0.3s ease;
}

.hero__marquee-wrap:hover .hero__marquee {
  animation-duration: 8s;
}

.hero__marquee .sep { 
  color: var(--color-primary);
  animation: sepSpin 3s linear infinite;
}

@keyframes sepSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== WORK SECTION ===== */
.work {
  background: var(--color-dark-200);
  position: relative;
  overflow: hidden;
}

.work::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.03), transparent);
  animation: sectionSweep 10s ease-in-out infinite;
}

@keyframes sectionSweep {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: -100%; }
}

.work__header {
  margin-bottom: 5rem;
  animation: headerSlide 6s ease-in-out infinite;
}

@keyframes headerSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

.work__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.work__title span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.work__title span:hover {
  transform: translateX(20px);
  animation: titleWave 0.6s ease;
}

@keyframes titleWave {
  0%, 100% { transform: translateX(20px) translateY(0); }
  25% { transform: translateX(20px) translateY(-10px); }
  75% { transform: translateX(20px) translateY(5px); }
}

.work__list {
  display: flex;
  flex-direction: column;
}

.work__item {
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}

.work__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--gradient-main);
  transition: height 0.5s ease;
}

.work__item:hover::before {
  height: 100%;
}

.work__item:last-child { border-bottom: 1px solid var(--color-border); }

.work__item-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 4rem 0;
  transition: var(--transition-main);
  animation: itemFloat 6s ease-in-out infinite;
}

.work__item:nth-child(2) .work__item-inner { animation-delay: 1s; }
.work__item:nth-child(3) .work__item-inner { animation-delay: 2s; }

@keyframes itemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.work__item:hover .work__item-inner {
  transform: translateX(10px) translateY(-8px);
  animation: none;
}

.work__item--right .work__item-inner { direction: rtl; }
.work__item--right .work__item-info { direction: ltr; }

.work__item-img {
  height: clamp(200px, 30vw, 400px);
  border-radius: var(--border-radius-main);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
}

.work__item:hover .work__item-img { 
  transform: scale(1.05) rotate(2deg); 
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.4);
}

.work__item-img--1 { background: linear-gradient(135deg, #1a0533, #3d0d6b, #6b21a8); }
.work__item-img--2 { background: linear-gradient(135deg, #0f172a, #1e3a8a, #1e40af); }
.work__item-img--3 { background: linear-gradient(135deg, #1e1b4b, #4338ca, #6366f1); }
.work__item-img--4 { background: linear-gradient(135deg, #0a0a0a, #ff0000, #330000); }
.work__item-img--5 { background: linear-gradient(135deg, #3d1c02, #d35400, #e67e22); }

.work__item-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  pointer-events: none;
  transition: color 0.4s ease, transform 0.6s ease;
  z-index: 1;
}

.work__item:hover .work__item-bg-text {
  color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1) rotate(-2deg);
  animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.work__item-bg-text.glitch::before,
.work__item-bg-text.glitch::after {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.8);
}

.work__item:hover .work__item-bg-text.glitch::before {
  animation: glitch-anim 0.3s infinite linear alternate-reverse;
}
.work__item:hover .work__item-bg-text.glitch::after {
  animation: glitch-anim2 0.3s infinite linear alternate-reverse;
}

.work__item-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.work__item-noise {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  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='0.4'/%3E%3C/svg%3E");
  animation: noiseMove 8s steps(10) infinite;
}

@keyframes noiseMove {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 10%); }
  50% { transform: translate(10%, 5%); }
  60% { transform: translate(5%, -5%); }
  70% { transform: translate(-10%, -10%); }
  80% { transform: translate(10%, -5%); }
  90% { transform: translate(-5%, 5%); }
}

.work__item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-main);
}

.work__item:hover .work__item-overlay { background: rgba(0, 0, 0, 0.3); }

.work__item-view {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-main);
}

.work__item:hover .work__item-view {
  opacity: 1;
  transform: translateY(0);
}

.work__item-info { padding: 1.25rem 0; }

.work__item-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.4s ease, transform 0.4s ease;
}

.work__item:hover .work__item-num {
  color: rgba(124, 58, 237, 0.15);
  transform: scale(1.1) translateX(10px);
}

.work__item-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  transition: var(--transition-main);
}

.work__item:hover .work__item-info h3 {
  background: var(--gradient-main);
  background: linear-gradient(135deg, #7c3aed, #ec4899); /* Fallback */
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  color: transparent;
}

.work__item-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.work__item:hover .work__item-info p {
  color: var(--color-text-main);
  transform: translateX(5px);
}

/* ===== SERVICES SECTION ===== */
.services__inner {
  display: grid;
  grid-template-columns: clamp(200px, 20vw, 280px) 1fr;
  gap: 0;
}

.services__sticky-label {
  position: sticky;
  top: 7.5rem;
  height: fit-content;
  padding-top: 0.5rem;
  animation: stickyPulse 4s ease-in-out infinite;
}

@keyframes stickyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.services__list {
  display: flex;
  flex-direction: column;
}

.services__card {
  display: grid;
  grid-template-columns: 3.5rem 1fr 2.5rem;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-main);
  position: relative;
  overflow: hidden;
}

.services__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.06), transparent);
  transition: width 0.5s ease;
}

.services__card::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15), transparent);
  transition: left 0.6s ease;
}

.services__card:hover::before { width: 100%; }
.services__card:hover::after { left: 100%; }
.services__card:hover {
  transform: translateX(10px);
  box-shadow: -5px 0 20px rgba(124, 58, 237, 0.2);
}
.services__card:first-child { border-top: 1px solid var(--color-border); }

.services__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-dark-300);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-main);
  flex-shrink: 0;
  animation: iconFloat 4s ease-in-out infinite;
}

.services__card:nth-child(1) .services__icon { animation-delay: 0s; }
.services__card:nth-child(2) .services__icon { animation-delay: 0.5s; }
.services__card:nth-child(3) .services__icon { animation-delay: 1s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.services__card:hover .services__icon {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  transform: rotate(-6deg) scale(1.15);
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: rotate(-6deg) scale(1.15); }
  25% { transform: rotate(-8deg) scale(1.2); }
  50% { transform: rotate(-4deg) scale(1.1); }
  75% { transform: rotate(-7deg) scale(1.18); }
}

.services__body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  transition: var(--transition-main);
}

.services__card:hover .services__body h3 {
  background: var(--gradient-main);
  background: linear-gradient(135deg, #7c3aed, #ec4899); /* Fallback */
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  color: transparent;
}

.services__body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 50ch;
  transition: color 0.3s ease;
}

.services__card:hover .services__body p {
  color: var(--color-text-main);
}

.services__arrow {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-main);
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.services__card:hover .services__arrow {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--color-dark-200);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.03), transparent);
  animation: sectionSweepReverse 12s ease-in-out infinite;
}

@keyframes sectionSweepReverse {
  0% { right: -100%; }
  50% { right: 100%; }
  100% { right: -100%; }
}

/* ===== 3D FLOATING BLOCKS SECTION ===== */
.floating-blocks-section {
  padding: 8rem 0;
  background: var(--color-dark-100);
  position: relative;
  overflow: hidden;
}

.floating-blocks-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.blocks-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.blocks-showcase__content {
  animation: contentSlide 6s ease-in-out infinite;
}

@keyframes contentSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

.blocks-showcase__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.blocks-showcase__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 35ch;
}

.blocks-showcase__visual {
  position: relative;
  height: 500px;
  perspective: 1500px;
}

.floating-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(15deg) rotateY(-15deg);
  width: 380px;
  height: 240px;
  animation: cardFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
  z-index: 10;
}

@keyframes cardFloat {
  0%, 100% { 
    transform: translate(-50%, -50%) rotateX(15deg) rotateY(-15deg) translateZ(0);
  }
  25% { 
    transform: translate(-50%, -50%) rotateX(20deg) rotateY(-20deg) translateZ(20px);
  }
  50% { 
    transform: translate(-50%, -50%) rotateX(10deg) rotateY(-10deg) translateZ(0);
  }
  75% { 
    transform: translate(-50%, -50%) rotateX(18deg) rotateY(-18deg) translateZ(15px);
  }
}

.floating-card__inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(19, 19, 30, 0.95), rgba(13, 13, 20, 0.95));
  border-radius: 20px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.floating-card__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
  animation: cardShine 3s ease-in-out infinite;
}

@keyframes cardShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.floating-card__logo {
  width: 60px;
  height: 60px;
}

.floating-card__text {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-align: center;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.floating-block {
  position: absolute;
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
}

.floating-block__inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(236, 72, 153, 0.4));
  border: 1px solid rgba(124, 58, 237, 0.6);
  box-shadow: 
    0 10px 30px rgba(124, 58, 237, 0.4),
    inset 0 0 20px rgba(124, 58, 237, 0.2);
  position: relative;
}

.floating-block__inner::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.floating-block--diamond .floating-block__inner {
  transform: rotate(45deg);
  border-radius: 8px;
}

.floating-block--diamond .floating-block__inner::before {
  border-radius: 4px;
}

.floating-block--cylinder .floating-block__inner {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.5), rgba(124, 58, 237, 0.3));
}

.floating-block--cylinder .floating-block__inner::before {
  border-radius: 50%;
  inset: 12px;
}

.floating-block--sphere .floating-block__inner {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(124, 58, 237, 0.6), rgba(236, 72, 153, 0.2));
  box-shadow: 
    0 15px 40px rgba(124, 58, 237, 0.5),
    inset -10px -10px 20px rgba(0, 0, 0, 0.3),
    inset 10px 10px 20px rgba(255, 255, 255, 0.1);
}

.floating-block--sphere .floating-block__inner::before {
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.2), transparent);
  border: none;
  inset: 15px;
}

.floating-block--pyramid .floating-block__inner {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.5), rgba(124, 58, 237, 0.3));
  border-radius: 0;
}

.floating-block--pyramid .floating-block__inner::before {
  clip-path: polygon(50% 15%, 15% 85%, 85% 85%);
  border-radius: 0;
}

.floating-block--hexagon .floating-block__inner {
  clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(236, 72, 153, 0.4));
  border-radius: 0;
}

.floating-block--hexagon .floating-block__inner::before {
  clip-path: polygon(35% 10%, 65% 10%, 90% 50%, 65% 90%, 35% 90%, 10% 50%);
  border-radius: 0;
  inset: 0;
}

.floating-block--1 {
  top: 10%;
  left: 15%;
  animation: orbit1 12s linear infinite;
}

.floating-block--2 {
  top: 20%;
  right: 10%;
  animation: orbit2 15s linear infinite;
}

.floating-block--3 {
  bottom: 15%;
  left: 10%;
  animation: orbit3 18s linear infinite;
}

.floating-block--4 {
  bottom: 25%;
  right: 15%;
  animation: orbit4 14s linear infinite;
}

.floating-block--5 {
  top: 50%;
  right: 5%;
  animation: orbit5 16s linear infinite;
}

@keyframes orbit1 {
  0% { 
    transform: rotate(0deg) translateX(100px) rotate(0deg) rotateX(0deg) rotateY(0deg);
  }
  100% { 
    transform: rotate(360deg) translateX(100px) rotate(-360deg) rotateX(360deg) rotateY(360deg);
  }
}

@keyframes orbit2 {
  0% { 
    transform: rotate(0deg) translateX(120px) rotate(0deg) rotateX(0deg) rotateY(0deg);
  }
  100% { 
    transform: rotate(-360deg) translateX(120px) rotate(360deg) rotateX(-360deg) rotateY(-360deg);
  }
}

@keyframes orbit3 {
  0% { 
    transform: rotate(0deg) translateX(110px) rotate(0deg) rotateX(0deg) rotateZ(0deg);
  }
  100% { 
    transform: rotate(360deg) translateX(110px) rotate(-360deg) rotateX(360deg) rotateZ(360deg);
  }
}

@keyframes orbit4 {
  0% { 
    transform: rotate(0deg) translateX(90px) rotate(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% { 
    transform: rotate(-360deg) translateX(90px) rotate(360deg) rotateY(-360deg) rotateZ(-360deg);
  }
}

@keyframes orbit5 {
  0% { 
    transform: rotate(0deg) translateX(130px) rotate(0deg) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% { 
    transform: rotate(360deg) translateX(130px) rotate(-360deg) rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 80vh;
  overflow: hidden;
}

.about__visual {
  position: relative;
  background: var(--color-dark-300);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 37.5rem;
  animation: visualPulse 6s ease-in-out infinite;
}

@keyframes visualPulse {
  0%, 100% { background: var(--color-dark-300); }
  50% { background: rgba(19, 19, 30, 0.8); }
}

.about__orb {
  position: absolute;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), rgba(236, 72, 153, 0.1), transparent 70%);
  animation: orbFloat 6s ease-in-out infinite, orbPulse 3s ease-in-out infinite;
  filter: blur(40px);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(-20px, -20px) scale(1) rotate(0deg); }
  25% { transform: translate(20px, -20px) scale(1.1) rotate(90deg); }
  50% { transform: translate(20px, 20px) scale(1.15) rotate(180deg); }
  75% { transform: translate(-20px, 20px) scale(1.05) rotate(270deg); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.about__grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), 
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridSlide 20s linear infinite;
}

@keyframes gridSlide {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.about__stats-float {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 3.75rem;
  animation: statsFloat 5s ease-in-out infinite;
}

@keyframes statsFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  75% { transform: translateY(10px) rotate(-1deg); }
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about__stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  background: var(--gradient-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: gradientShift 3s ease infinite;
  transition: transform 0.3s ease;
}

.about__stat:hover .about__stat-num {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.5));
}

.about__stat span:last-child {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: statLabelGlow 3s ease-in-out infinite;
}

@keyframes statLabelGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; color: var(--color-primary); }
}

.about__content {
  padding: 5rem 5rem 5rem 3.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: contentFloat 7s ease-in-out infinite;
}

@keyframes contentFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 2rem;
  animation: titleFloat 4s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.about__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 45ch;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about__text:hover {
  transform: translateX(10px);
  color: var(--color-text-main);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 50px;
  transition: var(--transition-main);
  color: var(--color-text-main);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-outline:hover::before {
  width: 400px;
  height: 400px;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-outline svg { 
  transition: transform var(--transition-main);
  position: relative;
  z-index: 1;
}
.btn-outline:hover svg { 
  transform: translate(5px, -5px) rotate(45deg);
  animation: arrowBounce 0.6s ease;
}

@keyframes arrowBounce {
  0%, 100% { transform: translate(5px, -5px) rotate(45deg); }
  50% { transform: translate(8px, -8px) rotate(45deg); }
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--color-dark-200);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  animation: contactRotate 20s linear infinite;
}

@keyframes contactRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact__glow {
  position: absolute;
  width: 37.5rem;
  height: 37.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 4s ease-in-out infinite, glowMove 8s ease-in-out infinite;
  filter: blur(60px);
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes glowMove {
  0%, 100% { transform: translate(-50%, -50%); }
  25% { transform: translate(-45%, -55%); }
  50% { transform: translate(-50%, -50%); }
  75% { transform: translate(-55%, -45%); }
}

.contact__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.contact__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.contact__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 30rem;
  animation: subFade 3s ease-in-out infinite;
}

@keyframes subFade {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: infoSlide 5s ease-in-out infinite;
}

@keyframes infoSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition-main), transform 0.3s ease;
  position: relative;
  padding-left: 0;
}

.contact__link::before {
  content: '';
  position: absolute;
  left: -10px;
  width: 3px;
  height: 0;
  background: var(--gradient-main);
  transition: height 0.3s ease;
}

.contact__link:hover { 
  color: var(--color-text-main);
  transform: translateX(10px);
}

.contact__link:hover::before {
  height: 100%;
}

.contact__link svg {
  transition: transform 0.3s ease;
}

.contact__link:hover svg {
  transform: scale(1.2) rotate(5deg);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: formFloat 6s ease-in-out infinite;
}

@keyframes formFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.contact__field { position: relative; }

.contact__field input, .contact__field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.25rem 1.125rem 0.5rem;
  color: var(--color-text-main);
  font-size: 1rem;
  transition: border-color var(--transition-main), transform 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.contact__field input:hover, .contact__field textarea:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.contact__field input:focus, .contact__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1), 0 10px 30px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.contact__field label {
  position: absolute;
  left: 1.125rem;
  top: 0.875rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: var(--transition-main);
  pointer-events: none;
}

.contact__field input:focus ~ label, .contact__field input:not(:placeholder-shown) ~ label,
.contact__field textarea:focus ~ label, .contact__field textarea:not(:placeholder-shown) ~ label {
  top: 0.375rem;
  font-size: 0.7rem;
  color: var(--color-primary);
  animation: labelSlide 0.3s ease;
}

@keyframes labelSlide {
  0% { transform: translateX(-10px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.125rem 2.25rem;
  background: var(--gradient-main);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-main);
  position: relative;
  overflow: hidden;
  width: fit-content;
  align-self: flex-start;
}

.contact__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  opacity: 0;
  transition: opacity var(--transition-main);
}

.contact__submit:hover::before { opacity: 1; }
.contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.4);
}

.submit__text, .submit__icon {
  position: relative;
  z-index: 1;
}

.submit__icon {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-main);
}

.contact__submit:hover .submit__icon { 
  transform: translate(5px, -5px) rotate(45deg);
  animation: submitArrow 0.6s ease;
}

@keyframes submitArrow {
  0%, 100% { transform: translate(5px, -5px) rotate(45deg); }
  25% { transform: translate(8px, -8px) rotate(45deg) scale(1.1); }
  50% { transform: translate(3px, -3px) rotate(45deg) scale(0.9); }
  75% { transform: translate(6px, -6px) rotate(45deg) scale(1.05); }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark-100);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem var(--container-padding);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-main);
  animation: footerLine 3s ease-in-out infinite;
}

@keyframes footerLine {
  0%, 100% { transform: scaleX(0); }
  50% { transform: scaleX(1); }
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  animation: topSlide 5s ease-in-out infinite;
}

@keyframes topSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.footer__logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  transition: transform 0.3s ease;
  display: inline-block;
}

.footer__logo:hover {
  transform: scale(1.1) rotate(-5deg);
  animation: logoShake 0.5s ease;
}

@keyframes logoShake {
  0%, 100% { transform: scale(1.1) rotate(-5deg); }
  25% { transform: scale(1.15) rotate(-8deg); }
  75% { transform: scale(1.05) rotate(-2deg); }
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
  animation: taglineFade 4s ease-in-out infinite;
}

@keyframes taglineFade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.footer__coffee {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  animation: coffeeFloat 3s ease-in-out infinite;
}

@keyframes coffeeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.coffee-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: var(--gradient-main);
  border-radius: 50px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.coffee-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.coffee-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.coffee-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.coffee-btn:hover .coffee-icon {
  transform: rotate(-15deg) scale(1.1);
  animation: coffeeSteam 0.6s ease;
}

@keyframes coffeeSteam {
  0%, 100% { transform: rotate(-15deg) scale(1.1); }
  25% { transform: rotate(-20deg) scale(1.15) translateY(-2px); }
  50% { transform: rotate(-10deg) scale(1.05) translateY(2px); }
  75% { transform: rotate(-18deg) scale(1.12) translateY(-1px); }
}

.coffee-text {
  position: relative;
  z-index: 1;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  animation: bottomFade 4s ease-in-out infinite;
  gap: 2rem;
  flex-wrap: wrap;
}

@keyframes bottomFade {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.footer__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: langGlow 3s ease-in-out infinite;
}

@keyframes langGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.lang-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.lang-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.lang-btn:hover {
  color: var(--color-text-main);
  transform: translateY(-2px);
}

.lang-btn:hover::after {
  width: 100%;
}

.lang-btn.active {
  color: var(--color-primary);
  font-weight: 800;
}

.lang-btn.active::after {
  width: 100%;
}

.lang-separator {
  color: var(--color-border);
  font-weight: 300;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  animation: linksFade 4s ease-in-out infinite;
}

@keyframes linksFade {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.footer__links a { 
  transition: color var(--transition-main), transform 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.footer__links a:hover { 
  color: var(--color-text-main);
  transform: translateY(-2px);
}

.footer__links a:hover::after {
  width: 100%;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  animation: socialBounce 3s ease-in-out infinite;
}

@keyframes socialBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.footer__social a {
  width: 2.125rem;
  height: 2.125rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--transition-main);
  position: relative;
  overflow: hidden;
}

.footer__social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer__social a:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--color-primary);
  transform: rotate(360deg) scale(1.15);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.footer__social a:hover::before {
  opacity: 0.2;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== RESPONSIVE ===== */
@media (min-width: 1400px) {
  .hero__inner {
    text-align: left;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0 clamp(2rem, 5vw, 5rem);
  }
  
  .hero__left {
    padding-top: 2.5rem;
    display: block;
    width: auto;
    grid-column: 1;
    grid-row: 1;
  }
  
  .hero__right {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 3.75rem;
    padding-top: 2.5rem;
  }
  
  .hero__title {
    text-align: left;
    max-width: 14ch;
    margin: 0 0 40px 0;
    font-size: clamp(3.5rem, 10vw, 8.5rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
  }
  
  .hero__desc {
    text-align: left;
    margin: 0 0 32px 0;
    max-width: 540px;
  }
  
  .hero__tags {
    justify-content: flex-start;
  }
}

@media (min-width: 1201px) and (max-width: 1399px) {
  .hero__inner {
    text-align: left;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0 clamp(2rem, 5vw, 5rem);
  }
  
  .hero__left {
    grid-column: 1;
    grid-row: 1;
    padding-top: 2.5rem;
    display: block;
    width: auto;
  }
  
  .hero__right {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 3.75rem;
    padding-top: 2.5rem;
  }
  
  .hero__title {
    text-align: left;
    max-width: none;
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin: 0 0 40px 0;
  }
  
  .hero__desc {
    text-align: left;
    max-width: 480px;
    margin: 0 0 32px 0;
  }
  
  .hero__tags {
    justify-content: flex-start;
  }
}

@media (max-width: 1200px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: clamp(7rem, 15vh, 9rem);
    padding-bottom: clamp(3rem, 8vh, 5rem);
    text-align: center;
    gap: 2.5rem 0;
  }
  
  .hero__left, .hero__right {
    grid-column: 1;
    max-width: 100%;
  }

  .hero__left {
    grid-row: 1;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero__right {
    grid-row: 2;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    width: 100%;
  }
  
  .hero__title {
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.1;
  }
  
  .hero__eyebrow { margin-bottom: 1.25rem; justify-content: center; }
  .hero__tags { margin-bottom: 2rem; }
  
  .hero__desc { 
    margin: 0 auto 1.5rem; 
    max-width: 480px;
  }
  .hero__tags { justify-content: center; }
  .hero__marquee-wrap { 
    margin-top: auto;
  }
  
  .hero__marquee {
    font-size: 0.75rem;
    gap: 30px;
  }
  
  .services__inner {
    grid-template-columns: 1fr;
  }
  
  .services__sticky-label {
    position: static;
    margin-bottom: 2.5rem;
  }
  
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { min-height: 25rem; }
  .about__content { padding: 3.75rem var(--container-padding); }
  
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3.75rem;
  }
  
  .blocks-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .blocks-showcase__visual {
    height: 400px;
  }
  
  .floating-card {
    width: 320px;
    height: 200px;
  }
  
  .floating-block {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .nav__center, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  
  .hero {
    padding-top: 5rem;
  }

  .hero__inner {
    padding-top: 4rem;
    padding-bottom: 3rem;
    gap: 2rem 0;
    text-align: center;
  }
  
  .hero__left {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero__title {
    font-size: clamp(1.4rem, 6.5vw, 2.5rem);
    letter-spacing: 0;
    margin-bottom: 1.5rem;
    max-width: 95%;
    width: 95%;
    word-wrap: break-word;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero__desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
    max-width: 90%;
  }

  .hero__tags {
    gap: 8px;
    margin-bottom: 1.5rem;
    justify-content: center;
  }

  .hero__num {
    font-size: 4rem;
  }
  
  .hero__scroll-hint {
    display: none;
  }
  
  .hero__marquee {
    font-size: 0.7rem;
    gap: 25px;
  }
  
  .work__item-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .work__item--right .work__item-inner { direction: ltr; }
  .work__item-img { height: 13.75rem; }
  
  .services__card {
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;
  }
  
  .services__arrow { display: none; }
  
  .about__content { padding: 2.5rem 0; }
  .about__title { font-size: 2.5rem; }
  
  .section { padding: 5rem 0; }
  
  .contact__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .contact__sub {
    font-size: 0.95rem;
  }
  
  .contact__info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact__link {
    font-size: 0.9rem;
  }
  
  .contact__field input,
  .contact__field textarea {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .contact__field label {
    font-size: 0.85rem;
    left: 1rem;
  }
  
  .contact__submit {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .footer__lang {
    order: -1;
  }
  
  .floating-blocks-section {
    padding: 5rem 0;
  }
  
  .blocks-showcase__visual {
    height: 350px;
  }
  
  .floating-card {
    width: 280px;
    height: 180px;
  }
  
  .floating-card__text {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }
  
  .floating-block {
    width: 50px;
    height: 50px;
  }
  
  .blocks-showcase__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .hero__num { font-size: 3.5rem; }
  .work__item-img { height: 11.25rem; }
  
  .hero__left {
    padding: 0;
    width: 100%;
  }
  
  .hero__title {
    font-size: clamp(1.2rem, 6vw, 2rem);
    letter-spacing: 0;
    max-width: 90%;
    width: 90%;
    word-wrap: break-word;
    line-height: 1.3;
    text-align: center;
    margin: 0 auto 1.5rem;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .hero__desc {
    font-size: 0.95rem;
    text-align: center;
    max-width: 85%;
    margin: 0 auto 1.25rem;
  }
  
  .hero__tags {
    justify-content: center;
  }
  
  .hero__tags span {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
  
  .contact__title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  
  .contact__field input,
  .contact__field textarea {
    font-size: 0.95rem;
    padding: 0.875rem;
  }
  
  .contact__submit {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .work__item-inner {
    padding: 2.5rem 0;
  }
  
  .work__item-num {
    font-size: 2rem;
  }
  
  .work__item-info h3 {
    font-size: 1.4rem;
  }
  
  .services__card {
    padding: 2rem 0;
  }
  
  .services__icon svg {
    width: 36px;
    height: 36px;
  }
  
  .services__body h3 {
    font-size: 1.2rem;
  }
  
  .services__body p {
    font-size: 0.85rem;
  }
}

@media (max-width: 375px) {
  :root {
    --container-padding: 0.5rem;
  }
  
  .hero__left {
    padding: 0;
    width: 100%;
  }
  
  .hero__title {
    font-size: clamp(1rem, 5.5vw, 1.8rem);
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 85%;
    width: 85%;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .hero__desc {
    max-width: 80%;
    margin: 0 auto 1.25rem;
  }
  
  .hero__inner {
    padding-top: 3rem;
  }
  
  .nav {
    padding: 1.5rem 0.5rem;
  }
  
  .nav.scrolled {
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 320px) {
  :root {
    --container-padding: 0.25rem;
  }
  
  .hero__title {
    font-size: clamp(0.9rem, 5vw, 1.5rem);
    line-height: 1.5;
    max-width: 80%;
    width: 80%;
  }
  
  .hero__desc {
    font-size: 0.85rem;
    max-width: 75%;
  }
  
  .nav {
    padding: 1.25rem 0.25rem;
  }
  
  .nav.scrolled {
    padding: 0.875rem 0.25rem;
  }
}
