/* ============================================
   EULAMO FUTURE LABS - Creative Enhancements
   Bold, Dynamic, Premium Design
   ============================================ */

/* ============================================
   ANIMATED GRADIENT BACKGROUNDS
   ============================================ */

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #0d0d0d 0%, #333 100%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.gradient-orb--2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.gradient-orb--3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #2a2a2a 0%, #555 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -50px) scale(1.1); }
  50% { transform: translate(-30px, 30px) scale(0.95); }
  75% { transform: translate(40px, 40px) scale(1.05); }
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  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)'/%3E%3C/svg%3E");
}

/* ============================================
   CREATIVE HERO SECTION
   ============================================ */

.hero--creative {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-primary);
}

.hero--creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0,0,0,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0,0,0,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__title--split {
  overflow: hidden;
}

.hero__title--split .word {
  display: inline-block;
  overflow: hidden;
}

.hero__title--split .char {
  display: inline-block;
  transform: translateY(100%);
  animation: revealChar 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealChar {
  to { transform: translateY(0); }
}

/* Stagger character animations */
.hero__title--split .char:nth-child(1) { animation-delay: 0.05s; }
.hero__title--split .char:nth-child(2) { animation-delay: 0.1s; }
.hero__title--split .char:nth-child(3) { animation-delay: 0.15s; }
.hero__title--split .char:nth-child(4) { animation-delay: 0.2s; }
.hero__title--split .char:nth-child(5) { animation-delay: 0.25s; }
.hero__title--split .char:nth-child(6) { animation-delay: 0.3s; }
.hero__title--split .char:nth-child(7) { animation-delay: 0.35s; }
.hero__title--split .char:nth-child(8) { animation-delay: 0.4s; }
.hero__title--split .char:nth-child(9) { animation-delay: 0.45s; }
.hero__title--split .char:nth-child(10) { animation-delay: 0.5s; }

/* Giant background text */
.hero__bg-text {
  position: absolute;
  font-size: clamp(150px, 25vw, 400px);
  font-weight: 900;
  color: rgba(0,0,0,0.02);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
  z-index: 0;
}

.hero__bg-text--top {
  top: 10%;
  left: -5%;
}

.hero__bg-text--bottom {
  bottom: 10%;
  right: -5%;
}

/* ============================================
   MARQUEE TEXT ANIMATION
   ============================================ */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border-secondary);
  border-bottom: 1px solid var(--color-border-secondary);
}

.marquee__inner {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__inner {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0 var(--space-8);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee__item::after {
  content: '•';
  color: var(--color-text-tertiary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   CREATIVE CARDS
   ============================================ */

.card--creative {
  position: relative;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card--creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card--creative:hover::before {
  opacity: 1;
}

.card--creative::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card--creative:hover::after {
  opacity: 1;
  transform: scale(1);
}

.card--creative:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--color-accent-primary);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.12),
    0 10px 20px rgba(0,0,0,0.08);
}

/* Card with image reveal */
.card--reveal {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card--reveal .card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.1);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card--reveal:hover .card__image {
  filter: grayscale(0%);
  transform: scale(1);
}

.card--reveal .card__content {
  position: relative;
  z-index: 1;
  background: linear-gradient(transparent 0%, rgba(255,255,255,0.95) 30%);
  padding-top: 150px;
}

/* Numbered cards */
.card--numbered {
  position: relative;
  padding-left: var(--space-20);
}

.card--numbered::before {
  content: attr(data-number);
  position: absolute;
  top: var(--space-8);
  left: var(--space-8);
  font-size: var(--text-6xl);
  font-weight: 900;
  color: rgba(0,0,0,0.05);
  line-height: 1;
}

/* ============================================
   3D TILT EFFECT
   ============================================ */

.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.tilt-card__inner {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tilt-card:hover .tilt-card__inner {
  transform: rotateX(5deg) rotateY(-5deg);
}

/* ============================================
   MAGNETIC CURSOR EFFECT
   ============================================ */

.magnetic {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-60px);
}

[data-reveal="left"].revealed {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(60px);
}

[data-reveal="right"].revealed {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* Staggered reveals */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

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

.btn--creative {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn--creative:hover::before {
  left: 100%;
}

.btn--creative::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn--creative:hover::after {
  width: 300px;
  height: 300px;
}

/* Outlined button with fill */
.btn--outline-fill {
  position: relative;
  background: transparent;
  border: 2px solid var(--color-accent-primary);
  color: var(--color-accent-primary);
  overflow: hidden;
  z-index: 1;
}

.btn--outline-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--color-accent-primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn--outline-fill:hover::before {
  width: 100%;
}

.btn--outline-fill:hover {
  color: var(--color-text-light);
}

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

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.split-section__left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
  background: var(--color-bg-primary);
}

.split-section__right {
  position: relative;
  overflow: hidden;
}

.split-section__right img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.8s ease;
}

.split-section:hover .split-section__right img {
  filter: grayscale(0%);
}

@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section__right {
    min-height: 50vh;
  }
}

/* ============================================
   HORIZONTAL SCROLL SECTION
   ============================================ */

.horizontal-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll__inner {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-6);
}

