:root {
  --cyan: #00F2FE;
  --violet: #7c3aed;
  --bg-dark: #020205;
}

* {
  font-family: 'Sora', sans-serif;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: #f5f5f7;
  overflow-x: hidden;
  margin: 0;
  cursor: none;
}

a, button, select {
  cursor: none;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(0, 242, 254, 0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

.liquid-bg {
  position: fixed; inset: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(124, 58, 237, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(0, 242, 254, 0.12) 0%, transparent 45%);
  z-index: -1; filter: blur(80px);
  animation: liquidMove 20s ease-in-out infinite alternate;
}
@keyframes liquidMove {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(3%, 2%); }
    100% { transform: scale(1) translate(-2%, -3%); }
}

.glow-spot {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  filter: blur(100px); z-index: -1;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 0.8; transform: scale(1.2); }
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #fff 45%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
  background-size: 200% auto;
}
.shine-anim { animation: shineText 5s linear infinite; }
@keyframes shineText { to { background-position: 200% center; } }

section { padding: 100px 0; }
.fade-in-up { opacity: 0; transform: translateY(30px); }

.glass {
  background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 40px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.glass:hover {
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.08);
}

.skill-badge {
  background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(124, 58, 237, 0.35);
  padding: 0.4rem 0.9rem; border-radius: 99px; font-size: 0.7rem; font-weight: 700;
}

@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.infinite-marquee { animation: marqueeScroll 25s linear infinite; width: max-content; max-width: 100vw; }

/* Timeline Journey */
.timeline-section { padding: 80px 1.5rem; }
.timeline-container { max-width: 900px; margin: 0 auto; position: relative; }
.timeline-title { font-size: 2.8rem; text-align: center; margin-bottom: 4rem; }
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--cyan), transparent); transform: translateX(-50%);
}
.timeline-item { margin-bottom: 3rem; position: relative; width: 100%; }
.timeline-item:nth-child(odd) { text-align: right; padding-right: 52%; }
.timeline-item:nth-child(even) { text-align: left; padding-left: 52%; }
.timeline-dot {
  position: absolute; left: 50%; top: 1.2rem; width: 14px; height: 14px;
  background: var(--cyan); border: 3px solid var(--bg-dark); border-radius: 50%;
  transform: translateX(-50%); box-shadow: 0 0 18px var(--cyan); z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content {
  padding: 1.8rem; text-align: left;
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 36px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.timeline-item:hover .timeline-content {
    border-color: rgba(0, 242, 254, 0.6); box-shadow: 0 10px 40px rgba(0, 242, 254, 0.15); transform: translateY(-5px);
}
.timeline-item:hover .timeline-dot { transform: translateX(-50%) scale(1.3); box-shadow: 0 0 30px var(--cyan); }
.timeline-date { font-size: 0.8rem; color: var(--cyan); font-weight: 700; margin-bottom: 0.5rem; }
.timeline-bullets { list-style: none; padding: 0; margin-top: 1rem; text-align: left;}

@media (max-width: 767px) {
  .timeline::before { left: 18px; transform: none; }
  .timeline-dot { left: 11px; transform: none; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { text-align: left; padding-left: 45px; padding-right: 0; }
  .timeline-item:hover .timeline-dot { transform: scale(1.3); }
}

.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

select#langSwitcher {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  text-align: center; background: none; border: none; font-family: inherit; font-size: inherit;
}

.faq-content {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}
.faq-content.open { max-height: 250px; opacity: 1; }
.faq-btn.active i { transform: rotate(180deg); color: var(--cyan); }
.faq-btn.active span { color: var(--cyan); }

.comparison-slider-container { position: relative; width: 100%; height: 100%; overflow: hidden; cursor: col-resize; }
.comparison-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
}
.before-image {
    width: 100%; z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.after-image { z-index: 1; }
.slider-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
    background-color: var(--cyan); cursor: col-resize; z-index: 10;
    transform: translateX(-50%); box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}
.before-after-label {
    position: absolute; bottom: 1rem; padding: 0.4rem 1rem; border-radius: 99px; z-index: 5; pointer-events: none;
    background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(12px);
}
.before-after-label.before { left: 1rem; border: 1px solid rgba(0, 242, 254, 0.3); }
.before-after-label.after { right: 1rem; border: 1px solid rgba(124, 58, 237, 0.3); }

/* Workflow Zigzag */
.workflow-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.workflow-step {
  flex: 1 1 200px;
  min-width: 220px;
  position: relative;
  margin-bottom: 2rem;
}
.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -26px;
  width: 36px;
  height: 2px;
  background: var(--cyan);
  transform-origin: left center;
  box-shadow: 0 0 10px rgba(0,242,254,0.5);
}
.workflow-step:nth-child(odd):not(:last-child)::after {
  transform: rotate(33deg);
}
.workflow-step:nth-child(even):not(:last-child)::after {
  transform: rotate(-33deg);
}

@media (max-width: 767px) {
  .workflow-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .workflow-step:not(:last-child)::after {
    top: auto;
    bottom: -20px;
    left: 28px;
    right: auto;
    width: 2px;
    height: 26px;
    transform: rotate(0deg) !important;
  }
}

/* Mobile dynamic island panel */
.mobile-menu-panel {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: calc(100% - 2rem);
  max-width: 400px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 44px;
  padding: 1.5rem;
  z-index: 100;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 25px 50px -10px rgba(0,0,0,0.8);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s 0.35s;
  display: flex;
}
.mobile-menu-panel.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s 0s;
}
.mobile-menu-panel a, .mobile-menu-panel select {
  color: #ccc;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hamburger animation */
#hamburgerBtn i {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#hamburgerBtn.open i {
  transform: rotate(90deg);
}
