@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #08070c;
  --bg-alt: #0d0b14;
  --surface: #14121e;
  --surface-2: #1a1826;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --purple-1: #6b3ae8;
  --purple-2: #6336d5;
  --purple-glow: #9b6bff;
  --purple-dim: #3a2470;
  --white: #f5f3fa;
  --gray: #9a96ac;
  --gray-dim: #5f5c71;
  --success: #5ee6a0;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(120% 60% at 50% -10%,
      rgba(107, 58, 232, 0.35) 0%,
      rgba(107, 58, 232, 0) 55%),
    radial-gradient(90% 50% at 100% 0%,
      rgba(99, 54, 213, 0.18) 0%,
      rgba(99, 54, 213, 0) 60%),
    var(--bg);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* subtle tech grid texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(70% 55% at 50% 15%,
      black 0%,
      transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* film grain / noise for premium tactile feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* ---------- status chip ---------- */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  animation: riseIn 0.6s var(--ease) forwards;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--gray);
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(94, 230, 160, 0.6);
  animation: pulseDot 2s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 230, 160, 0.55);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(94, 230, 160, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(94, 230, 160, 0);
  }
}

/* ---------- profile ---------- */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  opacity: 0;
  animation: riseIn 0.6s var(--ease) 0.08s forwards;
}

.avatar-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow {
  position: absolute;
  inset: -22px;
  background: radial-gradient(circle,
      rgba(107, 58, 232, 0.55) 0%,
      rgba(107, 58, 232, 0) 70%);
  filter: blur(6px);
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      var(--purple-1),
      var(--purple-glow),
      var(--purple-2),
      var(--purple-1));
  animation: spin 6s linear infinite;
}

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

.avatar {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  background: linear-gradient(145deg, #1c1930, #0f0d18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--white);
  z-index: 1;
  overflow: hidden;
  object-fit: cover;
}

.name {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.role {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: var(--purple-glow);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.role::before,
.role::after {
  content: "";
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-dim));
}

.role::after {
  background: linear-gradient(90deg, var(--purple-dim), transparent);
}

.bio {
  max-width: 320px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray);
  padding-top: 2px;
}

/* ---------- section labels ---------- */
.section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: riseIn 0.6s var(--ease) forwards;
}

.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label span.n {
  color: var(--purple-glow);
}

/* ---------- social row ---------- */
.social-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.social-btn {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--ease);
}

.social-btn:active {
  transform: scale(0.92);
}

.social-btn:hover {
  border-color: var(--purple-glow);
  background: rgba(108, 58, 232, 0.14);
}

.social-btn:hover svg {
  transform: translateY(-1px);
}

/* ---------- link buttons (services) ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s var(--ease),
    border-color 0.3s var(--ease);
}

.link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(120deg,
      rgba(108, 58, 232, 0.28),
      rgba(99, 54, 213, 0.05) 60%);
  transition: opacity 0.3s var(--ease);
}

.link-btn:active {
  transform: scale(0.98);
}

.link-btn:hover {
  border-color: var(--line-strong);
}

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

.link-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--purple-1), var(--purple-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px -4px rgba(108, 58, 232, 0.55);
}

.link-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.link-icon.alt {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.link-icon.alt svg {
  color: var(--purple-glow);
}

.link-text {
  flex: 1;
  min-width: 0;
}

.link-title {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.link-sub {
  font-size: 12px;
  color: var(--gray);
  margin-top: 1px;
}

.link-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--gray-dim);
  transition:
    transform 0.25s var(--ease),
    color 0.25s var(--ease);
}

.link-btn:hover .link-arrow {
  transform: translateX(3px);
  color: var(--purple-glow);
}

.link-btn.featured {
  border-color: rgba(108, 58, 232, 0.45);
  background: linear-gradient(135deg,
      rgba(108, 58, 232, 0.22),
      rgba(99, 54, 213, 0.06));
}

.link-btn.featured .link-icon {
  box-shadow: 0 4px 20px -3px rgba(108, 58, 232, 0.75);
}

/* ---------- reusable utilities ---------- */
.carousel-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding: 0 20px 8px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

/* On desktop, show a custom scrollbar line instead of arrows */
@media (hover: hover) and (pointer: fine) {
  .carousel-container {
    scrollbar-width: thin;
    scrollbar-color: var(--purple-1) rgba(255, 255, 255, 0.03);
  }
  .carousel-container::-webkit-scrollbar {
    display: block;
    height: 4px;
  }
  .carousel-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
  }
  .carousel-container::-webkit-scrollbar-thumb {
    background: var(--purple-1);
    border-radius: 4px;
  }
  .carousel-container::-webkit-scrollbar-thumb:hover {
    background: var(--purple-glow);
  }
}

.carousel-container>* {
  scroll-snap-align: start;
  flex: 0 0 82%;
  min-width: 0;
}

.btn-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  color: #fff;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-full:active {
  transform: scale(0.98);
}

.btn-full:hover {
  filter: brightness(1.1);
}

.links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.btn-outline svg {
  color: var(--purple-glow);
}

.btn-whatsapp {
  background: linear-gradient(145deg, var(--purple-1), var(--purple-2));
  box-shadow: 0 4px 16px -4px rgba(107, 58, 232, 0.55);
  margin-top: 14px;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- tech stack ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.tech-chip {
  aspect-ratio: 1/1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.tech-chip:hover {
  border-color: var(--purple-glow);
  transform: translateY(-2px);
}

.tech-chip svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.tech-chip span {
  font-size: 8.5px;
  color: var(--gray-dim);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.stat {
  padding: 18px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--line);
  position: relative;
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--purple-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 9.5px;
  color: var(--gray-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: 24px;
  padding: 26px 22px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(108, 58, 232, 0.4);
  background:
    radial-gradient(120% 140% at 50% -20%,
      rgba(108, 58, 232, 0.55),
      transparent 60%),
    linear-gradient(160deg, #17132a, #0d0b16);
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 160%;
  height: 160%;
  background: conic-gradient(from 0deg,
      transparent,
      rgba(155, 107, 255, 0.18),
      transparent 30%);
  animation: spin 9s linear infinite;
  z-index: -1;
}

.cta-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--purple-glow);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow:
    0 8px 26px -8px rgba(108, 58, 232, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  letter-spacing: -0.005em;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px -8px rgba(108, 58, 232, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-btn:active {
  transform: scale(0.97);
}

.cta-btn svg {
  width: 17px;
  height: 17px;
}

/* ---------- footer ---------- */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
  opacity: 0;
  animation: riseIn 0.6s var(--ease) forwards;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--line-strong),
      transparent);
}

.footer-text {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  color: var(--gray-dim);
  letter-spacing: 0.03em;
  text-align: center;
}

.footer-text b {
  color: var(--gray);
}

/* stagger sections */
.section:nth-of-type(1) {
  animation-delay: 0.14s;
}

.section:nth-of-type(2) {
  animation-delay: 0.2s;
}

.section:nth-of-type(3) {
  animation-delay: 0.26s;
}

.section:nth-of-type(4) {
  animation-delay: 0.32s;
}

.section:nth-of-type(5) {
  animation-delay: 0.38s;
}

footer {
  animation-delay: 0.46s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--purple-glow);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- lang switch ---------- */
.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  margin-bottom: 24px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 12, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  color: var(--gray);
  border-radius: 10px;
  padding: 6px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.15s var(--ease);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: translateY(-1px);
}

.lang-btn:active {
  transform: scale(0.95);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  color: #fff;
  border-color: rgba(155, 107, 255, 0.45);
  box-shadow: 0 2px 12px -2px rgba(107, 58, 232, 0.5);
}