:root {
  --bg: #00002a;
  --surface: #13151a;
  --text: #ffffff;
  --muted: #aab3c2;
  --accent: #7450cc;
  --btn-primary-bg: #220e24;
  --btn-secondary-bg: #342056;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 760px;
}

.site-header {
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 700;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 20px;
  opacity: 0.8;
}

.nav a:hover {
  color: #7450cc;
}

.nav .btn {
  margin-left: 24px;
}

.hero {
  padding: 120px 0 80px;
  background: radial-gradient(
      1200px 600px at 50% -10%,
      color-mix(in oklab, var(--accent) 20%, transparent),
      transparent
    ),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--surface) 40%, transparent),
      transparent
    );
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0 0 24px;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.card {
  grid-column: span 12;
  padding: 24px;
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
  border-radius: 12px;
}

@media (min-width: 800px) {
  .card {
    grid-column: span 4;
  }
}

.about h2,
.testimonials h2,
.cta h2 {
  margin-top: 0;
}

.testimonial p {
  margin: 0 0 8px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
}

.btn-primary {
  background: var(--btn-primary-bg);
  border-color: color-mix(in oklab, var(--btn-primary-bg) 30%, black);
  color: #ffffff;
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  border-color: color-mix(in oklab, var(--btn-secondary-bg) 30%, black);
  color: #ffffff;
}

.site-footer {
  border-top: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
}

.footer-inner {
  height: 64px;
  display: flex;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.start-btn {
  background-color: var(--btn-primary-bg); /* Tailwind gray-900 */
  color: #ffffff;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem; /* py-2 pr-2 pl-8 */
  font-weight: 600; /* font-semibold */
  display: inline-flex; /* flex */
  align-items: center; /* items-center */
  gap: 0.5rem; /* gap-2 */
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease; /* transition-colors */
  border-radius: 0px 20px 20px 20px;
  border: 1px solid white;
}

.start-btn:hover {
  scale: 1.01;
  transition: scale 0.2s ease;
}

/* Mobile Menu Styles */
.mobile-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 12px;
  cursor: pointer;
  padding: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-burger:hover {
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  border-color: color-mix(in oklab, var(--accent) 30%, transparent);
  transform: scale(1.05);
}

.mobile-burger span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.mobile-burger.active {
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  border-color: var(--accent);
}

.mobile-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-burger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  height: 100vh;
  background: radial-gradient(
      circle at 20% 30%,
      color-mix(in oklab, var(--accent) 15%, transparent) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      color-mix(in oklab, var(--accent) 10%, transparent) 0%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      var(--bg) 0%,
      color-mix(in oklab, var(--bg) 98%, var(--accent)) 100%
    );
  backdrop-filter: blur(25px);
  border-left: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  z-index: 1000;
  transition: right 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 0;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* Floating particles */
.menu-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}

.mobile-menu.active .menu-particles {
  opacity: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

.particle:nth-child(1) {
  top: 20%;
  left: 15%;
  animation: float1 4s ease-in-out infinite;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation: float2 3s ease-in-out infinite 0.5s;
}

.particle:nth-child(3) {
  top: 40%;
  left: 25%;
  animation: float3 5s ease-in-out infinite 1s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation: float1 3.5s ease-in-out infinite 1.5s;
}

.particle:nth-child(5) {
  top: 15%;
  left: 60%;
  animation: float2 4.5s ease-in-out infinite 2s;
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateX(15px) rotate(-180deg);
  }
}

@keyframes float3 {
  0%,
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  33% {
    transform: translate(10px, -10px) rotate(120deg);
  }
  66% {
    transform: translate(-5px, 5px) rotate(240deg);
  }
}

.mobile-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  border: 2px solid color-mix(in oklab, var(--accent) 40%, transparent);
  color: var(--text);
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(15px);
  z-index: 10;
  transform: scale(0) rotate(180deg);
}

.mobile-menu.active .mobile-close {
  transform: scale(1) rotate(0deg);
  transition-delay: 0.2s;
}

.close-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.close-icon span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transition: all 0.3s ease;
}

.close-icon span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-close:hover {
  background: color-mix(in oklab, var(--accent) 30%, transparent);
  transform: scale(1.1) rotate(-90deg);
  border-color: var(--accent);
  box-shadow: 0 0 20px color-mix(in oklab, var(--accent) 30%, transparent);
}

.mobile-brand {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}