.horizontal-scroll__item {
  flex-shrink: 0;
  width: 350px;
  scroll-snap-align: start;
}

/* ============================================
   CREATIVE STATS
   ============================================ */

.stats-creative {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  padding: var(--space-20) 0;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--space-8));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--color-border-secondary);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: var(--text-6xl);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, #0d0d0d 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-tertiary);
}

/* ============================================
   CREATIVE TESTIMONIALS
   ============================================ */

.quote-creative {
  position: relative;
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.4;
  font-style: italic;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-16) 0;
}

.quote-creative::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 200px;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(0,0,0,0.03);
  pointer-events: none;
}

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

.footer--creative {
  position: relative;
  background: var(--color-bg-dark);
  overflow: hidden;
}

.footer--creative::before {
  content: 'EULAMO';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(100px, 20vw, 300px);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
}

/* ============================================
   HOVER LINE ANIMATION
   ============================================ */

.hover-line {
  position: relative;
  display: inline-block;
}

.hover-line::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-line:hover::after {
  width: 100%;
}

/* ============================================
   ANIMATED UNDERLINE TEXT
   ============================================ */

.text-reveal {
  position: relative;
  display: inline-block;
}

.text-reveal::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: rgba(13, 13, 13, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================
   CREATIVE IMAGE GRID
   ============================================ */

.image-grid-creative {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 100px);
  gap: var(--space-4);
}

.image-grid-creative__item:nth-child(1) {
  grid-column: span 5;
  grid-row: span 4;
}

.image-grid-creative__item:nth-child(2) {
  grid-column: span 4;
  grid-row: span 3;
}

.image-grid-creative__item:nth-child(3) {
  grid-column: span 3;
  grid-row: span 3;
}

.image-grid-creative__item:nth-child(4) {
  grid-column: span 4;
  grid-row: span 3;
}

.image-grid-creative__item:nth-child(5) {
  grid-column: span 5;
  grid-row: span 2;
}

.image-grid-creative__item:nth-child(6) {
  grid-column: span 3;
  grid-row: span 3;
}

.image-grid-creative__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.image-grid-creative__item:hover img {
  filter: grayscale(0%);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__text {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
}

.loader__text span {
  display: inline-block;
  animation: loaderBounce 0.6s ease infinite;
}

.loader__text span:nth-child(1) { animation-delay: 0s; }
.loader__text span:nth-child(2) { animation-delay: 0.1s; }
.loader__text span:nth-child(3) { animation-delay: 0.2s; }
.loader__text span:nth-child(4) { animation-delay: 0.3s; }
.loader__text span:nth-child(5) { animation-delay: 0.4s; }
.loader__text span:nth-child(6) { animation-delay: 0.5s; }

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

/* ============================================
   CURSOR FOLLOWER
   ============================================ */

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor--hover {
  width: 50px;
  height: 50px;
  background: rgba(13, 13, 13, 0.1);
  border-color: transparent;
}

@media (max-width: 1024px) {
  .cursor {
    display: none;
  }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  .marquee__item {
    font-size: var(--text-2xl);
  }

  .stats-creative {
    flex-direction: column;
    gap: var(--space-8);
  }

  .stat-item::after {
    display: none;
  }

  .quote-creative {
    font-size: var(--text-2xl);
  }

  .image-grid-creative {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .image-grid-creative__item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    aspect-ratio: 1;
  }
}