.mobile-menu.active .mobile-brand {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 120px 30px 30px;
  gap: 12px;
  height: 100%;
  overflow-y: auto;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
  background: color-mix(in oklab, var(--surface) 30%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateX(50px) rotateY(20deg);
  backdrop-filter: blur(10px);
}

/* Staggered entrance animation */
.mobile-menu.active .mobile-nav a[data-index="0"] {
  animation: slideInNav 0.6s ease forwards 0.4s;
}
.mobile-menu.active .mobile-nav a[data-index="1"] {
  animation: slideInNav 0.6s ease forwards 0.5s;
}
.mobile-menu.active .mobile-nav a[data-index="2"] {
  animation: slideInNav 0.6s ease forwards 0.6s;
}
.mobile-menu.active .mobile-nav a[data-index="3"] {
  animation: slideInNav 0.6s ease forwards 0.7s;
}
.mobile-menu.active .mobile-nav a[data-index="4"] {
  animation: slideInNav 0.6s ease forwards 0.8s;
}
.mobile-menu.active .mobile-nav a[data-index="5"] {
  animation: slideInNav 0.6s ease forwards 0.9s;
}

@keyframes slideInNav {
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

.nav-icon {
  font-size: 20px;
  margin-right: 12px;
  transition: transform 0.3s ease;
}

.nav-text {
  flex: 1;
  font-weight: 600;
}

.nav-arrow {
  font-size: 18px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.mobile-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in oklab, var(--accent) 25%, transparent),
    transparent
  );
  transition: left 0.6s ease;
}

.mobile-nav a:hover::before {
  left: 100%;
}

.mobile-nav a:hover {
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  border-color: var(--accent);
  transform: translateX(10px) scale(1.02);
  color: var(--accent);
  box-shadow: 0 8px 25px color-mix(in oklab, var(--accent) 20%, transparent);
}

.mobile-nav a:hover .nav-icon {
  transform: scale(1.2) rotate(10deg);
}

.mobile-nav a:hover .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav a:active {
  transform: translateX(10px) scale(0.98);
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Debug - force show burger */
/* .mobile-burger {
  display: flex !important;
} */

@media (max-width: 900px) {
  .desktop-nav,
  .desktop-btn {
    display: none;
  }

  .mobile-burger {
    display: flex;
  }
}

/* Visibility guards */
@media (max-width: 900px) {
  .desktop-nav,
  .desktop-btn {
    display: none !important;
  }
  .mobile-burger {
    display: flex !important;
  }
}

@media (min-width: 901px) {
  .mobile-burger,
  .mobile-menu,
  .mobile-backdrop {
    display: none !important;
  }
  .desktop-nav,
  .desktop-btn {
    display: flex !important;
  }
}

/* Services Section Styles */
.services-section {
  background: var(--bg);
  padding: 100px 0;
  min-height: 100vh;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 100px;
}

.section-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.services-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  margin: 0;
}

/* Timeline Container */
.services-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Vertical Progress Bar */
.timeline-progress-bar {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #bcbfc3 0%, #cbced1 100%);
  transition: height 0.3s ease-out;
  box-shadow: 0 0 20px rgba(99, 156, 217, 0.5);
}

/* Service Item */
.service-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 120px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item.active {
  opacity: 1;
  transform: translateY(0);
}

.service-item:last-child {
  margin-bottom: 0;
}

/* Alternate layout for even items */
.service-item:nth-child(odd) {
  flex-direction: row;
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* Service Number Circle */
.service-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item.active .service-number {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
}

/* Service Card */
.service-card {
  flex: 1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 60%
  );
  transform: rotate(-45deg) translateX(-100%);
  transition: transform 0.8s ease-out;
}

.service-item.active .service-card {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.service-item.active .service-card::before {
  transform: rotate(-45deg) translateX(100%);
}

.service-card-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.2;
}

.service-card-description {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}

/* Responsive design for Services Timeline */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }

  .services-head {
    margin-bottom: 60px;
  }

  .services-timeline {
    max-width: 100%;
    padding: 20px 0;
  }

  .service-item {
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 80px;
    text-align: center;
  }

  .timeline-progress-bar {
    left: 30px;
    transform: none;
  }

  .service-number {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .service-card {
    padding: 30px;
  }

  .service-card-title {
    font-size: 24px;
  }

  .service-card-description {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 40px 0;
  }

  .services-head {
    margin-bottom: 40px;
  }

  .service-item {
    margin-bottom: 60px;
  }

  .timeline-progress-bar {
    left: 20px;
  }

  .service-number {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .service-card {
    padding: 25px;
  }

  .service-card-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .service-card-description {
    font-size: 14px;
  }
}

/* Process Section Styles */
.process-content {
  display: flex;
  align-items: start;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.process-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  order: -1;
}

.process-info {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.process-number-display {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

.process-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.2;
}

.process-description {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 30px;
}

.process-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Process Pagination - Under right content */
.process-pagination {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: rgba(71, 140, 229, 0.5);
  border-radius: 25px;
  margin-top: 10px;
}

.pagination-dot {
  width: 20px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-dot.active {
  background: linear-gradient(90deg, #7450cc 0%, #a89bd1 100%);
  width: 40px;
  box-shadow: 0 0 15px rgba(116, 80, 204, 0.4);
}

.pagination-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Responsive Process Section */
@media (max-width: 768px) {
  .process-content {
    flex-direction: column;
    gap: 0px;
    text-align: center;
  }

  .process-info {
    max-width: 100%;
  }

  .process-visual {
    order: -1;
  }
}
